#66055·Node.js

build: test-permission-drop-ffi test fails with Missing FFI test fixture library error

Author: apteryksCreated Sep 16, 2026Updated Sep 16, 2026
Labelsbuildtestffi

Version

26.8.2

Platform

Guix System with Linux 7.1.8.

Subsystem

No response

What steps will reproduce the bug?

Build latest release (26.8.2) from source in an environment made of:

[email protected] [email protected] [email protected] [email protected] [email protected] [email protected]
+ [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]
+ [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]

The configure flags used are:

("--shared-cares"
           "--shared-libuv"
           "--shared-http-parser"
           "--shared-http-parser-libname=llhttp"
           "--shared-nghttp2"
           "--shared-openssl"
           "--shared-zlib"
           "--shared-brotli"
           "--with-intl=system-icu"
           "--shared-ngtcp2"
           "--shared-nghttp3"
           "--shared-zstd"
           "--shared"
           ;;Needed for correct snapshot checksums
           "--v8-enable-snapshot-compression")

Run make test-ci-js to run the test suite.

How often does it reproduce? Is there a required condition?

Always.

What is the expected behavior? Why is that the expected behavior?

All tests should pass. If some dependency (test or otherwise) needs to be built for a test, the build system should take care of it automatically.

What do you see instead?

not ok 2796 parallel/test-permission-drop-ffi
  ---
  duration_ms: 55.72600
  severity: fail
  exitcode: 1
  stack: |-
    /tmp/guix-build-node-26.8.2.drv-0/node-v26.8.2/test/ffi/ffi-test-common.js:21
        throw new Error(
        ^
    
    Error: Missing FFI test fixture library: /tmp/guix-build-node-26.8.2.drv-0/node-v26.8.2/test/ffi/fixture_library/build/Release/ffi_test_library.so. Build it first with `make build-ffi-tests` or the equivalent test build step.
        at ensureFixtureLibrary (/tmp/guix-build-node-26.8.2.drv-0/node-v26.8.2/test/ffi/ffi-test-common.js:21:11)
        at Object.<anonymous> (/tmp/guix-build-node-26.8.2.drv-0/node-v26.8.2/test/ffi/ffi-test-common.js:28:1)
        at Module._compile (node:internal/modules/cjs/loader:1934:14)
        at Object..js (node:internal/modules/cjs/loader:2074:10)
        at Module.load (node:internal/modules/cjs/loader:1656:32)
        at Module._load (node:internal/modules/cjs/loader:1448:12)
        at wrapModuleLoad (node:internal/modules/cjs/loader:261:19)
        at Module.require (node:internal/modules/cjs/loader:1679:12)
        at require (node:internal/modules/helpers:196:16)
        at Object.<anonymous> (/tmp/guix-build-node-26.8.2.drv-0/node-v26.8.2/test/parallel/test-permission-drop-ffi.js:5:41)
    
    Node.js v26.8.2
  ...

Additional information

No response