[Pkg-javascript-devel] Bug#977535: Bug#977535: Bug#977535: Bug#977535: Bug#977535: pkg-js-tools should create node_modules symlink in autopkgtest

Xavier yadd at debian.org
Wed Dec 16 12:11:22 GMT 2020


Le 16/12/2020 à 13:07, Xavier a écrit :
> Le 16/12/2020 à 12:38, Pirate Praveen a écrit :
>>
>>
>> On Wed, Dec 16, 2020 at 12:15 pm, Xavier <yadd at debian.org> wrote:
>>> Could you try pkg-js-autopkgtest 0.9.55 (experimental + salsa) ?
>>
>> No, this did not work. I don't see any cp command in the logs.
>>
>> autopkgtest [17:03:46]: test pkg-js-autopkgtest:
>> /usr/share/pkg-js-autopkgtest/runner
>> autopkgtest [17:03:46]: test pkg-js-autopkgtest: [-----------------------
>> # Using package.json
>> # Node module name is d3-geo
>> # Build files found: .babelrc rollup.config.js
>> # Test files found: test
>> # Files/dir to be installed from source: test .babelrc rollup.config.js
>> # Copy test files
>> # Copy debian/tests/pkg-js content
>> 'debian/tests/pkg-js' ->
>> '/tmp/autopkgtest.6RglHt/autopkgtest_tmp/smokelTQtji/debian/tests/pkg-js'
>> 'debian/tests/pkg-js/test' ->
>> '/tmp/autopkgtest.6RglHt/autopkgtest_tmp/smokelTQtji/debian/tests/pkg-js/test'
>>
>> # Found debian/tests/test_modules directory, let's copy it
>> '/tmp/autopkgtest.6RglHt/autopkgtest_tmp/smokelTQtji/node_modules/topojson-client'
>> -> '../debian/tests/test_modules/topojson-client'
>> '/tmp/autopkgtest.6RglHt/autopkgtest_tmp/smokelTQtji/node_modules/world-atlas'
>> -> '../debian/tests/test_modules/world-atlas'
>> # Searching module in /usr/lib/nodejs/d3-geo
>> # Searching module in /usr/lib/*/nodejs/d3-geo
>> # Searching module in /usr/share/nodejs/d3-geo
>> # Found /usr/share/nodejs/d3-geo
>> # Searching files to link in /usr/share/nodejs/d3-geo
>> './dist' -> '/usr/share/nodejs/d3-geo/dist'
>> './package.json' -> '/usr/share/nodejs/d3-geo/package.json'
>> './src' -> '/usr/share/nodejs/d3-geo/src'
>> # Launch debian/tests/pkg-js/test with sh -ex
>> + tape -r @babel/register test/**/*.js
>> /usr/share/nodejs/resolve/lib/sync.js:92
>>    throw err;
>>    ^
>>
>> Error: Cannot find module '@babel/register' from
>> '/tmp/autopkgtest.6RglHt/autopkgtest_tmp/smokelTQtji'
>>
>> Also in the debci logs I don't see a symlink created either (with
>> extlinks). So the bug seems not reading both extlinks and extcopies.
>>
>> https://ci.debian.net/data/autopkgtest/testing/amd64/n/node-d3-geo/8873707/log.gz
> 
> I didn't add an "echo" but debian/nodejs/extcopies are really copied
> (verified). Add a `ls node_modules` in your debian/tests/pkg-js/test if
> you want to verify

With 0.9.55 of course



More information about the Pkg-javascript-devel mailing list