Your message dated Sun, 24 Oct 2021 06:48:37 +0000
with message-id <e1mexj7-000fhz...@fasolo.debian.org>
and subject line Bug#997579: fixed in node-vue-style-loader 4.1.2-4
has caused the Debian Bug report #997579,
regarding node-vue-style-loader: 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.)
--
997579: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=997579
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: node-vue-style-loader
Version: 4.1.2-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20211023 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> dpkg-buildpackage
> -----------------
>
> Command: dpkg-buildpackage -us -uc -sa -rfakeroot
> dpkg-buildpackage: info: source package node-vue-style-loader
> dpkg-buildpackage: info: source version 4.1.2-3
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Jelmer Vernooij <jel...@debian.org>
> dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture amd64
> debian/rules clean
> dh clean
> dh_auto_clean --buildsystem=nodejs
> rm -rf ./node_modules/.cache
> dh_clean
> dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building node-vue-style-loader using existing
> ./node-vue-style-loader_4.1.2.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: info: building node-vue-style-loader in
> node-vue-style-loader_4.1.2-3.debian.tar.xz
> dpkg-source: info: building node-vue-style-loader in
> node-vue-style-loader_4.1.2-3.dsc
> debian/rules binary
> dh binary
> dh_update_autotools_config
> dh_autoreconf
> dh_auto_configure --buildsystem=nodejs
> dh_auto_build --buildsystem=nodejs
> No build command found, searching known files
> dh_auto_test --buildsystem=nodejs
> mkdir -p node_modules
> ln -s ../. node_modules/vue-style-loader
> /bin/sh -ex debian/tests/pkg-js/test
> + test !=
> + jest --ci --testRegex test/test.js
> FAIL test/test.js
> ✕ addStylesClient (dev) (2 ms)
> ✕ addStylesClient (prod)
> ✕ addStylesClient (dev + ssr)
> ✕ addStylesClient (prod + ssr)
> ✓ addStylesServer (dev) (2 ms)
> ✓ addStylesServer (prod) (1 ms)
>
> ● addStylesClient (dev)
>
> The error below may be caused by using the wrong test environment, see
> https://jestjs.io/docs/configuration#testenvironment-string.
> Consider using the "jsdom" test environment.
>
> ReferenceError: document is not defined
>
> 118 | function addStyle (obj /* StyleObjectPart */) {
> 119 | var update, remove
> > 120 | var styleElement = document.querySelector('style[' + ssrIdKey +
> '~="' + obj.id + '"]')
> | ^
> 121 |
> 122 | if (styleElement) {
> 123 | if (isProduction) {
>
> at addStyle (lib/addStylesClient.js:120:22)
> at addStylesToDom (lib/addStylesClient.js:104:20)
> at addStylesClient (lib/addStylesClient.js:58:3)
> at Object.<anonymous> (test/test.js:12:18)
>
> ● addStylesClient (prod)
>
> The error below may be caused by using the wrong test environment, see
> https://jestjs.io/docs/configuration#testenvironment-string.
> Consider using the "jsdom" test environment.
>
> ReferenceError: document is not defined
>
> 118 | function addStyle (obj /* StyleObjectPart */) {
> 119 | var update, remove
> > 120 | var styleElement = document.querySelector('style[' + ssrIdKey +
> '~="' + obj.id + '"]')
> | ^
> 121 |
> 122 | if (styleElement) {
> 123 | if (isProduction) {
>
> at addStyle (lib/addStylesClient.js:120:22)
> at addStylesToDom (lib/addStylesClient.js:104:20)
> at addStylesClient (lib/addStylesClient.js:58:3)
> at Object.<anonymous> (test/test.js:22:18)
>
> ● addStylesClient (dev + ssr)
>
> The error below may be caused by using the wrong test environment, see
> https://jestjs.io/docs/configuration#testenvironment-string.
> Consider using the "jsdom" test environment.
>
> ReferenceError: document is not defined
>
> 77 | function mockSSRTags (list, parentId) {
> 78 | list.forEach((item, i) => {
> > 79 | const style = document.createElement('style')
> | ^
> 80 | style.setAttribute('data-vue-ssr-id', `${parentId}:${i}`)
> 81 | style.textContent = item[1]
> 82 | if (item[2]) {
>
> at forEach (test/test.js:79:19)
> at Array.forEach (<anonymous>)
> at mockSSRTags (test/test.js:78:8)
> at Object.<anonymous> (test/test.js:32:3)
>
> ● addStylesClient (prod + ssr)
>
> The error below may be caused by using the wrong test environment, see
> https://jestjs.io/docs/configuration#testenvironment-string.
> Consider using the "jsdom" test environment.
>
> ReferenceError: document is not defined
>
> 88 |
> 89 | function mockProdSSRTags (list, parentId) {
> > 90 | const style = document.createElement('style')
> | ^
> 91 | style.setAttribute('data-vue-ssr-id', list.map((item, i) =>
> `${parentId}:${i}`).join(' '))
> 92 | style.textContent = list.map(item => item[1]).join('\n')
> 93 | document.head.appendChild(style)
>
> at mockProdSSRTags (test/test.js:90:17)
> at Object.<anonymous> (test/test.js:40:3)
>
> Test Suites: 1 failed, 1 total
> Tests: 4 failed, 2 passed, 6 total
> Snapshots: 0 total
> Time: 0.82 s
> Ran all test suites.
> 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/2021/10/23/node-vue-style-loader_4.1.2-3_unstable.log
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-vue-style-loader
Source-Version: 4.1.2-4
Done: Yadd <y...@debian.org>
We believe that the bug you reported is fixed in the latest version of
node-vue-style-loader, 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 997...@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-vue-style-loader 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: Sun, 24 Oct 2021 08:35:59 +0200
Source: node-vue-style-loader
Architecture: source
Version: 4.1.2-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers
<pkg-javascript-de...@lists.alioth.debian.org>
Changed-By: Yadd <y...@debian.org>
Closes: 997579
Changes:
node-vue-style-loader (4.1.2-4) unstable; urgency=medium
.
* Team upload
* Update standards version to 4.6.0, no changes needed.
* Fix test for jest ≥ 27 (Closes: #997579)
Checksums-Sha1:
45737a27e51ecb250227f0e1abd8c17fb225fb1c 2232 node-vue-style-loader_4.1.2-4.dsc
612e4efbfc0a6141ba0934c6a35a7b016a094d57 3388
node-vue-style-loader_4.1.2-4.debian.tar.xz
Checksums-Sha256:
f9d3dbb19cdf808d9c841dbfa55f4c2b32304351319be4c92180f1beeb7e5199 2232
node-vue-style-loader_4.1.2-4.dsc
0fd6ea037164423046cf079a946d2519d1468cf2d4280b036cdc96713ca35ffd 3388
node-vue-style-loader_4.1.2-4.debian.tar.xz
Files:
a7c0dc64f6e92025cfd1f7262079d570 2232 javascript optional
node-vue-style-loader_4.1.2-4.dsc
4c6db3797c1844593ddcc70e23309ec6 3388 javascript optional
node-vue-style-loader_4.1.2-4.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEAN/li4tVV3nRAF7J9tdMp8mZ7ukFAmF0/wkACgkQ9tdMp8mZ
7uk1kxAAnSBOeAFw1LLzEGhtIZg6jSfiEH3/0f3MyHjrVOivZilthePj+QO06/gy
q1tQqwstXeCFC38HoCAHeXcu7LUoI01TO0/+tpuMfJtrpsYQm/vvTe/InJFbG38R
bBKBWZRQs/UYMGnKFLtppKF5ibLLfRitpoIDWJV7yWjfjVaOedo8V59AGmAg8cO8
P5c/1i9t8mHW+fpfB23OcTgkLYGwASX1519Q8/cudEgJRvHMvRsDYAfbeSZ36z2k
96CDmy9ZYNzRJjbOib6ZK4p06zvth8XzslzfPs1rxcDvW3KkMP0mpGB+hAGyYZfE
0wNXn4gtUSYs/ZMaxXqY4yNK/BjuH9pqtSB+1IAc05V8OIp68nEuePX69GKSXgGQ
yk+LdFbGEpPchGzaSMA4mg3JOrbrC2u2MOAFJV5HhIMEfEIIFCxklg2oLAPr7mzx
2JYIvZ1SpfmUKfwkB1CVUcQYyBBd6YBf8bP0C13a2M98jRxydku8SAF4R+IFBO+0
gbLcBqf/BPh3cxBgxZcQcweDY5F4m/a1zZs2eAYi5SN9tzYk6geos/U4+bAlcF3c
fFxrhZmpF4bkkjNzUnjBuKr9/pSbulB7YxNnyDHvQTFNAyHno44kPO8F7UszPpmd
m8CJCSH1JARC9bISbpQUpX8RA2O8Jpxby2hrJpAyOtF+ds7f/aU=
=+Z8E
-----END PGP SIGNATURE-----
--- End Message ---