← Back to issue list

Duplicated /root/stage in path

View original Launchpad issue

Metadata

Project
snapcraft
Number
#1989139
Type
issue
State
open
Author
~nteodosio
Labels
Created
2022-09-08 17:35:57.456901+00:00
Updated
2022-09-08 17:35:58.575550+00:00
Closed

Current evaluation

Snapcraft 7.1.3 incorrectly constructs staging paths, duplicating /root/stage and causing override-stage strip failures. The report remains open with zero comments and over three years of inactivity, requiring triage and assignment.

Suggested action: close stale

Reason: This issue is over 3.5 years old with zero maintainer interaction and no labels. Snapcraft has undergone major architectural and configuration changes since v7.1.3, making this specific environment variable and path bug obsolete and untestable on current versions. It should be closed as stale due to the age of the affected version and clear irrelevance to the active codebase.

Staleness: 95 Complexity: 40 Confidence: 90 Support Request: 10

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
2026-06-19 05:30:53.551369+00:00 qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 40
Confidence: 90
Support Request: 10
close stale Snapcraft 7.1.3 incorrectly constructs staging paths, duplicating /root/stage and causing override-stage strip failures. The report remains open with zero comments and over three years of inactivity, requiring triage and assignment.
2026-06-19 05:28:14.654884+00:00 pending