Bug#679864: kyotocabinet: FTBFS: failed to remove `/build/buildd-kyotocabinet_1.2.76-2-i386-HBtinO/kyotocabinet-1.2.76/debian/kyotocabinet-doc/usr/share/doc/libkyotocabinet16': No such file or directo
* Shawn Landden shawnland...@gmail.com, 2012-07-02, 16:23: I guess this folder is only created with a full build, and not with arch-only builds. Right. I debugged this a bit: It happens becuase on one hand dh_install created debian/kyotocabinet-doc/usr/share/doc/libkyotocabinet-doc as a directory, on the other hand you requested that dh_installdoc should make it a symlink… This confuses dh_installdoc (which is arguably a (minor) bug in debhelper) and makes it create debian/kyotocabinet-doc/usr/share/doc/libkyotocabinet. The solution is not to use dh_install to install documentation. (Or, alternatively, do not symlink doc directories. IME the amout of trouble it causes greatly overwhelms any possible benefits.) -- Jakub Wilk -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#679864: kyotocabinet: FTBFS: failed to remove `/build/buildd-kyotocabinet_1.2.76-2-i386-HBtinO/kyotocabinet-1.2.76/debian/kyotocabinet-doc/usr/share/doc/libkyotocabinet16': No such file or directo
Source: kyotocabinet Version: 1.2.76-2 Severity: serious Justification: fails to build from source kyotocabinet FTBFS: | # mega-lameness: | rmdir $(pwd)/debian/kyotocabinet-doc/usr/share/doc/libkyotocabinet16 | rmdir: failed to remove `/build/buildd-kyotocabinet_1.2.76-2-i386-HBtinO/kyotocabinet-1.2.76/debian/kyotocabinet-doc/usr/share/doc/libkyotocabinet16': No such file or directory | make[1]: *** [override_dh_installdocs] Error 1 | make[1]: Leaving directory `/build/buildd-kyotocabinet_1.2.76-2-i386-HBtinO/kyotocabinet-1.2.76' | make: *** [binary-arch] Error 2 Full build log: https://buildd.debian.org/status/fetch.php?pkg=kyotocabinetarch=i386ver=1.2.76-2stamp=1341190492 -- Jakub Wilk -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#679864: kyotocabinet: FTBFS: failed to remove `/build/buildd-kyotocabinet_1.2.76-2-i386-HBtinO/kyotocabinet-1.2.76/debian/kyotocabinet-doc/usr/share/doc/libkyotocabinet16': No such file or directo
tag 679864 pending Thanks! On Mon, 2012-07-02 at 09:36 +0200, Jakub Wilk wrote: Source: kyotocabinet Version: 1.2.76-2 Severity: serious Justification: fails to build from source kyotocabinet FTBFS: | # mega-lameness: | rmdir $(pwd)/debian/kyotocabinet-doc/usr/share/doc/libkyotocabinet16 | rmdir: failed to remove `/build/buildd-kyotocabinet_1.2.76-2-i386-HBtinO/kyotocabinet-1.2.76/debian/kyotocabinet-doc/usr/share/doc/libkyotocabinet16': No such file or directory | make[1]: *** [override_dh_installdocs] Error 1 | make[1]: Leaving directory `/build/buildd-kyotocabinet_1.2.76-2-i386-HBtinO/kyotocabinet-1.2.76' | make: *** [binary-arch] Error 2 Full build log: https://buildd.debian.org/status/fetch.php?pkg=kyotocabinetarch=i386ver=1.2.76-2stamp=1341190492 Correct. dehelper (specifically dh_installdocs with --link-doc) on all my machines (amd64 and armel) and apparently Sylvester's machine as he build amd64, leaves this empty folder, which if not removed ends up in the .deb triggering correct lintian warning. ( i built with cowbuilder/pbuilder successfully as well against amd64 unstable--I *did* test my conscious decision to use rmdir over rm -rf) i have uploaded -3 to mentors which changes this rmdir to rm -rf so that it doesn't break the build. I looked at the source to dh_installdocs, and couldn't identify where the problem was coming from, the source has been unmodified for a long time as well. On the upside, this happens after all the tests, so kyotocabinet has prooven quite portable with the new 8-byte atomic configure test, failing in the tests only on alpha, sparc (only 32-bit attempted so far), and hurd-i386 -- -Shawn Landden -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#679864: kyotocabinet: FTBFS: failed to remove `/build/buildd-kyotocabinet_1.2.76-2-i386-HBtinO/kyotocabinet-1.2.76/debian/kyotocabinet-doc/usr/share/doc/libkyotocabinet16': No such file or directo
On Mon, 2012-07-02 at 09:36 +0200, Jakub Wilk wrote: Source: kyotocabinet Version: 1.2.76-2 Severity: serious Justification: fails to build from source kyotocabinet FTBFS: | # mega-lameness: | rmdir $(pwd)/debian/kyotocabinet-doc/usr/share/doc/libkyotocabinet16 | rmdir: failed to remove `/build/buildd-kyotocabinet_1.2.76-2-i386-HBtinO/kyotocabinet-1.2.76/debian/kyotocabinet-doc/usr/share/doc/libkyotocabinet16': No such file or directory | make[1]: *** [override_dh_installdocs] Error 1 | make[1]: Leaving directory `/build/buildd-kyotocabinet_1.2.76-2-i386-HBtinO/kyotocabinet-1.2.76' | make: *** [binary-arch] Error 2 Full build log: https://buildd.debian.org/status/fetch.php?pkg=kyotocabinetarch=i386ver=1.2.76-2stamp=1341190492 this package built on ubuntu i386 https://launchpadlibrarian.net/109157968/buildlog_ubuntu-quantal-i386.kyotocabinet_1.2.76-2_BUILDING.txt.gz but not the other arches, so I guess this folder is only created with a full build, and not with arch-only builds. -- -Shawn Landden -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org