Your message dated Sat, 17 Dec 2022 15:51:28 +0000
with message-id <e1p6zte-0084x1...@fasolo.debian.org>
and subject line Bug#1026257: fixed in node-zx 7.1.1+~cs6.7.23-2
has caused the Debian Bug report #1026257,
regarding FTBFS: more network tests in node-zx
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.)


-- 
1026257: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1026257
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: node-zx
Version: 7.1.1+~cs6.7.23-1
Severity: serious
Tag: ftbfs patch

Dear Maintainer,

node-zx currently fails to build with the following error messages:
   FAIL  deps  "installDeps() loader works via JS API"
Cannot find package 'cpy' imported from /build/node-zx-7.1.1+~cs6.7.23/test/deps.test.js

   FAIL  deps  "installDeps() loader works via CLI"
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'lodash' imported from /build/node-zx-7.1.1+~cs6.7.23/zx-kdsc9wx1fn.mjs
Did you mean to import lodash/lodash.js?
    at new NodeError (node:internal/errors:393:5)
    at packageResolve (node:internal/modules/esm/resolve:860:9)
    at moduleResolve (node:internal/modules/esm/resolve:909:20)
    at defaultResolve (node:internal/modules/esm/resolve:1124:11)
    at nextResolve (node:internal/modules/esm/loader:163:28)
    at ESMLoader.resolve (node:internal/modules/esm/loader:841:30)
    at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:76:40)
    at link (node:internal/modules/esm/module_job:75:36) {
  code: 'ERR_MODULE_NOT_FOUND'
}
at Object.handler (file:///build/node-zx-7.1.1+~cs6.7.23/test/deps.test.js:35:12)
    exit code: 1

(See https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/node-zx.html for more details)

I was able to reproduce the same error message when building in pbuilder on my local Sid system. Turns out there's a couple of tests which call `npm install` and verify the results which breaks when the network is not available.

After expanding and applying the patch to disable network tests, the package builds successfully.


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.0.0-5-amd64 (SMP w/3 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled


--
mvh / best regards
Hans Joachim Desserud
http://desserud.org
diff --git a/debian/patches/drop-network-test.patch b/debian/patches/drop-network-test.patch
index cf5cd17..905f6a8 100644
--- a/debian/patches/drop-network-test.patch
+++ b/debian/patches/drop-network-test.patch
@@ -1,7 +1,7 @@
 Description: drop network test
 Author: Yadd <y...@debian.org>
 Forwarded: not-needed
-Last-Update: 2022-11-07
+Last-Update: 2022-12-17
 
 --- a/test/cli.test.js
 +++ b/test/cli.test.js
@@ -37,3 +37,24 @@ Last-Update: 2022-11-07
  test('echo() works', async () => {
    let stdout = ''
    let log = console.log
+--- a/test/deps.test.js
++++ b/test/deps.test.js
+@@ -21,7 +21,7 @@ const test = suite('deps')
+ 
+ $.verbose = false
+ 
+-test('installDeps() loader works via JS API', async () => {
++test.skip('installDeps() loader works via JS API', async () => {
+   await installDeps({
+     cpy: '9.0.1',
+     'lodash-es': '4.17.21',
+@@ -30,7 +30,7 @@ test('installDeps() loader works via JS
+   assert.instance((await import('lodash-es')).pick, Function)
+ })
+ 
+-test('installDeps() loader works via CLI', async () => {
++test.skip('installDeps() loader works via CLI', async () => {
+   let out =
+     await $`node build/cli.js --install <<< 'import _ from "lodash" /* @4.17.15 */; console.log(_.VERSION)'`
+   assert.match(out.stdout, '4.17.15')
+

--- End Message ---
--- Begin Message ---
Source: node-zx
Source-Version: 7.1.1+~cs6.7.23-2
Done: Yadd <y...@debian.org>

We believe that the bug you reported is fixed in the latest version of
node-zx, 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 1026...@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-zx 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, 17 Dec 2022 16:20:19 +0100
Source: node-zx
Architecture: source
Version: 7.1.1+~cs6.7.23-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers 
<pkg-javascript-de...@lists.alioth.debian.org>
Changed-By: Yadd <y...@debian.org>
Closes: 1026257
Changes:
 node-zx (7.1.1+~cs6.7.23-2) unstable; urgency=medium
 .
   [ Yadd ]
   * Declare compliance with policy 4.6.2
 .
   [ Hans Joachim Desserud ]
   * Drop more network tests (Closes: #1026257)
Checksums-Sha1: 
 b6f37ec48a60a48bd9467ff22875eabb78868119 4447 node-zx_7.1.1+~cs6.7.23-2.dsc
 7dbef7085aaf51ed71cc76054ca81365879c7a9b 5924 
node-zx_7.1.1+~cs6.7.23-2.debian.tar.xz
Checksums-Sha256: 
 a8e7b0d5c7564bbb58c7fc22937e19ba0567183df80bb28f75e776ac0a07d279 4447 
node-zx_7.1.1+~cs6.7.23-2.dsc
 f413e93250cf44f006603449ca3ea2c514cabeb3c98164eafc2c0ac4b613e8c8 5924 
node-zx_7.1.1+~cs6.7.23-2.debian.tar.xz
Files: 
 e62cdbe04953d7be0938b79cabffd561 4447 javascript optional 
node-zx_7.1.1+~cs6.7.23-2.dsc
 4322188aca3d2c6f6999788e17096b75 5924 javascript optional 
node-zx_7.1.1+~cs6.7.23-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEAN/li4tVV3nRAF7J9tdMp8mZ7ukFAmOd3qEACgkQ9tdMp8mZ
7ukQQw//cKoxmvlhdypPRBd8MWH2lqW07aXDonhf/jWd5F37u5oefuRbvBUtXqqF
eaieWyWwvm259YbQpyU3WfDLRTrQ/PPwm4GfVu0y9DXvM325XHexl0739W7DJyTZ
Crb6P0ZgM8pvc7BlN/ohBtBvKOa3MJNctAmgAGpBFpxP3p/HmzVh9flzf6/TzaVK
AB5R55sVSPBTehWDRRkaK13FR4EA07ZiFOeIuTv2jEq3/0i+l+B0rbRqFLWLFtfd
MWvK5kQzQ0scxJwG0iu6SdpP7AO1XLKpO058yriXAlit0xA+M67ZCOXqSGySYiSM
ZfyyCsMyqlYhYKnKyd4To2XKIy8m26y3q+cpcz7dQgqFCZoIv7Z1LKv6dRa00kQl
DmxvoJwzxmYKPJ+iEAc+bgFwptDwrrZ9SE+5xtT5RvF3VGGQMXUUa/yLvc0i/+8X
A+XCyGlVPvTkAvuc7GFWOx0NaeGNe6Vf5DdkFh9GyzJNqHon1LhZlNo3XN+7PeWo
Sqnlfz99b/GLtC/6IqCiMfJrcQY5CZF4db9hJt6502GuBqo5PfA9bo04Ha0iBIsa
MM4wZTX7abczU9eFCsWqgtfE5dwOdaT7nRdn+PiRK/p3qGk4igT2PfUUnKLQl1iT
EybdeDU+QZl/myCiLBntVhDQx2w/yM+VC/xu7+lFfKLqKHBsSiM=
=pJNt
-----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

Reply via email to