[Debian-med-packaging] Bug#1075360: papyrus: ftbfs with GCC-14

Matthias Klose doko at debian.org
Wed Jul 3 13:39:22 BST 2024


Package: src:papyrus
Version: 3.7.1+dfsg-5
Severity: important
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-14

[This bug is targeted to the upcoming trixie release]

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-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.

The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/papyrus_3.7.1+dfsg-5_unstable_gccexp.log
The last lines of the build log are at the end of this report.

To build with GCC 14, either set CC=gcc-14 CXX=g++-14 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-14/porting_to.html

[...]
[ 82%] Building C object CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JIDCTRED.C.o
/usr/bin/cc  -I/<<PKGBUILDDIR>>/JpegDir/JpgLless -I/<<PKGBUILDDIR>>/JpegDir/JpgLossy -I/<<PKGBUILDDIR>>/DicomDir -I/<<PKGBUILDDIR>> -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JIDCTRED.C.o -MF CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JIDCTRED.C.o.d -o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JIDCTRED.C.o -c /<<PKGBUILDDIR>>/JpegDir/JpgLossy/JIDCTRED.C
[ 83%] Building C object CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/jmemmgr.c.o
/usr/bin/cc  -I/<<PKGBUILDDIR>>/JpegDir/JpgLless -I/<<PKGBUILDDIR>>/JpegDir/JpgLossy -I/<<PKGBUILDDIR>>/DicomDir -I/<<PKGBUILDDIR>> -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/jmemmgr.c.o -MF CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/jmemmgr.c.o.d -o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/jmemmgr.c.o -c /<<PKGBUILDDIR>>/JpegDir/JpgLossy/jmemmgr.c
[ 84%] Building C object CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JMEMNOBS.C.o
/usr/bin/cc  -I/<<PKGBUILDDIR>>/JpegDir/JpgLless -I/<<PKGBUILDDIR>>/JpegDir/JpgLossy -I/<<PKGBUILDDIR>>/DicomDir -I/<<PKGBUILDDIR>> -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JMEMNOBS.C.o -MF CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JMEMNOBS.C.o.d -o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JMEMNOBS.C.o -c /<<PKGBUILDDIR>>/JpegDir/JpgLossy/JMEMNOBS.C
[ 85%] Building C object CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JQUANT1.C.o
/usr/bin/cc  -I/<<PKGBUILDDIR>>/JpegDir/JpgLless -I/<<PKGBUILDDIR>>/JpegDir/JpgLossy -I/<<PKGBUILDDIR>>/DicomDir -I/<<PKGBUILDDIR>> -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JQUANT1.C.o -MF CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JQUANT1.C.o.d -o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JQUANT1.C.o -c /<<PKGBUILDDIR>>/JpegDir/JpgLossy/JQUANT1.C
/<<PKGBUILDDIR>>/JpegDir/JpgLossy/JMEMNOBS.C:40:33: warning: "/*" within comment [-Wcomment]
   40 | /*#ifndef HAVE_STDLIB_H         /* <stdlib.h> should declare malloc(),free() */
/<<PKGBUILDDIR>>/JpegDir/JpgLossy/JMEMNOBS.C: In function ‘jpeg_mem_init’:
/<<PKGBUILDDIR>>/JpegDir/JpgLossy/JMEMNOBS.C:123:33: warning: "/*" within comment [-Wcomment]
  123 |   /*return 0;                   /* just set max_memory_to_use to 0 */
[ 86%] Building C object CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JQUANT2.C.o
/usr/bin/cc  -I/<<PKGBUILDDIR>>/JpegDir/JpgLless -I/<<PKGBUILDDIR>>/JpegDir/JpgLossy -I/<<PKGBUILDDIR>>/DicomDir -I/<<PKGBUILDDIR>> -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JQUANT2.C.o -MF CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JQUANT2.C.o.d -o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JQUANT2.C.o -c /<<PKGBUILDDIR>>/JpegDir/JpgLossy/JQUANT2.C
[ 87%] Building C object CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JUTILS.C.o
/usr/bin/cc  -I/<<PKGBUILDDIR>>/JpegDir/JpgLless -I/<<PKGBUILDDIR>>/JpegDir/JpgLossy -I/<<PKGBUILDDIR>>/DicomDir -I/<<PKGBUILDDIR>> -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JUTILS.C.o -MF CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JUTILS.C.o.d -o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JUTILS.C.o -c /<<PKGBUILDDIR>>/JpegDir/JpgLossy/JUTILS.C
[ 89%] Building C object CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDBMP.C.o
/usr/bin/cc  -I/<<PKGBUILDDIR>>/JpegDir/JpgLless -I/<<PKGBUILDDIR>>/JpegDir/JpgLossy -I/<<PKGBUILDDIR>>/DicomDir -I/<<PKGBUILDDIR>> -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDBMP.C.o -MF CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDBMP.C.o.d -o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDBMP.C.o -c /<<PKGBUILDDIR>>/JpegDir/JpgLossy/RDBMP.C
[ 90%] Building C object CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDCOLMAP.C.o
/usr/bin/cc  -I/<<PKGBUILDDIR>>/JpegDir/JpgLless -I/<<PKGBUILDDIR>>/JpegDir/JpgLossy -I/<<PKGBUILDDIR>>/DicomDir -I/<<PKGBUILDDIR>> -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDCOLMAP.C.o -MF CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDCOLMAP.C.o.d -o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDCOLMAP.C.o -c /<<PKGBUILDDIR>>/JpegDir/JpgLossy/RDCOLMAP.C
/<<PKGBUILDDIR>>/JpegDir/JpgLossy/RDCOLMAP.C: In function ‘read_ppm_map’:
/<<PKGBUILDDIR>>/JpegDir/JpgLossy/RDCOLMAP.C:208:33: warning: "/*" within comment [-Wcomment]
  208 |   /* c = getc(infile);          /* save format discriminator for a sec */
