Package: src:c2esp Version: 27-6 Severity: normal Tags: sid bullseye User: [email protected] 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/c2esp_27-6_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 [...] configure: * configure: *** Any missing dependencies are listed below *** configure: cups version is 1.6 or later - OK configure: * configure: LIBS=-ljbig -lz -lcupsfilters -lcups 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 doc/Makefile config.status: creating scripts/Makefile config.status: creating ppd/Makefile config.status: creating config.h config.status: executing depfiles commands configure: WARNING: unrecognized options: --disable-maintainer-mode dh_auto_build make -j4 make[1]: Entering directory '/<<PKGBUILDDIR>>' make all-recursive make[2]: Entering directory '/<<PKGBUILDDIR>>' Making all in src make[3]: Entering directory '/<<PKGBUILDDIR>>/src' gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 --pedantic -Wall -std=c99 -O2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o c2esp.o c2esp.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 --pedantic -Wall -std=c99 -O2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o c2espcommon.o c2espcommon.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 --pedantic -Wall -std=c99 -O2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o c2espC.o c2espC.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 --pedantic -Wall -std=c99 -O2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o command2esp.o command2esp.c c2esp.c: In function ‘output_jbig’: c2esp.c:405:5: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable] 405 | int rc; | ^~ c2esp.c: In function ‘main’: c2esp.c:1041:4: warning: ‘ppdOpenFile’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1041 | ppd = ppdOpenFile(getenv("PPD")); | ^~~ In file included from /usr/include/cupsfilters/driver.h:28, from c2esp.c:46: /usr/include/cups/ppd.h:389:20: note: declared here 389 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~ c2esp.c:1047:3: warning: ‘ppdClose’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1047 | ppdClose(ppd); | ^~~~~~~~ In file included from /usr/include/cupsfilters/driver.h:28, from c2esp.c:46: /usr/include/cups/ppd.h:364:14: note: declared here 364 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~ gcc --pedantic -Wall -std=c99 -O2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,--as-needed -o command2esp command2esp.o c2espcommon.o -ljbig -lz -lcupsfilters -lcups /usr/bin/ld: c2espcommon.o:./src/c2espcommon.c:45: multiple definition of `DoBack'; command2esp.o:./src/command2esp.c:66: first defined here /usr/bin/ld: c2espcommon.o:./src/c2espcommon.c:49: multiple definition of `StartTime'; command2esp.o:./src/command2esp.c:61: first defined here /usr/bin/ld: c2espcommon.o:./src/c2espcommon.h:38: multiple definition of `BackBuf'; command2esp.o:./src/c2espcommon.h:38: first defined here /usr/bin/ld: c2espcommon.o:./src/c2espcommon.h:39: multiple definition of `BlackPercent'; command2esp.o:./src/c2espcommon.h:39: first defined here /usr/bin/ld: c2espcommon.o:./src/c2espcommon.h:39: multiple definition of `ColourPercent'; command2esp.o:./src/c2espcommon.h:39: first defined here collect2: error: ld returned 1 exit status make[3]: *** [Makefile:400: command2esp] Error 1 make[3]: *** Waiting for unfinished jobs.... c2esp.c:1237:13: warning: ‘cmykTrans600’ may be used uninitialized in this function [-Wmaybe-uninitialized] 1237 | else cupsCMYKDoRGB(cmykTrans600, CupsLineBuffer, TransformedBuffer, RemainingPixels); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c2esp.c:1236:42: warning: ‘cmykTrans300’ may be used uninitialized in this function [-Wmaybe-uninitialized] 1236 | if(header.HWResolution[0] == 300) cupsCMYKDoRGB(cmykTrans300, CupsLineBuffer, TransformedBuffer, RemainingPixels); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/<<PKGBUILDDIR>>/src' make[2]: *** [Makefile:358: all-recursive] Error 1 make[2]: Leaving directory '/<<PKGBUILDDIR>>' make[1]: *** [Makefile:299: all] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build: error: make -j4 returned exit code 2 make: *** [debian/rules:8: build] Error 25 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
