[Debian-med-packaging] backporting libssw - autopkgtest fails on jessie

Sascha Steinbiss satta at debian.org
Mon Jul 18 08:59:08 UTC 2016


Hi Afif,

> I was trying to backport libssw (thanks for packaging it, by the way),
> but I ran into a couple of issues.

Thanks for looking into the backport!

> One was (and I'm not sure whether this is related to my second problem)
> that I get the following error when trying to build:
> 
> dpkg-source: error: unwanted binary file: debian/tests/run-example.out
> 
> dpkg-source: error: detected 1 unwanted binary file (add it in
> debian/source/include-binaries to allow its inclusion)
> 
> This goes away if I create the debian/source/include-binaries file
> listing debian/tests/run-example.out. But I'm not sure why I had to do
> this and everyone else has been successful in working with this package
> without making this change.

Indeed interesting! Looking at this file in an editor shows that
apparently upstream's example tool (ssw_text or ssw-align) seems to
output binary data in the text alignment at the end of one sequence.
This (bug?) seems to explain why this file is treated as a binary.
However, that doesn't explain why I do not get the error you encountered
at all... does anyone else have an idea?

> My second problem is that the last autopkgtest fails (adt-run test log
> attached). For the run described by the log, I just added the "-u" flag
> to diff so I could better understand the output, but the test was still
> failing before.

Yes, I can reproduce that in a LXC based testbed for jessie.

To make the build-lib-java autopkgtest pass, I had to add 'default-jdk'
to this test's Depends line in d/tests/control.

As far as the run-example test is concerned -- if the binary data output
is garbage (memory contents?) then comparing the output to the reference
may yield different results. I haven't looked at this case in more
detail but can do so later today. It would probably also help trying to
fix the bug in the example tool (main.c).

Cheers
Sascha


-- 
 The Wellcome Trust Sanger Institute is operated by Genome Research 
 Limited, a charity registered in England with number 1021457 and a 
 company registered in England with number 2742969, whose registered 
 office is 215 Euston Road, London, NW1 2BE. 



More information about the Debian-med-packaging mailing list