Bug#1103505: orthanc-wsi: autopkgtest regression

2025-04-18 Thread Étienne Mollier
Package: orthanc-wsi
Version: 3.0+dfsg-1
Severity: serious
Justification: autopkgtest-regression
X-Debbugs-Cc: Sébastien Jodogne 

Dear Maintainer,

Debian CI reports autopkgtest regression in orthanc-wsi[1] with
the following output:

▾ test run-dicom-image-transcode-test: test run
 43s autopkgtest [21:06:54]: test run-dicom-image-transcode-test: 
[---
 43s User 'orthanc' exists.
 43s Starting orthanc (via systemctl): orthanc.serviceJob for 
orthanc.service failed because the control process exited with error code.
 43s See "systemctl status orthanc.service" and "journalctl -xeu 
orthanc.service" for details.
 43s  failed!
 43s autopkgtest [21:06:54]: test run-dicom-image-transcode-test: 
---]
▾ test run-dicom-image-transcode-test: test results
 43s autopkgtest [21:06:54]: test run-dicom-image-transcode-test:  - - 
- - - - - - - - results - - - - - - - - - -
 43s run-dicom-image-transcode-test FAIL non-zero exit status 1

[1]: https://ci.debian.net/packages/o/orthanc-wsi/testing/amd64/60143388/

I have not yet dug further to investigate the issue in details.
I don't exclude entanglement with recent upload of dcmtk might
require some changes or unblock request on this side too.

For information,
-- 
  .''`.  Étienne Mollier 
 : :' :  pgp: 8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
 `. `'   sent from /dev/pts/1, please excuse my verbosity
   `-on air: Alan Parsons Project - Stereotomy


signature.asc
Description: PGP signature


Bug#1103505: orthanc-wsi: autopkgtest regression

2025-04-18 Thread Sébastien Jodogne
Dear Etienne,

I see the following lines in the logs:

 41s W0417 21:06:52.343713 7f7588f6fa00 FromDcmtkBridge.cpp:383]
Loading external DICOM dictionary: "/usr/share/dcmtk-3.6.9/dicom.dic"
 41s E: DcmDataDictionary: Cannot open file: /usr/share/dcmtk-3.6.9/dicom.dic

I think this is a direct consequence of #1098944 [1]. As a consequence
of this thread, it looks like "/usr/share/dcmtk-3.6.9/" has recently
be replaced by "/usr/share/dcmtk/" [2].

The path "/usr/share/dcmtk-3.6.9/dicom.dic" is automatically detected
by the build infrastructure of Orthanc 1.12.6 [3], and stored into the
binaries of the "liborthancframework1" package. So, if
"liborthancframework1_1.12.6+dfsg-1" was compiled before
"dcmtk-data_3.6.9-5", the "dicom.dic" file cannot be found.

So, I guess that the fix should be to rebuild a new version of the
source package "orthanc", in light of the breaking change brought by
#1098944.

Kind Regards,
Sébastien-

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1098944
[2] 
https://salsa.debian.org/med-team/dcmtk/-/commit/57a577d74dcfecb487f2a1559edcfa03bab51827
[3] 
https://salsa.debian.org/med-team/orthanc/-/blob/debian/1.12.6+dfsg-1/OrthancFramework/Resources/CMake/DcmtkConfiguration.cmake?ref_type=tags#L286


On Fri, 18 Apr 2025 at 12:03, Étienne Mollier  wrote:
>
> Package: orthanc-wsi
> Version: 3.0+dfsg-1
> Severity: serious
> Justification: autopkgtest-regression
> X-Debbugs-Cc: Sébastien Jodogne 
>
> Dear Maintainer,
>
> Debian CI reports autopkgtest regression in orthanc-wsi[1] with
> the following output:
>
> ▾ test run-dicom-image-transcode-test: test run
>  43s autopkgtest [21:06:54]: test run-dicom-image-transcode-test: 
> [---
>  43s User 'orthanc' exists.
>  43s Starting orthanc (via systemctl): orthanc.serviceJob for 
> orthanc.service failed because the control process exited with error code.
>  43s See "systemctl status orthanc.service" and "journalctl -xeu 
> orthanc.service" for details.
>  43s  failed!
>  43s autopkgtest [21:06:54]: test run-dicom-image-transcode-test: 
> ---]
> ▾ test run-dicom-image-transcode-test: test results
>  43s autopkgtest [21:06:54]: test run-dicom-image-transcode-test:  - 
> - - - - - - - - - results - - - - - - - - - -
>  43s run-dicom-image-transcode-test FAIL non-zero exit status 1
>
> [1]: https://ci.debian.net/packages/o/orthanc-wsi/testing/amd64/60143388/
>
> I have not yet dug further to investigate the issue in details.
> I don't exclude entanglement with recent upload of dcmtk might
> require some changes or unblock request on this side too.
>
> For information,
> --
>   .''`.  Étienne Mollier 
>  : :' :  pgp: 8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
>  `. `'   sent from /dev/pts/1, please excuse my verbosity
>`-on air: Alan Parsons Project - Stereotomy