** Description changed: - "apt build-dep exim4-daemon-heavy" is supposed to install all packages needed for building exim4-daemon-heavy, but it omits libnsl-dev, resulting in + [Impact] + + When building exim4-daemon-heavy, libnsl-dev is not explicitly included as a build dependency, which can lead to the following error: /usr/bin/ld: cannot find -lnsl + The fix should be backported to allow exim4-daemon-heavy to build + properly using its libnsl dependency. + + This is fixed by adding libnsl-dev as a build dependency. + + [Test Plan] + + The fix can be confirmed through the reporters provided steps on a noble + system after including noble apt source packages: + + $ sudo apt purge libnsl-dev + $ sudo apt install dpkg-dev + $ sudo apt build-dep exim4-daemon-heavy + $ apt-get source exim4-daemon-heavy + $ cd exim4-... + $ dpkg-buildpackage -b -uc + + [Where problems could occur] + + With the inclusion of a new build dependency, builds for other binary + packages in exim4 may change. This could lead to ftbfs or other issues + from libnsl at buildtime. + + [Other Info] + + This was fixed in Debian in 4.97-6 and included in Oracular + + [Original Description] + + "apt build-dep exim4-daemon-heavy" is supposed to install all packages needed for building exim4-daemon-heavy, but it omits libnsl-dev, resulting in + /usr/bin/ld: cannot find -lnsl steps to reproduce: sudo apt purge libnsl-dev; sudo apt install dpkg-dev; sudo apt build-dep exim4-daemon-heavy; sudo apt-get source exim4-daemon-heavy; FOLDER_NAME=$(find /tmp/exim4_builddir -maxdepth 1 -type d -name "exim4-*" | head -n 1); cd "$FOLDER_NAME"; dpkg-buildpackage -b -uc -us --jobs=$(nproc); results in the "cannot find -lnsl" error. - --- + --- ProblemType: Bug ApportVersion: 2.28.1-0ubuntu3.1 Architecture: amd64 CasperMD5CheckResult: unknown DistroRelease: Ubuntu 24.04 Package: exim4 4.97-4ubuntu4.1 PackageArchitecture: all ProcEnviron: LANG=C PATH=(custom, no user) SHELL=/bin/bash TERM=xterm-256color XDG_RUNTIME_DIR=<set> ProcVersionSignature: - + Tags: noble Uname: Linux 6.8.12-1-pve x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: N/A _MarkForUpload: True
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2084391 Title: apt build-dep exim4-daemon-heavy omits libnsl-dev To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/exim4/+bug/2084391/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs