Bug#966655: [Debian-med-packaging] Bug#966655: orthanc: using tzdata but missing dependency on it?

2020-08-01 Thread Sébastien Jodogne
Hello,

Thanks for your report. Unfortunately, as long as orthanc-1.7.2+dfsg-2
is pending in the NEW queue [1], no further patch can be applied.

Kind Regards,
Sébastien-

[1] https://ftp-master.debian.org/new.html


On 1/08/20 11:08, Gianfranco Costamagna wrote:
> Source: orthanc
> Version: 1.7.2+dfsg-1
> Severity: serious
> tags: patch
> 
> Hello, looks like orthanc fails to build from source (testsuite error) when 
> tzdata is not installed in the chroot.
> 
> I'm not sure if this is an essential package or not, but looks like it can be 
> removed, or not be available on some chroots
> 
> 
> this is an example of failure
> 
> mkdir -p /<>/debian/tmp/locale/
> localedef -f UTF-8 -i en_US /<>/debian/tmp/locale/en_US.UTF-8/
> ( cd Build; LOCPATH=/<>/debian/tmp/locale/ ./UnitTests )
> E0731 17:53:29.829350 OrthancException.h:76] Internal error: On UNIX-like 
> systems, the file /etc/localtime must be present on the filesystem (install 
> "tzdata" package on Debian)
> terminate called after throwing an instance of 'Orthanc::OrthancException'
> Aborted (core dumped)
> make[1]: *** [debian/rules:73: override_dh_auto_test] Error 134
> 
> 
> I think adding it as explicit dependency might solve some headaches.
> 
> G.



Bug#966655: orthanc: using tzdata but missing dependency on it?

2020-08-01 Thread Gianfranco Costamagna
Source: orthanc
Version: 1.7.2+dfsg-1
Severity: serious
tags: patch

Hello, looks like orthanc fails to build from source (testsuite error) when 
tzdata is not installed in the chroot.

I'm not sure if this is an essential package or not, but looks like it can be 
removed, or not be available on some chroots


this is an example of failure

mkdir -p /<>/debian/tmp/locale/
localedef -f UTF-8 -i en_US /<>/debian/tmp/locale/en_US.UTF-8/
( cd Build; LOCPATH=/<>/debian/tmp/locale/ ./UnitTests )
E0731 17:53:29.829350 OrthancException.h:76] Internal error: On UNIX-like 
systems, the file /etc/localtime must be present on the filesystem (install 
"tzdata" package on Debian)
terminate called after throwing an instance of 'Orthanc::OrthancException'
Aborted (core dumped)
make[1]: *** [debian/rules:73: override_dh_auto_test] Error 134


I think adding it as explicit dependency might solve some headaches.

G.