adoptium / aqa-tests

Home of test infrastructure for Adoptium builds
https://adoptium.net/aqavit
Apache License 2.0
131 stars 314 forks source link

/usr/lib/libldap.a cannot be loaded when building functional OpenJDK tests #5303

Closed midronij closed 6 months ago

midronij commented 6 months ago

When trying to build the openjdk functional tests on paix831.rtp.raleigh.ibm.com (using these instructions), the following error occurs when running make compile:

     [exec] check for CryptoTest. If found, the file will be removed.
     [exec] git clone --depth 1 -q https://github.com/rh-openjdk/CryptoTest.git -b master CryptoTest
     [exec] exec(): 0509-036 Cannot load program /opt/freeware/libexec64/git-core/git-remote-https because of the following errors:
     [exec]     0509-150   Dependent module /usr/lib/libldap.a(libldap-2.4.so.2) could not be loaded.
     [exec]     0509-153   File /usr/lib/libldap.a is not an archive or
     [exec]                the file could not be read properly.
     [exec]     0509-026 System error: Cannot run a file that does not have a valid format.

BUILD FAILED
/home/midronij/aqa-tests/TKG/scripts/build_test.xml:95: The following error occurred while executing this line:
/home/midronij/aqa-tests/functional/build.xml:52: The following error occurred while executing this line:
/home/midronij/aqa-tests/functional/security/build.xml:30: The following error occurred while executing this line:
/home/midronij/aqa-tests/functional/security/Crypto/build.xml:67: The following error occurred while executing this line:
/home/midronij/aqa-tests/functional/security/Crypto/build.xml:45: The following error occurred while executing this line:
/home/midronij/aqa-tests/TKG/scripts/build_test.xml:128: exec returned: 1

Total time: 107 minutes 26 seconds
1
make[1]: *** [compile.mk:45: compile] Error 1
make[1]: Leaving directory '/home/midronij/aqa-tests/TKG'
make: *** [makefile:87: compile] Error 2

This happens even when using the most recent versions of OpenJDK, OpenJ9, and OMR with no changes of my own. As well, since it seems that this may be a problem with curl, this system is using version 4.8.0:

bash-5.0# curl --version
curl 8.4.0 (powerpc-ibm-aix7.1.3.0) libcurl/8.4.0 OpenSSL/1.1.1v zlib/1.2.13 libssh2/1.10.0 nghttp2/1.55.1 OpenLDAP/2.5.16
Release-Date: 2023-10-11
Protocols: dict file ftp ftps gopher gophers http https imap imaps ldap ldaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS GSS-API HSTS HTTP2 HTTPS-proxy IPv6 Kerberos Largefile libz NTLM SPNEGO SSL threadsafe UnixSockets
llxia commented 6 months ago

git clone --depth 1 -q https://github.com/rh-openjdk/CryptoTest.git -b master CryptoTest is a stardard cmd. This is machine issue.

I think you need to open the issue at runtimes/infrastructure repo.