Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #357482

Bug#1065107: exim4: FTBFS: missing build-dep on libnsl-dev

From Aurelien Jarno <aurel32@debian.org>
Newsgroups linux.debian.bugs.rc
Subject Bug#1065107: exim4: FTBFS: missing build-dep on libnsl-dev
Date 2024-02-29 22:10 +0100
Message-ID <IcVPb-dxnU-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Source: exim4
Version: 4.97-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
User: debian-glibc@lists.debian.org
Usertags: libnsl-dev

Dear maintainer,

Starting with glibc 2.31, support for NIS (libnsl library) has been
moved to a separate libnsl2 package. In order to allow a smooth
transition, a libnsl-dev has been added to the libc6-dev package.

This dependency has been temporarily dropped in the 2.37-15.1 NMU, as
part of the 64-bit time_t transition. This causes exim4 to FTBFS in sid
with:

| cc buildconfig.c
| cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -D_LARGEFILE_SOURCE -fno-strict-aliasing -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden  -o buildconfig buildconfig.c -lcrypt -lm -lnsl
| buildconfig.c: In function 'main':
| buildconfig.c:117:5: warning: unused variable 'test_int_t' [-Wunused-variable]
|   117 | int test_int_t = 0;
|       |     ^~~~~~~~~~
| /usr/bin/ld: cannot find -lnsl: No such file or directory
| collect2: error: ld returned 1 exit status
| make[3]: *** [Makefile:390: buildconfig] Error 1
| make[3]: Leaving directory '/<<PKGBUILDDIR>>/b-exim4-daemon-light/build-Linux-x86_64'
| make[2]: *** [Makefile:37: all] Error 2
| make[2]: Leaving directory '/<<PKGBUILDDIR>>/b-exim4-daemon-light'
| make[1]: *** [debian/rules:121: override_dh_auto_build] Error 2
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| make: *** [debian/rules:324: build] Error 2
| dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

This could be fixed by adding an explicit Build-Depends on libnsl-dev.
The glibc change will likely be reverted in the short term, but given
its a change we want to do for Trixie, this will only lower the severity
of the bug.

Regards
Aurelien

Back to linux.debian.bugs.rc | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1065107: exim4: FTBFS: missing build-dep on libnsl-dev Aurelien Jarno <aurel32@debian.org> - 2024-02-29 22:10 +0100
  Bug#1065107: exim4: FTBFS: missing build-dep on libnsl-dev Andreas Metzler <ametzler@bebt.de> - 2024-03-01 18:50 +0100
  Bug#1065107: marked as done (exim4: FTBFS: missing build-dep on  libnsl-dev) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-03-02 11:40 +0100

csiph-web