← Back to issue list

Github build randomly inventing stage-packages

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#2158699
Type
issue
State
open
Author
~t-a-k
Labels
Created
Updated
Closed

Current evaluation

Snapcraft 9.0.0 randomly downloads undeclared stage-packages in GitHub builds (amd64 only), while same config works locally and for other architectures. No maintainer response in 67 days.

Suggested action: needs triage

Reason: Issue has no labels, no assignee, and zero maintainer comments after 67 days. The bug report describes non-deterministic dependency resolution behavior that is hard to reproduce but could have significant impact if snapcraft is pulling undeclared packages. Without maintainer triage, it's unclear if this is still reproducible or if it was a transient issue with package mirrors.

Impact: 70 Quick Win: 17.5 Staleness: 65 Complexity: 75 Confidence: 55 Support Request: 15

Issue body

Hello, I just had a random error in a remote Github build. Snapcraft 9.0.0 w/ core26 downloaded several stage-packages not declared. Host: Kernel version: Linux lcy02-amd64-010 6.8.0-117-generic #117-Ubuntu It worked correctly 4days ago with same configuration. It worked correctly in same batch for other architectures (arm64 & armhhf) It worked correctly locally. It worked correctly for several others Github build done in the same time with quite same structure. Build id: 3198513 Github commit: 5683de9 https://github.com/TehAppKiller/radarr-tak/commit/5683de9807ed6c7ab7baed4c1fa7f853eeb0ab81 Pulling deps Fetching stage-packages Downloading package: readline-common [30/Jun/2026:10:11:02 +0000] "GET http://ftpmaster.internal/ubuntu/pool/main/r/readline/readline-common_8.3-4_all.deb HTTP/1.1" 200 61514 "-" "Debian APT-HTTP/1.3 (2.8.3) non-interactive" /snap/snapcraft/18124/lib/python3.12/site-packages/apt/package.py:810: Warning: W:Download is performed unsandboxed as root as file '/root/.cache/snapcraft/download/readline-common_8.3-4_all.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) acq.run() Downloading package: gcc-16-base [30/Jun/2026:10:11:02 +0000] "GET http://ftpmaster.internal/ubuntu/pool/main/g/gcc-16/gcc-16-base_16-20260322-1ubuntu1_amd64.deb HTTP/1.1" 200 38296 "-" "Debian APT-HTTP/1.3 (2.8.3) non-interactive" Downloading package: libtinfo6 [30/Jun/2026:10:11:03 +0000] "GET http://ftpmaster.internal/ubuntu/pool/main/n/ncurses/libtinfo6_6.6%2b20251231-1_amd64.deb HTTP/1.1" 200 110530 "-" "Debian APT-HTTP/1.3 (2.8.3) non-interactive" Downloading package: liburcu8t64 [30/Jun/2026:10:11:03 +0000] "GET http://ftpmaster.internal/ubuntu/pool/main/libu/liburcu/liburcu8t64_0.15.6-1_amd64.deb HTTP/1.1" 200 64652 "-" "Debian APT-HTTP/1.3 (2.8.3) non-interactive" Downloading package: libc-gconv-modules-extra [30/Jun/2026:10:11:03 +0000] "GET http://ftpmaster.internal/ubuntu/pool/main/g/glibc/libc-gconv-modules-extra_2.43-2ubuntu2_amd64.deb HTTP/1.1" 200 1360770 "-" "Debian APT-HTTP/1.3 (2.8.3) non-interactive" Downloading package: libnuma1 [30/Jun/2026:10:11:03 +0000] "GET http://ftpmaster.internal/ubuntu/pool/main/n/numactl/libnuma1_2.0.19-1build1_amd64.deb HTTP/1.1" 200 23654 "-" "Debian APT-HTTP/1.3 (2.8.3) non-interactive" Downloading package: libreadline8t64 [30/Jun/2026:10:11:03 +0000] "GET http://ftpmaster.internal/ubuntu/pool/main/r/readline/libreadline8t64_8.3-4_amd64.deb HTTP/1.1" 200 164290 "-" "Debian APT-HTTP/1.3 (2.8.3) non-interactive" Downloading package: libc6 [30/Jun/2026:10:11:03 +0000] "GET http://ftpmaster.internal/ubuntu/pool/main/g/glibc/libc6_2.43-2ubuntu2_amd64.deb HTTP/1.1" 200 2103270 "-" "Debian APT-HTTP/1.3 (2.8.3) non-interactive" Downloading package: libsqlite3-0 [30/Jun/2026:10:11:03 +0000] "GET http://ftpmaster.internal/ubuntu/pool/main/s/sqlite3/libsqlite3-0_3.46.1-9ubuntu0.1_amd64.deb HTTP/1.1" 200 719176 "-" "Debian APT-HTTP/1.3 (2.8.3) non-interactive" Downloading package: sqlite3 [30/Jun/2026:10:11:03 +0000] "GET http://ftpmaster.internal/ubuntu/pool/main/s/sqlite3/sqlite3_3.46.1-9ubuntu0.1_amd64.deb HTTP/1.1" 200 149358 "-" "Debian APT-HTTP/1.3 (2.8.3) non-interactive" Downloading package: zlib1g [30/Jun/2026:10:11:04 +0000] "GET http://ftpmaster.internal/ubuntu/pool/main/z/zlib/zlib1g_1.3.dfsg%2breally1.3.1-1ubuntu3_amd64.deb HTTP/1.1" 200 63922 "-" "Debian APT-HTTP/1.3 (2.8.3) non-interactive" Downloading package: libicu78 [30/Jun/2026:10:11:04 +0000] "GET http://ftpmaster.internal/ubuntu/pool/main/i/icu/libicu78_78.2-2ubuntu1_amd64.deb HTTP/1.1" 200 11456466 "-" "Debian APT-HTTP/1.3 (2.8.3) non-interactive" Downloading package: libstdc++6 [30/Jun/2026:10:11:05 +0000] "GET http://ftpmaster.internal/ubuntu/pool/main/g/gcc-16/libstdc%2b%2b6_16-20260322-1ubuntu1_amd64.deb HTTP/1.1" 200 842676 "-" "Debian APT-HTTP/1.3 (2.8.3) non-interactive" Downloading package: libgcc-s1 [30/Jun/2026:10:11:06 +0000] "GET http://ftpmaster.internal/ubuntu/pool/main/g/gcc-16/libgcc-s1_16-20260322-1ubuntu1_amd64.deb HTTP/1.1" 200 80312 "-" "Debian APT-HTTP/1.3 (2.8.3) non-interactive" Extracting stage package: readline-common Extracting stage package: gcc-16-base Extracting stage package: libtinfo6 Extracting stage package: liburcu8t64 Extracting stage package: libc-gconv-modules-extra Extracting stage package: libnuma1 Extracting stage package: libreadline8t64 Extracting stage package: libc6 Extracting stage package: libsqlite3-0 Extracting stage package: sqlite3 Extracting stage package: zlib1g Extracting stage package: libicu78 Extracting stage package: libstdc++6 Extracting stage package: libgcc-s1

