+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/android-tools-adb-5.1.1.29/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/android-tools-adb-5.1.1.29/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for android-tools-adb-5.1.1.29 cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libusb-1.0 -I/usr/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 cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libusb-1.0 -I/usr/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 cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libusb-1.0 -I/usr/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 cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libusb-1.0 -I/usr/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 adb_auth_host.c: In function 'RSA_to_RSAPublicKey': adb_auth_host.c:94:5: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] if (RSA_size(rsa) != RSANUMBYTES) { ^~ In file included from /home/pbulk/build/devel/android-tools-adb/work/.buildlink/include/openssl/x509.h:36, from /home/pbulk/build/devel/android-tools-adb/work/.buildlink/include/openssl/pem.h:23, from adb_auth_host.c:47: /home/pbulk/build/devel/android-tools-adb/work/.buildlink/include/openssl/rsa.h:215:27: note: declared here OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); ^~~~~~~~ adb_auth_host.c:100:5: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] RSA_get0_key(rsa, &getter1, NULL, NULL); ^~~~~~~~~~~~ In file included from /home/pbulk/build/devel/android-tools-adb/work/.buildlink/include/openssl/x509.h:36, from /home/pbulk/build/devel/android-tools-adb/work/.buildlink/include/openssl/pem.h:23, from adb_auth_host.c:47: /home/pbulk/build/devel/android-tools-adb/work/.buildlink/include/openssl/rsa.h:228:28: note: declared here OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, ^~~~~~~~~~~~ adb_auth_host.c:115:5: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] RSA_get0_key(rsa, NULL, &getter2, NULL); ^~~~~~~~~~~~ In file included from /home/pbulk/build/devel/android-tools-adb/work/.buildlink/include/openssl/x509.h:36, from /home/pbulk/build/devel/android-tools-adb/work/.buildlink/include/openssl/pem.h:23, from adb_auth_host.c:47: /home/pbulk/build/devel/android-tools-adb/work/.buildlink/include/openssl/rsa.h:228:28: note: declared here OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, ^~~~~~~~~~~~ adb_auth_host.c: In function 'generate_key': adb_auth_host.c:214:5: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] RSA* rsa = RSA_new(); ^~~ In file included from /home/pbulk/build/devel/android-tools-adb/work/.buildlink/include/openssl/x509.h:36, from /home/pbulk/build/devel/android-tools-adb/work/.buildlink/include/openssl/pem.h:23, from adb_auth_host.c:47: /home/pbulk/build/devel/android-tools-adb/work/.buildlink/include/openssl/rsa.h:212:28: note: declared here OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); ^~~~~~~ adb_auth_host.c:227:5: warning: 'RSA_generate_key_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] RSA_generate_key_ex(rsa, 2048, exponent, NULL); ^~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/devel/android-tools-adb/work/.buildlink/include/openssl/x509.h:36, from /home/pbulk/build/devel/android-tools-adb/work/.buildlink/include/openssl/pem.h:23, from adb_auth_host.c:47: /home/pbulk/build/devel/android-tools-adb/work/.buildlink/include/openssl/rsa.h:271:27: note: declared here OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, ^~~~~~~~~~~~~~~~~~~ adb_auth_host.c:228:5: warning: 'EVP_PKEY_set1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] EVP_PKEY_set1_RSA(pkey, rsa); ^~~~~~~~~~~~~~~~~ In file included from adb_auth_host.c:45: /home/pbulk/build/devel/android-tools-adb/work/.buildlink/include/openssl/evp.h:1354:5: note: declared here int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key); ^~~~~~~~~~~~~~~~~ adb_auth_host.c:257:5: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] RSA_free(rsa); ^~~~~~~~ In file included from /home/pbulk/build/devel/android-tools-adb/work/.buildlink/include/openssl/x509.h:36, from /home/pbulk/build/devel/android-tools-adb/work/.buildlink/include/openssl/pem.h:23, from adb_auth_host.c:47: /home/pbulk/build/devel/android-tools-adb/work/.buildlink/include/openssl/rsa.h:304:28: note: declared here OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); ^~~~~~~~ adb_auth_host.c: In function 'read_key': adb_auth_host.c:281:5: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] key->rsa = RSA_new(); ^~~ In file included from /home/pbulk/build/devel/android-tools-adb/work/.buildlink/include/openssl/x509.h:36, from /home/pbulk/build/devel/android-tools-adb/work/.buildlink/include/openssl/pem.h:23, from adb_auth_host.c:47: /home/pbulk/build/devel/android-tools-adb/work/.buildlink/include/openssl/rsa.h:212:28: note: declared here OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); ^~~~~~~ adb_auth_host.c:283:5: warning: 'PEM_read_RSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] if (!PEM_read_RSAPrivateKey(f, &key->rsa, NULL, NULL)) { ^~ In file included from adb_auth_host.c:47: /home/pbulk/build/devel/android-tools-adb/work/.buildlink/include/openssl/pem.h:74:11: note: declared here type *PEM_##readname##_##name(INTYPE *out, type **x, \ ^~~~ /home/pbulk/build/devel/android-tools-adb/work/.buildlink/include/openssl/pem.h:238:10: note: in expansion of macro 'PEM_read_cb_fnsig' attr PEM_read_cb_fnsig(name, type, FILE, read); ^~~~~~~~~~~~~~~~~ /home/pbulk/build/devel/android-tools-adb/work/.buildlink/include/openssl/pem.h:337:5: note: in expansion of macro 'DECLARE_PEM_read_fp_attr' DECLARE_PEM_read_fp_attr(attr, name, type) ^~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/devel/android-tools-adb/work/.buildlink/include/openssl/pem.h:363:5: note: in expansion of macro 'DECLARE_PEM_read_attr' DECLARE_PEM_read_attr(attr, name, type) \ ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/devel/android-tools-adb/work/.buildlink/include/openssl/pem.h:451:1: note: in expansion of macro 'DECLARE_PEM_rw_cb_attr' DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) ^~~~~~~~~~~~~~~~~~~~~~ adb_auth_host.c:286:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] RSA_free(key->rsa); ^~~~~~~~ In file included from /home/pbulk/build/devel/android-tools-adb/work/.buildlink/include/openssl/x509.h:36, from /home/pbulk/build/devel/android-tools-adb/work/.buildlink/include/openssl/pem.h:23, from adb_auth_host.c:47: /home/pbulk/build/devel/android-tools-adb/work/.buildlink/include/openssl/rsa.h:304:28: note: declared here OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); ^~~~~~~~ adb_auth_host.c: In function 'adb_auth_sign': adb_auth_host.c:387:5: warning: 'RSA_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] if (!RSA_sign(NID_sha1, token, token_size, sig, &len, key->rsa)) { ^~ In file included from /home/pbulk/build/devel/android-tools-adb/work/.buildlink/include/openssl/x509.h:36, from /home/pbulk/build/devel/android-tools-adb/work/.buildlink/include/openssl/pem.h:23, from adb_auth_host.c:47: /home/pbulk/build/devel/android-tools-adb/work/.buildlink/include/openssl/rsa.h:359:27: note: declared here OSSL_DEPRECATEDIN_3_0 int RSA_sign(int type, const unsigned char *m, ^~~~~~~~ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libusb-1.0 -I/usr/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 cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libusb-1.0 -I/usr/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 cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libusb-1.0 -I/usr/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 cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libusb-1.0 -I/usr/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 cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libusb-1.0 -I/usr/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 cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libusb-1.0 -I/usr/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 cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libusb-1.0 -I/usr/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 cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libusb-1.0 -I/usr/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 cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libusb-1.0 -I/usr/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 cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libusb-1.0 -I/usr/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: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. gmake: *** [: usb_libusb.o] Error 1 gmake: *** Waiting for unfinished jobs.... *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/devel/android-tools-adb *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/devel/android-tools-adb