===> Building for uacme-1.7.5nb5
echo UNKNOWN > .version-t && mv .version-t .version
/opt/pkg/bin/gmake  all-am
gmake[1]: Entering directory '/Users/pbulk/build/security/uacme/work/uacme-1.7.5'
  CC       uacme-uacme.o
  CC       uacme-base64.o
  CC       uacme-crypto.o
crypto.c:177:22: warning: 'HMAC_CTX_new' is deprecated [-Wdeprecated-declarations]
    HMAC_CTX *hmac = HMAC_CTX_new();
                     ^
/Users/pbulk/build/security/uacme/work/.buildlink/include/openssl/hmac.h:33:1: note: 'HMAC_CTX_new' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void);
^
/Users/pbulk/build/security/uacme/work/.buildlink/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/Users/pbulk/build/security/uacme/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
crypto.c:182:10: warning: 'HMAC_Init_ex' is deprecated [-Wdeprecated-declarations]
    if (!HMAC_Init_ex(hmac, key, keylen, type, NULL)) {
         ^
/Users/pbulk/build/security/uacme/work/.buildlink/include/openssl/hmac.h:43:1: note: 'HMAC_Init_ex' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len,
^
/Users/pbulk/build/security/uacme/work/.buildlink/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/Users/pbulk/build/security/uacme/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
crypto.c:186:10: warning: 'HMAC_Update' is deprecated [-Wdeprecated-declarations]
    if (!HMAC_Update(hmac, input, len)) {
         ^
/Users/pbulk/build/security/uacme/work/.buildlink/include/openssl/hmac.h:45:1: note: 'HMAC_Update' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data,
^
/Users/pbulk/build/security/uacme/work/.buildlink/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/Users/pbulk/build/security/uacme/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
crypto.c:190:10: warning: 'HMAC_Final' is deprecated [-Wdeprecated-declarations]
    if (!HMAC_Final(hmac, output, NULL)) {
         ^
/Users/pbulk/build/security/uacme/work/.buildlink/include/openssl/hmac.h:47:1: note: 'HMAC_Final' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md,
^
/Users/pbulk/build/security/uacme/work/.buildlink/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/Users/pbulk/build/security/uacme/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
crypto.c:197:9: warning: 'HMAC_CTX_free' is deprecated [-Wdeprecated-declarations]
        HMAC_CTX_free(hmac);
        ^
/Users/pbulk/build/security/uacme/work/.buildlink/include/openssl/hmac.h:35:1: note: 'HMAC_CTX_free' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx);
^
/Users/pbulk/build/security/uacme/work/.buildlink/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/Users/pbulk/build/security/uacme/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
crypto.c:561:10: warning: initializing 'RSA *' (aka 'struct rsa_st *') with an expression of type 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    RSA *rsa = EVP_PKEY_get0_RSA(key);
         ^     ~~~~~~~~~~~~~~~~~~~~~~
crypto.c:561:16: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations]
    RSA *rsa = EVP_PKEY_get0_RSA(key);
               ^
/Users/pbulk/build/security/uacme/work/.buildlink/include/openssl/evp.h:1355:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/Users/pbulk/build/security/uacme/work/.buildlink/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/Users/pbulk/build/security/uacme/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
crypto.c:566:5: warning: 'RSA_get0_key' is deprecated [-Wdeprecated-declarations]
    RSA_get0_key(rsa, &bm, &be, NULL);
    ^
/Users/pbulk/build/security/uacme/work/.buildlink/include/openssl/rsa.h:228:1: note: 'RSA_get0_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
^
/Users/pbulk/build/security/uacme/work/.buildlink/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/Users/pbulk/build/security/uacme/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
crypto.c:731:13: warning: initializing 'EC_KEY *' (aka 'struct ec_key_st *') with an expression of type 'const struct ec_key_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    EC_KEY *ec = EVP_PKEY_get0_EC_KEY(key);
            ^    ~~~~~~~~~~~~~~~~~~~~~~~~~
crypto.c:731:18: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated [-Wdeprecated-declarations]
    EC_KEY *ec = EVP_PKEY_get0_EC_KEY(key);
                 ^
/Users/pbulk/build/security/uacme/work/.buildlink/include/openssl/evp.h:1381:1: note: 'EVP_PKEY_get0_EC_KEY' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/Users/pbulk/build/security/uacme/work/.buildlink/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/Users/pbulk/build/security/uacme/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
crypto.c:736:25: warning: 'EC_KEY_get0_group' is deprecated [-Wdeprecated-declarations]
    const EC_GROUP *g = EC_KEY_get0_group(ec);
                        ^
/Users/pbulk/build/security/uacme/work/.buildlink/include/openssl/ec.h:1053:1: note: 'EC_KEY_get0_group' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
^
/Users/pbulk/build/security/uacme/work/.buildlink/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/Users/pbulk/build/security/uacme/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
crypto.c:754:30: warning: 'EC_KEY_get0_public_key' is deprecated [-Wdeprecated-declarations]
    const EC_POINT *pubkey = EC_KEY_get0_public_key(ec);
                             ^
/Users/pbulk/build/security/uacme/work/.buildlink/include/openssl/ec.h:1081:1: note: 'EC_KEY_get0_public_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
^
/Users/pbulk/build/security/uacme/work/.buildlink/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/Users/pbulk/build/security/uacme/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
12 warnings generated.
  CC       uacme-curlwrap.o
  CC       uacme-json.o
  CC       uacme-msg.o
  CCLD     uacme
  CC       ualpn-ualpn.o
ualpn.c:543:10: warning: implicit declaration of function 'sem_timedwait' is invalid in C99 [-Wimplicit-function-declaration]
    rc = sem_timedwait(&g_shm->sem, &ts);
         ^
ualpn.c:836:17: warning: 'BN_pseudo_rand' is deprecated [-Wdeprecated-declarations]
    if (!bn || !BN_pseudo_rand(bn, 127, BN_RAND_TOP_ANY, BN_RAND_BOTTOM_ANY)) {
                ^
/Users/pbulk/build/security/uacme/work/.buildlink/include/openssl/bn.h:230:1: note: 'BN_pseudo_rand' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/Users/pbulk/build/security/uacme/work/.buildlink/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/Users/pbulk/build/security/uacme/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
ualpn.c:3675:13: warning: 'sem_destroy' is deprecated [-Wdeprecated-declarations]
            sem_destroy(&g_shm->logsem);
            ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/semaphore.h:53:26: note: 'sem_destroy' has been explicitly marked deprecated here
int sem_destroy(sem_t *) __deprecated;
                         ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/cdefs.h:204:40: note: expanded from macro '__deprecated'
#define __deprecated    __attribute__((__deprecated__))
                                       ^
ualpn.c:3678:13: warning: 'sem_destroy' is deprecated [-Wdeprecated-declarations]
            sem_destroy(&g_shm->sem);
            ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/semaphore.h:53:26: note: 'sem_destroy' has been explicitly marked deprecated here
int sem_destroy(sem_t *) __deprecated;
                         ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/cdefs.h:204:40: note: expanded from macro '__deprecated'
#define __deprecated    __attribute__((__deprecated__))
                                       ^
ualpn.c:4713:9: warning: 'sem_init' is deprecated [-Wdeprecated-declarations]
    if (sem_init(&g_shm->sem, 1, 1)) {
        ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/semaphore.h:55:42: note: 'sem_init' has been explicitly marked deprecated here
int sem_init(sem_t *, int, unsigned int) __deprecated;
                                         ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/cdefs.h:204:40: note: expanded from macro '__deprecated'
#define __deprecated    __attribute__((__deprecated__))
                                       ^
ualpn.c:4718:9: warning: 'sem_init' is deprecated [-Wdeprecated-declarations]
    if (sem_init(&g_shm->logsem, 1, 1)) {
        ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/semaphore.h:55:42: note: 'sem_init' has been explicitly marked deprecated here
int sem_init(sem_t *, int, unsigned int) __deprecated;
                                         ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/cdefs.h:204:40: note: expanded from macro '__deprecated'
#define __deprecated    __attribute__((__deprecated__))
                                       ^
6 warnings generated.
  CC       ualpn-base64.o
  CC       ualpn-log.o
  CCLD     ualpn
Undefined symbols for architecture arm64:
  "_sem_timedwait", referenced from:
      _auth_lock in ualpn-ualpn.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [Makefile:557: ualpn] Error 1
gmake[1]: Leaving directory '/Users/pbulk/build/security/uacme/work/uacme-1.7.5'
gmake: *** [Makefile:440: all] Error 2
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/security/uacme
*** Error code 1

Stop.
bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/security/uacme