[From nobody Sun Sep  6 21:51:06 2026
Received: (at submit) by bugs.debian.org; 6 Sep 2026 20:12:59 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-18.7 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FOURLA,
 HAS_PACKAGE,HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_MED,
 RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS,
 XMAILER_REPORTBUG autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 47; hammy, 150; neutral, 122; spammy,
 0. spammytokens: hammytokens:0.000-+--H*Ad:N*Bug,
 0.000-+--HTo:N*Debian, 0.000-+--forky, 0.000-+--HTo:N*System,
 0.000-+--HTo:N*Bug
Return-path: &lt;SRS0=pbll=G6=melix.org=kapouer@bounces.m4x.org&gt;
Received: from mx1.polytechnique.org ([129.104.30.34]:51884)
 by buxtehude.debian.org with esmtps
 (TLS1.2:ECDHE_SECP521R1__RSA_SHA512__AES_256_GCM:256) (Exim 4.96)
 (envelope-from &lt;SRS0=pbll=G6=melix.org=kapouer@bounces.m4x.org&gt;)
 id 1x3JEX-0045xb-34 for submit@bugs.debian.org;
 Sun, 06 Sep 2026 20:12:59 +0000
Received: from lal (92-184-109-215.mobile.fr.orangecustomers.net
 [92.184.109.215])
 (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by ssl.polytechnique.org (Postfix) with ESMTPSA id 8E68C1A475;
 Sun,  6 Sep 2026 22:12:52 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=melix.org; s=svoboda;
 t=1788725572; bh=AYDYuc0y5fL5sXITV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Y/+mNuBytvyLv7/PhoTW0guN8VF1WUWVpxybvq83CM9
 ew2YAudj58XrWdXvPeZZnREpZf4eEhdj1PYRBxGpPlPKssy5AZRQkggmEJu716IF1W
 vfwlKV2DTA7ekCHTpSkJl4D62+9jWNmI+qA+sRwxw7fjxQU1uVWcG5NlxwD/0m/J3o
 eE6+bNoZ7oL9RxoXXdccoM/Kbmn5pJQ/hTxwJJkThCy1QNcV/piWhV8nn/pblRRwzT
 su+nF+CYbioRfzF2oyFzCB8NHLQtcgQ09RLRVPFG/bLp7Fgrg7Gbpc0b1oIZaE3mXz
 JXeew3DnbrO198DmcYQ4DGqiv2slHj44L4mFnkjuBZscuSvSiFuh82PPoMTMV8GeE+
 yNOIMRZdpZ4AAFrW5caVC/8nax21qJgS7lFZAxXEmZ9EhGd9S7pbsJVcBA4fJlTqxT
 zo3Iz2z5grFAAs1B+tF3pmpcqE/o3ow9ryQBS8Q3BnY1Yu+U/npwR5xPOqm7RFjRa8
 ftUgCqvOYGUZt3h2JB5Y/ARs=
Received: by lal (Postfix, from userid 1000)
 id 8A96228019C; Sun, 06 Sep 2026 22:12:51 +0200 (CEST)
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: =?utf-8?b?SsOpcsOpbXkgTGFs?= &lt;kapouer@melix.org&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: node-readable-stream: FTBFS with latest nodejs
Message-ID: &lt;178872557152.80473.8681281127082810393.reportbug@lal.local&gt;
X-Mailer: reportbug 13.2.0+nmu1
Date: Sun, 06 Sep 2026 22:12:51 +0200
X-AV-Checked: ClamAV using ClamSMTP at svoboda.polytechnique.org (Sun Sep 6
 22:12:52 2026 +0200 (CEST))
X-Org-Mail: jeremy.lal.1997@polytechnique.org
Delivered-To: submit@bugs.debian.org

Package: node-readable-stream
Version: 4.7.0+~cs9.0.2-6
Severity: important
Tags: ftbfs

Rebuilding it with latest nodejs fails with:

AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected

  Comparison {
+   code: 'ERR_UNKNOWN_ENCODING',
+   message: 'Unknown encoding: buffer',
-   code: 'ERR_INVALID_ARG_TYPE',
-   message: 'Second argument must be a buffer',
    name: 'TypeError'
  }

    at Socket.&lt;anonymous&gt; (/build/reproducible-path/node-readable-stream-4.7.0+~cs9.0.2/test/parallel/test-stream-base-typechecking.js:17:16)
    at Socket.&lt;anonymous&gt; (/build/reproducible-path/node-readable-stream-4.7.0+~cs9.0.2/test/common/index.js:412:15)
    at Socket.wrapper (node:events:639:12)
    at Socket.emit (node:events:514:28)
    at afterConnect (node:net:1996:10)
    at afterConnectMultiple (node:net:2103:3) {
  generatedMessage: true,
  code: 'ERR_ASSERTION',
  actual: TypeError [ERR_UNKNOWN_ENCODING]: Unknown encoding: buffer
      at _write (node:internal/streams/writable:472:15)
      at Writable.write (node:internal/streams/writable:512:10)
      at assert.throws.name (/build/reproducible-path/node-readable-stream-4.7.0+~cs9.0.2/test/parallel/test-stream-base-typechecking.js:19:20)
      at getActual (node:assert:611:5)
      at ok.throws (node:assert:759:24)
      at Socket.&lt;anonymous&gt; (/build/reproducible-path/node-readable-stream-4.7.0+~cs9.0.2/test/parallel/test-stream-base-typechecking.js:17:16)
      at Socket.&lt;anonymous&gt; (/build/reproducible-path/node-readable-stream-4.7.0+~cs9.0.2/test/common/index.js:412:15)
      at Socket.wrapper (node:events:639:12)
      at Socket.emit (node:events:514:28)
      at afterConnect (node:net:1996:10) {
    code: 'ERR_UNKNOWN_ENCODING'
  },
  expected: {
    name: 'TypeError',
    code: 'ERR_INVALID_ARG_TYPE',
    message: 'Second argument must be a buffer'
  },
  operator: 'throws',
  diff: 'simple'
}


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

Kernel: Linux 7.1.12+deb14-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages node-readable-stream depends on:
ii  node-process         0.11.10-3
ii  node-string-decoder  1.3.0-9

node-readable-stream recommends no packages.

node-readable-stream suggests no packages.

-- no debconf information
]