[Pkg-javascript-devel] Bug#963935: node-modern-syslog: missing versioned dependency relation?: modern-syslog/build/Release/core.node', was compiled against a different Node.js version

Paul Gevers elbrus at debian.org
Sun Jun 28 21:08:31 BST 2020


Source: node-modern-syslog
Version: 1.2.0-1
Severity: serious
X-Debbugs-CC: debian-ci at lists.debian.org, nodejs at packages.debian.org
Tags: sid bullseye
User: debian-ci at lists.debian.org
Usertags: needs-update
Control: affects -1 src:nodejs

Dear maintainer(s),

With a recent upload of nodejs the autopkgtest of node-modern-syslog
fails in testing when that autopkgtest is run with the binary packages
of nodejs from unstable. It passes when run with only packages from
testing. In tabular form:

                       pass            fail
nodejs                 from testing    12.18.0~dfsg-3
node-modern-syslog     from testing    1.2.0-1
all others             from testing    from testing

I copied some of the output at the bottom of this report. Similar to the
issues with node-iconv, node-expat and node-node-sass,
node-modern-syslog seems to be missing a versioned relation with nodejs.
Because of the missing relation, nodejs can be upgraded without the
rebuild node-modern-syslog unstable.

Currently this regression is blocking the migration of nodejs to testing
[1]. Of course, nodejs shouldn't just break your autopkgtest (or even
worse, your package), but it seems to me that the change in nodejs was
intended and your package needs to update to the new situation.

If this is a real problem in your package (and not only in your
autopkgtest), the right binary package(s) from nodejs should really add
a versioned Breaks on the unfixed version of (one of your) package(s).
Note: the Breaks is nice even if the issue is only in the autopkgtest as
it helps the migration software to figure out the right versions to
combine in the tests.

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=nodejs

https://ci.debian.net/data/autopkgtest/testing/amd64/n/node-modern-syslog/6061132/log.gz

Error: The module
'/usr/lib/x86_64-linux-gnu/nodejs/modern-syslog/build/Release/core.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 64. This version of Node.js requires
NODE_MODULE_VERSION 72. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
    at Object.Module._extensions..node
(internal/modules/cjs/loader.js:1188:18)
    at Module.load (internal/modules/cjs/loader.js:986:32)
    at Function.Module._load (internal/modules/cjs/loader.js:879:14)
    at Module.require (internal/modules/cjs/loader.js:1026:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object.<anonymous>
(/usr/lib/x86_64-linux-gnu/nodejs/modern-syslog/index.js:9:12)
    at Module._compile (internal/modules/cjs/loader.js:1138:30)
    at Object.Module._extensions..js
(internal/modules/cjs/loader.js:1158:10)
    at Module.load (internal/modules/cjs/loader.js:986:32)
    at Function.Module._load (internal/modules/cjs/loader.js:879:14)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20200628/22ab443b/attachment.sig>


More information about the Pkg-javascript-devel mailing list