Quoting Jérémy Lal (2020-07-03 19:50:55)
> I have a problem with the transition of nodejs:
> from version 10 with abi libnode64
> to version 12 with abi libnode72
> 
> C(++) addons like node-iconv can be compiled using libnode-dev,
> so installing an addon automatically installs the right libnodeXX version.
> (all addons Build-Depend libnode-dev).
> 
> One can install nodejs 10 along with libnode64, and build node-iconv
> using libnode-dev 12 which links to libnode72.
> 
> However, running node-iconv tests in the autopkgtests environment requires
> the nodejs version that is linked against the same libnode abi (i hope that
> part is obvious).
> 
> But it's not the case: the tests are run with nodejs 10 from testing,
> against a package
> built with libnode72, so the module loading fails.
> 
> Those failures seem to be preventing transition to testing (which is
> understandable).
> Two questions:
> - how to fix the issue now
> - how to fix the issue for good
> 
> Thanks in advance for any help.

Have libnodeNN include a symbols file tracking changes to the ABI, so 
that any C++ addon depending on a part of the ABI which changes gets 
tightened package dependency on that specific binary release of the ABI.

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature

Reply via email to