[Debian-med-packaging] Bug#1054696: gdcm: FTBFS: gdcm_charls.h:21:11: fatal error: CharLS/charls.h: No such file or directory
Lucas Nussbaum
lucas at debian.org
Fri Oct 27 20:14:41 BST 2023
Source: gdcm
Version: 3.0.21-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20231027 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> /usr/bin/c++ -DgdcmMSFF_EXPORTS -I/<<PKGBUILDDIR>>/Source/Common -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Source/Common -I/<<PKGBUILDDIR>>/Source/DataStructureAndEncodingDefinition -I/<<PKGBUILDDIR>>/Source/DataDictionary -I/<<PKGBUILDDIR>>/Source/InformationObjectDefinition -I/<<PKGBUILDDIR>>/Source/MediaStorageAndFileFormat -I/<<PKGBUILDDIR>>/Utilities -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Utilities -I/usr/include/openjpeg-2.5 -I/usr/include/json-c -I/usr/include/json -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DCHARLS_DLL -MD -MT Source/MediaStorageAndFileFormat/CMakeFiles/gdcmMSFF.dir/gdcmJPEGLSCodec.cxx.o -MF Source/MediaStorageAndFileFormat/CMakeFiles/gdcmMSFF.dir/gdcmJPEGLSCodec.cxx.o.d -o Source/MediaStorageAndFileFormat/CMakeFiles/gdcmMSFF.dir/gdcmJPEGLSCodec.cxx.o -c /<<PKGBUILDDIR>>/Source/MediaStorageAndFileFormat/gdcmJPEGLSCodec.cxx
> In file included from /<<PKGBUILDDIR>>/Source/MediaStorageAndFileFormat/gdcmJPEGLSCodec.cxx:24:
> /<<PKGBUILDDIR>>/Utilities/gdcm_charls.h:21:11: fatal error: CharLS/charls.h: No such file or directory
> 21 | # include <CharLS/charls.h>
> | ^~~~~~~~~~~~~~~~~
> compilation terminated.
> [374/607] /usr/bin/c++ -DgdcmMSFF_EXPORTS -I/<<PKGBUILDDIR>>/Source/Common -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Source/Common -I/<<PKGBUILDDIR>>/Source/DataStructureAndEncodingDefinition -I/<<PKGBUILDDIR>>/Source/DataDictionary -I/<<PKGBUILDDIR>>/Source/InformationObjectDefinition -I/<<PKGBUILDDIR>>/Source/MediaStorageAndFileFormat -I/<<PKGBUILDDIR>>/Utilities -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Utilities -I/usr/include/openjpeg-2.5 -I/usr/include/json-c -I/usr/include/json -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT Source/MediaStorageAndFileFormat/CMakeFiles/gdcmMSFF.dir/gdcmAudioCodec.cxx.o -MF Source/MediaStorageAndFileFormat/CMakeFiles/gdcmMSFF.dir/gdcmAudioCodec.cxx.o.d -o Source/MediaStorageAndFileFormat/CMakeFiles/gdcmMSFF.dir/gdcmAudioCodec.cxx.o -c /<<PKGBUILDDIR>>/Source/MediaStorageAndFileFormat/gdcmAudioCodec.cxx
> [375/607] /usr/bin/c++ -DgdcmMSFF_EXPORTS -I/<<PKGBUILDDIR>>/Source/Common -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Source/Common -I/<<PKGBUILDDIR>>/Source/DataStructureAndEncodingDefinition -I/<<PKGBUILDDIR>>/Source/DataDictionary -I/<<PKGBUILDDIR>>/Source/InformationObjectDefinition -I/<<PKGBUILDDIR>>/Source/MediaStorageAndFileFormat -I/<<PKGBUILDDIR>>/Utilities -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Utilities -I/usr/include/openjpeg-2.5 -I/usr/include/json-c -I/usr/include/json -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT Source/MediaStorageAndFileFormat/CMakeFiles/gdcmMSFF.dir/gdcmJPEG16Codec.cxx.o -MF Source/MediaStorageAndFileFormat/CMakeFiles/gdcmMSFF.dir/gdcmJPEG16Codec.cxx.o.d -o Source/MediaStorageAndFileFormat/CMakeFiles/gdcmMSFF.dir/gdcmJPEG16Codec.cxx.o -c /<<PKGBUILDDIR>>/Source/MediaStorageAndFileFormat/gdcmJPEG16Codec.cxx
> [376/607] /usr/bin/c++ -DgdcmMSFF_EXPORTS -I/<<PKGBUILDDIR>>/Source/Common -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Source/Common -I/<<PKGBUILDDIR>>/Source/DataStructureAndEncodingDefinition -I/<<PKGBUILDDIR>>/Source/DataDictionary -I/<<PKGBUILDDIR>>/Source/InformationObjectDefinition -I/<<PKGBUILDDIR>>/Source/MediaStorageAndFileFormat -I/<<PKGBUILDDIR>>/Utilities -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Utilities -I/usr/include/openjpeg-2.5 -I/usr/include/json-c -I/usr/include/json -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT Source/MediaStorageAndFileFormat/CMakeFiles/gdcmMSFF.dir/gdcmPixmapWriter.cxx.o -MF Source/MediaStorageAndFileFormat/CMakeFiles/gdcmMSFF.dir/gdcmPixmapWriter.cxx.o.d -o Source/MediaStorageAndFileFormat/CMakeFiles/gdcmMSFF.dir/gdcmPixmapWriter.cxx.o -c /<<PKGBUILDDIR>>/Source/MediaStorageAndFileFormat/gdcmPixmapWriter.cxx
> [377/607] /usr/bin/c++ -DgdcmMSFF_EXPORTS -I/<<PKGBUILDDIR>>/Source/Common -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Source/Common -I/<<PKGBUILDDIR>>/Source/DataStructureAndEncodingDefinition -I/<<PKGBUILDDIR>>/Source/DataDictionary -I/<<PKGBUILDDIR>>/Source/InformationObjectDefinition -I/<<PKGBUILDDIR>>/Source/MediaStorageAndFileFormat -I/<<PKGBUILDDIR>>/Utilities -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Utilities -I/usr/include/openjpeg-2.5 -I/usr/include/json-c -I/usr/include/json -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT Source/MediaStorageAndFileFormat/CMakeFiles/gdcmMSFF.dir/gdcmJPEG8Codec.cxx.o -MF Source/MediaStorageAndFileFormat/CMakeFiles/gdcmMSFF.dir/gdcmJPEG8Codec.cxx.o.d -o Source/MediaStorageAndFileFormat/CMakeFiles/gdcmMSFF.dir/gdcmJPEG8Codec.cxx.o -c /<<PKGBUILDDIR>>/Source/MediaStorageAndFileFormat/gdcmJPEG8Codec.cxx
> [378/607] /usr/bin/c++ -DgdcmMSFF_EXPORTS -I/<<PKGBUILDDIR>>/Source/Common -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Source/Common -I/<<PKGBUILDDIR>>/Source/DataStructureAndEncodingDefinition -I/<<PKGBUILDDIR>>/Source/DataDictionary -I/<<PKGBUILDDIR>>/Source/InformationObjectDefinition -I/<<PKGBUILDDIR>>/Source/MediaStorageAndFileFormat -I/<<PKGBUILDDIR>>/Utilities -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Utilities -I/usr/include/openjpeg-2.5 -I/usr/include/json-c -I/usr/include/json -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT Source/MediaStorageAndFileFormat/CMakeFiles/gdcmMSFF.dir/gdcmRLECodec.cxx.o -MF Source/MediaStorageAndFileFormat/CMakeFiles/gdcmMSFF.dir/gdcmRLECodec.cxx.o.d -o Source/MediaStorageAndFileFormat/CMakeFiles/gdcmMSFF.dir/gdcmRLECodec.cxx.o -c /<<PKGBUILDDIR>>/Source/MediaStorageAndFileFormat/gdcmRLECodec.cxx
> [379/607] /usr/bin/c++ -DgdcmMSFF_EXPORTS -I/<<PKGBUILDDIR>>/Source/Common -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Source/Common -I/<<PKGBUILDDIR>>/Source/DataStructureAndEncodingDefinition -I/<<PKGBUILDDIR>>/Source/DataDictionary -I/<<PKGBUILDDIR>>/Source/InformationObjectDefinition -I/<<PKGBUILDDIR>>/Source/MediaStorageAndFileFormat -I/<<PKGBUILDDIR>>/Utilities -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Utilities -I/usr/include/openjpeg-2.5 -I/usr/include/json-c -I/usr/include/json -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT Source/MediaStorageAndFileFormat/CMakeFiles/gdcmMSFF.dir/gdcmPrinter.cxx.o -MF Source/MediaStorageAndFileFormat/CMakeFiles/gdcmMSFF.dir/gdcmPrinter.cxx.o.d -o Source/MediaStorageAndFileFormat/CMakeFiles/gdcmMSFF.dir/gdcmPrinter.cxx.o -c /<<PKGBUILDDIR>>/Source/MediaStorageAndFileFormat/gdcmPrinter.cxx
> [380/607] /usr/bin/c++ -DgdcmMSFF_EXPORTS -I/<<PKGBUILDDIR>>/Source/Common -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Source/Common -I/<<PKGBUILDDIR>>/Source/DataStructureAndEncodingDefinition -I/<<PKGBUILDDIR>>/Source/DataDictionary -I/<<PKGBUILDDIR>>/Source/InformationObjectDefinition -I/<<PKGBUILDDIR>>/Source/MediaStorageAndFileFormat -I/<<PKGBUILDDIR>>/Utilities -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Utilities -I/usr/include/openjpeg-2.5 -I/usr/include/json-c -I/usr/include/json -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT Source/MediaStorageAndFileFormat/CMakeFiles/gdcmMSFF.dir/gdcmImageHelper.cxx.o -MF Source/MediaStorageAndFileFormat/CMakeFiles/gdcmMSFF.dir/gdcmImageHelper.cxx.o.d -o Source/MediaStorageAndFileFormat/CMakeFiles/gdcmMSFF.dir/gdcmImageHelper.cxx.o -c /<<PKGBUILDDIR>>/Source/MediaStorageAndFileFormat/gdcmImageHelper.cxx
> ninja: build stopped: subcommand failed.
> dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j8 -v returned exit code 1
> make[1]: *** [debian/rules:114: override_dh_auto_build-arch] Error 25
The full build log is available from:
http://qa-logs.debian.net/2023/10/27/gdcm_3.0.21-2_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231027;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231027&fusertaguser=lucas@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.
More information about the Debian-med-packaging
mailing list