Source: attr Version: 1:2.4.47-2 Severity: normal Tags: upstream patch If you try to build attr a second time it fails due to dpkg-source: error: unwanted binary file: debian/.debhelper/libattr1/dbgsym-root/usr/lib/debug/.build-id/a7/8993feb729c2ca0a8e88e7dad11ff2e495d117.debug dpkg-source: error: unwanted binary file: debian/.debhelper/attr/dbgsym-root/usr/lib/debug/.build-id/75/bb9ce0601ea3c50a53ab718a86cc13b87313d3.debug dpkg-source: error: unwanted binary file: debian/.debhelper/attr/dbgsym-root/usr/lib/debug/.build-id/38/c4786f61ea094c4730742d0829299364ca627b.debug dpkg-source: error: unwanted binary file: debian/.debhelper/attr/dbgsym-root/usr/lib/debug/.build-id/89/64849074aa1cd7bac4ca93314ac810619bb12b.debug dpkg-source: error: detected 4 unwanted binary files (add them in debian/source/include-binaries to allow their inclusion). dpkg-buildpackage: error: dpkg-source -b attr-2.4.47 gave error exit status 29
and if you fix that it still fails due to 'changes to source', which turns out to be a spurious configure.lineno file leftover. The latter is an upstream issue. I have fixed the first by simply adding a dh_clean as that will deal with other future debhelper-related cleanups automatically. One could use an explicit rm -rf of debian/.debhelper but I can't see a good reason for doing that. Some of the existing manual tidy-up could/should probably be removed too now that there is a dh_clean. -- System Information: Debian Release: 8.8 APT prefers oldstable-updates APT policy: (500, 'oldstable-updates'), (500, 'oldstable') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)
diff -Nru attr-2.4.47/debian/attr-udeb.debhelper.log attr-2.4.47/debian/attr-udeb.debhelper.log --- attr-2.4.47/debian/attr-udeb.debhelper.log 2014-09-08 07:27:07.000000000 +0000 +++ attr-2.4.47/debian/attr-udeb.debhelper.log 1970-01-01 00:00:00.000000000 +0000 @@ -1,16 +0,0 @@ -dh_installdocs -dh_installchangelogs -dh_strip -dh_compress -dh_fixperms -dh_makeshlibs -dh_installdeb -dh_shlibdeps -dh_gencontrol -dh_md5sums -dh_builddeb -dh_builddeb -dh_builddeb -dh_builddeb -dh_builddeb -dh_builddeb diff -Nru attr-2.4.47/debian/attr.debhelper.log attr-2.4.47/debian/attr.debhelper.log --- attr-2.4.47/debian/attr.debhelper.log 2014-09-08 07:27:07.000000000 +0000 +++ attr-2.4.47/debian/attr.debhelper.log 1970-01-01 00:00:00.000000000 +0000 @@ -1,16 +0,0 @@ -dh_installdocs -dh_installchangelogs -dh_strip -dh_compress -dh_fixperms -dh_makeshlibs -dh_installdeb -dh_shlibdeps -dh_gencontrol -dh_md5sums -dh_builddeb -dh_builddeb -dh_builddeb -dh_builddeb -dh_builddeb -dh_builddeb diff -Nru attr-2.4.47/debian/changelog attr-2.4.47/debian/changelog --- attr-2.4.47/debian/changelog 2014-09-08 07:27:07.000000000 +0000 +++ attr-2.4.47/debian/changelog 2017-07-05 10:12:53.000000000 +0000 @@ -1,3 +1,10 @@ +attr (1:2.4.47-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix clean rule + + -- root <[email protected]> Wed, 05 Jul 2017 10:12:53 +0000 + attr (1:2.4.47-2) unstable; urgency=medium * Standards-Version: 3.9.5. diff -Nru attr-2.4.47/debian/libattr1-dev.debhelper.log attr-2.4.47/debian/libattr1-dev.debhelper.log --- attr-2.4.47/debian/libattr1-dev.debhelper.log 2014-09-08 07:27:07.000000000 +0000 +++ attr-2.4.47/debian/libattr1-dev.debhelper.log 1970-01-01 00:00:00.000000000 +0000 @@ -1,16 +0,0 @@ -dh_installdocs -dh_installchangelogs -dh_strip -dh_compress -dh_fixperms -dh_makeshlibs -dh_installdeb -dh_shlibdeps -dh_gencontrol -dh_md5sums -dh_builddeb -dh_builddeb -dh_builddeb -dh_builddeb -dh_builddeb -dh_builddeb diff -Nru attr-2.4.47/debian/libattr1-udeb.debhelper.log attr-2.4.47/debian/libattr1-udeb.debhelper.log --- attr-2.4.47/debian/libattr1-udeb.debhelper.log 2014-09-08 07:27:07.000000000 +0000 +++ attr-2.4.47/debian/libattr1-udeb.debhelper.log 1970-01-01 00:00:00.000000000 +0000 @@ -1,16 +0,0 @@ -dh_installdocs -dh_installchangelogs -dh_strip -dh_compress -dh_fixperms -dh_makeshlibs -dh_installdeb -dh_shlibdeps -dh_gencontrol -dh_md5sums -dh_builddeb -dh_builddeb -dh_builddeb -dh_builddeb -dh_builddeb -dh_builddeb diff -Nru attr-2.4.47/debian/libattr1.debhelper.log attr-2.4.47/debian/libattr1.debhelper.log --- attr-2.4.47/debian/libattr1.debhelper.log 2014-09-08 07:27:07.000000000 +0000 +++ attr-2.4.47/debian/libattr1.debhelper.log 1970-01-01 00:00:00.000000000 +0000 @@ -1,16 +0,0 @@ -dh_installdocs -dh_installchangelogs -dh_strip -dh_compress -dh_fixperms -dh_makeshlibs -dh_installdeb -dh_shlibdeps -dh_gencontrol -dh_md5sums -dh_builddeb -dh_builddeb -dh_builddeb -dh_builddeb -dh_builddeb -dh_builddeb diff -Nru attr-2.4.47/debian/patches/Update-clean-rule.patch attr-2.4.47/debian/patches/Update-clean-rule.patch --- attr-2.4.47/debian/patches/Update-clean-rule.patch 1970-01-01 00:00:00.000000000 +0000 +++ attr-2.4.47/debian/patches/Update-clean-rule.patch 2017-07-05 10:12:53.000000000 +0000 @@ -0,0 +1,17 @@ +Description: Ensure that clean actually cleans + configure.lineno was not getting tidied up +Author: Wookey <[email protected]> + +Last-Update: 2017-07-05 + +--- attr-2.4.47.orig/Makefile ++++ attr-2.4.47/Makefile +@@ -25,7 +25,7 @@ endif + + CONFIGURE = \ + aclocal.m4 \ +- configure config.guess config.sub \ ++ configure configure.lineno config.guess config.sub \ + ltmain.sh m4/libtool.m4 m4/ltoptions.m4 m4/ltsugar.m4 \ + m4/ltversion.m4 m4/lt~obsolete.m4 + LSRCFILES = \ diff -Nru attr-2.4.47/debian/patches/series attr-2.4.47/debian/patches/series --- attr-2.4.47/debian/patches/series 2013-05-20 11:51:52.000000000 +0000 +++ attr-2.4.47/debian/patches/series 2017-07-05 10:12:53.000000000 +0000 @@ -1,3 +1,4 @@ 01-configure.in.patch 02-687531-fix-missing-ldflags.patch 12-643587-attr-autoconf-version-check.patch +Update-clean-rule.patch diff -Nru attr-2.4.47/debian/rules attr-2.4.47/debian/rules --- attr-2.4.47/debian/rules 2014-09-08 07:26:36.000000000 +0000 +++ attr-2.4.47/debian/rules 2017-07-05 10:12:53.000000000 +0000 @@ -65,6 +65,7 @@ $(MAKE) distclean -rm -rf $(dirme) $(dirdev) $(dirlib) $(diru) $(dirlu) debian/tmp -rm -f debian/*substvars debian/files* debian/*.debhelper + dh_clean binary-indep:

