[Debian-med-packaging] Bug#983605: dicomscope: Files missing from distribution
Andreas Tille
andreas at an3as.eu
Wed Mar 3 08:52:54 GMT 2021
Hi John,
On Tue, Mar 02, 2021 at 03:22:11PM +0000, John Talbut wrote:
> This bug applies to the Debian Testing, Bullseye, distribution. The
> list of files link is at the bottom of the developer information page at
> https://packages.debian.org/bullseye/dicomscope.
>
> If I go the the same link for the stable distribution I get a list of files.
Well, but in the end that might be an issue of the script generating
this list of files since /usr/bin/dicomscope is included inside the
package (see second last line of your output below.
> A file that is in the stable distribution that appears to be missing
> when I try to install dicomscope is /usr/bin/dicomscope
>
> ~$ dicomscope
> bash: /usr/bin/dicomscope: cannot execute binary file: Exec format error
According to
https://askubuntu.com/questions/101746/how-can-i-execute-a-jar-file-from-the-terminal
this error message might be caused by a missing package binfmt-support.
Can you please make sure that this is installed. I slightly remember
that binfmt-support needs an according linux kernel option. Are you
using the packaged linux kernel or did you build your own?
As a workaround please also try
java -jar /usr/share/java/DICOMscope.jar
As you can see
$ readlink $(which dicomscope)
../share/java/DICOMscope.jar
the executable is just a symlink to the JAR and this is supposed to
work with binfmt-support. However, if there are cases when this fails
it is probably not the best idea to do so and rather provide a wrapper
that calls java directly.
Kind regards
Andreas.
> ~$ dpkg -L dicomscope
> /.
> /etc
> /etc/dcmtk
> /etc/dcmtk/DICOMscope.cfg
> /usr
> /usr/bin
> /usr/share
> /usr/share/dcmtk
> /usr/share/dcmtk/codes.dic
> /usr/share/dicomscope
> /usr/share/dicomscope/codes.dic
> /usr/share/dicomscope/lut
> /usr/share/dicomscope/lut/darken256us.lut
> /usr/share/dicomscope/lut/darken4096us.lut
> /usr/share/dicomscope/lut/lighten256us.lut
> /usr/share/dicomscope/lut/lighten4096us.lut
> /usr/share/dicomscope/lut/linear256us.lut
> /usr/share/dicomscope/lut/linear4096us.lut
> /usr/share/dicomscope/lut/midtone256us.lut
> /usr/share/dicomscope/lut/midtone4096us.lut
> /usr/share/dicomscope/lut/philips256us.lut
> /usr/share/dicomscope/lut/philips4096us.lut
> /usr/share/dicomscope/reports
> /usr/share/dicomscope/reports/reportki.dcm
> /usr/share/dicomscope/reports/reportsi.dcm
> /usr/share/dicomscope/tcl
> /usr/share/dicomscope/tcl/dcmpschk.tcl
> /usr/share/dicomscope/tcl/dcmpsdmp.tcl
> /usr/share/doc
> /usr/share/doc/dicomscope
> /usr/share/doc/dicomscope/README.Debian
> /usr/share/doc/dicomscope/changelog.Debian.gz
> /usr/share/doc/dicomscope/copyright
> /usr/share/java
> /usr/share/java/DICOMscope-3.6.0.jar
> /usr/share/man
> /usr/share/man/man1
> /usr/share/man/man1/dicomscope.1.gz
> /usr/bin/dicomscope
> /usr/share/java/DICOMscope.jar
>
> Kind regards
>
> John
>
> _______________________________________________
> Debian-med-packaging mailing list
> Debian-med-packaging at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-packaging
>
--
http://fam-tille.de
More information about the Debian-med-packaging
mailing list