← Back to issue list

inconsistent build results due to wrong usage of recommends

View original Github issue

Metadata

Project
snapcraft
Number
#42
Type
issue
State
closed
Author
sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Fixed inconsistent dependencies by disabling recommends for build and stage packages, matching Launchpad; merged via canonical/snapcraft#76 (2266e9083).

Resolution: closed resolved

Reason: canonical/snapcraft#76 was merged with commit 2266e9083, omitting recommended packages during build and stage package installation so local builds match Launchpad's --no-install-recommends behavior.

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) Launchpad Details: [#LP1500375](https://bugs.launchpad.net/bugs/1500375) Oliver Grawert - 2015-09-28 07:13:37 -0300

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Fixed inconsistent dependencies by disabling recommends for build and stage packages, matching Launchpad; merged via canonical/snapcraft#76 (2266e9083).
stealth/space-bunny-alpha — closed resolved Fixed inconsistent Launchpad/local dependencies by disabling recommends for build and stage packages, matching Launchpad; merged in canonical/snapcraft#76 via commit 2266e9083.
qwen/qwen3.6-35b-a3b — — Abandoned. The report detailed inconsistent package installations between Launchpad and local builds caused by the --no-install-recommends flag. No fix or action was implemented.
qwen/qwen3.6-35b-a3b — — Closed without resolution. The inconsistency between Launchpad and local builds regarding --no-install-recommends was not addressed, indicating the issue was abandoned or superseded by later architectural changes.
qwen/qwen3.6-35b-a3b — — Closed without resolution. The report detailed build inconsistencies stemming from differing --no-install-recommends handling between Launchpad and local environments, but no fix or follow-up was implemented.
qwen/qwen3.6-35b-a3b — — Abandoned without resolution. Inconsistent build results stemmed from differing --no-install-recommends handling between Launchpad and local environments. No fix was implemented or merged.
qwen3.6-35b-a3b-mtp-q6 — — Closed without resolution. Build inconsistencies from Launchpad's --no-install-recommends flag were reported but never addressed. With zero comments, the issue was abandoned or superseded by subsequent snapcraft updates.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/snapcraft#76 (confidence 99%)

    Merged PR titled "Do not install recommends for build or stage pkgs" directly addressed the dependency inconsistency.

Related issues

Issue Project State Summary Similarity
#1500375 inconsistent build results due to wrong usage of recommends snapcraft (launchpad) closed 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.
90%
#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.
79%