[ 91%] Building C object CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDGIF.C.o
/usr/bin/cc  -I/<<PKGBUILDDIR>>/JpegDir/JpgLless -I/<<PKGBUILDDIR>>/JpegDir/JpgLossy -I/<<PKGBUILDDIR>>/DicomDir -I/<<PKGBUILDDIR>> -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDGIF.C.o -MF CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDGIF.C.o.d -o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDGIF.C.o -c /<<PKGBUILDDIR>>/JpegDir/JpgLossy/RDGIF.C
[ 92%] Building C object CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDPPM.C.o
/usr/bin/cc  -I/<<PKGBUILDDIR>>/JpegDir/JpgLless -I/<<PKGBUILDDIR>>/JpegDir/JpgLossy -I/<<PKGBUILDDIR>>/DicomDir -I/<<PKGBUILDDIR>> -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDPPM.C.o -MF CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDPPM.C.o.d -o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDPPM.C.o -c /<<PKGBUILDDIR>>/JpegDir/JpgLossy/RDPPM.C
/<<PKGBUILDDIR>>/JpegDir/JpgLossy/RDPPM.C: In function ‘start_input_ppm’:
/<<PKGBUILDDIR>>/JpegDir/JpgLossy/RDPPM.C:330:39: warning: "/*" within comment [-Wcomment]
  330 |   /*c = getc(source->pub.input_file); /* subformat discriminator character */
