Comment # 20 on bug 1205042 from
(In reply to Pedro Monreal Gonzalez from comment #19)
> php7 buildfailure against openssl-3 was also fixed by Petr.
> Only packages that need adaption are openssh and nodejs18/19.

For the record, nodejs18 and nodejs19 are compiled upstream with vendored
OpenSSL 3.0 and their unit tests take this into account. So problems here are
incompatibilities between how we build openssl vs. how they build it (and
probably how others build it too) What I'm seeing in the tests that that there
is some unregistered scheme that we are not building. Looks like file:// scheme
is not supported?

I will try to find some time later today and see if I can narrow this down to
what configuration seems to be different from upstream build.

# not ok 2884 parallel/test-tls-sni-option
  ---
  duration_ms: 1.809
  severity: fail
  exitcode: 1
  stack: |-
    node:events:491
          throw er; // Unhandled 'error' event
          ^

    Error: 4081FBD8297F0000:error:16000069:STORE
routines:ossl_store_get0_loader_int:unregistered
scheme:crypto/store/store_register.c:237:scheme=file

    Emitted 'error' event on TLSSocket instance at:
        at TLSSocket._emitTLSError (node:_tls_wrap:908:10)
        at TLSWrap.onerror (node:_tls_wrap:439:11) {



# ../node18 parallel/test-tls-key-mismatch.js

'Error: error:16000069:STORE routines::unregistered scheme'                     

    at Object.<anonymous>
(/home/abuild/rpmbuild/BUILD/node-v18.12.1/test/parallel/test-tls-key-mismatch.js:41:8)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Module._load (node:internal/modules/cjs/loader:878:12)
    at Function.executeUserEntryPoint [as runMain]
(node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:23:47 {
  generatedMessage: true,
  code: 'ERR_ASSERTION',
  actual: Error: error:16000069:STORE routines::unregistered scheme
      at setKey (node:internal/tls/secure-context:92:11)
      at configSecureContext (node:internal/tls/secure-context:174:7)
      at Object.createSecureContext (node:_tls_common:117:3)
      at
/home/abuild/rpmbuild/BUILD/node-v18.12.1/test/parallel/test-tls-key-mismatch.js:42:7
      at getActual (node:assert:757:5)
      at Function.throws (node:assert:903:24)
      at Object.<anonymous>
(/home/abuild/rpmbuild/BUILD/node-v18.12.1/test/parallel/test-tls-key-mismatch.js:41:8)
      at Module._compile (node:internal/modules/cjs/loader:1159:14)
      at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
      at Module.load (node:internal/modules/cjs/loader:1037:32) {
    opensslErrorStack: [
      'error:05800074:x509 certificate routines::key values mismatch',
      'error:80000002:system library::No such file or directory'
    ],
    library: 'STORE routines',
    reason: 'unregistered scheme',
    code: 'ERR_OSSL_OSSL_STORE_UNREGISTERED_SCHEME'
  },
  expected: /^Error: error:05800074:x509 certificate routines::key values
mismatch$/,
  operator: 'throws'
}


You are receiving this mail because: