Closed Bug 1852361 Opened 2 years ago Closed 2 years ago

Intermittent ld.lld: error: undefined symbol: PK11_FindCertFromNickname + others

Categories

(Firefox Build System :: General, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure)

Filed by: csabou [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=428473836&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/MNH64569TJGEqWhbpEU9LA/runs/0/artifacts/public/logs/live_backing.log


[task 2023-09-08T21:42:52.311Z] 21:42:52     INFO -  TEST-PASS | check_textrel | certutil
[task 2023-09-08T21:42:52.311Z] 21:42:52     INFO -  gmake[4]: Leaving directory '/builds/worker/workspace/obj-build/security/nss/cmd/certutil/certutil_certutil'
[task 2023-09-08T21:42:52.406Z] 21:42:52     INFO -  gmake[4]: Entering directory '/builds/worker/workspace/obj-build/testing/mochitest/ssltunnel'
[task 2023-09-08T21:42:52.406Z] 21:42:52     INFO -  testing/mochitest/ssltunnel/ssltunnel
[task 2023-09-08T21:42:52.410Z] 21:42:52     INFO -  /builds/worker/fetches/clang/bin/clang++ --sysroot /builds/worker/fetches/sysroot-x86_64-linux-gnu -std=gnu++17 -o ../../../dist/bin/ssltunnel -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -D_GLIBCXX_USE_CXX11_ABI=0 -fno-sized-deallocation -fno-aligned-new -fno-exceptions -fPIC -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -gdwarf-4 -Os -fno-omit-frame-pointer -funwind-tables -Werror /builds/worker/workspace/obj-build/testing/mochitest/ssltunnel/ssltunnel.list    -lpthread -fuse-ld=lld -Wl,-rpath-link,/builds/worker/fetches/sysroot-x86_64-linux-gnu/lib/x86_64-linux-gnu -Wl,-rpath-link,/builds/worker/fetches/sysroot-x86_64-linux-gnu/usr/lib/x86_64-linux-gnu -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,-z,nocopyreloc -Wl,-Bsymbolic-functions -Wl,--build-id=sha1 -fstack-protector-strong -rdynamic -Wl,-rpath-link,/builds/worker/workspace/obj-build/dist/bin -Wl,-rpath-link,/usr/local/lib  ../../../build/pure_virtual/libpure_virtual.a -pie ../../../config/external/nspr/pr/libnspr4.so ../../../config/external/nspr/libc/libplc4.so ../../../config/external/nspr/ds/libplds4.so ../../../security/nss/lib/nss/nss_nss3/libnss3.so ../../../security/nss/lib/util/util_nssutil3/libnssutil3.so ../../../security/nss/lib/smime/smime_smime3/libsmime3.so ../../../config/external/sqlite/libmozsqlite3.so ../../../security/nss/lib/ssl/ssl_ssl3/libssl3.so -ldl  -Wl,--version-script,/builds/worker/checkouts/gecko/build/unix/stdc++compat/hide_std.ld
[task 2023-09-08T21:42:52.410Z] 21:42:52    ERROR -  ld.lld: error: undefined symbol: PK11_FindCertFromNickname
[task 2023-09-08T21:42:52.410Z] 21:42:52     INFO -  >>> referenced by ssltunnel.cpp:350 (/builds/worker/checkouts/gecko/testing/mochitest/ssltunnel/ssltunnel.cpp:350)
[task 2023-09-08T21:42:52.411Z] 21:42:52     INFO -  >>>               ssltunnel.o:(ConfigureSSLServerSocket(PRFileDesc*, server_info_t*, std::string const&, client_auth_option, int))
[task 2023-09-08T21:42:52.411Z] 21:42:52    ERROR -  ld.lld: error: undefined symbol: PK11_FindKeyByAnyCert
[task 2023-09-08T21:42:52.411Z] 21:42:52     INFO -  >>> referenced by ssltunnel.cpp:356 (/builds/worker/checkouts/gecko/testing/mochitest/ssltunnel/ssltunnel.cpp:356)
[task 2023-09-08T21:42:52.411Z] 21:42:52     INFO -  >>>               ssltunnel.o:(ConfigureSSLServerSocket(PRFileDesc*, server_info_t*, std::string const&, client_auth_option, int))
[task 2023-09-08T21:42:52.411Z] 21:42:52    ERROR -  ld.lld: error: undefined symbol: CERT_FindCertIssuer
[task 2023-09-08T21:42:52.411Z] 21:42:52     INFO -  >>> referenced by ssltunnel.cpp:392 (/builds/worker/checkouts/gecko/testing/mochitest/ssltunnel/ssltunnel.cpp:392)
[task 2023-09-08T21:42:52.411Z] 21:42:52     INFO -  >>>               ssltunnel.o:(ConfigureSSLServerSocket(PRFileDesc*, server_info_t*, std::string const&, client_auth_option, int))
[task 2023-09-08T21:42:52.411Z] 21:42:52    ERROR -  ld.lld: error: undefined symbol: CERT_NewCertList
[task 2023-09-08T21:42:52.411Z] 21:42:52     INFO -  >>> referenced by ssltunnel.cpp:397 (/builds/worker/checkouts/gecko/testing/mochitest/ssltunnel/ssltunnel.cpp:397)
[task 2023-09-08T21:42:52.411Z] 21:42:52     INFO -  >>>               ssltunnel.o:(ConfigureSSLServerSocket(PRFileDesc*, server_info_t*, std::string const&, client_auth_option, int))
[task 2023-09-08T21:42:52.411Z] 21:42:52    ERROR -  ld.lld: error: undefined symbol: CERT_AddCertToListTail
[task 2023-09-08T21:42:52.411Z] 21:42:52     INFO -  >>> referenced by ssltunnel.cpp:402 (/builds/worker/checkouts/gecko/testing/mochitest/ssltunnel/ssltunnel.cpp:402)
[task 2023-09-08T21:42:52.411Z] 21:42:52     INFO -  >>>               ssltunnel.o:(ConfigureSSLServerSocket(PRFileDesc*, server_info_t*, std::string const&, client_auth_option, int))
[task 2023-09-08T21:42:52.411Z] 21:42:52    ERROR -  ld.lld: error: undefined symbol: CERT_DestroyCertList
[task 2023-09-08T21:42:52.411Z] 21:42:52     INFO -  >>> referenced by ScopedNSSTypes.h:397 (/builds/worker/workspace/obj-build/dist/include/ScopedNSSTypes.h:397)
[task 2023-09-08T21:42:52.411Z] 21:42:52     INFO -  >>>               ssltunnel.o:(ConfigureSSLServerSocket(PRFileDesc*, server_info_t*, std::string const&, client_auth_option, int))
[task 2023-09-08T21:42:52.412Z] 21:42:52    ERROR -  ld.lld: error: undefined symbol: CERT_DestroyCertificate
[task 2023-09-08T21:42:52.412Z] 21:42:52     INFO -  >>> referenced by ScopedNSSTypes.h:386 (/builds/worker/workspace/obj-build/dist/include/ScopedNSSTypes.h:386)
[task 2023-09-08T21:42:52.412Z] 21:42:52     INFO -  >>>               ssltunnel.o:(ConfigureSSLServerSocket(PRFileDesc*, server_info_t*, std::string const&, client_auth_option, int))
[task 2023-09-08T21:42:52.413Z] 21:42:52    ERROR -  ld.lld: error: undefined symbol: CERT_DestroyCertList
[task 2023-09-08T21:42:52.413Z] 21:42:52     INFO -  >>> referenced by ScopedNSSTypes.h:397 (/builds/worker/workspace/obj-build/dist/include/ScopedNSSTypes.h:397)
[task 2023-09-08T21:42:52.413Z] 21:42:52     INFO -  >>>               ssltunnel.o:(ConfigureSSLServerSocket(PRFileDesc*, server_info_t*, std::string const&, client_auth_option, int))
[task 2023-09-08T21:42:52.413Z] 21:42:52    ERROR -  ld.lld: error: undefined symbol: CERT_DestroyCertList
[task 2023-09-08T21:42:52.414Z] 21:42:52     INFO -  >>> referenced by ScopedNSSTypes.h:397 (/builds/worker/workspace/obj-build/dist/include/ScopedNSSTypes.h:397)
[task 2023-09-08T21:42:52.414Z] 21:42:52     INFO -  >>>               ssltunnel.o:(ConfigureSSLServerSocket(PRFileDesc*, server_info_t*, std::string const&, client_auth_option, int))
[task 2023-09-08T21:42:52.414Z] 21:42:52    ERROR -  ld.lld: error: undefined symbol: SECKEY_DestroyPrivateKey
[task 2023-09-08T21:42:52.415Z] 21:42:52     INFO -  >>> referenced by ScopedNSSTypes.h:435 (/builds/worker/workspace/obj-build/dist/include/ScopedNSSTypes.h:435)
[task 2023-09-08T21:42:52.415Z] 21:42:52     INFO -  >>>               ssltunnel.o:(ConfigureSSLServerSocket(PRFileDesc*, server_info_t*, std::string const&, client_auth_option, int))
[task 2023-09-08T21:42:52.415Z] 21:42:52    ERROR -  ld.lld: error: undefined symbol: CERT_DestroyCertificate
[task 2023-09-08T21:42:52.416Z] 21:42:52     INFO -  >>> referenced by ScopedNSSTypes.h:386 (/builds/worker/workspace/obj-build/dist/include/ScopedNSSTypes.h:386)
[task 2023-09-08T21:42:52.416Z] 21:42:52     INFO -  >>>               ssltunnel.o:(ConfigureSSLServerSocket(PRFileDesc*, server_info_t*, std::string const&, client_auth_option, int))
[task 2023-09-08T21:42:52.417Z] 21:42:52    ERROR -  ld.lld: error: undefined symbol: PK11_SetPasswordFunc
[task 2023-09-08T21:42:52.417Z] 21:42:52     INFO -  >>> referenced by ssltunnel.cpp:1584 (/builds/worker/checkouts/gecko/testing/mochitest/ssltunnel/ssltunnel.cpp:1584)
[task 2023-09-08T21:42:52.418Z] 21:42:52     INFO -  >>>               ssltunnel.o:(main)
[task 2023-09-08T21:42:52.418Z] 21:42:52    ERROR -  ld.lld: error: undefined symbol: NSS_Init
[task 2023-09-08T21:42:52.418Z] 21:42:52     INFO -  >>> referenced by ssltunnel.cpp:1587 (/builds/worker/checkouts/gecko/testing/mochitest/ssltunnel/ssltunnel.cpp:1587)
[task 2023-09-08T21:42:52.419Z] 21:42:52     INFO -  >>>               ssltunnel.o:(main)
[task 2023-09-08T21:42:52.419Z] 21:42:52    ERROR -  ld.lld: error: undefined symbol: NSS_Shutdown
[task 2023-09-08T21:42:52.420Z] 21:42:52     INFO -  >>> referenced by ssltunnel.cpp:0 (/builds/worker/checkouts/gecko/testing/mochitest/ssltunnel/ssltunnel.cpp:0)
[task 2023-09-08T21:42:52.420Z] 21:42:52     INFO -  >>>               ssltunnel.o:(main)
[task 2023-09-08T21:42:52.420Z] 21:42:52    ERROR -  ld.lld: error: undefined symbol: NSS_Shutdown
[task 2023-09-08T21:42:52.420Z] 21:42:52     INFO -  >>> referenced by ssltunnel.cpp:1637 (/builds/worker/checkouts/gecko/testing/mochitest/ssltunnel/ssltunnel.cpp:1637)
[task 2023-09-08T21:42:52.420Z] 21:42:52     INFO -  >>>               ssltunnel.o:(main)
[task 2023-09-08T21:42:52.421Z] 21:42:52    ERROR -  clang-7: error: linker command failed with exit code 1 (use -v to see invocation)
[task 2023-09-08T21:42:52.421Z] 21:42:52    ERROR -  gmake[4]: *** [/builds/worker/checkouts/gecko/config/rules.mk:421: ../../../dist/bin/ssltunnel] Error 1
[task 2023-09-08T21:42:52.421Z] 21:42:52     INFO -  gmake[4]: Leaving directory '/builds/worker/workspace/obj-build/testing/mochitest/ssltunnel'
[task 2023-09-08T21:42:52.421Z] 21:42:52     INFO -  gmake[4]: Target 'target' not remade because of errors.
[task 2023-09-08T21:42:52.422Z] 21:42:52    ERROR -  gmake[3]: *** [/builds/worker/checkouts/gecko/config/recurse.mk:72: testing/mochitest/ssltunnel/target] Error 2
See Also: → 1855089
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.