[ 93%] Building C object CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDRLE.C.o
/usr/bin/cc  -I/<<PKGBUILDDIR>>/JpegDir/JpgLless -I/<<PKGBUILDDIR>>/JpegDir/JpgLossy -I/<<PKGBUILDDIR>>/DicomDir -I/<<PKGBUILDDIR>> -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDRLE.C.o -MF CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDRLE.C.o.d -o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDRLE.C.o -c /<<PKGBUILDDIR>>/JpegDir/JpgLossy/RDRLE.C
[ 94%] Building C object CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDSWITCH.C.o
/usr/bin/cc  -I/<<PKGBUILDDIR>>/JpegDir/JpgLless -I/<<PKGBUILDDIR>>/JpegDir/JpgLossy -I/<<PKGBUILDDIR>>/DicomDir -I/<<PKGBUILDDIR>> -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDSWITCH.C.o -MF CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDSWITCH.C.o.d -o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDSWITCH.C.o -c /<<PKGBUILDDIR>>/JpegDir/JpgLossy/RDSWITCH.C
[ 95%] Building C object CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDTARGA.C.o
/usr/bin/cc  -I/<<PKGBUILDDIR>>/JpegDir/JpgLless -I/<<PKGBUILDDIR>>/JpegDir/JpgLossy -I/<<PKGBUILDDIR>>/DicomDir -I/<<PKGBUILDDIR>> -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDTARGA.C.o -MF CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDTARGA.C.o.d -o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDTARGA.C.o -c /<<PKGBUILDDIR>>/JpegDir/JpgLossy/RDTARGA.C
[ 96%] Building C object CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/WRRLE.C.o
/usr/bin/cc  -I/<<PKGBUILDDIR>>/JpegDir/JpgLless -I/<<PKGBUILDDIR>>/JpegDir/JpgLossy -I/<<PKGBUILDDIR>>/DicomDir -I/<<PKGBUILDDIR>> -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/WRRLE.C.o -MF CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/WRRLE.C.o.d -o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/WRRLE.C.o -c /<<PKGBUILDDIR>>/JpegDir/JpgLossy/WRRLE.C
[ 97%] Linking C static library libPapyrus3.a
/usr/bin/cmake -P CMakeFiles/Papyrus3.dir/cmake_clean_target.cmake
/usr/bin/cmake -E cmake_link_script CMakeFiles/Papyrus3.dir/link.txt --verbose=1
/usr/bin/ar qc libPapyrus3.a CMakeFiles/Papyrus3.dir/PapyVars3.c.o CMakeFiles/Papyrus3.dir/PapyConvertFile3.c.o CMakeFiles/Papyrus3.dir/PapyError3.c.o CMakeFiles/Papyrus3.dir/PapyFiles3.c.o CMakeFiles/Papyrus3.dir/PapyGetGlobalVar3.c.o CMakeFiles/Papyrus3.dir/PapyInit3.c.o CMakeFiles/Papyrus3.dir/PapyInitGroups3.c.o CMakeFiles/Papyrus3.dir/PapyInitModules3.c.o CMakeFiles/Papyrus3.dir/PapyRead3.c.o CMakeFiles/Papyrus3.dir/PapyDataSetRead3.c.o CMakeFiles/Papyrus3.dir/PapyList3.c.o CMakeFiles/Papyrus3.dir/PapyWrite3.c.o CMakeFiles/Papyrus3.dir/PapyDataSetWrite3.c.o CMakeFiles/Papyrus3.dir/PapyWild3.c.o CMakeFiles/Papyrus3.dir/PapyWildexit3.c.o CMakeFiles/Papyrus3.dir/PapyUtils3.c.o CMakeFiles/Papyrus3.dir/PapyFileSystemUnix3.c.o CMakeFiles/Papyrus3.dir/PapyEallocUnix3.c.o CMakeFiles/Papyrus3.dir/DicomDir/DicomDirDataSetRead.c.o CMakeFiles/Papyrus3.dir/DicomDir/DicomDirDataSetWrite.c.o CMakeFiles/Papyrus3.dir/DicomDir/DicomDirFiles.c.o CMakeFiles/Papyrus3.dir/DicomDir/DicomDirInit.c.o CMakeFiles/Papyrus3.dir/DicomDir/DicomDirInitRecords.c.o CMakeFiles/Papyrus3.dir/DicomDir/OGlobalDicomFunc.cpp.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/decompoptimise.c.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/huffcoptimisebug.c.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/huffdoptimise.c.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/JPEGUTIL.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/MCU.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/pmreadoptimise.c.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/pnmtoljpoptimisebug.c.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/PREDICT.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/READ.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/WRITE.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JCAPIMIN.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JCAPISTD.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JCCOEFCT.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JCCOLOR.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JCDCTMGR.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JCHUFF.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JCINIT.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JCMAINCT.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JCMARKER.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JCMASTER.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JCOMAPI.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JCPARAM.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JCPHUFF.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JCPREPCT.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JCSAMPLE.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JCTRANS.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JDAPIMIN.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JDAPISTD.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JDATADST.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JDATASRC.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JDCOEFCT.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JDCOLOR.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JDDCTMGR.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JDHUFF.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JDINPUT.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JDMAINCT.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JDMARKER.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JDMASTER.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JDMERGE.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JDPHUFF.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JDPOSTCT.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JDSAMPLE.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JDTRANS.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JERROR.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JFDCTFLT.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JFDCTFST.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JFDCTINT.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JIDCTFLT.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JIDCTFST.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JIDCTINT.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JIDCTRED.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/jmemmgr.c.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JMEMNOBS.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JQUANT1.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JQUANT2.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JUTILS.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDBMP.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDCOLMAP.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDGIF.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDPPM.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDRLE.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDSWITCH.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDTARGA.C.o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/WRRLE.C.o
/usr/bin/ranlib libPapyrus3.a
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 97%] Built target Papyrus3
make  -f TESTS/CMakeFiles/TestRead.dir/build.make TESTS/CMakeFiles/TestRead.dir/depend
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/TESTS /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/TESTS /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/TESTS/CMakeFiles/TestRead.dir/DependInfo.cmake "--color="
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make  -f TESTS/CMakeFiles/TestRead.dir/build.make TESTS/CMakeFiles/TestRead.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 98%] Building C object TESTS/CMakeFiles/TestRead.dir/TestRead.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/TESTS && /usr/bin/cc  -I/<<PKGBUILDDIR>>/JpegDir/JpgLless -I/<<PKGBUILDDIR>>/JpegDir/JpgLossy -I/<<PKGBUILDDIR>>/DicomDir -I/<<PKGBUILDDIR>> -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MT TESTS/CMakeFiles/TestRead.dir/TestRead.c.o -MF CMakeFiles/TestRead.dir/TestRead.c.o.d -o CMakeFiles/TestRead.dir/TestRead.c.o -c /<<PKGBUILDDIR>>/TESTS/TestRead.c
/<<PKGBUILDDIR>>/TESTS/TestRead.c:60:1: error: return type defaults to ‘int’ [-Wimplicit-int]
   60 | main (int argc, char *argv[])
      | ^~~~
/<<PKGBUILDDIR>>/TESTS/TestRead.c: In function ‘main’:
/<<PKGBUILDDIR>>/TESTS/TestRead.c:64:20: warning: variable ‘theImage’ set but not used [-Wunused-but-set-variable]
   64 |   PapyUShort      *theImage;
      |                    ^~~~~~~~
make[3]: *** [TESTS/CMakeFiles/TestRead.dir/build.make:79: TESTS/CMakeFiles/TestRead.dir/TestRead.c.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:129: TESTS/CMakeFiles/TestRead.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Debian-med-packaging mailing list