Package: src:tetradraw
Version: 2.0.3-10
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules build
dh build --with autoreconf
   dh_update_autotools_config
   dh_autoreconf
autoreconf: warning: autoconf input should be named 'configure.ac', not 
'configure.in'
aclocal: warning: autoconf input should be named 'configure.ac', not 
'configure.in'
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
aclocal: warning: autoconf input should be named 'configure.ac', not 
'configure.in'
configure.in:5: warning: 'AM_CONFIG_HEADER': this macro is obsolete.
configure.in:5: You should use the 'AC_CONFIG_HEADERS' macro instead.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
aclocal.m4:9833: AM_CONFIG_HEADER is expanded from...
configure.in:5: the top level
configure.in:7: warning: The macro `AC_CANONICAL_SYSTEM' is obsolete.
configure.in:7: You should run autoupdate.
./lib/autoconf/general.m4:2081: AC_CANONICAL_SYSTEM is expanded from...
configure.in:7: the top level
configure.in:9: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are 
deprecated.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
aclocal.m4:9517: AM_INIT_AUTOMAKE is expanded from...
configure.in:9: the top level
configure.in:13: warning: The macro `AM_PROG_LIBTOOL' is obsolete.
configure.in:13: You should run autoupdate.
aclocal.m4:123: AM_PROG_LIBTOOL is expanded from...
configure.in:13: the top level
configure.in:18: warning: AC_OUTPUT should be used without arguments.
configure.in:18: You should run autoupdate.
autoheader: warning: autoconf input should be named 'configure.ac', not 
'configure.in'
automake: warning: autoconf input should be named 'configure.ac', not 
'configure.in'
configure.in:9: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are 
deprecated.  For more info, see:
configure.in:9: 
https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
configure.in:11: installing './compile'
configure.in:9: installing './missing'
src/Makefile.am:7: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or 
'*_CPPFLAGS')
src/Makefile.am: installing './depcomp'
automake: warning: autoconf input should be named 'configure.ac', not 
'configure.in'
src/Makefile.am:8: warning: 'CFLAGS' is a user variable, you should not 
override it;
src/Makefile.am:8: use 'AM_CFLAGS' instead
src/Makefile.am:6: warning: 'LDFLAGS' is a user variable, you should not 
override it;
src/Makefile.am:6: use 'AM_LDFLAGS' instead
   dh_auto_configure
        ./configure --build=x86_64-linux-gnu --prefix=/usr 
--includedir=\${prefix}/include --mandir=\${prefix}/share/man 
--infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var 
--disable-option-checking --disable-silent-rules 
--libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run 
--disable-maintainer-mode --disable-dependency-tracking
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... none
checking for an ANSI C-conforming const... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu 
format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... 
func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for file... file
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared 
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build -- AUTOMAKE=true
        make -j2 AUTOMAKE=true
make[2]: Entering directory '/<<PKGBUILDDIR>>'
make  all-recursive
make[3]: Entering directory '/<<PKGBUILDDIR>>'
Making all in src
make[4]: Entering directory '/<<PKGBUILDDIR>>/src'
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.  -Wdate-time -D_FORTIFY_SOURCE=2  -Wall 
-ggdb3 -c -o block.o block.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.  -Wdate-time -D_FORTIFY_SOURCE=2  -Wall 
-ggdb3 -c -o editor.o editor.c
block.c: In function ‘l_fill_ch’:
block.c:509:19: warning: variable ‘ch’ set but not used 
[-Wunused-but-set-variable]
  509 |         character ch;
      |                   ^~
editor.c: In function ‘l_char_insert’:
editor.c:435:9: warning: this ‘for’ clause does not guard... 
[-Wmisleading-indentation]
  435 |         for(; count >= L_X(page); count--)
      |         ^~~
editor.c:438:17: note: ...this statement, but the latter is misleadingly 
indented as if it were guarded by the ‘for’
  438 |                 page->buffer[L_RY(page)][L_X(page)] = fch;
      |                 ^~~~
editor.c: In function ‘r_char_insert’:
editor.c:750:9: warning: this ‘for’ clause does not guard... 
[-Wmisleading-indentation]
  750 |         for(; count >= R_X(page); count--)
      |         ^~~
editor.c:753:17: note: ...this statement, but the latter is misleadingly 
indented as if it were guarded by the ‘for’
  753 |                 page->buffer[R_RY(page)][R_X(page)] = fch;
      |                 ^~~~
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.  -Wdate-time -D_FORTIFY_SOURCE=2  -Wall 
-ggdb3 -c -o interface.o interface.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.  -Wdate-time -D_FORTIFY_SOURCE=2  -Wall 
-ggdb3 -c -o internal.o internal.c
internal.c: In function ‘m_malloc’:
internal.c:30:52: warning: format ‘%d’ expects argument of type ‘int’, but 
argument 3 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=]
   30 |                 fprintf(stderr, "ERROR: malloc of %d bytes failed\n", 
size);
      |                                                   ~^                  
~~~~
      |                                                    |                  |
      |                                                    int                
size_t {aka long unsigned int}
      |                                                   %ld
interface.c: In function ‘undraw_r_cursor’:
interface.c:125:13: warning: variable ‘offset’ set but not used 
[-Wunused-but-set-variable]
  125 |         int offset = 0;
      |             ^~~~~~
