=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for meson-tools-0.1nb1 clang -g -o amlbootsig.o -c amlbootsig.c amlbootsig.c:110:3: warning: 'SHA256_Init' is deprecated [-Wdeprecated-declarations] SHA256_Init(&sha256_ctx); ^ /Users/pbulk/build/sysutils/meson-tools/work/.buildlink/include/openssl/sha.h:73:1: note: 'SHA256_Init' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); ^ /Users/pbulk/build/sysutils/meson-tools/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/sysutils/meson-tools/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ amlbootsig.c:111:3: warning: 'SHA256_Update' is deprecated [-Wdeprecated-declarations] SHA256_Update(&sha256_ctx, buf, fip_hdr.header_size); ^ /Users/pbulk/build/sysutils/meson-tools/work/.buildlink/include/openssl/sha.h:74:1: note: 'SHA256_Update' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, ^ /Users/pbulk/build/sysutils/meson-tools/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/sysutils/meson-tools/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ amlbootsig.c:112:3: warning: 'SHA256_Update' is deprecated [-Wdeprecated-declarations] SHA256_Update(&sha256_ctx, buf + fip_hdr.data_offset, 0); ^ /Users/pbulk/build/sysutils/meson-tools/work/.buildlink/include/openssl/sha.h:74:1: note: 'SHA256_Update' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, ^ /Users/pbulk/build/sysutils/meson-tools/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/sysutils/meson-tools/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ amlbootsig.c:115:15: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strncmp(buf + 16, "@AML", 4) == 0) { ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here int strncmp(const char *__s1, const char *__s2, size_t __n); ^ amlbootsig.c:119:3: warning: 'SHA256_Update' is deprecated [-Wdeprecated-declarations] SHA256_Update(&sha256_ctx, buf, len); ^ /Users/pbulk/build/sysutils/meson-tools/work/.buildlink/include/openssl/sha.h:74:1: note: 'SHA256_Update' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, ^ /Users/pbulk/build/sysutils/meson-tools/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/sysutils/meson-tools/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ amlbootsig.c:125:4: warning: 'SHA256_Update' is deprecated [-Wdeprecated-declarations] SHA256_Update(&sha256_ctx, buf, ROUND_UP(len, 16)); ^ /Users/pbulk/build/sysutils/meson-tools/work/.buildlink/include/openssl/sha.h:74:1: note: 'SHA256_Update' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, ^ /Users/pbulk/build/sysutils/meson-tools/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/sysutils/meson-tools/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ amlbootsig.c:128:3: warning: 'SHA256_Final' is deprecated [-Wdeprecated-declarations] SHA256_Final(sha256_digest, &sha256_ctx); ^ /Users/pbulk/build/sysutils/meson-tools/work/.buildlink/include/openssl/sha.h:76:1: note: 'SHA256_Final' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); ^ /Users/pbulk/build/sysutils/meson-tools/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/sysutils/meson-tools/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ amlbootsig.c:207:14: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strncmp(src_buf + 16, "@AML", 4) == 0) { ^~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here int strncmp(const char *__s1, const char *__s2, size_t __n); ^ amlbootsig.c:235:2: warning: 'SHA256_Init' is deprecated [-Wdeprecated-declarations] SHA256_Init(&sha256_ctx); ^ /Users/pbulk/build/sysutils/meson-tools/work/.buildlink/include/openssl/sha.h:73:1: note: 'SHA256_Init' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); ^ /Users/pbulk/build/sysutils/meson-tools/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/sysutils/meson-tools/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ amlbootsig.c:236:2: warning: 'SHA256_Update' is deprecated [-Wdeprecated-declarations] SHA256_Update(&sha256_ctx, buf, hdr.header_size); ^ /Users/pbulk/build/sysutils/meson-tools/work/.buildlink/include/openssl/sha.h:74:1: note: 'SHA256_Update' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, ^ /Users/pbulk/build/sysutils/meson-tools/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/sysutils/meson-tools/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ amlbootsig.c:237:2: warning: 'SHA256_Update' is deprecated [-Wdeprecated-declarations] SHA256_Update(&sha256_ctx, buf + hdr.data_offset, hdr._offset2); ^ /Users/pbulk/build/sysutils/meson-tools/work/.buildlink/include/openssl/sha.h:74:1: note: 'SHA256_Update' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, ^ /Users/pbulk/build/sysutils/meson-tools/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/sysutils/meson-tools/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ amlbootsig.c:239:2: warning: 'SHA256_Final' is deprecated [-Wdeprecated-declarations] SHA256_Final(sha256_digest, &sha256_ctx); ^ /Users/pbulk/build/sysutils/meson-tools/work/.buildlink/include/openssl/sha.h:76:1: note: 'SHA256_Final' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); ^ /Users/pbulk/build/sysutils/meson-tools/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/sysutils/meson-tools/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ 12 warnings generated. clang -g -o amlbootsig amlbootsig.o -lcrypto ld: library 'crypto' not found clang: error: linker command failed with exit code 1 (use -v to see invocation) gmake: *** [Makefile:12: amlbootsig] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/sysutils/meson-tools *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/sysutils/meson-tools