[Pkg-javascript-devel] Bug#826890: nodejs: not Multi-Arch: foreign

Thorsten Glaser t.glaser at tarent.de
Mon Jun 20 09:04:49 UTC 2016


On Sun, 19 Jun 2016, Jérémy Lal wrote:

> After further reading, i think (but i'm still quite confused about
> multiarch)

(who isn’t…)

> there might be some complication with the fact node c++ addons are
> linked against the binary /usr/bin/nodejs.
>
> (This situation will improve with the ability to build a shared libnode.so,
> but it's not even released and probably won't be backported to current 4.x)

That’s a bit ouch, and pretty much a blocker, and (as far as my
understanding of M-A goes) the shared library would be a fix.

Helmut, can we do anything about this? I was thinking about a
Provides for the plugin ABI on the binary package, or even a
dummy package, like this (pseudocode, shortened)… actually, it
already Provides the ABI, so we can probably rotate things:

current:

Package: nodejs
Depends: ${shlib:Depends}
Architecture: i386
Provides: nodejs-abi-46

suggested:

Package: nodejs
Depends: ${shlib:Depends}
Architecture: i386
Multi-Arch: foreign

Package: nodejs-abi-46
Architecture: i386
Depends: nodejs (= ${some:version})

Does this even work?

Thanks,
//mirabilos
-- 
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-235
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg



More information about the Pkg-javascript-devel mailing list