Bug#930980: libcrypt-openssl-dsa-perl FTCBFS: configures and builds for the wrong architecture

gregor herrmann gregoa at debian.org
Mon Jun 24 17:57:12 BST 2019


On Mon, 24 Jun 2019 10:11:21 +0700, Nguyen Hoang Tung wrote:

> Source: libcrypt-openssl-dsa-perl
> Version: 0.19
> Severity: normal
> Tags: patch
> User:  <mailto:helmutg at debian.org> helmutg at debian.org
> Usertags: rebootstrap

> libcrypt-openssl-dsa-perl fails to cross build because it does not pass
> cross build tools to configure and to make. Adding
> /usr/share/dpkg/buildtools.mk lib and re-define linkers and compilers can
> solve this problem.

Thanks for your bug reports and patches!

While I like to support improving crossbuildability, I have the
impression that the issue you address in these 2 patches affects
hundreds of packages, and that adding boilerplate code to all
debian/rules files is the wrong approach (and doesn't scale). I guess
this needs to be tackled at a deeper level, probably the two perl
buildsystems in debhelper.

Incidentally, Niko look at crossbuilding arch:any perl packages at
our recent sprint briefly. What I find in our gobby notes is

| implement debhelper support for cross building XS module packages?
| 	effectively make debhelper run 'perl -I /usr/lib/<arch>/perl/cross-config-5.28.1 Makefile.PL' when it detects a cross build

which points in the same direction. And I'm sure Niko can add more on
this topic than I :)


Cheers,
gregor

-- 
 .''`.  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
   `-   NP: Arlo Guthrie: Gypsy Davy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20190624/1ba55be9/attachment-0001.sig>


More information about the pkg-perl-maintainers mailing list