Package: src:djbdns
Version: 1:1.05-16
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules binary
dh binary --with runit
dh_update_autotools_config
dh_autoreconf
debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
echo /usr | tee conf-home
/usr
printf -- '%s\n' 'x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -include
/usr/include/errno.h -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection' | tee conf-cc
x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -include /usr/include/errno.h -g -O2
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security
-fcf-protection
printf -- '%s\n' 'x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now
-specs=/usr/share/debhelper/dh_package_notes/debian-package-notes.specs' | tee
conf-ld
x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now
-specs=/usr/share/debhelper/dh_package_notes/debian-package-notes.specs
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build
make -j2 "INSTALL=install --strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
( cat warn-auto.sh; \
echo 'main="$1"; shift'; \
echo exec "`head -1 conf-ld`" \
'-o "$main" "$main".o ${1+"$@"}' \
) > load
( cat warn-auto.sh; \
echo exec "`head -1 conf-cc`" '-c ${1+"$@"}' \
) > compile
chmod 755 load
chmod 755 compile
( cat warn-auto.sh; \
echo CC=\'`head -1 conf-cc`\'; \
echo LD=\'`head -1 conf-ld`\'; \
cat find-systype.sh; \
) | sh > systype
cat warn-auto.sh choose.sh \
| sed s}HOME}"`head -1 conf-home`"}g \
choose
chmod 755 choose
./compile generic-conf.c
./compile auto-str.c
auto-str.c:7:6: warning: conflicting types for built-in function ‘puts’;
expected ‘int(const char *)’ [-Wbuiltin-declaration-mismatch]
7 | void puts(const char *s)
| ^~~~
auto-str.c:3:1: note: ‘puts’ is declared in header ‘<stdio.h>’
2 | #include "exit.h"
+++ |+#include <stdio.h>
3 |
( cat warn-auto.sh; \
echo 'main="$1"; shift'; \
echo 'rm -f "$main"'; \
echo 'ar cr "$main" ${1+"$@"}'; \
case "`cat systype`" in \
sunos-5.*) ;; \
unix_sv*) ;; \
irix64-*) ;; \
irix-*) ;; \
dgux-*) ;; \
hp-ux-*) ;; \
sco*) ;; \
*) echo 'ranlib "$main"' ;; \
esac \
) > makelib
chmod 755 makelib
./compile buffer.c
./compile buffer_1.c
./compile buffer_2.c
./compile buffer_copy.c
./compile buffer_get.c
./compile buffer_put.c
./compile strerr_die.c
./compile strerr_sys.c
./compile buffer_read.c
./compile buffer_write.c
./compile error.c
./compile error_str.c
./compile ndelay_off.c
./compile ndelay_on.c
./compile open_read.c
./compile open_trunc.c
./compile openreadclose.c
./compile readclose.c
./compile seek_set.c
./compile socket_accept.c
./compile socket_bind.c
./compile socket_conn.c
./compile socket_listen.c
socket_conn.c: In function ‘socket_connected’:
socket_conn.c:29:5: warning: ignoring return value of ‘read’ declared with
attribute ‘warn_unused_result’ [-Wunused-result]
29 | read(s,&ch,1); /* sets errno */
| ^~~~~~~~~~~~~
./compile socket_recv.c
./compile socket_send.c
./compile socket_tcp.c
./compile socket_udp.c
./compile byte_chr.c
./compile byte_copy.c
./compile byte_cr.c
./compile byte_diff.c
./compile byte_zero.c
./compile case_diffb.c
./compile case_diffs.c
./compile case_lowerb.c
./compile fmt_ulong.c
./compile ip4_fmt.c
./compile ip4_scan.c
./compile scan_ulong.c
./compile str_chr.c
./compile str_diff.c
./compile str_len.c
./compile str_rchr.c
./compile str_start.c
./compile uint16_pack.c
./compile uint16_unpack.c
./choose clr trypoll iopause.h1 iopause.h2 > iopause.h
./compile droproot.c
./compile okclient.c
./choose c trydrent direntry.h1 direntry.h2 > direntry.h
./choose c trysysel select.h1 select.h2 > select.h
./compile chkshsgr.c
./compile env.c
chkshsgr.c: In function ‘main’:
chkshsgr.c:10:19: error: passing argument 2 of ‘getgroups’ from incompatible
pointer type [-Wincompatible-pointer-types]
10 | if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1);
| ^
| |
| short int *
In file included from /usr/include/features.h:510,
from /usr/include/errno.h:25,
from <command-line>:
/usr/include/x86_64-linux-gnu/bits/unistd.h:147:19: note: expected ‘__gid_t *’
{aka ‘unsigned int *’} but argument is of type ‘short int *’
147 | __fortify_clang_overload_arg (__gid_t *, , __list)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
chkshsgr.c:10:44: error: passing argument 2 of ‘setgroups’ from incompatible
pointer type [-Wincompatible-pointer-types]
10 | if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1);
| ^
| |
| short int *
In file included from chkshsgr.c:1:
/usr/include/grp.h:180:50: note: expected ‘const __gid_t *’ {aka ‘const
unsigned int *’} but argument is of type ‘short int *’
180 | extern int setgroups (size_t __n, const __gid_t *__groups) __THROW;
| ~~~~~~~~~~~~~~~^~~~~~~~
make[1]: *** [Makefile:203: chkshsgr.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 "INSTALL=install --strip-program=true" returned
exit code 2
make: *** [debian/rules:10: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202409/
About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large from AWS, using sbuild and a
reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.
Thanks.