Source: qrouter
Version: 1.4.71-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@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 -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g 
> -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wdate-time -D_FORTIFY_SOURCE=2 -m64 -fPIC -fPIC -DPACKAGE_NAME=\"\" 
> -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" 
> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -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_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_VA_COPY=1 
> -DHAVE___VA_COPY=1 -DHAVE_LIBXT=1 -DHAVE_SYS_MMAN_H=1 -DTCL_QROUTER=1 
> -DLINUX=1 -DSYSV=1 -DVERSION=\"1.4\" -DREVISION=\"71\" -DUSE_TCL_STUBS 
> -DUSE_TK_STUBS \
>       -DQROUTER_PATH=\"/usr/lib/qrouter\" 
> -I/usr/include/tcl8.6/tk-private/generic -I/usr/include/tcl8.6 -c def.c -o 
> def.o
> qrouter.c: In function ‘post_def_setup’:
> qrouter.c:880:4: error: implicit declaration of function 
> ‘find_free_antenna_taps’ [-Werror=implicit-function-declaration]
>   880 |    find_free_antenna_taps(antenna_cell);
>       |    ^~~~~~~~~~~~~~~~~~~~~~
> qrouter.c: In function ‘route_setup’:
> qrouter.c:1942:9: error: implicit declaration of function ‘createMask’; did 
> you mean ‘ActivateMask’? [-Werror=implicit-function-declaration]
>  1942 |         createMask(iroute->net, MASK_SMALL, (u_char)Numpasses);
>       |         ^~~~~~~~~~
>       |         ActivateMask
> qrouter.c:1949:6: error: implicit declaration of function ‘createBboxMask’ 
> [-Werror=implicit-function-declaration]
>  1949 |      createBboxMask(iroute->net, (u_char)Numpasses);
>       |      ^~~~~~~~~~~~~~
> gcc -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g 
> -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wdate-time -D_FORTIFY_SOURCE=2 -m64 -fPIC -fPIC -DPACKAGE_NAME=\"\" 
> -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" 
> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -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_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_VA_COPY=1 
> -DHAVE___VA_COPY=1 -DHAVE_LIBXT=1 -DHAVE_SYS_MMAN_H=1 -DTCL_QROUTER=1 
> -DLINUX=1 -DSYSV=1 -DVERSION=\"1.4\" -DREVISION=\"71\" -DUSE_TCL_STUBS 
> -DUSE_TK_STUBS \
>       -DQROUTER_PATH=\"/usr/lib/qrouter\" 
> -I/usr/include/tcl8.6/tk-private/generic -I/usr/include/tcl8.6 -c graphics.c 
> -o graphics.o
> gcc -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g 
> -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wdate-time -D_FORTIFY_SOURCE=2 -m64 -fPIC -fPIC -DPACKAGE_NAME=\"\" 
> -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" 
> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -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_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_VA_COPY=1 
> -DHAVE___VA_COPY=1 -DHAVE_LIBXT=1 -DHAVE_SYS_MMAN_H=1 -DTCL_QROUTER=1 
> -DLINUX=1 -DSYSV=1 -DVERSION=\"1.4\" -DREVISION=\"71\" -DUSE_TCL_STUBS 
> -DUSE_TK_STUBS \
>       -DQROUTER_PATH=\"/usr/lib/qrouter\" 
> -I/usr/include/tcl8.6/tk-private/generic -I/usr/include/tcl8.6 -c 
> tclqrouter.c -o tclqrouter.o
> lef.c: In function ‘LefReadMacro’:
> lef.c:2268:37: warning: ‘%d’ directive writing between 1 and 10 bytes into a 
> region of size 5 [-Wformat-overflow=]
>  2268 |             sprintf(newname, "%250s_%d", mname, suffix);
>       |                                     ^~
> lef.c:2268:30: note: directive argument in the range [1, 2147483647]
>  2268 |             sprintf(newname, "%250s_%d", mname, suffix);
>       |                              ^~~~~~~~~~
> In file included from /usr/include/stdio.h:906,
>                  from lef.c:22:
> In function ‘sprintf’,
>     inlined from ‘LefReadMacro’ at lef.c:2268:6:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: 
> ‘__builtin___sprintf_chk’ output 253 or more bytes (assuming 262) into a 
> destination of size 256
>    30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    31 |                                   __glibc_objsize (__s), __fmt,
>       |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    32 |                                   __va_arg_pack ());
>       |                                   ~~~~~~~~~~~~~~~~~
> tclqrouter.c: In function ‘qrouter_cleanup’:
> tclqrouter.c:1437:20: error: implicit declaration of function ‘cleanup_net’ 
> [-Werror=implicit-function-declaration]
>  1437 |                    cleanup_net(net);
>       |                    ^~~~~~~~~~~
> tclqrouter.c: In function ‘qrouter_failing’:
> tclqrouter.c:1564:13: error: implicit declaration of function 
> ‘create_netorder’ [-Werror=implicit-function-declaration]
>  1564 |             create_netorder(0);
>       |             ^~~~~~~~~~~~~~~
> tclqrouter.c: In function ‘qrouter_writedef’:
> tclqrouter.c:1706:5: error: implicit declaration of function ‘write_def’; did 
> you mean ‘write_spef’? [-Werror=implicit-function-declaration]
>  1706 |     write_def(DEFoutfile);
>       |     ^~~~~~~~~
>       |     write_spef
> tclqrouter.c: In function ‘qrouter_antenna’:
> tclqrouter.c:1750:13: error: implicit declaration of function 
> ‘resolve_antenna’ [-Werror=implicit-function-declaration]
>  1750 |             resolve_antenna(antenna_cell, (u_char)0);
>       |             ^~~~~~~~~~~~~~~
> tclqrouter.c: In function ‘qrouter_writefailed’:
> tclqrouter.c:1788:5: error: implicit declaration of function ‘write_failed’ 
> [-Werror=implicit-function-declaration]
>  1788 |     write_failed(outfile);
>       |     ^~~~~~~~~~~~
> tclqrouter.c: In function ‘qrouter_query’:
> tclqrouter.c:2620:17: error: implicit declaration of function 
> ‘print_grid_information’ [-Werror=implicit-function-declaration]
>  2620 |                 print_grid_information(gridx, gridy, layer);
>       |                 ^~~~~~~~~~~~~~~~~~~~~~
> tclqrouter.c:2630:13: error: implicit declaration of function 
> ‘print_instance_information’ [-Werror=implicit-function-declaration]
>  2630 |             print_instance_information(instname);
>       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
> tclqrouter.c:2639:13: error: implicit declaration of function 
> ‘print_node_information’ [-Werror=implicit-function-declaration]
>  2639 |             print_node_information(instname);
>       |             ^~~~~~~~~~~~~~~~~~~~~~
> tclqrouter.c:2648:13: error: implicit declaration of function 
> ‘print_net_information’ [-Werror=implicit-function-declaration]
>  2648 |             print_net_information(netname);
>       |             ^~~~~~~~~~~~~~~~~~~~~
> tclqrouter.c: In function ‘qrouter_print’:
> tclqrouter.c:3207:13: error: implicit declaration of function ‘print_net’ 
> [-Werror=implicit-function-declaration]
>  3207 |             print_net(net);
>       |             ^~~~~~~~~
> tclqrouter.c:3227:13: error: implicit declaration of function ‘print_gate’ 
> [-Werror=implicit-function-declaration]
>  3227 |             print_gate(gate);
>       |             ^~~~~~~~~~
> gcc -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g 
> -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wdate-time -D_FORTIFY_SOURCE=2 -m64 -fPIC -fPIC -DPACKAGE_NAME=\"\" 
> -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" 
> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -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_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_VA_COPY=1 
> -DHAVE___VA_COPY=1 -DHAVE_LIBXT=1 -DHAVE_SYS_MMAN_H=1 -DTCL_QROUTER=1 
> -DLINUX=1 -DSYSV=1 -DVERSION=\"1.4\" -DREVISION=\"71\" -DUSE_TCL_STUBS 
> -DUSE_TK_STUBS \
>       -DQROUTER_PATH=\"/usr/lib/qrouter\" 
> -I/usr/include/tcl8.6/tk-private/generic -I/usr/include/tcl8.6 -c tkSimple.c 
> -o tkSimple.o
> gcc -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g 
> -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wdate-time -D_FORTIFY_SOURCE=2 -m64 -fPIC -fPIC -DPACKAGE_NAME=\"\" 
> -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" 
> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -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_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_VA_COPY=1 
> -DHAVE___VA_COPY=1 -DHAVE_LIBXT=1 -DHAVE_SYS_MMAN_H=1 -DTCL_QROUTER=1 
> -DLINUX=1 -DSYSV=1 -DVERSION=\"1.4\" -DREVISION=\"71\" -DUSE_TCL_STUBS 
> -DUSE_TK_STUBS \
>       -DQROUTER_PATH=\"/usr/lib/qrouter\" 
> -I/usr/include/tcl8.6/tk-private/generic -I/usr/include/tcl8.6 -c delays.c -o 
> delays.o
> cc1: some warnings being treated as errors
> make[1]: *** [Makefile:160: qrouter.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/qrouter_1.4.71-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=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&fusertaguser=lu...@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 via email to