===> Building for android-tools-adb-5.1.1.29
clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libusb-1.0 -I/opt/pkg/include -DADB_HOST=1 -DHAVE_FORKEXEC=1 -DHAVE_SYMLINKS -DHAVE_TERMIO_H -DHAVE_SYS_SOCKET_H -D_FILE_OFFSET_BITS=64 -I. -I../include  -c -o adb.o adb.c
clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libusb-1.0 -I/opt/pkg/include -DADB_HOST=1 -DHAVE_FORKEXEC=1 -DHAVE_SYMLINKS -DHAVE_TERMIO_H -DHAVE_SYS_SOCKET_H -D_FILE_OFFSET_BITS=64 -I. -I../include  -c -o adb_client.o adb_client.c
clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libusb-1.0 -I/opt/pkg/include -DADB_HOST=1 -DHAVE_FORKEXEC=1 -DHAVE_SYMLINKS -DHAVE_TERMIO_H -DHAVE_SYS_SOCKET_H -D_FILE_OFFSET_BITS=64 -I. -I../include  -c -o adb_auth_host.o adb_auth_host.c
adb_auth_host.c:94:9: warning: 'RSA_size' is deprecated [-Wdeprecated-declarations]
    if (RSA_size(rsa) != RSANUMBYTES) {
        ^
/Users/pbulk/build/devel/android-tools-adb/work/.buildlink/include/openssl/rsa.h:215:1: note: 'RSA_size' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
^
/Users/pbulk/build/devel/android-tools-adb/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/devel/android-tools-adb/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
adb_auth_host.c:100:5: warning: 'RSA_get0_key' is deprecated [-Wdeprecated-declarations]
    RSA_get0_key(rsa, &getter1, NULL, NULL);
    ^
/Users/pbulk/build/devel/android-tools-adb/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/devel/android-tools-adb/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/devel/android-tools-adb/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
adb_auth_host.c:115:5: warning: 'RSA_get0_key' is deprecated [-Wdeprecated-declarations]
    RSA_get0_key(rsa, NULL, &getter2, NULL);
    ^
/Users/pbulk/build/devel/android-tools-adb/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/devel/android-tools-adb/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/devel/android-tools-adb/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
adb_auth_host.c:214:16: warning: 'RSA_new' is deprecated [-Wdeprecated-declarations]
    RSA* rsa = RSA_new();
               ^
/Users/pbulk/build/devel/android-tools-adb/work/.buildlink/include/openssl/rsa.h:212:1: note: 'RSA_new' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
^
/Users/pbulk/build/devel/android-tools-adb/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/devel/android-tools-adb/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
adb_auth_host.c:227:5: warning: 'RSA_generate_key_ex' is deprecated [-Wdeprecated-declarations]
    RSA_generate_key_ex(rsa, 2048, exponent, NULL);
    ^
/Users/pbulk/build/devel/android-tools-adb/work/.buildlink/include/openssl/rsa.h:271:1: note: 'RSA_generate_key_ex' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e,
^
/Users/pbulk/build/devel/android-tools-adb/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/devel/android-tools-adb/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
adb_auth_host.c:228:5: warning: 'EVP_PKEY_set1_RSA' is deprecated [-Wdeprecated-declarations]
    EVP_PKEY_set1_RSA(pkey, rsa);
    ^
/Users/pbulk/build/devel/android-tools-adb/work/.buildlink/include/openssl/evp.h:1353:1: note: 'EVP_PKEY_set1_RSA' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/Users/pbulk/build/devel/android-tools-adb/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/devel/android-tools-adb/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
adb_auth_host.c:257:5: warning: 'RSA_free' is deprecated [-Wdeprecated-declarations]
    RSA_free(rsa);
    ^
/Users/pbulk/build/devel/android-tools-adb/work/.buildlink/include/openssl/rsa.h:304:1: note: 'RSA_free' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
^
/Users/pbulk/build/devel/android-tools-adb/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/devel/android-tools-adb/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
adb_auth_host.c:281:16: warning: 'RSA_new' is deprecated [-Wdeprecated-declarations]
    key->rsa = RSA_new();
               ^
/Users/pbulk/build/devel/android-tools-adb/work/.buildlink/include/openssl/rsa.h:212:1: note: 'RSA_new' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
^
/Users/pbulk/build/devel/android-tools-adb/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/devel/android-tools-adb/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
adb_auth_host.c:283:10: warning: 'PEM_read_RSAPrivateKey' is deprecated [-Wdeprecated-declarations]
    if (!PEM_read_RSAPrivateKey(f, &key->rsa, NULL, NULL)) {
         ^
/Users/pbulk/build/devel/android-tools-adb/work/.buildlink/include/openssl/pem.h:451:24: note: 'PEM_read_RSAPrivateKey' has been explicitly marked deprecated here
DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA)
                       ^
/Users/pbulk/build/devel/android-tools-adb/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/devel/android-tools-adb/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
adb_auth_host.c:286:9: warning: 'RSA_free' is deprecated [-Wdeprecated-declarations]
        RSA_free(key->rsa);
        ^
/Users/pbulk/build/devel/android-tools-adb/work/.buildlink/include/openssl/rsa.h:304:1: note: 'RSA_free' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
^
/Users/pbulk/build/devel/android-tools-adb/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/devel/android-tools-adb/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
adb_auth_host.c:387:10: warning: 'RSA_sign' is deprecated [-Wdeprecated-declarations]
    if (!RSA_sign(NID_sha1, token, token_size, sig, &len, key->rsa)) {
         ^
/Users/pbulk/build/devel/android-tools-adb/work/.buildlink/include/openssl/rsa.h:359:1: note: 'RSA_sign' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int RSA_sign(int type, const unsigned char *m,
^
/Users/pbulk/build/devel/android-tools-adb/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/devel/android-tools-adb/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
11 warnings generated.
clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libusb-1.0 -I/opt/pkg/include -DADB_HOST=1 -DHAVE_FORKEXEC=1 -DHAVE_SYMLINKS -DHAVE_TERMIO_H -DHAVE_SYS_SOCKET_H -D_FILE_OFFSET_BITS=64 -I. -I../include  -c -o commandline.o commandline.c
clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libusb-1.0 -I/opt/pkg/include -DADB_HOST=1 -DHAVE_FORKEXEC=1 -DHAVE_SYMLINKS -DHAVE_TERMIO_H -DHAVE_SYS_SOCKET_H -D_FILE_OFFSET_BITS=64 -I. -I../include  -c -o console.o console.c
clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libusb-1.0 -I/opt/pkg/include -DADB_HOST=1 -DHAVE_FORKEXEC=1 -DHAVE_SYMLINKS -DHAVE_TERMIO_H -DHAVE_SYS_SOCKET_H -D_FILE_OFFSET_BITS=64 -I. -I../include  -c -o file_sync_client.o file_sync_client.c
clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libusb-1.0 -I/opt/pkg/include -DADB_HOST=1 -DHAVE_FORKEXEC=1 -DHAVE_SYMLINKS -DHAVE_TERMIO_H -DHAVE_SYS_SOCKET_H -D_FILE_OFFSET_BITS=64 -I. -I../include  -c -o fdevent.o fdevent.c
clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libusb-1.0 -I/opt/pkg/include -DADB_HOST=1 -DHAVE_FORKEXEC=1 -DHAVE_SYMLINKS -DHAVE_TERMIO_H -DHAVE_SYS_SOCKET_H -D_FILE_OFFSET_BITS=64 -I. -I../include  -c -o get_my_path_linux.o get_my_path_linux.c
clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libusb-1.0 -I/opt/pkg/include -DADB_HOST=1 -DHAVE_FORKEXEC=1 -DHAVE_SYMLINKS -DHAVE_TERMIO_H -DHAVE_SYS_SOCKET_H -D_FILE_OFFSET_BITS=64 -I. -I../include  -c -o services.o services.c
clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libusb-1.0 -I/opt/pkg/include -DADB_HOST=1 -DHAVE_FORKEXEC=1 -DHAVE_SYMLINKS -DHAVE_TERMIO_H -DHAVE_SYS_SOCKET_H -D_FILE_OFFSET_BITS=64 -I. -I../include  -c -o sockets.o sockets.c
clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libusb-1.0 -I/opt/pkg/include -DADB_HOST=1 -DHAVE_FORKEXEC=1 -DHAVE_SYMLINKS -DHAVE_TERMIO_H -DHAVE_SYS_SOCKET_H -D_FILE_OFFSET_BITS=64 -I. -I../include  -c -o transport.o transport.c
clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libusb-1.0 -I/opt/pkg/include -DADB_HOST=1 -DHAVE_FORKEXEC=1 -DHAVE_SYMLINKS -DHAVE_TERMIO_H -DHAVE_SYS_SOCKET_H -D_FILE_OFFSET_BITS=64 -I. -I../include  -c -o transport_local.o transport_local.c
clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libusb-1.0 -I/opt/pkg/include -DADB_HOST=1 -DHAVE_FORKEXEC=1 -DHAVE_SYMLINKS -DHAVE_TERMIO_H -DHAVE_SYS_SOCKET_H -D_FILE_OFFSET_BITS=64 -I. -I../include  -c -o transport_usb.o transport_usb.c
clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libusb-1.0 -I/opt/pkg/include -DADB_HOST=1 -DHAVE_FORKEXEC=1 -DHAVE_SYMLINKS -DHAVE_TERMIO_H -DHAVE_SYS_SOCKET_H -D_FILE_OFFSET_BITS=64 -I. -I../include  -c -o usb_libusb.o usb_libusb.c
usb_libusb.c:20:10: fatal error: 'sys/endian.h' file not found
#include <sys/endian.h>
         ^~~~~~~~~~~~~~
1 error generated.
gmake: *** [<builtin>: usb_libusb.o] Error 1
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/devel/android-tools-adb
*** Error code 1

Stop.
bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/devel/android-tools-adb