+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libwebsockets-4.3.3nb1/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libwebsockets-4.3.3nb1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for libwebsockets-4.3.3.tar.gz => Checksum SHA512 OK for libwebsockets-4.3.3.tar.gz ===> Installing dependencies for libwebsockets-4.3.3nb1 ========================================================================== The following variables will affect the build process of this package, libwebsockets-4.3.3nb1. Their current value is shown below: * SSLBASE (defined) * SSLCERTBUNDLE (not defined) * SSLCERTS = /usr/pkg/etc/openssl/certs * SSLDIR = /usr/pkg/etc/openssl * SSLKEYS = /usr/pkg/etc/openssl/private You may want to abort the process now with CTRL-C and change the value of variables in the first group before continuing. Be sure to run `/usr/pkg/bin/bmake clean' after the changes. ========================================================================== => Tool dependency cmake>=0: found cmake-3.31.1 => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency nbpatch-[0-9]*: found nbpatch-20151107 => Tool dependency pkgconf-[0-9]*: found pkgconf-2.3.0 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Full dependency libuv>=1.6: found libuv-1.49.2 => Full dependency openssl>=3: found openssl-3.3.2 ===> Overriding tools for libwebsockets-4.3.3nb1 ===> Extracting for libwebsockets-4.3.3nb1 ===> Patching for libwebsockets-4.3.3nb1 => Applying pkgsrc patches for libwebsockets-4.3.3nb1 => Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/www/libwebsockets/patches/patch-lib_CMakeLists.txt => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/www/libwebsockets/patches/patch-lib_CMakeLists.txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_CMakeLists.txt,v 1.1 2024/10/14 17:19:24 nros Exp $ | |* Don't hardcode -ldl use CMAKE_DL_LIBS for compatabiblity |* Link to dl privtely so that it is not in the list of libs that | is linked to if linking to websockets_shared | |--- lib/CMakeLists.txt.orig 2023-11-20 06:27:02.000000000 +0000 |+++ lib/CMakeLists.txt -------------------------- Patching file lib/CMakeLists.txt using Plan A... Hunk #1 succeeded at 228. done ===> Creating toolchain wrappers for libwebsockets-4.3.3nb1 ===> Configuring for libwebsockets-4.3.3nb1 CMake Deprecation Warning at CMakeLists.txt:25 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. -- The C compiler identification is GNU 8.5.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /home/pbulk/build/www/libwebsockets/work/.cwrapper/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Compiled with LWS_WITH_DIR and LWS_WITH_LEJP_CONF -- Performing Test LWS_HAVE_inline -- Performing Test LWS_HAVE_inline - Success -- Performing Test LWS_HAVE___inline__ -- Performing Test LWS_HAVE___inline__ - Success -- Performing Test LWS_HAVE___inline -- Performing Test LWS_HAVE___inline - Success -- Performing Test LWS_HAVE_MALLOC_TRIM -- Performing Test LWS_HAVE_MALLOC_TRIM - Success -- Performing Test LWS_HAVE_MALLOC_USABLE_SIZE -- Performing Test LWS_HAVE_MALLOC_USABLE_SIZE - Success -- Looking for fork -- Looking for fork - found -- Looking for getenv -- Looking for getenv - found -- Looking for malloc -- Looking for malloc - found -- Looking for memset -- Looking for memset - found -- Looking for realloc -- Looking for realloc - found -- Looking for socket -- Looking for socket - found -- Looking for strerror -- Looking for strerror - found -- Looking for vfork -- Looking for vfork - found -- Looking for execvpe -- Looking for execvpe - found -- Looking for getifaddrs -- Looking for getifaddrs - found -- Looking for snprintf -- Looking for snprintf - found -- Looking for _snprintf -- Looking for _snprintf - not found -- Looking for _vsnprintf -- Looking for _vsnprintf - not found -- Looking for getloadavg -- Looking for getloadavg - found -- Looking for atoll -- Looking for atoll - found -- Looking for _atoi64 -- Looking for _atoi64 - not found -- Looking for _stat32i64 -- Looking for _stat32i64 - not found -- Looking for clock_gettime -- Looking for clock_gettime - found -- Looking for localtime_r -- Looking for localtime_r - found -- Looking for gmtime_r -- Looking for gmtime_r - found -- Looking for ctime_r -- Looking for ctime_r - found -- Looking for getgrgid_r -- Looking for getgrgid_r - found -- Looking for getgrnam_r -- Looking for getgrnam_r - found -- Looking for getpwuid_r -- Looking for getpwuid_r - found -- Looking for getpwnam_r -- Looking for getpwnam_r - found -- Looking for timegm -- Looking for timegm - found -- Looking for in6addr.h -- Looking for in6addr.h - not found -- Looking for memory.h -- Looking for memory.h - found -- Looking for netinet/in.h -- Looking for netinet/in.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stdlib.h -- Looking for stdlib.h - found -- Looking for strings.h -- Looking for strings.h - found -- Looking for string.h -- Looking for string.h - found -- Looking for sys/prctl.h -- Looking for sys/prctl.h - found -- Looking for sys/socket.h -- Looking for sys/socket.h - found -- Looking for sys/sockio.h -- Looking for sys/sockio.h - not found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for vfork.h -- Looking for vfork.h - not found -- Looking for sys/capability.h -- Looking for sys/capability.h - not found -- Looking for malloc.h -- Looking for malloc.h - found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for inttypes.h -- Looking for inttypes.h - found -- Looking for sys/resource.h -- Looking for sys/resource.h - found -- Looking for cap_set_flag in cap -- Looking for cap_set_flag in cap - not found -- Looking for 3 include files stdlib.h, ..., string.h -- Looking for 3 include files stdlib.h, ..., string.h - found -- Performing Test LWS_HAS_INTPTR_T -- Performing Test LWS_HAS_INTPTR_T - Success -- Performing Test LWS_HAS_PTHREAD_SETNAME_NP -- Performing Test LWS_HAS_PTHREAD_SETNAME_NP - Failed -- Performing Test LWS_HAS_GETOPT_LONG -- Performing Test LWS_HAS_GETOPT_LONG - Success -- Performing Test LWS_HAVE_RTA_PREF -- Performing Test LWS_HAVE_RTA_PREF - Success -- Performing Test LWS_HAVE_SUSECONDS_T -- Performing Test LWS_HAVE_SUSECONDS_T - Success -- Performing Test LWS_HAVE_VISIBILITY -- Performing Test LWS_HAVE_VISIBILITY - Success -- Performing Test LWS_GCC_HAS_IGNORED_QUALIFIERS -- Performing Test LWS_GCC_HAS_IGNORED_QUALIFIERS - Success -- Performing Test LWS_GCC_HAS_TYPE_LIMITS -- Performing Test LWS_GCC_HAS_TYPE_LIMITS - Success -- Performing Test LWS_GCC_HAS_NO_DEPRECATED_DECLARATIONS -- Performing Test LWS_GCC_HAS_NO_DEPRECATED_DECLARATIONS - Success -- Looking for eventfd_read -- Looking for eventfd_read - found -- Performing Test LWS_HAVE_PIPE2 -- Performing Test LWS_HAVE_PIPE2 - Success -- Performing Test LWS_HAVE_TCP_USER_TIMEOUT -- Performing Test LWS_HAVE_TCP_USER_TIMEOUT - Success Compiling with SSL support -- Found OpenSSL: /usr/pkg/lib/libcrypto.so (found version "3.3.2") OpenSSL include dir: /usr/pkg/include OpenSSL libraries: /usr/pkg/lib/libssl.so;/usr/pkg/lib/libcrypto.so;/usr/pkg/lib/libssl.so;/usr/pkg/lib/libcrypto.so -- Looking for openssl/ecdh.h -- Looking for openssl/ecdh.h - found -- Looking for SSL_CTX_set1_param -- Looking for SSL_CTX_set1_param - found -- Looking for SSL_set_info_callback -- Looking for SSL_set_info_callback - found -- Looking for X509_VERIFY_PARAM_set1_host -- Looking for X509_VERIFY_PARAM_set1_host - found -- Looking for X509_VERIFY_PARAM_set1_host -- Looking for X509_VERIFY_PARAM_set1_host - not found -- Looking for RSA_set0_key -- Looking for RSA_set0_key - found -- Looking for X509_get_key_usage -- Looking for X509_get_key_usage - found -- Looking for SSL_CTX_EVP_PKEY_new_raw_private_key -- Looking for SSL_CTX_EVP_PKEY_new_raw_private_key - not found -- Looking for SSL_CTX_get0_certificate -- Looking for SSL_CTX_get0_certificate - found -- Looking for SSL_get0_alpn_selected -- Looking for SSL_get0_alpn_selected - found -- Looking for SSL_set_alpn_protos -- Looking for SSL_set_alpn_protos - found -- Looking for EVP_aes_128_cfb8 -- Looking for EVP_aes_128_cfb8 - found -- Looking for EVP_aes_128_cfb128 -- Looking for EVP_aes_128_cfb128 - found -- Looking for EVP_aes_192_cfb8 -- Looking for EVP_aes_192_cfb8 - found -- Looking for EVP_aes_192_cfb128 -- Looking for EVP_aes_192_cfb128 - found -- Looking for EVP_aes_256_cfb8 -- Looking for EVP_aes_256_cfb8 - found -- Looking for EVP_aes_256_cfb128 -- Looking for EVP_aes_256_cfb128 - found -- Looking for EVP_aes_128_xts -- Looking for EVP_aes_128_xts - found -- Looking for EVP_aes_128_ofb -- Looking for EVP_aes_128_ofb - found -- Looking for EVP_aes_128_ecb -- Looking for EVP_aes_128_ecb - found -- Looking for EVP_aes_128_ctr -- Looking for EVP_aes_128_ctr - found -- Looking for RSA_verify_pss_mgf1 -- Looking for RSA_verify_pss_mgf1 - not found -- Looking for HMAC_CTX_new -- Looking for HMAC_CTX_new - found -- Looking for EVP_PKEY_new_raw_private_key -- Looking for EVP_PKEY_new_raw_private_key - found -- Looking for SSL_SESSION_set_time -- Looking for SSL_SESSION_set_time - found -- Looking for EC_KEY_new_by_curve_name -- Looking for EC_KEY_new_by_curve_name - found -- Performing Test LWS_HAVE_SSL_EXTRA_CHAIN_CERTS -- Performing Test LWS_HAVE_SSL_EXTRA_CHAIN_CERTS - Success -- Performing Test LWS_HAVE_EVP_MD_CTX_free -- Performing Test LWS_HAVE_EVP_MD_CTX_free - Success -- Performing Test LWS_HAVE_OPENSSL_STACK -- Performing Test LWS_HAVE_OPENSSL_STACK - Success -- Looking for ECDSA_SIG_set0 -- Looking for ECDSA_SIG_set0 - found -- Looking for BN_bn2binpad -- Looking for BN_bn2binpad - found -- Looking for EVP_aes_128_wrap -- Looking for EVP_aes_128_wrap - found -- Looking for EC_POINT_get_affine_coordinates -- Looking for EC_POINT_get_affine_coordinates - found -- Looking for TLS_client_method -- Looking for TLS_client_method - found -- Looking for TLSv1_2_client_method -- Looking for TLSv1_2_client_method - found Searching for OpenSSL executable and dlls OpenSSL executable: /usr/bin/openssl GENCERTS = 0 libuv include dir: /usr/pkg/include libuv libraries: /usr/pkg/lib/libuv.so -- Looking for uv-version.h -- Looking for uv-version.h - not found -- Looking for uv/version.h -- Looking for uv/version.h - found CMake Error at lib/CMakeLists.txt:264 (target_link_libraries): The keyword signature for target_link_libraries has already been used with the target "websockets_shared". All uses of target_link_libraries with a target must be either all-keyword or all-plain. The uses of the keyword signature are here: * lib/CMakeLists.txt:232 (target_link_libraries) DIR /home/pbulk/build/www/libwebsockets/work/libwebsockets-4.3.3/cmake-pkgsrc-build CMP /home/pbulk/build/www/libwebsockets/work/libwebsockets-4.3.3/cmake -- Configuring incomplete, errors occurred! *** Error code 1 Stop. bmake[1]: stopped making "configure" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/www/libwebsockets *** Error code 1 Stop. bmake: stopped making "configure" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/www/libwebsockets