On Wed, 14 Aug 2024 15:33:18 +0200, Helmut Grohne wrote:

> Hi Niels,
> 
> thanks for supporting the cross build cause in debhelper. Unfortunately,
> your change to the perl_makemaker buildsystem is buggy:
> 
> | dh binary-arch
> |    dh_update_autotools_config -a
> |    dh_autoreconf -a
> |    dh_auto_configure -a
> | Undefined subroutine 
> &Debian::Debhelper::Buildsystem::perl_makemaker::dpkg_architecture_value 
> called at /usr/share/perl5/Debian/Debhelper/Buildsystem/perl_makemaker.pm 
> line 36.
> | make: *** [debian/rules:6: binary-arch] Error 255
> | dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit 
> status 2

Side note: Is there a reason why this [0] is only in perl_makemaker.pm
and not also in perl_build.pm? If not it would be nice to have the
same there as well, I think …

/*
The bugfix is probably something like

-use Debian::Debhelper::Dh_Lib qw(compat is_cross_compiling perl_cross_incdir 
warning);
+use Debian::Debhelper::Dh_Lib qw(compat is_cross_compiling perl_cross_incdir 
warning dpkg_architecture_value);

at the top.
*/


Cheers,
gregor


[0] setting $ENV{"PKG_CONFIG"}, not the bug in doing so :)

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   

Attachment: signature.asc
Description: Digital Signature

Reply via email to