Package: pbbam
Version: 0.19.0+dfsg-1
Followup-For: Bug #909071
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu disco ubuntu-patch

This build failure is caused by a wrong hard-coded assumption about the
build directory path on the autobuilders.  Instead of mangling the generated
files one direction by stripping +dfsg and then readding it in select cases,
instead limit the fields from which +dfsg is stripped so that the build
works regardless of the path to the build directory.

The attached patch has been uploaded to Ubuntu to fix this build failure
there.  Please consider applying this path in Debian as well.

Cheers,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru pbbam-0.19.0+dfsg/debian/rules pbbam-0.19.0+dfsg/debian/rules
--- pbbam-0.19.0+dfsg/debian/rules      2018-10-10 03:45:02.000000000 -0700
+++ pbbam-0.19.0+dfsg/debian/rules      2019-01-31 16:56:25.000000000 -0800
@@ -55,7 +55,7 @@
        -e 's|@PacBioBAM_TestsDir@|$(CURDIR)/tests|g' \
        -e 's|@PacBioBAM_VERSION@|$(DEB_VERSION_UPSTREAM)|g' \
        -e 's|@GeneratedTestDataDir@|$(generated_data_dir)|g' \
-       -e 's|+dfsg||g' -e 's|\(/build/$(DEB_SOURCE)-[0-9.]\+\)/|\1+dfsg/|' \
+       -e '/@PG/s|+dfsg||g' \
        -e 's/$$SAMTOOLS/samtools/g' \
        $< > $@
 

Reply via email to