Source: orthanc-wsi
Version: 3.3+dfsg-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: [email protected]

Dear maintainer,

orthanc-wsi FTBFS:

[ 65%] Building CXX object 
CMakeFiles/OrthancWSIFramework.dir/build/reproducible-path/orthanc-wsi-3.3+dfsg/Framework/Outputs/PyramidWriterBase.cpp.o
/usr/bin/c++ -DORTHANC_ENABLE_DCMTK=1 -DORTHANC_ENABLE_LOGGING_PLUGIN=0 
-DORTHANC_OPENJPEG_MAJOR_VERSION=2 -DORTHANC_WSI_VERSION=\"3.3\" 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 
-D__ORTHANC_FILE__=\"PyramidWriterBase.cpp\" 
-I/build/reproducible-path/orthanc-wsi-3.3+dfsg/BuildApplications/AUTOGENERATED 
-I/usr/include/jsoncpp -I/usr/include/orthanc-framework 
-I/usr/include/openjpeg-2.1 -g -O2 
-ffile-prefix-map=/build/reproducible-path/orthanc-wsi-3.3+dfsg=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -DNDEBUG -Wdate-time 
-D_FORTIFY_SOURCE=2 -Wall -Wno-long-long -Wno-variadic-macros -MD -MT 
CMakeFiles/OrthancWSIFramework.dir/build/reproducible-path/orthanc-wsi-3.3+dfsg/Framework/Outputs/PyramidWriterBase.cpp.o
 -MF 
CMakeFiles/OrthancWSIFramework.dir/build/reproducible-path/orthanc-wsi-3.3+dfsg/Framework/Outputs/PyramidWriterBase.cpp.o.d
 -o 
CMakeFiles/OrthancWSIFramework.dir/build/reproducible-path/orthanc-wsi-3.3+dfsg/Framework/Outputs/PyramidWriterBase.cpp.o
 -c 
/build/reproducible-path/orthanc-wsi-3.3+dfsg/Framework/Outputs/PyramidWriterBase.cpp
/build/reproducible-path/orthanc-wsi-3.3+dfsg/Framework/Outputs/MultiframeDicomWriter.cpp:
 In member function ‘void 
OrthancWSI::MultiframeDicomWriter::Flush(std::string&, unsigned int)’:
/build/reproducible-path/orthanc-wsi-3.3+dfsg/Framework/Outputs/MultiframeDicomWriter.cpp:341:31:
 error: no matching function for call to 
‘Orthanc::DcmtkTranscoder::Transcode(Orthanc::IDicomTranscoder::DicomImage&, 
Orthanc::IDicomTranscoder::DicomImage&, 
std::set<Orthanc::DicomTransferSyntax>&, bool)’
  341 |       if (transcoder.Transcode(transcoded, source, s, true))
      |           ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/reproducible-path/orthanc-wsi-3.3+dfsg/Framework/Outputs/MultiframeDicomWriter.cpp:341:31:
 note: there are 2 candidates
In file included from 
/build/reproducible-path/orthanc-wsi-3.3+dfsg/Framework/Outputs/MultiframeDicomWriter.cpp:35:
/usr/include/orthanc-framework/DicomParsing/DcmtkTranscoder.h:63:18: note: 
candidate 1: ‘virtual bool 
Orthanc::DcmtkTranscoder::Transcode(Orthanc::IDicomTranscoder::DicomImage&, 
Orthanc::IDicomTranscoder::DicomImage&, const 
std::set<Orthanc::DicomTransferSyntax>&, 
Orthanc::TranscodingSopInstanceUidMode)’
   63 |     virtual bool Transcode(DicomImage& target,
      |                  ^~~~~~~~~
/usr/include/orthanc-framework/DicomParsing/DcmtkTranscoder.h:66:58: note: no 
known conversion for argument 4 from ‘bool’ to 
‘Orthanc::TranscodingSopInstanceUidMode’
   66 |                            TranscodingSopInstanceUidMode mode) 
ORTHANC_OVERRIDE;
      |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/usr/include/orthanc-framework/DicomParsing/DcmtkTranscoder.h:68:18: note: 
candidate 2: ‘virtual bool 
Orthanc::DcmtkTranscoder::Transcode(Orthanc::IDicomTranscoder::DicomImage&, 
Orthanc::IDicomTranscoder::DicomImage&, const 
std::set<Orthanc::DicomTransferSyntax>&, 
Orthanc::TranscodingSopInstanceUidMode, unsigned int)’
   68 |     virtual bool Transcode(DicomImage& target,
      |                  ^~~~~~~~~
/usr/include/orthanc-framework/DicomParsing/DcmtkTranscoder.h:68:18: note: 
candidate expects 5 arguments, 4 provided
make[4]: *** [CMakeFiles/OrthancWSIFramework.dir/build.make:498: 
CMakeFiles/OrthancWSIFramework.dir/build/reproducible-path/orthanc-wsi-3.3+dfsg/Framework/Outputs/MultiframeDicomWriter.cpp.o]
 Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory 
'/build/reproducible-path/orthanc-wsi-3.3+dfsg/BuildApplications'
make[3]: *** [CMakeFiles/Makefile2:96: CMakeFiles/OrthancWSIFramework.dir/all] 
Error 2
make[3]: Leaving directory 
'/build/reproducible-path/orthanc-wsi-3.3+dfsg/BuildApplications'
make[2]: *** [Makefile:139: all] Error 2
make[2]: Leaving directory 
'/build/reproducible-path/orthanc-wsi-3.3+dfsg/BuildApplications'
dh_auto_build: error: cd BuildApplications && make -j6 INSTALL="install 
--strip-program=true" VERBOSE=1 returned exit code 2
make[1]: *** [debian/rules:57: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/orthanc-wsi-3.3+dfsg'
make: *** [debian/rules:15: binary-arch] Error 2

See
https://buildd.debian.org/status/fetch.php?pkg=orthanc-wsi&arch=amd64&ver=3.3%2Bdfsg-1%2Bb1&stamp=1764562428&raw=0
for more details.

Cheers
-- 
Sebastian Ramacher

Reply via email to