← Back to issue list

Duplicated /root/stage in path

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1989139
Type
issue
State
open
Author
~nteodosio
Labels
Created
Updated
Closed

Current evaluation

Bug report about duplicated /root/stage in Snapcraft 7.1.3 causing build failures. Issue is 4 years old with no maintainer interaction or labels.

Suggested action: close stale

Reason: Issue is 1456 days old with zero maintainer interaction, no labels, and references Snapcraft 7.1.3 which is likely no longer supported. The path duplication bug described may have been fixed in intervening versions, but without current code verification or reporter follow-up, the issue is stale and no longer actionable.

Impact: 65 Quick Win: 35.75 Staleness: 95 Complexity: 45 Confidence: 40 Support Request: 25

Issue body

I see a strange behavior in Snapcraft 7.1.3 when building the attached snapcraft.yaml. >>> Execution >>> $ snapcraft clean --use-lxd $ snapcraft prime --debug --shell-after --use-lxd ... Staging va-drivers + set -ex + snapcraftctl stage + strip /root/stage/usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so strip: '/root/stage/usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so': No such file Failed to run 'override-stage': Exit code was 1. snapcraft-chromium # find / -name 'iHD*.so' 2>/dev/null /root/project/squashfs-root/root/stage/usr/lib/dri/iHD_drv_video.so /root/stage/root/stage/usr/lib/dri/iHD_drv_video.so /root/parts/va-drivers/install/root/stage/usr/lib/dri/iHD_drv_video.so /root/parts/va-drivers/build/media_driver/iHD_drv_video.so <<< Execution <<< As far as I understand, either /root/stage/root/stage is a wrong place to stage that file, or "$SNAPCRAFT_STAGE" is wrong, since the error comes from strip "$SNAPCRAFT_STAGE/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/dri/iHD_drv_video.so"

Evaluation history

Date Model Scores Action Summary
qwen3.6-35b-a3b-mtp-q6
Impact: 65
Quick Win: 35.75
Staleness: 95
Complexity: 45
Confidence: 40
Support Request: 25
close stale Bug report about duplicated /root/stage in Snapcraft 7.1.3 causing build failures. Issue is 4 years old with no maintainer interaction or labels.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 60
Confidence: 75
Support Request: 10
needs triage Snapcraft 7.1.3 exhibits a path duplication bug where staged files end up in /root/stage/root/stage, causing strip commands to fail. The report includes debug output and reproduction steps but remains unlabelled and unresponded to for nearly four years.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 65
Confidence: 85
Support Request: 15
close stale Snapcraft 7.1.3 reports duplicated /root/stage paths during staging, causing strip failures. Unlabeled, zero comments, inactive for nearly 4 years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 45
Confidence: 85
Support Request: 10
close stale Duplicated /root/stage path in Snapcraft 7.1.3 causing strip failure during prime stage. Unlabeled, no maintainer response, inactive for 1400 days.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 40
Confidence: 65
Support Request: 15
close stale Reports a duplicated /root/stage path causing strip failures in Snapcraft 7.1.3. Unanswered for 3.8 years with no maintainer interaction. Likely obsolete due to major Snapcraft version updates.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#2012504 PATH auto extended with stage paths snapcraft (launchpad) open Issue about snapcraft auto-extending PATH with stage paths causing cross-build failures. Untriaged, 1261 days old, no comments or labels.
72%
#1917639 --debug drops me into an unexpected directory snapcraft (launchpad) open Snapcraft 4.5.1 --debug drops the user into /root instead of the override-stage script's working directory. Reported ~5.5 years ago, zero comments, no labels, no maintainer interaction. Related Launchpad bugs 1848513 (env vars) and 1848732 (snapcraftctl) still open.
70%