interface.c: In function ‘tv_file_select’:
interface.c:1069:36: error: invalid use of incomplete typedef ‘ITEM’ {aka 
‘struct tagITEM’}
 1069 |                         if(items[y]->index != index) menu_driver(menu, 
REQ_DOWN_ITEM);
      |                                    ^~
interface.c:1079:32: error: invalid use of incomplete typedef ‘ITEM’ {aka 
‘struct tagITEM’}
 1079 |                 index = current->index;
      |                                ^~
interface.c:1111:56: error: invalid use of incomplete typedef ‘ITEM’ {aka 
‘struct tagITEM’}
 1111 |                                         index = current->index;
      |                                                        ^~
interface.c:1136:40: error: invalid use of incomplete typedef ‘ITEM’ {aka 
‘struct tagITEM’}
 1136 |                         index = current->index;
      |                                        ^~
interface.c:1146:40: error: invalid use of incomplete typedef ‘ITEM’ {aka 
‘struct tagITEM’}
 1146 |                         index = current->index;
      |                                        ^~
interface.c: In function ‘file_select’:
interface.c:1217:36: error: invalid use of incomplete typedef ‘ITEM’ {aka 
‘struct tagITEM’}
 1217 |                         if(items[y]->index != index) menu_driver(menu, 
REQ_DOWN_ITEM);
      |                                    ^~
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.  -Wdate-time -D_FORTIFY_SOURCE=2  -Wall 
-ggdb3 -c -o load.o load.c
interface.c:1221:32: error: invalid use of incomplete typedef ‘ITEM’ {aka 
‘struct tagITEM’}
 1221 |                 index = current->index;
      |                                ^~
interface.c:1259:56: error: invalid use of incomplete typedef ‘ITEM’ {aka 
‘struct tagITEM’}
 1259 |                                         index = current->index;
      |                                                        ^~
interface.c:1284:40: error: invalid use of incomplete typedef ‘ITEM’ {aka 
‘struct tagITEM’}
 1284 |                         index = current->index;
      |                                        ^~
interface.c:1299:40: error: invalid use of incomplete typedef ‘ITEM’ {aka 
‘struct tagITEM’}
 1299 |                         index = current->index;
      |                                        ^~
interface.c: At top level:
interface.c:2028:22: warning: argument 1 of type ‘char[5]’ with mismatched 
bound [-Warray-parameter=]
 2028 | int mdi_getport(char port[5]) {
      |                 ~~~~~^~~~~~~
In file included from interface.c:39:
interface.h:61:17: note: previously declared as ‘char[]’
   61 | int mdi_getport(char []);
      |                 ^~~~~~~
interface.c:2081:21: warning: argument 1 of type ‘char[5]’ with mismatched 
bound [-Warray-parameter=]
 2081 | void draw_port(char port[5]) {
      |                ~~~~~^~~~~~~
interface.h:62:16: note: previously declared as ‘char[]’
   62 | void draw_port(char []);
      |                ^~~~~~~
interface.c:2091:26: warning: argument 1 of type ‘char[1024]’ with mismatched 
bound [-Warray-parameter=]
 2091 | int mdi_gethostname(char hostname[1024]) {
      |                     ~~~~~^~~~~~~~~~~~~~
interface.h:59:21: note: previously declared as ‘char[]’
   59 | int mdi_gethostname(char []);
      |                     ^~~~~~~
interface.c:2144:25: warning: argument 1 of type ‘char[1024]’ with mismatched 
bound [-Warray-parameter=]
 2144 | void draw_hostname(char hostname[1024]) {
      |                    ~~~~~^~~~~~~~~~~~~~
interface.h:60:20: note: previously declared as ‘char[]’
   60 | void draw_hostname(char []);
      |                    ^~~~~~~
interface.c:2168:23: warning: argument 1 of type ‘char[9]’ with mismatched 
bound [-Warray-parameter=]
 2168 | void draw_handle(char handle[9]) {
      |                  ~~~~~^~~~~~~~~
interface.h:58:18: note: previously declared as ‘char[]’
   58 | void draw_handle(char []);
      |                  ^~~~~~~
interface.c:2178:24: warning: argument 1 of type ‘char[9]’ with mismatched 
bound [-Warray-parameter=]
 2178 | int mdi_gethandle(char handle[9]) {
      |                   ~~~~~^~~~~~~~~
interface.h:57:19: note: previously declared as ‘char[]’
   57 | int mdi_gethandle(char []);
      |                   ^~~~~~~
load.c: In function ‘load_ansi’:
load.c:199:49: warning: this ‘for’ clause does not guard... 
[-Wmisleading-indentation]
  199 |                                                 for(pcount = 0; pcount 
<= phigh; pcount++)
      |                                                 ^~~
load.c:220:57: note: ...this statement, but the latter is misleadingly indented 
as if it were guarded by the ‘for’
  220 |                                                         state = 
STATE_NORMAL;
      |                                                         ^~~~~
interface.c: In function ‘draw_num’:
interface.c:2554:12: warning: the address of ‘snum’ will always evaluate as 
‘true’ [-Waddress]
 2554 |         if(!snum) return;
      |            ^
make[4]: *** [Makefile:446: interface.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[3]: *** [Makefile:404: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: *** [Makefile:336: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 AUTOMAKE=true returned exit code 2
make[1]: *** [debian/rules:8: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:5: build] Error 2
dpkg-buildpackage: error: debian/rules build 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/202312/

About the archive rebuild: The build was made using virtual machines
from AWS, with enough memory, enough disk, and either one or two
CPUs, using 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.

Reply via email to