Control: reopen -1 gin...@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.


[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

Reply via email to