Bug#1066620: zzuf: FTBFS: zzat.c:482:32: error: implicit declaration of function ‘_IO_getc’ [-Werror=implicit-function-declaration]
Source: zzuf
Version: 0.15-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20240313 ftbfs-trixie ftbfs-impfuncdef
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
This is most likely caused by a change in dpkg 1.22.6, that enabled
-Werror=implicit-function-declaration. For more information, see
https://wiki.debian.org/qa.debian.org/FTBFS#A2024-03-13_-Werror.3Dimplicit-function-declaration
Relevant part (hopefully):
> gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBDIR=\"/usr/lib/x86_64-linux-gnu/zzuf\" -I./common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -c -o util/zzuf-hex.o `test -f 'util/hex.c' || echo './'`util/hex.c
> zzat.c: In function ‘run’:
> zzat.c:482:32: error: implicit declaration of function ‘_IO_getc’ [-Werror=implicit-function-declaration]
> 482 | MY_FREAD(ch = (n = _IO_getc(f)), &ch, (n != EOF));
> | ^~~~~~~~
> zzat.c:310:9: note: in definition of macro ‘MY_FCALL’
> 310 | cmd; \
> | ^~~
> zzat.c:482:13: note: in expansion of macro ‘MY_FREAD’
> 482 | MY_FREAD(ch = (n = _IO_getc(f)), &ch, (n != EOF));
> | ^~~~~~~~
> zzat.c:482:32: warning: nested extern declaration of ‘_IO_getc’ [-Wnested-externs]
> 482 | MY_FREAD(ch = (n = _IO_getc(f)), &ch, (n != EOF));
> | ^~~~~~~~
> zzat.c:310:9: note: in definition of macro ‘MY_FCALL’
> 310 | cmd; \
> | ^~~
> zzat.c:482:13: note: in expansion of macro ‘MY_FREAD’
> 482 | MY_FREAD(ch = (n = _IO_getc(f)), &ch, (n != EOF));
> | ^~~~~~~~
> gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBDIR=\"/usr/lib/x86_64-linux-gnu/zzuf\" -I./common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -c -o common/zzuf-random.o `test -f 'common/random.c' || echo './'`common/random.c
> zzat.c:565:26: error: implicit declaration of function ‘__fseeko64’; did you mean ‘fseeko64’? [-Werror=implicit-function-declaration]
> 565 | MY_FSEEK(l = __fseeko64(f, l1, SEEK_CUR),
> | ^~~~~~~~~~
> zzat.c:310:9: note: in definition of macro ‘MY_FCALL’
> 310 | cmd; \
> | ^~~
> zzat.c:565:13: note: in expansion of macro ‘MY_FSEEK’
> 565 | MY_FSEEK(l = __fseeko64(f, l1, SEEK_CUR),
> | ^~~~~~~~
> zzat.c:565:26: warning: nested extern declaration of ‘__fseeko64’ [-Wnested-externs]
> 565 | MY_FSEEK(l = __fseeko64(f, l1, SEEK_CUR),
> | ^~~~~~~~~~
> zzat.c:310:9: note: in definition of macro ‘MY_FCALL’
> 310 | cmd; \
> | ^~~
> zzat.c:565:13: note: in expansion of macro ‘MY_FSEEK’
> 565 | MY_FSEEK(l = __fseeko64(f, l1, SEEK_CUR),
> | ^~~~~~~~
> gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBDIR=\"/usr/lib/x86_64-linux-gnu/zzuf\" -I./common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -c -o common/zzuf-ranges.o `test -f 'common/ranges.c' || echo './'`common/ranges.c
> gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBDIR=\"/usr/lib/x86_64-linux-gnu/zzuf\" -I./common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -c -o common/zzuf-fd.o `test -f 'common/fd.c' || echo './'`common/fd.c
> zzuf.c: In function ‘spawn_children’:
> zzuf.c:781:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
> 781 | write(fdout, buf, n);
> | ^~~~~~~~~~~~~~~~~~~~
> zzuf.c: In function ‘read_children’:
> zzuf.c:1165:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
> 1165 | write((j < 2) ? STDERR_FILENO : STDOUT_FILENO, buf, ret);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBDIR=\"/usr/lib/x86_64-linux-gnu/zzuf\" -I./common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -c -o common/zzuf-fuzz.o `test -f 'common/fuzz.c' || echo './'`common/fuzz.c
> /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBZZUF -I./libzzuf -I./common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -c -o libzzuf/la-libzzuf.lo `test -f 'libzzuf/libzzuf.c' || echo './'`libzzuf/libzzuf.c
> /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBZZUF -I./libzzuf -I./common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -c -o libzzuf/la-debug.lo `test -f 'libzzuf/debug.c' || echo './'`libzzuf/debug.c
> /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBZZUF -I./libzzuf -I./common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -c -o libzzuf/la-sys.lo `test -f 'libzzuf/sys.c' || echo './'`libzzuf/sys.c
> /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBZZUF -I./libzzuf -I./common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -c -o libzzuf/la-network.lo `test -f 'libzzuf/network.c' || echo './'`libzzuf/network.c
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBZZUF -I./libzzuf -I./common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -c libzzuf/libzzuf.c -fPIC -DPIC -o libzzuf/.libs/la-libzzuf.o
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBZZUF -I./libzzuf -I./common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -c libzzuf/sys.c -fPIC -DPIC -o libzzuf/.libs/la-sys.o
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBZZUF -I./libzzuf -I./common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -c libzzuf/debug.c -fPIC -DPIC -o libzzuf/.libs/la-debug.o
> /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBZZUF -I./libzzuf -I./common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -c -o libzzuf/la-lib-fd.lo `test -f 'libzzuf/lib-fd.c' || echo './'`libzzuf/lib-fd.c
> libzzuf/debug.c: In function ‘mydebug’:
> libzzuf/debug.c:186:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
> 186 | write(g_debug_fd, debug_buffer, debug_count);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> libzzuf/debug.c:327:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
> 327 | write(g_debug_fd, debug_buffer, debug_count);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBZZUF -I./libzzuf -I./common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -c libzzuf/sys.c -o libzzuf/la-sys.o >/dev/null 2>&1
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBZZUF -I./libzzuf -I./common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -c libzzuf/network.c -fPIC -DPIC -o libzzuf/.libs/la-network.o
> /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBZZUF -I./libzzuf -I./common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -c -o libzzuf/la-lib-mem.lo `test -f 'libzzuf/lib-mem.c' || echo './'`libzzuf/lib-mem.c
> /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBZZUF -I./libzzuf -I./common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -c -o libzzuf/la-lib-signal.lo `test -f 'libzzuf/lib-signal.c' || echo './'`libzzuf/lib-signal.c
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBZZUF -I./libzzuf -I./common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -c libzzuf/lib-fd.c -fPIC -DPIC -o libzzuf/.libs/la-lib-fd.o
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBZZUF -I./libzzuf -I./common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -c libzzuf/libzzuf.c -o libzzuf/la-libzzuf.o >/dev/null 2>&1
> In file included from /usr/include/string.h:535,
> from libzzuf/debug.c:25:
> In function ‘memcpy’,
> inlined from ‘append’ at libzzuf/debug.c:172:9,
> inlined from ‘mydebug’ at libzzuf/debug.c:229:13:
> /usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: warning: ‘__builtin_memcpy’ offset [8193, 9223372036854775807] is out of the bounds [0, 8192] of object ‘debug_buffer’ with type ‘char[8192]’ [-Warray-bounds=]
> 29 | return __builtin___memcpy_chk (__dest, __src, __len,
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 30 | __glibc_objsize0 (__dest));
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~
> libzzuf/debug.c: In function ‘mydebug’:
> libzzuf/debug.c:69:13: note: ‘debug_buffer’ declared here
> 69 | static char debug_buffer[BUFSIZ];
> | ^~~~~~~~~~~~
> In function ‘memcpy’,
> inlined from ‘append’ at libzzuf/debug.c:172:9,
> inlined from ‘mydebug’ at libzzuf/debug.c:255:21:
> /usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: warning: ‘__builtin_memcpy’ offset [8193, 9223372036854775807] is out of the bounds [0, 8192] of object ‘debug_buffer’ with type ‘char[8192]’ [-Warray-bounds=]
> 29 | return __builtin___memcpy_chk (__dest, __src, __len,
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 30 | __glibc_objsize0 (__dest));
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~
> libzzuf/debug.c: In function ‘mydebug’:
> libzzuf/debug.c:69:13: note: ‘debug_buffer’ declared here
> 69 | static char debug_buffer[BUFSIZ];
> | ^~~~~~~~~~~~
> In function ‘memcpy’,
> inlined from ‘append’ at libzzuf/debug.c:172:9,
> inlined from ‘mydebug’ at libzzuf/debug.c:303:25:
> /usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: warning: ‘__builtin_memcpy’ forming offset [8192, 8193] is out of the bounds [0, 8192] of object ‘debug_buffer’ with type ‘char[8192]’ [-Warray-bounds=]
> 29 | return __builtin___memcpy_chk (__dest, __src, __len,
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 30 | __glibc_objsize0 (__dest));
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~
> libzzuf/debug.c: In function ‘mydebug’:
> libzzuf/debug.c:69:13: note: ‘debug_buffer’ declared here
> 69 | static char debug_buffer[BUFSIZ];
> | ^~~~~~~~~~~~
> In function ‘memcpy’,
> inlined from ‘append’ at libzzuf/debug.c:172:9,
> inlined from ‘mydebug’ at libzzuf/debug.c:302:25:
> /usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: warning: ‘__builtin_memcpy’ forming offset [8192, 8193] is out of the bounds [0, 8192] of object ‘debug_buffer’ with type ‘char[8192]’ [-Warray-bounds=]
> 29 | return __builtin___memcpy_chk (__dest, __src, __len,
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 30 | __glibc_objsize0 (__dest));
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~
> libzzuf/debug.c: In function ‘mydebug’:
> libzzuf/debug.c:69:13: note: ‘debug_buffer’ declared here
> 69 | static char debug_buffer[BUFSIZ];
> | ^~~~~~~~~~~~
> In function ‘memcpy’,
> inlined from ‘append’ at libzzuf/debug.c:172:9,
> inlined from ‘mydebug’ at libzzuf/debug.c:313:13:
> /usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: warning: ‘__builtin_memcpy’ offset [8193, 9223372036854775807] is out of the bounds [0, 8192] of object ‘debug_buffer’ with type ‘char[8192]’ [-Warray-bounds=]
> 29 | return __builtin___memcpy_chk (__dest, __src, __len,
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 30 | __glibc_objsize0 (__dest));
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~
> libzzuf/debug.c: In function ‘mydebug’:
> libzzuf/debug.c:69:13: note: ‘debug_buffer’ declared here
> 69 | static char debug_buffer[BUFSIZ];
> | ^~~~~~~~~~~~
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBZZUF -I./libzzuf -I./common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -c libzzuf/network.c -o libzzuf/la-network.o >/dev/null 2>&1
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBZZUF -I./libzzuf -I./common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -c libzzuf/lib-signal.c -fPIC -DPIC -o libzzuf/.libs/la-lib-signal.o
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBZZUF -I./libzzuf -I./common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -c libzzuf/lib-mem.c -fPIC -DPIC -o libzzuf/.libs/la-lib-mem.o
> In file included from /usr/include/x86_64-linux-gnu/sys/cdefs.h:24,
> from libzzuf/lib-mem.c:24:
> /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
> 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
> | ^~~~~~~
> /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBZZUF -I./libzzuf -I./common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -c -o libzzuf/la-lib-stream.lo `test -f 'libzzuf/lib-stream.c' || echo './'`libzzuf/lib-stream.c
> /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBZZUF -I./libzzuf -I./common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -c -o libzzuf/la-lib-win32.lo `test -f 'libzzuf/lib-win32.c' || echo './'`libzzuf/lib-win32.c
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBZZUF -I./libzzuf -I./common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -c libzzuf/lib-signal.c -o libzzuf/la-lib-signal.o >/dev/null 2>&1
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBZZUF -I./libzzuf -I./common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -c libzzuf/lib-stream.c -fPIC -DPIC -o libzzuf/.libs/la-lib-stream.o
> /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBZZUF -I./libzzuf -I./common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -c -o common/libzzuf_la-random.lo `test -f 'common/random.c' || echo './'`common/random.c
> In file included from libzzuf/lib-stream.c:51:
> libzzuf/lib-stream.c:567:9: warning: no previous prototype for ‘__fseeko64’ [-Wmissing-prototypes]
> 567 | int NEW(__fseeko64)(FILE *stream, off64_t offset, int whence)
> | ^~~~~~~~~~
> libzzuf/lib-load.h:26:19: note: in definition of macro ‘NEW’
> 26 | # define NEW(x) x
> | ^
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBZZUF -I./libzzuf -I./common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -c libzzuf/lib-win32.c -fPIC -DPIC -o libzzuf/.libs/la-lib-win32.o
> libzzuf/lib-stream.c:757:9: warning: no previous prototype for ‘_IO_getc’ [-Wmissing-prototypes]
> 757 | int NEW(_IO_getc)(FILE *stream)
> | ^~~~~~~~
> libzzuf/lib-load.h:26:19: note: in definition of macro ‘NEW’
> 26 | # define NEW(x) x
> | ^
> /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBZZUF -I./libzzuf -I./common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -c -o common/libzzuf_la-ranges.lo `test -f 'common/ranges.c' || echo './'`common/ranges.c
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBZZUF -I./libzzuf -I./common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -c libzzuf/lib-win32.c -o libzzuf/la-lib-win32.o >/dev/null 2>&1
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBZZUF -I./libzzuf -I./common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -c common/random.c -fPIC -DPIC -o common/.libs/libzzuf_la-random.o
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBZZUF -I./libzzuf -I./common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -c libzzuf/lib-mem.c -o libzzuf/la-lib-mem.o >/dev/null 2>&1
> /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBZZUF -I./libzzuf -I./common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -c -o common/libzzuf_la-fd.lo `test -f 'common/fd.c' || echo './'`common/fd.c
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBZZUF -I./libzzuf -I./common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -c common/ranges.c -fPIC -DPIC -o common/.libs/libzzuf_la-ranges.o
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBZZUF -I./libzzuf -I./common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -c common/random.c -o common/libzzuf_la-random.o >/dev/null 2>&1
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBZZUF -I./libzzuf -I./common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -c libzzuf/debug.c -o libzzuf/la-debug.o >/dev/null 2>&1
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBZZUF -I./libzzuf -I./common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -c common/fd.c -fPIC -DPIC -o common/.libs/libzzuf_la-fd.o
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBZZUF -I./libzzuf -I./common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -c common/ranges.c -o common/libzzuf_la-ranges.o >/dev/null 2>&1
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBZZUF -I./libzzuf -I./common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -c libzzuf/lib-fd.c -o libzzuf/la-lib-fd.o >/dev/null 2>&1
> /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBZZUF -I./libzzuf -I./common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -c -o common/libzzuf_la-fuzz.lo `test -f 'common/fuzz.c' || echo './'`common/fuzz.c
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBZZUF -I./libzzuf -I./common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -c common/fuzz.c -fPIC -DPIC -o common/.libs/libzzuf_la-fuzz.o
> cc1: some warnings being treated as errors
> make[3]: *** [Makefile:657: zzat.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2024/03/13/zzuf_0.15-2_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
Reply to: