Sven Joachim: > On 2018-09-18 14:09 +0300, Peter Pentchev wrote: > >> Package: debhelper >> Version: 11.4 >> Severity: serious >> >> Hi, >> >> Thanks for maintaining and extending debhelper! >> >> I don't have much information right now, maybe I'll look into it in >> the evening (Eastern European time), but trying to build gforth in >> a chroot containing debhelper-11.4 results in a package where all >> the paths passed to the GNU configure script as "\$prefix/something" >> are actually defined as "/something", thus placing binaries in /bin, >> include files in /include, etc. Installing debhelper-11.3.5 fixes >> the problem. > > Bisection shows that commit a7ec05c10093f ("dh: Track which options have > been passed") has triggered the problem. I had a look at the gforth > build logs with debhelper 11.3.5 and 11.4, but could not spot an obvious > cause. Maybe Niels has more luck. > > Cheers, > Sven >
Hi, @Sven: Thanks for bisecting it. FTR, which version of gforth did you test with? @Both: I checked the configure lines and they are identical (bit-for-bit) in the log, so we are probably looking for something different. I have compared the build logs from Peter with the amd64 build on the buildds (with some messaging) and I do not see any obvious problems (I assume the differences shown are due to -6 vs. -7). """ Generated the files with: grep dh_ <ORIGINAL_LOG> \ | grep -v 'The use of "debhelper-compat (= 11)" is experimental' \ | sed 's/-a //' --- dh_broken.log 2018-09-19 08:00:04.640018651 +0200 +++ dh_ok.log 2018-09-19 08:00:20.952018495 +0200 @@ -1,6 +1,5 @@ debian/rules override_dh_auto_clean dh_auto_clean - dh_autoreconf_clean -O--no-parallel dh_clean -O--no-parallel dh_update_autotools_config -O--no-parallel dh_autoreconf -O--no-parallel @@ -15,8 +14,7 @@ debian/rules override_dh_install dh_installdocs -O--no-parallel debian/rules override_dh_installchangelogs -dh_installchangelogs -X ChangeLog -set -e; for p in $(dh_listpackages); do \ +dh_installchangelogs NEWS dh_installman -O--no-parallel dh_installemacsen -O--no-parallel dh_lintian -O--no-parallel """ The dh_autoreconf_clean omission is expected (dh-autoreconf made it optional so we could avoid calling it in the initial clean where it is always a no-op) and the remaining diffs looks like a change to the rules. I also checked the make install part and both logs installs the files into /<<PKGBUILDDIR>>/debian/tmp/usr/... @Peter: Could you try to add a "dh_installdirs" (or mkdir -p $(DG)/) before the following line? mv /<<PKGBUILDDIR>>/debian/tmp/* /<<PKGBUILDDIR>>/debian/gforth/ https://sources.debian.org/src/gforth/0.7.3+dfsg-6/debian/rules/#L81 Thanks, ~Niels