Package: elfutils Version: 0.153-1 Severity: serious Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu quantal ubuntu-patch
Due to a slight thinko (I assume), your build-arch/build-indep split leads elfutils to FTBFS with the new dpkg-buildpackage, which calls build-arch for arch-only builds. I uploaded the attached patch to Ubuntu, with the following changelog entry to resolve this: * Fix build-arch and build-indep targets to not require root. I think this follows the spirit of what you were trying to achieve, while making sure that the install target is only a dependency of targets that require root (ie: the binary* targets). ... Adam -- System Information: Debian Release: wheezy/sid APT prefers precise-updates APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 'precise') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-27-generic (SMP w/4 CPU cores) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -Nru elfutils-0.153/debian/rules elfutils-0.153/debian/rules --- elfutils-0.153/debian/rules 2012-02-24 16:01:45.000000000 -0700 +++ elfutils-0.153/debian/rules 2012-08-10 13:16:08.000000000 -0600 @@ -87,12 +87,13 @@ rm debian/tmp/usr/include/elfutils/libebl.h # Build architecture-independent files here. -build-indep: build install -binary-indep: build-indep +build-indep: build +binary-indep: build-indep install # We have nothing to do. # Build architecture-dependent files here. -build-arch: build install +build-arch: build +binary-arch: build-arch install dh_testdir dh_testroot dh_installchangelogs ChangeLog @@ -113,7 +114,6 @@ dh_md5sums dh_builddeb -binary-arch: build-arch binary: binary-indep binary-arch maint-unpatch: