Bug#1066117: FTBFS: missing build-dep on libnsl-dev

2024-03-13 Thread Aurelien Jarno
Hi,

On 2024-03-12 23:22, Preuße, Hilmar wrote:
> On 12.03.2024 21:59, Aurelien Jarno wrote:
> 
> Hi Aurelien,
> 
> > 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 proftpd-dfsg to FTBFS in
> > sid with:
> > 
> I've seen the issue, but I wasn't sure if I have to do something or if I
> have just have to wait until the dep change has been reverted. Let me
> know if I should upload a fixed package w/ the BD added.

Yes, please upload a package with the extra BD. The time_t transition
takes longer than expected, and proftpd-dfsg is part of the transition.

Thanks
Aurelien

-- 
Aurelien Jarno  GPG: 4096R/1DDD8C9B
aurel...@aurel32.net http://aurel32.net



Bug#1066117: FTBFS: missing build-dep on libnsl-dev

2024-03-12 Thread Preuße

On 12.03.2024 21:59, Aurelien Jarno wrote:

Hi Aurelien,


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 proftpd-dfsg to FTBFS in
sid with:


I've seen the issue, but I wasn't sure if I have to do something or if I
have just have to wait until the dep change has been reverted. Let me
know if I should upload a fixed package w/ the BD added.

Thanks,
  Hilmar
--
sigfault



Bug#1066117: FTBFS: missing build-dep on libnsl-dev

2024-03-12 Thread Aurelien Jarno
Source: proftpd-dfsg
Version: 1.3.8.b+dfsg-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
User: debian-gl...@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 proftpd-dfsg to FTBFS in
sid with:

| /bin/bash ../libtool --mode=compile --tag=CC gcc -Wdate-time 
-D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H  -DLINUX  -I.. -I../include -I../include 
-I/usr/include/mariadb/mysql -I/usr/include/mariadb -I/usr/include/postgresql 
-I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include/postgresql 
-Wdate-time -D_FORTIFY_SOURCE=2 -g2 -g -O2 -ffile-prefix-map=/<>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wall 
-fno-omit-frame-pointer -fno-strict-aliasing 
-Werror=implicit-function-declaration -g -O2 
-ffile-prefix-map=/<>/modules=. -fstack-protector-strong -Wformat 
-Werror=format-security -DPR_SHARED_MODULE -c ../modules/mod_wrap2_file.c
| libtool: compile:  gcc -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H 
-DLINUX -I.. -I../include -I../include -I/usr/include/mariadb/mysql 
-I/usr/include/mariadb -I/usr/include/postgresql -I/usr/include/mariadb 
-I/usr/include/mariadb/mysql -I/usr/include/postgresql -Wdate-time 
-D_FORTIFY_SOURCE=2 -g2 -g -O2 -ffile-prefix-map=/<>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wall 
-fno-omit-frame-pointer -fno-strict-aliasing 
-Werror=implicit-function-declaration -g -O2 
-ffile-prefix-map=/<>/modules=. -fstack-protector-strong -Wformat 
-Werror=format-security -DPR_SHARED_MODULE -c ../modules/mod_wrap2_file.c  
-fPIC -DPIC -o .libs/mod_wrap2_file.o
| gcc -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H  -DLINUX  -I.. 
-I../include -I../include -I/usr/include/mariadb/mysql -I/usr/include/mariadb 
-I/usr/include/postgresql -I/usr/include/mariadb -I/usr/include/mariadb/mysql 
-I/usr/include/postgresql -Wdate-time -D_FORTIFY_SOURCE=2 -g2 -g -O2 
-ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wall -fno-omit-frame-pointer -fno-strict-aliasing 
-Werror=implicit-function-declaration -g -O2 
-ffile-prefix-map=/<>/src=. -fstack-protector-strong -Wformat 
-Werror=format-security -c trace.c
| /bin/bash ../libtool --mode=link --tag=CC gcc -o mod_wrap.la -rpath 
/usr/lib/proftpd -Wl,-L../lib,-L../lib -Wl,-z,relro -Wl,-z,now -rdynamic  
-L/usr/lib/i386-linux-gnu/ -L/usr/lib/i386-linux-gnu -Wl,-z,relro -Wl,-z,now 
-avoid-version -export-dynamic -module -lidn2 -lsodium mod_wrap.lo `cat 
../modules/mod_wrap.c | grep '$Libraries:' | sed -e 's/^.*\$Libraries: 
\(.*\)\\$/\1/'`
| libtool: link: gcc -shared  .libs/mod_wrap.o   -L/usr/lib/i386-linux-gnu/ 
-L/usr/lib/i386-linux-gnu -lidn2 -lsodium -lwrap -lnsl  -Wl,-L../lib 
-Wl,-L../lib -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-z -Wl,relro -Wl,-z -Wl,now   
-Wl,-soname -Wl,mod_wrap.so -o .libs/mod_wrap.so
| /usr/bin/ld: cannot find -lnsl: No such file or directory
| collect2: error: ld returned 1 exit status
| make[3]: *** [Makefile:34: mod_wrap.la] Error 1
| make[3]: *** Waiting for unfinished jobs

The full build log can be found here:
https://buildd.debian.org/status/fetch.php?pkg=proftpd-dfsg=i386=1.3.8.b%2Bdfsg-1%2Bb2=1710157209=0

This can be fixed by adding an explicit Build-Depends on libnsl-dev.

Regards
Aurelien