Your message dated Sun, 23 Oct 2016 23:46:33 +0000 with message-id <[email protected]> and subject line Bug#841713: fixed in tunnelx 20160713-2 has caused the Debian Bug report #841713, regarding tunnelx: FTBFS with dpkg-buildpackage -A (chown error) to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 841713: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=841713 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: src:tunnelx Severity: serious Hello Wookey (and Niels). I tried to build this package in stretch with "dpkg-buildpackage -A" (which is what the "Arch: all" autobuilder would do to build it) but it failed: -------------------------------------------------------------------------------- [...] debian/rules build-indep dh --with javahelper build-indep dh: Compatibility levels before 9 are deprecated (level 7 in use) dh_testdir -i dh_update_autotools_config -i dh_auto_configure -i dh_auto_configure: Compatibility levels before 9 are deprecated (level 7 in use) jh_linkjars -i debian/rules override_dh_auto_build make[1]: Entering directory '/<<PKGBUILDDIR>>' docbook-to-man debian/manpage.sgml > tunnelx.1 dh_installman --verbose dh_installman: Compatibility levels before 9 are deprecated (level 7 in use) install -d debian/tunnelx/usr/share/man/man1/ install -p -m0644 tunnelx.1 debian/tunnelx/usr/share/man/man1/tunnelx.1 man --recode UTF-8 ./tunnelx\.1 > tunnelx\.1\.new chmod 0755 -- tunnelx.1.new chown 0:0 -- tunnelx.1.new chown: changing ownership of 'tunnelx.1.new': Operation not permitted dh_installman: chown 0:0 -- tunnelx.1.new returned exit code 1 debian/rules:11: recipe for target 'override_dh_auto_build' failed make[1]: *** [override_dh_auto_build] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>' debian/rules:8: recipe for target 'build-indep' failed make: *** [build-indep] Error 2 dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2 -------------------------------------------------------------------------------- The reason seems to be that there is a "dh_installman" command inside override_dh_auto_build target, which runs as a normal user, but dh_installman makes a chown and it fails, because we are not root yet. Since we are already using "dh" here, the easy fix is not to call dh_installman yet but instead let it happen automatically as part of the dh sequence. Trivial patch below. The funny thing is that "dpkg-buildpackage" alone does not fail and I don't know why. I'm Cc:ing Niels (with X-Debbugs-Cc) in case he wants to say something about this. Thanks. --- a/debian/rules +++ b/debian/rules @@ -9,7 +9,6 @@ export JAVE_HOME=/usr/lib/jvm/default-java override_dh_auto_build: docbook-to-man debian/manpage.sgml > tunnelx.1 - dh_installman --verbose override_dh_clean: dh_clean
--- End Message ---
--- Begin Message ---Source: tunnelx Source-Version: 20160713-2 We believe that the bug you reported is fixed in the latest version of tunnelx, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Wookey <[email protected]> (supplier of updated tunnelx package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Sat, 22 Oct 2016 21:24:22 +0100 Source: tunnelx Binary: tunnelx Architecture: source Version: 20160713-2 Distribution: unstable Urgency: medium Maintainer: Wookey <[email protected]> Changed-By: Wookey <[email protected]> Description: tunnelx - Cave Survey drawing software Closes: 841713 Changes: tunnelx (20160713-2) unstable; urgency=medium . * Fix FTBFS with dpkg-buildpackage -A (Closes: #841713) Checksums-Sha1: a41ea03f35fac96ac5e60c52e9c8315c079cc99d 1893 tunnelx_20160713-2.dsc 067ff5d0c9baf9508507a259c5305f3f1bd9ab2e 13728 tunnelx_20160713-2.debian.tar.xz Checksums-Sha256: 79e58990439e9c6ddcc781100bf81d27d8715d681665869fb37efb8d3a7984e5 1893 tunnelx_20160713-2.dsc 581ae22ead1698b04a983e1673a966e9fb964aa19346edadffa0c20229f3d0b6 13728 tunnelx_20160713-2.debian.tar.xz Files: 7ad7926abdabe1ea9cce9e1fc0c667ff 1893 science extra tunnelx_20160713-2.dsc b1f3fa94536ec4a4afcdd8250080e0af 13728 science extra tunnelx_20160713-2.debian.tar.xz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJYC8xuAAoJEPuGMlGob55HXwoP/25LdeiC2rzBJ7BskbX7huzM ANkdKp3pqF2IqkPicvJSivYUoDsC5KR+xspaXvjcb+w2YNobZRz0EqvxY9hIRg6p zBiX9kq4AU9MTBLL4GEwr6Lmqol+hIAL6cLU3iHSx5vMf6xU16LPM7e/RtfGRZO8 cjcEcSCWsesH8rMvfP7Qpc0JYRg5jtlFBxMqI+FoDFnbuehf5vWQwf/I3jMJ4lUU 9R7hdrkf8U6DpSUj0dgAbPMpE69VxotpOwlbpmwuNiuwO1MVOwEYouA+CuApWAsZ UPMPTwlecYd5DtF0XgAPRg4QPHzYKcy2iTljMEVSM11iyUQfGlMYruZpyo8ONGks 8xzhCUMzvpOKUf3cqfnjjt3zK6gR0tdrr4oA6DYg3ybvA4EF7RTs1ZmapX6pUNB7 xYEdVfHPn3of6TbynQ9E63JvqFqwwLFPDk/T7evx6RWrfGBMX7YyhXpJNtIuq8mm U/sW/XcasAVrW+6QGBh5AbOSsxdAhf8tKZ3m/5kK4XXbvVMQ2PLa5Vs+7DCFIh6C 1wfrd0fSGehpmNtXeBevlc75QB0zYQnVErkh/VbN3i/CDAsw2koEI9qMN6AylTT2 YZkXq4F0PT6uQAiHg6F8kcWgnDMmBqQiIBBl3qwn3UBKGIVuFJOYkWeolya3vWLS zOkRtmV0jIz7C3hVSClq =pGw9 -----END PGP SIGNATURE-----
--- End Message ---

