Public bug reported:

"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

** Affects: exim4 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-collected noble

** Tags added: apport-collected noble

** 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 
  /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

Reply via email to