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 /<<PKGBUILDDIR>>/debian/tmp/locale/
localedef -f UTF-8 -i en_US /<<PKGBUILDDIR>>/debian/tmp/locale/en_US.UTF-8/
( cd Build; LOCPATH=/<<PKGBUILDDIR>>/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.

Reply via email to