Source: serd Version: 0.28.0~dfsg0-1 Tags: patch User: helm...@debian.org Usertags: rebootstrap
serd requests a host architecture python via Build-Depends. That's not installable as its postinst fails. It really wants a build architecture python for running waf though. Then waf needs to be told that we cross. The attached patch fixes both and makes serd cross buildable. Please consider applying it. Helmut
diff --minimal -Nru serd-0.28.0~dfsg0/debian/changelog serd-0.28.0~dfsg0/debian/changelog --- serd-0.28.0~dfsg0/debian/changelog 2017-07-24 08:03:53.000000000 +0200 +++ serd-0.28.0~dfsg0/debian/changelog 2018-11-10 20:55:05.000000000 +0100 @@ -1,3 +1,10 @@ +serd (0.28.0~dfsg0-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: (Closes: #-1) + + Build-Depends request build architecture python. + + Tell waf what we build for. + + -- Helmut Grohne <hel...@subdivi.de> Sat, 10 Nov 2018 20:55:05 +0100 + serd (0.28.0~dfsg0-1) unstable; urgency=medium * New upstream version 0.28.0~dfsg0 diff --minimal -Nru serd-0.28.0~dfsg0/debian/control serd-0.28.0~dfsg0/debian/control --- serd-0.28.0~dfsg0/debian/control 2017-07-24 02:29:31.000000000 +0200 +++ serd-0.28.0~dfsg0/debian/control 2018-11-10 20:55:04.000000000 +0100 @@ -8,7 +8,7 @@ Build-Depends: debhelper (>= 10~), pkg-config, - python + python:any Build-Depends-Indep: doxygen, graphviz diff --minimal -Nru serd-0.28.0~dfsg0/debian/rules serd-0.28.0~dfsg0/debian/rules --- serd-0.28.0~dfsg0/debian/rules 2017-01-15 21:39:19.000000000 +0100 +++ serd-0.28.0~dfsg0/debian/rules 2018-11-10 20:55:05.000000000 +0100 @@ -11,6 +11,8 @@ export LINKFLAGS += $(LDFLAGS) DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) +-include /usr/share/dpkg/buildtools.mk +PKG_CONFIG ?= pkg-config WAF = ./waf @@ -22,7 +24,7 @@ dh $@ override_dh_auto_configure: - $(WAF) configure \ + CC="$(CC)" PKGCONFIG="$(PKG_CONFIG)" $(WAF) configure \ --prefix=/usr \ --mandir=/usr/share/man \ --libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \