[Debian-med-packaging] Bug#909071: pbbam: FTBFS on every release architecture where it previously built

Steve Langasek steve.langasek at canonical.com
Fri Feb 1 01:19:01 GMT 2019


Package: pbbam
Version: 0.19.0+dfsg-1
Followup-For: Bug #909071
User: ubuntu-devel at 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/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
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' \
 	$< > $@
 


More information about the Debian-med-packaging mailing list