Dear Gianfranco,

Thanks for your report. From my understanding, this issue is related
to the creation of the "dcmtk-data" package by the following changeset
in the "dcmtk" package:
https://salsa.debian.org/med-team/dcmtk/-/commit/f0f9dfaa22ad85fe8d3cee302fb6ba766f703c8e

This changeset has the effect to move the file
"/usr/share/libdcmtk17/dicom.dic" you mentioned out of the "dcmtk"
package and into the "dcmtk-data" package. According to the changelog,
this modification was brought to unstable on version 3.6.8-5 of the
dcmtk package:
https://salsa.debian.org/med-team/dcmtk/-/blob/master/debian/changelog

I guess the proper fix consists in adding a dependency on the
"dcmtk-data" package (with a fixed version of dcmtk) in the
"orthanc-wsi" package. I fear that the same issue will be detected on
other DCMTK-related packages. I will now try to add this dependency,
in the hope it will solve the issue.

Kind Regards,
Sébastien-


On Thu, 18 Jul 2024 at 10:51, Gianfranco Costamagna
<locutusofb...@debian.org> wrote:
>
> Source: orthanc-wsi
> Version: 2.0+dfsg-3
> Severity: serious
>
>
> Hello, looks like orthanc-wsi detects the path of the dicom dictionary at 
> build time.
>
> So, it needs to be tied to a specific libdcmtk library, and needs a binNMU 
> every time dcmtk changes version.
>
>
>   43s autopkgtest [14:07:35]: test run-dicom-image-transcode-test: 
> [-----------------------
> 293
>   43s User 'orthanc' exists.
> 294
>   43s Starting orthanc (via systemctl): orthanc.service.
> 295
>   43s Orthanc is active.
> 296
>   43s W0717 14:07:35.290296     ffff88465020 FromDcmtkBridge.cpp:383] Loading 
> external DICOM dictionary: "/usr/share/libdcmtk17/dicom.dic"
> 297
>   43s E: DcmDataDictionary: Cannot open file: /usr/share/libdcmtk17/dicom.dic
> 298
>   43s terminate called after throwing an instance of 
> 'Orthanc::OrthancException'
> 299
>   43s 
> /tmp/autopkgtest-lxc.o3sgzx4o/downtmp/build.fsM/src/debian/tests/run-dicom-image-transcode-test:
>  line 38:  2311 Aborted                 OrthancWSIDicomizer 
> CMU-1-Small-Region.tiff --orthanc=$orthanc_server
> 300
>
>
> https://ci.debian.net/packages/o/orthanc-wsi/testing/arm64/49182297/
>
> The failure happens only when the package was built with an older dcmtk

Reply via email to