Evaluation history

Date Model Scores Action Summary
qwen3.6-35b-a3b-mtp-q6
Impact: 70
Quick Win: 17.5
Staleness: 65
Complexity: 75
Confidence: 55
Support Request: 15
needs triage Snapcraft 9.0.0 randomly downloads undeclared stage-packages in GitHub builds (amd64 only), while same config works locally and for other architectures. No maintainer response in 67 days.
qwen/qwen3.6-35b-a3b
Staleness: 45
Complexity: 40
Confidence: 85
Support Request: 10
needs triage Snapcraft 9.0.0 randomly downloads undeclared stage-packages during GitHub builds on amd64/core26, despite working locally and on other architectures. Untriaged, no maintainer response.
qwen/qwen3.6-35b-a3b
Staleness: 45
Complexity: 65
Confidence: 85
Support Request: 10
needs triage Snapcraft 9.0.0 randomly downloads undeclared stage-packages during a remote Github build, despite working locally and for other architectures. No maintainer response yet.
qwen3.6-35b-a3b-mtp-q6
Staleness: 40
Complexity: 45
Confidence: 90
Support Request: 10
needs triage Snapcraft 9.0.0 unexpectedly downloads undeclared stage-packages during a GitHub build, despite working correctly locally and on other architectures. Currently unlabelled with no maintainer response after 12 days.
qwen3.6-35b-a3b-mtp-q6
Staleness: 5
Complexity: 40
Confidence: 90
Support Request: 10
needs triage Snapcraft 9.0.0 randomly fetching undeclared stage-packages during a GitHub build on core26/amd64. Works locally and on other architectures. Unlabelled, awaiting maintainer review.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.