Package: src:mtink Version: 1.0.16-10 Severity: normal Tags: sid bullseye User: debian-...@lists.debian.org Usertags: ftbfs-gcc-10
Please keep this issue open in the bug tracker for the package it was filed for. If a fix in another package is required, please file a bug for the other package (or clone), and add a block in this package. Please keep the issue open until the package can be built in a follow-up test rebuild. The package fails to build in a test rebuild on at least amd64 with gcc-10/g++-10, but succeeds to build with gcc-9/g++-9. The severity of this report will be raised before the bullseye release, so nothing has to be done for the buster release. The full build log can be found at: http://people.debian.org/~doko/logs/gcc10-20200225/mtink_1.0.16-10_unstable_gcc10.log The last lines of the build log are at the end of this report. To build with GCC 10, either set CC=gcc-10 CXX=g++-10 explicitly, or install the gcc, g++, gfortran, ... packages from experimental. apt-get -t=experimental install g++ Common build failures are new warnings resulting in build failures with -Werror turned on, or new/dropped symbols in Debian symbols files. For other C/C++ related build failures see the porting guide at http://gcc.gnu.org/gcc-10/porting_to.html [...] mainSrc/alignbt.c: In function ‘popupAlignNextWindow’: mainSrc/alignbt.c:355:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 355 | align_CB(NULL,(XtPointer)(data->choices/2), NULL); | ^ Compile scrtxt.c gcc -c -o mainSrc/scrtxt.o mainSrc/scrtxt.c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -I. -I./mainSrc -I/usr/X11R6/include -I/usr/dt/include -DWAIT_FOR_PRINTER=0 -DMOTIF_XPM -DPREFIX=\"/<<PKGBUILDDIR>>/debian/mtink/usr\" -DWITH_X=1 Compile resource.c gcc -c -o mainSrc/resource.o mainSrc/resource.c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -I. -I./mainSrc -I/usr/X11R6/include -I/usr/dt/include -DWAIT_FOR_PRINTER=0 -DMOTIF_XPM -DPREFIX=\"/<<PKGBUILDDIR>>/debian/mtink/usr\" -DDEBUG=0 -DPTIME=0 -DWITH_X=1 Compile rcfile.c gcc -c -o mainSrc/rcfile.o mainSrc/rcfile.c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -I. -I./mainSrc -I/usr/X11R6/include -I/usr/dt/include -DWAIT_FOR_PRINTER=0 -DMOTIF_XPM -DPREFIX=\"/<<PKGBUILDDIR>>/debian/mtink/usr\" -DWITH_X=1 mainSrc/rcfile.c: In function ‘saveConfig’: mainSrc/rcfile.c:180:16: warning: ignoring return value of ‘seteuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 180 | seteuid(getuid()); | ^~~~~~~~~~~~~~~~~ Compile cmd.c gcc -c -o mainSrc/cmd.o mainSrc/cmd.c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -I. -I./mainSrc -I/usr/X11R6/include -I/usr/dt/include -DWAIT_FOR_PRINTER=0 -DMOTIF_XPM -DPREFIX=\"/<<PKGBUILDDIR>>/debian/mtink/usr\" -DDEBUG=0 -DPTIME=0 -DRDTIMEOUT=20000 -DWRTIMEOUT=2000 -DWITH_X=1 -DSERVER=0 mainSrc/cmd.c: In function ‘callPrg’: mainSrc/cmd.c:494:11: warning: variable ‘answered’ set but not used [-Wunused-but-set-variable] 494 | int answered; | ^~~~~~~~ mainSrc/cmd.c: In function ‘d4Reset’: mainSrc/cmd.c:2468:8: warning: variable ‘dataChannelOpen’ set but not used [-Wunused-but-set-variable] 2468 | int dataChannelOpen = 0; | ^~~~~~~~~~~~~~~ Compile tooltip.c gcc -c -o mainSrc/tooltip.o mainSrc/tooltip.c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -I. -I./mainSrc -I/usr/X11R6/include -I/usr/dt/include -DWAIT_FOR_PRINTER=0 -DMOTIF_XPM -DPREFIX=\"/<<PKGBUILDDIR>>/debian/mtink/usr\" -DDEBUG=0 -DPTIME=0 -DWITH_X=1 Compile wheelmouse.c gcc -c -o mainSrc/wheelmouse.o mainSrc/wheelmouse.c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -I. -I./mainSrc -I/usr/X11R6/include -I/usr/dt/include -DWAIT_FOR_PRINTER=0 -DMOTIF_XPM -DPREFIX=\"/<<PKGBUILDDIR>>/debian/mtink/usr\" -DDEBUG=0 -DPTIME=0 -DWITH_X=1 Compile usbHlp.c gcc -c -o mainSrc/usbHlp.o mainSrc/usbHlp.c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -I. -I./mainSrc -I/usr/X11R6/include -I/usr/dt/include -DWAIT_FOR_PRINTER=0 -DMOTIF_XPM -DPREFIX=\"/<<PKGBUILDDIR>>/debian/mtink/usr\" -DDEBUG=0 -DPTIME=0 Compile micon.c gcc -c -o mainSrc/micon.o mainSrc/micon.c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -I. -I./mainSrc -I/usr/X11R6/include -I/usr/dt/include -DWAIT_FOR_PRINTER=0 -DMOTIF_XPM -DPREFIX=\"/<<PKGBUILDDIR>>/debian/mtink/usr\" -DWITH_X=1 Compile checkenv.c gcc -c -o mainSrc/checkenv.o mainSrc/checkenv.c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -I. -I./mainSrc -I/usr/X11R6/include -I/usr/dt/include -DWAIT_FOR_PRINTER=0 -DMOTIF_XPM -DPREFIX=\"/<<PKGBUILDDIR>>/debian/mtink/usr\" Compile access.c gcc -c -o mainSrc/access.o mainSrc/access.c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DDEBUG=0 -DPTIME=0 Link mtink gcc -o mtink mainSrc/mtink.o mainSrc/rw.o mainSrc/d4lib.o mainSrc/cfg1.o mainSrc/rdPrtDesc.o mainSrc/fsb.o mainSrc/cfg2.o mainSrc/alignbt.o mainSrc/scrtxt.o mainSrc/resource.o mainSrc/rcfile.o mainSrc/cmd.o mainSrc/tooltip.o mainSrc/wheelmouse.o mainSrc/usbHlp.o mainSrc/micon.o mainSrc/checkenv.o mainSrc/access.o -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -I. -I./mainSrc -I/usr/X11R6/include -I/usr/dt/include -DWAIT_FOR_PRINTER=0 -DMOTIF_XPM -DPREFIX=\"/<<PKGBUILDDIR>>/debian/mtink/usr\" -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -g -L/usr/X11R6/lib64 -L/usr/X11R6/lib -L/usr/dt/lib -lXm -lXext -lXt -lX11 -DRDTIMEOUT=20000 -DWRTIMEOUT=2000 -DDEBUG=0 -DPTIME=0 -DWITH_X=1 /usr/bin/ld: mainSrc/cfg1.o:./mainSrc/mtink.h:140: multiple definition of `alignHead'; mainSrc/mtink.o:./mainSrc/mtink.h:140: first defined here /usr/bin/ld: mainSrc/cfg1.o:./mainSrc/mtink.h:139: multiple definition of `exchangeCartridge'; mainSrc/mtink.o:./mainSrc/mtink.h:139: first defined here /usr/bin/ld: mainSrc/cfg1.o:./mainSrc/mtink.h:137: multiple definition of `newPrinter'; mainSrc/mtink.o:./mainSrc/mtink.h:137: first defined here /usr/bin/ld: mainSrc/cfg1.o:./mainSrc/mtink.h:136: multiple definition of `firstConfig'; mainSrc/mtink.o:./mainSrc/mtink.h:136: first defined here /usr/bin/ld: mainSrc/cfg2.o:./mainSrc/mtink.h:140: multiple definition of `alignHead'; mainSrc/mtink.o:./mainSrc/mtink.h:140: first defined here /usr/bin/ld: mainSrc/cfg2.o:./mainSrc/mtink.h:139: multiple definition of `exchangeCartridge'; mainSrc/mtink.o:./mainSrc/mtink.h:139: first defined here /usr/bin/ld: mainSrc/cfg2.o:./mainSrc/mtink.h:137: multiple definition of `newPrinter'; mainSrc/mtink.o:./mainSrc/mtink.h:137: first defined here /usr/bin/ld: mainSrc/cfg2.o:./mainSrc/mtink.h:136: multiple definition of `firstConfig'; mainSrc/mtink.o:./mainSrc/mtink.h:136: first defined here /usr/bin/ld: mainSrc/alignbt.o:./mainSrc/mtink.h:140: multiple definition of `alignHead'; mainSrc/mtink.o:./mainSrc/mtink.h:140: first defined here /usr/bin/ld: mainSrc/alignbt.o:./mainSrc/mtink.h:139: multiple definition of `exchangeCartridge'; mainSrc/mtink.o:./mainSrc/mtink.h:139: first defined here /usr/bin/ld: mainSrc/alignbt.o:./mainSrc/mtink.h:137: multiple definition of `newPrinter'; mainSrc/mtink.o:./mainSrc/mtink.h:137: first defined here /usr/bin/ld: mainSrc/alignbt.o:./mainSrc/mtink.h:136: multiple definition of `firstConfig'; mainSrc/mtink.o:./mainSrc/mtink.h:136: first defined here /usr/bin/ld: mainSrc/scrtxt.o:./mainSrc/mtink.h:140: multiple definition of `alignHead'; mainSrc/mtink.o:./mainSrc/mtink.h:140: first defined here /usr/bin/ld: mainSrc/scrtxt.o:./mainSrc/mtink.h:139: multiple definition of `exchangeCartridge'; mainSrc/mtink.o:./mainSrc/mtink.h:139: first defined here /usr/bin/ld: mainSrc/scrtxt.o:./mainSrc/mtink.h:137: multiple definition of `newPrinter'; mainSrc/mtink.o:./mainSrc/mtink.h:137: first defined here /usr/bin/ld: mainSrc/scrtxt.o:./mainSrc/mtink.h:136: multiple definition of `firstConfig'; mainSrc/mtink.o:./mainSrc/mtink.h:136: first defined here /usr/bin/ld: mainSrc/rcfile.o:./mainSrc/mtink.h:140: multiple definition of `alignHead'; mainSrc/mtink.o:./mainSrc/mtink.h:140: first defined here /usr/bin/ld: mainSrc/rcfile.o:./mainSrc/mtink.h:139: multiple definition of `exchangeCartridge'; mainSrc/mtink.o:./mainSrc/mtink.h:139: first defined here /usr/bin/ld: mainSrc/rcfile.o:./mainSrc/mtink.h:137: multiple definition of `newPrinter'; mainSrc/mtink.o:./mainSrc/mtink.h:137: first defined here /usr/bin/ld: mainSrc/rcfile.o:./mainSrc/mtink.h:136: multiple definition of `firstConfig'; mainSrc/mtink.o:./mainSrc/mtink.h:136: first defined here /usr/bin/ld: mainSrc/cmd.o:./mainSrc/mtink.h:140: multiple definition of `alignHead'; mainSrc/mtink.o:./mainSrc/mtink.h:140: first defined here /usr/bin/ld: mainSrc/cmd.o:./mainSrc/mtink.h:139: multiple definition of `exchangeCartridge'; mainSrc/mtink.o:./mainSrc/mtink.h:139: first defined here /usr/bin/ld: mainSrc/cmd.o:./mainSrc/mtink.h:137: multiple definition of `newPrinter'; mainSrc/mtink.o:./mainSrc/mtink.h:137: first defined here /usr/bin/ld: mainSrc/cmd.o:./mainSrc/mtink.h:136: multiple definition of `firstConfig'; mainSrc/mtink.o:./mainSrc/mtink.h:136: first defined here collect2: error: ld returned 1 exit status make[2]: *** [Makefile:234: mtink] Error 1 make[2]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build: error: make -j1 returned exit code 2 make[1]: *** [debian/rules:41: override_dh_auto_build] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:25: build] Error 2 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2