Package: debhelper
Version: 12.7.1
Severity: minor
Hi,
Using dh --builsystem=meson+ninja with compat = 13 fails, seel log below.
Using compat = 12 works.
Relevant excerpts of the rules file:
%:
dh $@ --buildsystem=meson+ninja
override_dh_auto_test-arch:
env -u LD_PRELOAD xvfb-run -a dh_auto_test
Outputs:
debian/rules override_dh_auto_test-arch make[1]: Entering directory
'/<<PKGBUILDDIR>>' env -u LD_PRELOAD xvfb-run -a dh_auto_test Use of
uninitialized value $word in pattern match (m//) at
/usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 401. Use of uninitialized
value $word in substitution (s///) at
/usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 414. Use of uninitialized
value $ret[0] in join or string at
/usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 418.
cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 MESON_TESTTHREADS=16 test
Use of uninitialized value $cmd[0] in exec at
/usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 484. Use of uninitialized
value $cmd[0] in exec at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line
484. Can't exec "": No such file or directory at
/usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 484. Use of uninitialized
value $word in pattern match (m//) at
/usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 401. Use of uninitialized
value $word in substitution (s///) at
/usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 414. Use of uninitialized
value $ret[0] in join or string at
/usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 418. dh_auto_test: cd
obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 MESON_TESTTHREADS=16 test failed to
execute: No child processes Use of uninitialized value $word in pattern
match (m//) at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 401. Use of
uninitialized value $word in substitution (s///) at
/usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 414. Use of uninitialized
value $ret[0] in join or string at
/usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 418. dh_auto_test: cd
obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 MESON_TESTTHREADS=16 test returned
exit code 2 make[1]: *** [debian/rules:110: override_dh_auto_test-arch]
Error 2
It looks like to me that "sub test" of
/usr/share/perl5/Debian/Debhelper/Buildsystem/meson.pm expects that
$this->{buildcmd} would resolve to "meson", but it does not seem to be
assigned such value anywhere.
Best regards,
Benjamin Jacobs
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.3.0-1-amd64 (SMP w/4 CPU cores) Kernel taint flags:
TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8,
LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)
Versions of packages debhelper depends on:
ii autotools-dev 20180224.1
ii dh-autoreconf 19
ii dh-strip-nondeterminism 1.6.2-1
ii dpkg 1.19.7
ii dpkg-dev 1.19.7
ii dwz 0.13-2
ii file 1:5.37-6
ii libdebhelper-perl 12.7.1
ii libdpkg-perl 1.19.7
ii man-db 2.9.0-1
ii perl 5.30.0-9
ii po-debconf 1.0.21
debhelper recommends no packages.
Versions of packages debhelper suggests:
ii dh-make 2.201903
-- no debconf information