Public bug reported:

During the resolute development cycle libcrypt-dev was dropped as a
dependency from libc6-dev (included in build-essential). Since Launchpad
builders only do apt update && apt dist-upgrade (and no apt autoremove)
however, the library was still available during build time. The recent
chroot update started surfacing this issue.

[ Impact ]

 * Package builds on Launchpad will ftbfs and cause friction for
SRUs/security updates and general Ubuntu development. (I confirmed this
for ruby3.3, sysrqd, pure-ftpd and provd and currently am aware of at
least 30 packages which will likely ftbfs)

 * Packages which check the availability of libcrypt-dev and
conditionally enable features could silently regress (this was confirmed
at least for icecast2). This failure mode is quite dangerous and
unpredictable.

[ Test Plan ]

 * apt show build-essential should list libcrypt-dev

 * Create a new PPA with the proposed pocket enabled

 * Upload a no change rebuild of a ftbfs package (like ruby3.3 or
plasma-workspace) and check if the build succeeds

[ Where problems could occur ]

 * There could be a package which checks for the existence of libcrypt-
dev and conditionally enables some feature which then cause regressions,
but they would have also run into this issue during the resolute
development cycle.

 * If libcrypt-dev becomes uninstallable or causes conflicts, this will
block all builders and systems which install build-essential (especially
considering that it is seeded in various flavors)

[ Other Info ]

 * While the "correct" approach would be to add libcrypt-dev to the
incorrect packages, the silent regression failure mode convinced me that
this is worth SRUing to avoid friction for the upcoming years of
resolute support

 * Original discussion in #launchpad:
https://matrix.to/#/!SBxrrnuWWZXujjZseh:rory.gay/$ZKwbUx924p8aqyKVc8FvmNY6b1Cnd3kaWEMCW-R0a5o?via=ubuntu.com&via=matrix.org&via=matrix.debian.social

 * Follow up discussion in #devel:
https://matrix.to/#/!mPCSZ08zE3coMEgu8vtezUig4lnij6wwMmU6c96CSSQ/$JK2pV5XnVjTtqU2bif1yWirrA9Q90QFf0C6clDbQ3Ro?via=ubuntu.com&via=matrix.org&via=matrix.debian.social

 * Launchpad will implement a patch to run apt autoremove on buildd to
prevent this error type in the future

** Affects: build-essential (Ubuntu)
     Importance: Undecided
     Assignee: Finn Gärtner (finnrg)
         Status: Triaged

** Package changed: ubuntu => build-essential (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2154780

Title:
  [SRU] Include libcrypt-dev in build-essential for resolute

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/build-essential/+bug/2154780/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to