Bug#949789: libcdb-file-perl FTCBFS: computes a build architecture ARCHLIB

Xavier yadd at debian.org
Sat Jan 25 06:21:15 GMT 2020


Le 25/01/2020 à 06:09, Helmut Grohne a écrit :
> Source: libcdb-file-perl
> Version: 1.00-1
> Tags: patch
> User: debian-cross at lists.debian.org
> Usertags: ftcbfs
> 
> libcdb-file-perl fails to cross build from source, because its ARCHLIB
> variable is computed for the build architecture rather than the host
> architecture. We've already seen this pattern in #949266. The same fix
> works here.
> 
> Can we take the opportunity to step back? Clearly embodying these runes
> into many packages is going to cause pain down the road. They're hard to
> remember and longish. If setting up ARCHLIB is a common thing, then
> maybe it should be centralized somehow? dpkg provides
> /usr/share/dpkg/*.mk. Maybe perl should do something similar? Could
> there be some perl.mk to be included in debian/rules that sets up
> ARCHLIB?
> 
> I've X-Debbugs-Cced debian-perl at l.d.o to get an answer to the latter.
> Please wait a little before applying my patch: I hope we can centralize
> it somehow.
> 
> Helmut

Hi,

pkg-js-tools is the Debian installer for Node.js packages. It currently
use DEB_HOST_GNU_TYPE to find the place to install arch-dependent
Node.js packages. Do we have to replace DEB_HOST_GNU_TYPE by
DEB_HOST_MULTIARCH ? (Then a duplication of this bug could be nice)

Cheers,
Xavier



More information about the pkg-perl-maintainers mailing list