Your message dated Sat, 23 Apr 2022 07:03:45 +0000
with message-id <e1ni9o1-000inc...@fasolo.debian.org>
and subject line Bug#1009575: fixed in node-configstore 6.0.0-2
has caused the Debian Bug report #1009575,
regarding node-configstore: FTBFS: dh_auto_test: error: /bin/sh -ex
debian/tests/pkg-js/test returned exit code 1
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1009575: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1009575
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: node-configstore
Version: 6.0.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20220412 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> mjs2cjs index.js
> [36m
> [1mindex.js[22m → [1m./index.cjs[22m...[39m
> [1m[33m(!) Entry module "index.js" is implicitly using "default" export
> mode, which means for CommonJS output that its default export is assigned to
> "module.exports". For many tools, such CommonJS output will not be
> interchangeable with the original ES module. If this is intended, explicitly
> set "output.exports" to either "auto" or "default", otherwise you might want
> to consider changing the signature of "index.js" to use named exports
> only.[39m[22m
> [90mhttps://rollupjs.org/guide/en/#outputexports[39m
> [1mindex.js[22m
> [32mcreated [1m./index.cjs[22m in [1m37ms[22m[39m
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_test --buildsystem=nodejs
> mkdir -p node_modules
> ln -s ../. node_modules/configstore
> /bin/sh -ex debian/tests/pkg-js/test
> + set -e
> + mktemp -d
> + HOME=/tmp/tmp.WKFWY7IOID
> + mkdir /tmp/tmp.WKFWY7IOID/.config
> + export HOME
> + jest --ci test.js
> jest-haste-map: Haste module naming collision: configstore
> The following files share their name; please adjust your hasteImpl:
> * <rootDir>/.pc/export-commonjs-files.patch/package.json
> * <rootDir>/package.json
>
> FAIL ./test.js
> ● Test suite failed to run
>
> Jest encountered an unexpected token
>
> Jest failed to parse a file. This happens e.g. when your code or its
> dependencies use non-standard JavaScript syntax, or when Jest is not
> configured to support such syntax.
>
> Out of the box Jest supports Babel, which will be used to transform your
> files into valid JS based on your Babel configuration.
>
> By default "node_modules" folder is ignored by transformers.
>
> Here's what you can do:
> • If you are trying to use ECMAScript Modules, see
> https://jestjs.io/docs/ecmascript-modules for how to enable it.
> • If you are trying to use TypeScript, see
> https://jestjs.io/docs/getting-started#using-typescript
> • To have some of your "node_modules" files transformed, you can specify
> a custom "transformIgnorePatterns" in your config.
> • If you need a custom transformation specify a "transform" option in
> your config.
> • If you simply want to mock your non-JS modules (e.g. binary assets)
> you can stub them out with the "moduleNameMapper" config option.
>
> You'll find more details and examples of these config options in the docs:
> https://jestjs.io/docs/configuration
> For information about custom transformations, see:
> https://jestjs.io/docs/code-transformation
>
> Details:
>
> /usr/share/nodejs/xdg-basedir/index.js:1
>
> ({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,jest){import
> os from 'os';
>
> ^^^^^^
>
> SyntaxError: Cannot use import statement outside a module
>
> 1372 | try {
> 1373 | const scriptFilename =
> this._resolver.isCoreModule(filename) ? `jest-nodejs-core-${filename}` :
> filename;
> > 1374 | return new
> (_vm().Script)(this.wrapCodeInModuleWrapper(scriptSource), {
> | ^
> 1375 | displayErrors: true,
> 1376 | filename: scriptFilename,
> 1377 | // @ts-expect-error: Experimental ESM API
>
> at Runtime.createScriptFromCode
> (../../../usr/share/nodejs/jest-runtime/build/index.js:1374:14)
> at Object.<anonymous> (index.js:4:1)
>
> Test Suites: 1 failed, 1 total
> Tests: 0 total
> Snapshots: 0 total
> Time: 1.483 s
> Ran all test suites matching /test.js/i.
> dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1
The full build log is available from:
http://qa-logs.debian.net/2022/04/12/node-configstore_6.0.0-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220412;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220412&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
--- End Message ---
--- Begin Message ---
Source: node-configstore
Source-Version: 6.0.0-2
Done: Yadd <y...@debian.org>
We believe that the bug you reported is fixed in the latest version of
node-configstore, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1009...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Yadd <y...@debian.org> (supplier of updated node-configstore package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 23 Apr 2022 08:28:38 +0200
Source: node-configstore
Architecture: source
Version: 6.0.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers
<pkg-javascript-de...@lists.alioth.debian.org>
Changed-By: Yadd <y...@debian.org>
Closes: 1009575
Changes:
node-configstore (6.0.0-2) unstable; urgency=medium
.
* Team upload
* Better commonjs export
* Use tape instead of jest to replace ava (Closes: #1009575)
Checksums-Sha1:
73b894c8f207e284e0eccf6e4f355473a90f7c95 2293 node-configstore_6.0.0-2.dsc
6c0947550979a8f2d0fcf7e5f2e905704ac084aa 4876
node-configstore_6.0.0-2.debian.tar.xz
Checksums-Sha256:
8c9c00aeb798f2ae70ed6ccc23eb2eed066e6043b0f51931b07658b90d07e12b 2293
node-configstore_6.0.0-2.dsc
e972e7a2410ac19a0125aaa662624026cbb801d3d637eca186b86e31d6bdcb86 4876
node-configstore_6.0.0-2.debian.tar.xz
Files:
a6f03929f5fd999305ed1b9d38ab797d 2293 javascript optional
node-configstore_6.0.0-2.dsc
f6d2d09aa17faa7c77106c4a3216bbe1 4876 javascript optional
node-configstore_6.0.0-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEAN/li4tVV3nRAF7J9tdMp8mZ7ukFAmJjoaUACgkQ9tdMp8mZ
7untIQ//Y3BHVGFxExqSD5O51Y5Iz4HTV8vrASsSKvIduvJ6x9NKYXwN5EbrBU9M
b/TxQJjoIvMs96ZIq+dHMSq8SRUPYJcx6GSRt0zqxAbVj1kAxCQu8tav7k2o03H+
lnqO8DUi9twXkrVvbbnR4YrP9YbX54Okhi4thFM4VzedB4ntTVttPC6HnPLg5/pC
ccohoO29lkRCCzvS1i4nxFQPsIsGCglp/khJs81z7kcsT33bcnrwfcJ7uuF7Uibl
/6tmJbAZsFSPYEZgTEZCgrNMgjV0f+g5QnRxHove7b6OfHXa79iBcJM6FJXhzoN/
0YewQW5e9qAcAQ61r1H4711j77sKFIfOL95IbgyUrrJ6P1J4bWqIT9dAwN/5vJU6
JOGd6uMkOysLhuBIxMgP9dH2gCvRcrNDYx4scLa3yl4Xkx4u8K/LL0gnjqL+w/c/
4fD9KvufhoMbj9zw5OnANGJ987nm/IBK2FCBdbbQG09ZEfom26/WJHBT2JE82+i+
PQ308gNdR1XGiWkKvRtr7MB7nRa4myNmbLmN+c0kifLKJJML42AwdW+5sFa21Yr9
ZQ64v5xbcfjTtj/mAakXlqyZqp/KHMzM0aPMaqvFG/VKStDPOO7zdKuOr1Z8+TqX
4ME8DSdWwzo9R0cXwWAa2CoEBBKGEla/eW+YR99rGMfm/IJBe4s=
=XdoM
-----END PGP SIGNATURE-----
--- End Message ---
--
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel