← Back to issue list

snapcraft terminates override-build script prematurely without error

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1987853
Type
issue
State
open
Author
~nicolasbock
Labels
—
Created
Updated
Closed
—

Current evaluation

override-build silently skips trailing commands when a build tool consumes stdin on core20+, but piping a separate stdin stream works around it; the underlying failure remains untriaged.

Suggested action: needs triage

Reason: Later commenters reproduced the failure on core20/core22 with Snapcraft 7.5.5 and 8.0.5, and the original reporter confirmed that sh -c 'yes "" | make' fixed it, strongly implicating stdin consumption. The issue remains unlabeled with no maintainer assessment or resolving change.

Evaluated by: mr-cal-bot

Impact: 57 Quick Win: 24 Complexity: 48 Confidence: 89 Actionability: 81

Issue body

After upgrading my snap from core18 to core20 [1] the override-build step is not completed anymore. However, there is no error message and snapcraft continues with staging and then proceeds to the next part [2]. The build script [3] executes the make command but terminates the script before the make install command. [1] https://github.com/nicolasbock/rabbitmq-server-snap/pull/52 [2] https://github.com/nicolasbock/rabbitmq-server-snap/runs/7982842565?check_suite_focus=true#step:3:5863 [3] https://github.com/nicolasbock/rabbitmq-server-snap/pull/52/files#diff-56759910381a014fecfd7556dd72ddd68c747d922a5b7df2044b9ce7c552f5f5R164 1

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 57
Quick Win: 24
Complexity: 48
Confidence: 89
Actionability: 81
needs triage override-build silently skips trailing commands when a build tool consumes stdin on core20+, but piping a separate stdin stream works around it; the underlying failure remains untriaged.
stealth/space-bunny-alpha
Impact: 48
Quick Win: 19
Complexity: 44
Confidence: 82
Actionability: 72
needs triage Untriaged core20/core22 override-build truncation has multiple reproductions; piping a build command that may consume stdin works around it, but the underlying execution path is unconfirmed.
stealth/space-bunny-alpha
Impact: 48
Quick Win: 7
Complexity: 64
Confidence: 68
Actionability: 43
needs triage Core20 upgrade leaves override-build incomplete without an error, but Snapcraft stages the part and continues. Open and untriaged; the referenced build log and external run are unavailable for verification.
qwen3.6-35b-a3b-mtp-q6
Impact: 30
Quick Win: 18
Staleness: 95
Complexity: 40
Confidence: 85
Support Request: 20
close stale Snapcraft prematurely terminates override-build scripts after core18 to core20 upgrade, with no error output. Untriaged and inactive for over 4 years.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 45
Confidence: 85
Support Request: 20
close stale User reports snapcraft prematurely terminating override-build scripts after upgrading from core18 to core20, with no error output. Issue lacks maintainer response, comments, or reproducible steps, and remains open after nearly four years.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 40
Confidence: 85
Support Request: 30
close stale Snapcraft override-build terminates prematurely after core18 to core20 upgrade without error output. The report is over 3.5 years old, has zero maintainer interaction, and references EOL snap bases.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 30
Confidence: 85
Support Request: 20
close stale Report of snapcraft prematurely terminating override-build scripts after upgrading from core18 to core20. Issue remains unlabelled and inactive for over two years with no maintainer response.

Update history

Date Change
created

Related work

  • Duplicate Of: snapcraft (launchpad)#2011993 (confidence 90%)

    Newer open issue reports the same Snapcraft 7.x early override-build exit followed by a later missing-binary failure.

Related issues

No related issues found above the similarity threshold.