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

Helmut Grohne helmut at subdivi.de
Sat Jan 25 19:20:21 GMT 2020


Hi Xavier,

On Sat, Jan 25, 2020 at 07:21:15AM +0100, Xavier wrote:
> 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)

This seems entirely off-topic for libcdb-file-perl. Maybe open some bug
against pkg-js-tools?

If you refer to
https://sources.debian.org/src/pkg-js-tools/0.9.25/lib/Debian/Debhelper/Buildsystem/nodejs.pm/?hl=679#L679
then yes, that's wrong and should be using DEB_HOST_MULTIARCH.

In practical terms, the values only differ on any-i386.

$ dpkg-architecture -ai386
...
DEB_HOST_GNU_TYPE=i686-linux-gnu
DEB_HOST_MULTIARCH=i386-linux-gnu
...
$

When referring to /usr/lib/<triplet>, it's always DEB_HOST_MULTIARCH.
You should use DEB_HOST_GNU_TYPE for ./configure --host=<triplet> and
for <triplet>-<tool>.

Hope this helps

Helmut



More information about the pkg-perl-maintainers mailing list