Control: retitle -1 festival: FTBFS: does not define DEB_HOST_MULTIARCH Control: tags -1 patch Control: tags -1 - unreproducible Control: severity -1 serious
Hi Thorsten, On Sun, Dec 23, 2012 at 02:00:23AM +0000, Thorsten Glaser wrote: > Ivo De Decker dixit: > > >On Fri, Dec 21, 2012 at 11:26:07PM +0100, Thorsten Glaser wrote: > >> Source: festival > >> Version: 2.1~release-5 > > > >You missed the epoch here. I adjusted the found version. > > Oh. I used reportbug --from-buildd= option. Apparently it > does not DTRT but parse the filename. Thanks, will not use > it in the future or do manual checking. Isn't that a bug in reportbug, then? > >I tried to build festival 1:2.1~release-5 with pbuilder on wheezy and sid on > >amd64 and got no failures, so I'm tagging this bug unreproducible. As your > >failure is on m68k, which isn't a release architecture, I'm also downgrading > >this bug. If you can reproduce the failure on a release architecture, please > >send the build log (and increase the severity again). > > Interesting. > > I’ve peeked a bit at the source package and see > debian/patches/config_project.mak.diff reference > +REQUIRED_LIBRARY_DIR_estools = /usr/lib/$(DEB_HOST_MULTIARCH) > but debian/rules does not define DEB_HOST_MULTIARCH. The rules file should set DEB_HOST_MULTIARCH, but doesn't, so this is the cause of the bug. I'm retitling this bug report to reflect that. Please note that DEB_HOST_MULTIARCH is not used in the rules file, but the debian patches use this variable in other makefiles. > Does the package fail on amd64 when you build it > with just 'debian/rules build-arch' instead of using > dpkg-buildpackage?¹ If yes, then we have an issue > similar to what dpkg-buildflags was introduced for. Indead. Running 'debian/rules build-arch' om amd64 fails with the error in your report. As this bug is reproducible on a release arch, I'm setting the severity back to serious. > debian/rules includes /usr/share/dpkg/buildflags.mk; > maybe /usr/share/dpkg/architecture.mk is also needed? Just defining DEB_HOST_MULTIARCH isn't enough: the variable is used by the build. It should be exported too. Here is a patch that fixes the build: --- ../festival/debian/rules 2012-12-23 11:01:24.706078522 +0100 +++ debian/rules 2012-12-23 11:11:07.778749254 +0100 @@ -5,6 +5,8 @@ DPKG_EXPORT_BUILDFLAGS = 1 -include /usr/share/dpkg/buildflags.mk +DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) +export DEB_HOST_MULTIARCH override_dh_auto_configure: #Avoid conflicting with upstreams build system Cheers, Ivo -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org