[Pkg-javascript-devel] Bug#1033820: node-snapdragon: autopkgtest regression: Cannot find module 'snapdragon-node'

Yadd yadd at debian.org
Tue Apr 4 07:46:31 BST 2023


On 4/4/23 07:08, Yadd wrote:
> On 4/3/23 21:55, Paul Gevers wrote:
>> Hi yadd,
>>
>> On 03-04-2023 05:42, Yadd wrote:
>>> I'm unable to reproduce this issue: there is a link that provides 
>>> snapdragon-node inside snapdragon-capture-set:
>>
>> I could by running the following on my laptop:
>> paul at mulciber ~ $ autopkgtest --no-built-binaries node-snapdragon -- 
>> lxc --sudo autopkgtest-unstable-amd64
>>
>> What did you try?
>>
>>> $ debc|grep '> '
>>> lrwxrwxrwx root/root 0 2022-12-01 17:20 
>>> ./usr/share/nodejs/snapdragon-capture-set/node_modules -> 
>>> ../snapdragon/node_modules
>>>
>>> and snamdragon has snapdragon/node_modules/snapdragon-node
>>
>> To avoid confusion, I assume you mean node-snapdragon.
>>
>> https://packages.debian.org/sid/all/node-snapdragon/filelist
>> confirms
>> /usr/share/nodejs/snapdragon/node_modules/snapdragon-node/
>>
>> In a failing testbed:
>> root at autopkgtest-lxc-xulhyp:/ # ls -al 
>> /usr/share/nodejs/snapdragon-capture-set
>> total 20
>> drwxr-xr-x  2 root root 4096 Apr  3 19:50 .
>> drwxr-xr-x 52 root root 4096 Apr  3 19:50 ..
>> -rw-r--r--  1 root root 4283 Nov 28 20:25 index.js
>> -rw-r--r--  1 root root 1460 Nov 28 20:25 package.json
>>
>> Am I missing something?
>>
>> Paul
> 
> Hi,
> 
> then the bug is in the build, not in the test itself. Found: the fix was 
> rejected (maybe a md5 mismatch?). Let's repush it.

For the record, the submodule snapdragon-capture-set was broken for a 
long time, except when node-snapdragon-node was installed. The test 
started to fail when pkg-js-autopkgtest started to test all submodules 
(version 0.14.11, 2022-02-25). I fixed node-snapdragon on december but 
didn't see that upload was rejected. Fixed now.

Cheers,
Yadd



More information about the Pkg-javascript-devel mailing list