Package: nodejs
Version: 24.21.0+dfsg+~cs24.13.4-1
Severity: normal
Tags: ftbfs
Forwarded: https://github.com/nodejs/node/issues/66491
X-Debbugs-Cc: Santiago Vila <[email protected]>

A recent change in linux-libc-dev (define EFTYPE) breaks some nodejs tests.

Nodejs keeps a static copy of the some uv errors, and then some tests check
they match with the errors reported by the system.

not ok 3930 parallel/test-uv-errmap
  ---
  duration_ms: 70.42400
  severity: fail
  exitcode: 1
  stack: |-
    node:assert:152
      throw new AssertionError(obj);
      ^
    
    AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
    + actual - expected
    
    + 'EFTYPE'
    - 'Unknown system error -134'
    
        at /tmp/tmp.1Ynu00pL9e.nodejs/test/parallel/test-uv-errmap.js:23:10
        at Array.forEach (<anonymous>)
        at Object.<anonymous> 
(/tmp/tmp.1Ynu00pL9e.nodejs/test/parallel/test-uv-errmap.js:17:8)
        at Module._compile (node:internal/modules/cjs/loader:1929:14)
        at Object..js (node:internal/modules/cjs/loader:2060:10)
        at Module.load (node:internal/modules/cjs/loader:1651:32)
        at Module._load (node:internal/modules/cjs/loader:1443:12)
        at wrapModuleLoad (node:internal/modules/cjs/loader:261:19)
        at Module.executeUserEntryPoint [as runMain] 
(node:internal/modules/run_main:154:5)
        at node:internal/main/run_main_module:33:47 {
      generatedMessage: true,
      code: 'ERR_ASSERTION',
      actual: 'EFTYPE',
      expected: 'Unknown system error -134',
      operator: 'strictEqual',
      diff: 'simple'
    }
    
    Node.js v24.21.0
  ...
not ok 3931 parallel/test-uv-errno
  ---
  duration_ms: 69.43600
  severity: fail
  exitcode: 1
  stack: |-
    node:assert:152
      throw new AssertionError(obj);
      ^
    
    AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
    + actual - expected
    
    + 'EFTYPE'
    - 'Unknown system error -134'
    
        at /tmp/tmp.1Ynu00pL9e.nodejs/test/parallel/test-uv-errno.js:25:10
        at Array.forEach (<anonymous>)
        at Object.<anonymous> 
(/tmp/tmp.1Ynu00pL9e.nodejs/test/parallel/test-uv-errno.js:19:6)
        at Module._compile (node:internal/modules/cjs/loader:1929:14)
        at Object..js (node:internal/modules/cjs/loader:2060:10)
        at Module.load (node:internal/modules/cjs/loader:1651:32)
        at Module._load (node:internal/modules/cjs/loader:1443:12)
        at wrapModuleLoad (node:internal/modules/cjs/loader:261:19)
        at Module.executeUserEntryPoint [as runMain] 
(node:internal/modules/run_main:154:5)
        at node:internal/main/run_main_module:33:47 {
      generatedMessage: true,
      code: 'ERR_ASSERTION',
      actual: 'EFTYPE',
      expected: 'Unknown system error -134',
      operator: 'strictEqual',
      diff: 'simple'
    }
    
    Node.js v24.21.0


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

Kernel: Linux 7.2.8+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 nodejs depends on:
ii  libc6          2.43-7
ii  libnode137     24.21.0+dfsg+~cs24.13.4-1
ii  node-corepack  0.35.0-2

Versions of packages nodejs recommends:
ii  ca-certificates  20260816
ii  nodejs-doc       24.21.0+dfsg+~cs24.13.4-1

Versions of packages nodejs suggests:
ii  npm  12.0.2+ds1-2

-- no debconf information

-- 
Pkg-javascript-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to