Source: udptunnel Version: 1.1-10 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 udptunnel to FTBFS in sid with: | gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"udptunnel\" -DVERSION=\"1.1\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_SHORT=2 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_STRTOL=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -c -o host2ip.o host2ip.c | host2ip.c:7:10: fatal error: rpcsvc/ypclnt.h: No such file or directory | 7 | #include <rpcsvc/ypclnt.h> /* YP */ | | ^~~~~~~~~~~~~~~~~ | compilation terminated. | make[1]: *** [Makefile:379: host2ip.o] Error 1 | make[1]: *** Waiting for unfinished jobs.... | udptunnel.c: In function ‘await_incoming_connections’: | udptunnel.c:430:55: warning: pointer targets in passing argument 3 of ‘accept’ differ in signedness [-Wpointer-sign] | 430 | (struct sockaddr *) &client_addr, &addrlen)) < 0) { | | ^~~~~~~~ | | | | | int * | In file included from udptunnel.c:14: | /usr/include/x86_64-linux-gnu/sys/socket.h:307:42: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ | 307 | socklen_t *__restrict __addr_len); | | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ | udptunnel.c: In function ‘udp_to_tcp’: | udptunnel.c:485:26: warning: pointer targets in passing argument 6 of ‘recvfrom’ differ in signedness [-Wpointer-sign] | 485 | &addrlen)) <= 0) { | | ^~~~~~~~ | | | | | int * | In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343: | /usr/include/x86_64-linux-gnu/bits/socket2.h:62:56: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ | 62 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ | udptunnel.c: In function ‘tcp_to_udp’: | udptunnel.c:564:36: warning: pointer targets in passing argument 5 of ‘getsockopt’ differ in signedness [-Wpointer-sign] | 564 | (void *)&err, &len) < 0) { | | ^~~~ | | | | | int * | /usr/include/x86_64-linux-gnu/sys/socket.h:257:46: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ | 257 | socklen_t *__restrict __optlen) __THROW; | | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ | make[1]: Leaving directory '/<<PKGBUILDDIR>>' | dh_auto_build: error: make -j3 returned exit code 2 | make: *** [debian/rules:6: binary] Error 25 | dpkg-buildpackage: error: debian/rules binary 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