[Debian-med-packaging] Bug#1112944: gdcm: FTBFS with CMake 4

roehling at debian.org roehling at debian.org
Sun Aug 31 23:54:17 BST 2025


Source: gdcm
Version: 3.0.24-5
Severity: serious
User: cmake at packages.debian.org
Usertags: cmake-4
Tags: ftbfs, forky, sid

Dear maintainer,

During a test rebuild for CMake 4, gdcm failed to rebuild.

Log Summary:
-------------------------------------------------------------------------------
[...]
  parameter 'remote'
  parameter 'portno'
/build/reproducible-path/gdcm-3.0.24/Source/MessageExchangeDefinition/gdcmCompositeNetworkFunctions.h:95: warning: The following parameters of gdcm::CompositeNetworkFunctions::CFind(const char *remote, uint16_t portno, const BaseRootQuery *query, std::vector< DataSet > &retDataSets, const char *aetitle=nullptr, const char *call=nullptr) are not documented:
  parameter 'remote'
  parameter 'portno'
  parameter 'query'
  parameter 'retDataSets'
/build/reproducible-path/gdcm-3.0.24/Source/MessageExchangeDefinition/gdcmCompositeNetworkFunctions.h:76: warning: The following parameters of gdcm::CompositeNetworkFunctions::CMove(const char *remote, uint16_t portno, const BaseRootQuery *query, uint16_t portscp, const char *aetitle=nullptr, const char *call=nullptr, const char *outputdir=nullptr) are not documented:
  parameter 'remote'
  parameter 'portno'
  parameter 'query'
  parameter 'portscp'
/build/reproducible-path/gdcm-3.0.24/Source/MessageExchangeDefinition/gdcmCompositeNetworkFunctions.h:63: warning: argument 'inMove' of command @param is not found in the argument list of gdcm::CompositeNetworkFunctions::ConstructQuery(ERootType inRootType, EQueryLevel inQueryLevel, const DataSet &queryds, EQueryType queryType=eFind)
/build/reproducible-path/gdcm-3.0.24/Source/MessageExchangeDefinition/gdcmCompositeNetworkFunctions.h:63: warning: The following parameters of gdcm::CompositeNetworkFunctions::ConstructQuery(ERootType inRootType, EQueryLevel inQueryLevel, const DataSet &queryds, EQueryType queryType=eFind) are not documented:
  parameter 'inRootType'
  parameter 'inQueryLevel'
  parameter 'queryds'
  parameter 'queryType'
/build/reproducible-path/gdcm-3.0.24/Source/MessageExchangeDefinition/gdcmCompositeNetworkFunctions.h:110: warning: The following parameters of gdcm::CompositeNetworkFunctions::CStore(const char *remote, uint16_t portno, const Directory::FilenamesType &filenames, const char *aetitle=nullptr, const char *call=nullptr) are not documented:
  parameter 'remote'
  parameter 'portno'
  parameter 'filenames'
/build/reproducible-path/gdcm-3.0.24/Source/MediaStorageAndFileFormat/gdcmFileStreamer.h:78: warning: The following parameters of gdcm::FileStreamer::StartGroupDataElement(const PrivateTag &pt, size_t maxsizede=0, uint8_t startoffset=0) are not documented:
  parameter 'pt'
  parameter 'startoffset'
/build/reproducible-path/gdcm-3.0.24/Source/Common/gdcmSmartPointer.h:26: warning: explicit link request to 'include' could not be resolved
/build/reproducible-path/gdcm-3.0.24/Source/MessageExchangeDefinition/gdcmCompositeNetworkFunctions.h:51: warning: The following parameters of gdcm::CompositeNetworkFunctions::CEcho(const char *remote, uint16_t portno, const char *aetitle=nullptr, const char *call=nullptr) are not documented:
  parameter 'remote'
  parameter 'portno'
/build/reproducible-path/gdcm-3.0.24/Source/MessageExchangeDefinition/gdcmCompositeNetworkFunctions.h:95: warning: The following parameters of gdcm::CompositeNetworkFunctions::CFind(const char *remote, uint16_t portno, const BaseRootQuery *query, std::vector< DataSet > &retDataSets, const char *aetitle=nullptr, const char *call=nullptr) are not documented:
  parameter 'remote'
  parameter 'portno'
  parameter 'query'
  parameter 'retDataSets'
/build/reproducible-path/gdcm-3.0.24/Source/MessageExchangeDefinition/gdcmCompositeNetworkFunctions.h:76: warning: The following parameters of gdcm::CompositeNetworkFunctions::CMove(const char *remote, uint16_t portno, const BaseRootQuery *query, uint16_t portscp, const char *aetitle=nullptr, const char *call=nullptr, const char *outputdir=nullptr) are not documented:
  parameter 'remote'
  parameter 'portno'
  parameter 'query'
  parameter 'portscp'
/build/reproducible-path/gdcm-3.0.24/Source/MessageExchangeDefinition/gdcmCompositeNetworkFunctions.h:63: warning: argument 'inMove' of command @param is not found in the argument list of gdcm::CompositeNetworkFunctions::ConstructQuery(ERootType inRootType, EQueryLevel inQueryLevel, const DataSet &queryds, EQueryType queryType=eFind)
/build/reproducible-path/gdcm-3.0.24/Source/MessageExchangeDefinition/gdcmCompositeNetworkFunctions.h:63: warning: The following parameters of gdcm::CompositeNetworkFunctions::ConstructQuery(ERootType inRootType, EQueryLevel inQueryLevel, const DataSet &queryds, EQueryType queryType=eFind) are not documented:
  parameter 'inRootType'
  parameter 'inQueryLevel'
  parameter 'queryds'
  parameter 'queryType'
