[Debian-med-packaging] Bug#866137: htslib autopkgtest is broken in 1.4.1-2

Andreas Tille tille at debian.org
Sat Jul 22 05:35:41 UTC 2017


Hi Graham,

On Fri, Jul 21, 2017 at 05:01:18PM +0200, Graham Inggs wrote:
> Control: reopen -1 ginggs at debian.org
> 
> So dereferencing the symlinks to the cram header files [1] worked fine
> locally and in Ubuntu, but failed with the Debian packages in the archive
> [2].
> 
> I suspect that it works when the architecture-dependent and
> architecture-independent targets are built during the same build, but when
> the architecture-independent targets are built separately (as they are on
> the Debian buildds), the following section from debain/rules [3] fails:
> 
> override_dh_link-indep:
> 	dh_link -i
> 	# provide header files as expected by the Makefile of the test suite via
> symlinks
> 	for l in `ls debian/libhts-dev/usr/include/htslib/cram/*.h` ; do \
> 	    ln -s ../../../include/htslib/cram/`basename $$l`
> $(CURDIR)/debian/htslib-test/usr/share/htslib-test/cram/ ; \
> 	done
> 
> The simplest thing to do here may just be to ship another copy of the cram
> header files in htslib-test.

I admit I do not understand this solution.  If the symlinks will be in
both packages the both packages will not be co-installable.  Could you
provide a patch which implements what you have in mind?

Thanks for your report anyway

      Andreas.

> [1]
> https://sources.debian.net/src/htslib/1.4.1-5/debian/tests/run-unit-test/#L10
> [2] https://ci.debian.net/packages/h/htslib/unstable/amd64/
> [3] https://sources.debian.net/src/htslib/1.4.1-5/debian/rules/#L43
> 
> _______________________________________________
> Debian-med-packaging mailing list
> Debian-med-packaging at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging
> 

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list