inconsistent build results due to wrong usage of recommends
Metadata
Current evaluation
Launchpad bug migrated to github.com/ubuntu-core/snapcraft#42 and fixed by merged PR #76 (commits 2266e9083 / merge 94642d159), making snapcraft skip recommends for build/stage packages.
Resolution: closed resolved
Reason: Maintainer ~elopio moved the bug to GitHub issue ubuntu-core/snapcraft#42 and closed it as fixed by PR #76 (sergiusens/no-recommends), merged as 94642d159 with commit 2266e9083 'Do not install recommends for build or stage pkgs'.
Evaluated by: mr-cal-bot
No scores available.
Issue body
building a package on launchpad where the environment is set to --no-install-recommends results in a completely different build result vs doing a local build at home.
snapcraft should make sure to override --no-install-recommends or it should enforce its usage for local build, i think either way is fine as long as we achieve consistency ...
examples:
https://launchpadlibrarian.net/218891649/buildlog_snap_ubuntu_vivid_amd64_wget_BUILDING.txt.gz
(installs: libssl1.0.0, libidn11, wget)
vs a local build of the same snapcraft packaging tree:
http://paste.ubuntu.com/12573213/
(installs: libssl1.0.0, libidn11, init-system-helpers, uuid-runtime, openssl, ca-certificates, wget, update-motd)
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Launchpad bug migrated to github.com/ubuntu-core/snapcraft#42 and fixed by merged PR #76 (commits 2266e9083 / merge 94642d159), making snapcraft skip recommends for build/stage packages. | |
| stealth/space-bunny-alpha | — | closed resolved | Snapcraft stopped installing recommended packages for build and stage packages, aligning local builds with Launchpad; merged in canonical/snapcraft#76 (2266e9083). | |
| stealth/space-bunny-alpha | — | closed resolved | Launchpad/local builds were made consistent by disabling recommends for build and stage packages. Merged in canonical/snapcraft#76 via commit 2266e9083. | |
| qwen/qwen3.6-35b-a3b | — | — | Inconsistent build results between Launchpad and local environments due to --no-install-recommends usage were closed without resolution. No comments or fixes were implemented, indicating the report was abandoned. | |
| qwen/qwen3.6-35b-a3b | — | — | The issue reporting inconsistent build results due to the usage of --no-install-recommends was closed. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Duplicate Of:
canonical/snapcraft#42
(confidence 98%)
Bug moved from Launchpad to GitHub where it was tracked and fixed.
-
Likely Fixed By:
canonical/snapcraft#76
(confidence 95%)
Merged PR from sergiiusens adding --no-install-recommends handling for build/stage packages; commit 2266e9083, merge 94642d159.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #42 inconsistent build results due to wrong usage of recommends | snapcraft | closed | Fixed inconsistent dependencies by disabling recommends for build and stage packages, matching Launchpad; merged via canonical/snapcraft#76 (2266e9083). | |
| #76 Do not install recommends for build or stage pkgs | snapcraft | merged | Merged in canonical/snapcraft#76 via commit 2266e9083, disabling recommends for build and stage packages to match Launchpad builders and close #42. |