/build/reproducible-path/gdcm-3.0.24/Source/MessageExchangeDefinition/gdcmCompositeNetworkFunctions.h:110: warning: The following parameters of gdcm::CompositeNetworkFunctions::CStore(const char *remote, uint16_t portno, const Directory::FilenamesType &filenames, const char *aetitle=nullptr, const char *call=nullptr) are not documented:
  parameter 'remote'
  parameter 'portno'
  parameter 'filenames'
/build/reproducible-path/gdcm-3.0.24/Source/MediaStorageAndFileFormat/gdcmFileStreamer.h:78: warning: The following parameters of gdcm::FileStreamer::StartGroupDataElement(const PrivateTag &pt, size_t maxsizede=0, uint8_t startoffset=0) are not documented:
  parameter 'pt'
  parameter 'startoffset'
/build/reproducible-path/gdcm-3.0.24/Source/Common/gdcmSmartPointer.h:26: warning: explicit link request to 'include' could not be resolved
[602/603] cd /build/reproducible-path/gdcm-3.0.24/obj-aarch64-linux-gnu/Utilities/doxygen && /usr/bin/sed -i.tmp -e 's/]{hyperref}/]{hyperref}\\hypersetup{pdftitle={GDCM\ 3.0.24\ Reference\ Manual},pdfauthor={Mathieu\ Malaterre\ and\ co.},pdfsubject={Grassroots\ DICOM\ API\ reference},pdfkeywords={GDCM,DICOM,Network,Query\/Retrieve,JPEG,Lossless\ JPEG,JPEG-LS,J2K,JPEG\ 2000,RLE},pdfpagemode={UseOutlines},bookmarks,bookmarksopen,pdfstartview={FitH},backref,colorlinks,linkcolor={black},citecolor={black},urlcolor={black},baseurl={http:\/\/gdcm.sourceforge.net}}\\hyperbaseurl{http:\/\/gdcm.sourceforge.net}/g' /build/reproducible-path/gdcm-3.0.24/obj-aarch64-linux-gnu/Utilities/doxygen/latex/refman.tex && /usr/bin/sed -i.tmp -e 's/\/build\/reproducible-path\/gdcm-3.0.24/gdcm/g' /build/reproducible-path/gdcm-3.0.24/obj-aarch64-linux-gnu/Utilities/doxygen/latex/*.tex && make -C /build/reproducible-path/gdcm-3.0.24/obj-aarch64-linux-gnu/Utilities/doxygen/latex
FAILED: Utilities/doxygen/latex/refman.pdf /build/reproducible-path/gdcm-3.0.24/obj-aarch64-linux-gnu/Utilities/doxygen/latex/refman.pdf 
cd /build/reproducible-path/gdcm-3.0.24/obj-aarch64-linux-gnu/Utilities/doxygen && /usr/bin/sed -i.tmp -e 's/]{hyperref}/]{hyperref}\\hypersetup{pdftitle={GDCM\ 3.0.24\ Reference\ Manual},pdfauthor={Mathieu\ Malaterre\ and\ co.},pdfsubject={Grassroots\ DICOM\ API\ reference},pdfkeywords={GDCM,DICOM,Network,Query\/Retrieve,JPEG,Lossless\ JPEG,JPEG-LS,J2K,JPEG\ 2000,RLE},pdfpagemode={UseOutlines},bookmarks,bookmarksopen,pdfstartview={FitH},backref,colorlinks,linkcolor={black},citecolor={black},urlcolor={black},baseurl={http:\/\/gdcm.sourceforge.net}}\\hyperbaseurl{http:\/\/gdcm.sourceforge.net}/g' /build/reproducible-path/gdcm-3.0.24/obj-aarch64-linux-gnu/Utilities/doxygen/latex/refman.tex && /usr/bin/sed -i.tmp -e 's/\/build\/reproducible-path\/gdcm-3.0.24/gdcm/g' /build/reproducible-path/gdcm-3.0.24/obj-aarch64-linux-gnu/Utilities/doxygen/latex/*.tex && make -C /build/reproducible-path/gdcm-3.0.24/obj-aarch64-linux-gnu/Utilities/doxygen/latex
make[2]: Entering directory '/build/reproducible-path/gdcm-3.0.24/obj-aarch64-linux-gnu/Utilities/doxygen/latex'
rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out *.brf *.blg *.bbl refman.pdf
pdflatex refman
This is pdfTeX, Version 3.141592653-2.6-1.40.28 (TeX Live 2025/Debian) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./refman.tex
LaTeX2e <2025-06-01> patch level 1
L3 programming layer <2025-07-19>

make[2]: *** [Makefile:12: refman.pdf] Error 1
make[2]: Leaving directory '/build/reproducible-path/gdcm-3.0.24/obj-aarch64-linux-gnu/Utilities/doxygen/latex'
ninja: build stopped: subcommand failed.
dh_auto_build: error: cd obj-aarch64-linux-gnu && LC_ALL=C.UTF-8 ninja -j8 -v returned exit code 1
make[1]: *** [debian/rules:99: override_dh_auto_build-arch] Error 25
make[1]: Leaving directory '/build/reproducible-path/gdcm-3.0.24'
make: *** [debian/rules:39: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2025-08-29T20:05:47Z

-------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/2392916/

The most likely cause of build failures is the removed backwards compatibility for
CMake versions earlier than 3.5. You can find additional information in my
debian-devel announcement:

https://lists.debian.org/debian-devel/2025/04/msg00310.html

About the archive rebuild: The build was made on debusine.debian.net,
using sbuild.

You can find the build task here:
https://debusine.debian.net/work-request/152944/

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,
Timo



More information about the Debian-med-packaging mailing list