Le 25/01/2020 à 06:09, Helmut Grohne a écrit : > Source: libcdb-file-perl > Version: 1.00-1 > Tags: patch > User: debian-cr...@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@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