===> Building for sayaka-3.8.1 (cd src; /opt/pkg/bin/bmake sayaka) clang -pipe -Os -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/webp -I.. -c diag.c -o diag.o clang -pipe -Os -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/webp -I.. -c httpclient.c -o httpclient.o clang -pipe -Os -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/webp -I.. -c image_blurhash.c -o image_blurhash.o clang -pipe -Os -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/webp -I.. -c image_sixel.c -o image_sixel.o clang -pipe -Os -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/webp -I.. -c image_stb.c -o image_stb.o clang -pipe -Os -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/webp -I.. -c image_webp.c -o image_webp.o image_webp.c:67:6: warning: implicit declaration of function 'be32toh' is invalid in C99 [-Wimplicit-function-declaration] if (be32toh(buf[0]) != (('R' << 24) | ('I' << 16) | ('F' << 8) | 'F')) { ^ 1 warning generated. clang -pipe -Os -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/webp -I.. -c net.c -o net.o clang -pipe -Os -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/webp -I.. -c pstream.c -o pstream.o clang -pipe -Os -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/webp -I.. -c string.c -o string.o clang -pipe -Os -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/webp -I.. -c util.c -o util.o clang -pipe -Os -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/webp -I.. -c eaw_data.c -o eaw_data.o clang -pipe -Os -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/webp -I.. -c json.c -o json.o clang -pipe -Os -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/webp -I.. -c mathalpha.c -o mathalpha.o clang -pipe -Os -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/webp -I.. -c misskey.c -o misskey.o clang -pipe -Os -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/webp -I.. -c print.c -o print.o clang -pipe -Os -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/webp -I.. -c subr.c -o subr.o clang -pipe -Os -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/webp -I.. -c terminal.c -o terminal.o clang -pipe -Os -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/webp -I.. -c ustring.c -o ustring.o ustring.c:285:14: warning: passing 'const char **' to parameter of type 'char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] size_t r = ICONV(cd, &src, &srcleft, &tmp, &tmpleft); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./header.h:106:49: note: expanded from macro 'ICONV' #define ICONV(cd, s, slen, d, dlen) iconv((cd), (s), (slen), (d), (dlen)) ^~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/iconv.h:75:79: note: passing argument to parameter '__inbuf' here extern __LIBICONV_DLL_EXPORTED size_t iconv (iconv_t __cd, char* * __restrict __inbuf, size_t * __restrict __inbytesleft, char* * __restrict __outbuf, size_t * __restrict __outbytesleft); ^ 1 warning generated. clang -pipe -Os -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/webp -I.. -c wsclient.c -o wsclient.o clang -pipe -Os -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/webp -I.. -c image.c -o image.o.sayaka.o clang -pipe -Os -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/webp -I.. -c sayaka.c -o sayaka.o rm -f libcommon.a ar r libcommon.a diag.o httpclient.o image_blurhash.o image_sixel.o image_stb.o image_webp.o net.o pstream.o string.o util.o ar: creating archive libcommon.a rm -f libsayaka.a ar r libsayaka.a eaw_data.o json.o mathalpha.o misskey.o print.o subr.o terminal.o ustring.o wsclient.o image.o.sayaka.o ar: creating archive libsayaka.a clang -L/opt/pkg/lib -o sayaka sayaka.o libsayaka.a libcommon.a -L/opt/pkg/lib -lwebp -lwebpdemux -lssl -lcrypto -liconv -lm Undefined symbols for architecture arm64: "_be32toh", referenced from: _image_webp_match in libcommon.a(image_webp.o) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) *** [sayaka] Error code 1 bmake[1]: stopped making "sayaka" in /Users/pbulk/build/net/sayaka/work/sayaka-3.8.1/src bmake[1]: 1 error bmake[1]: stopped making "sayaka" in /Users/pbulk/build/net/sayaka/work/sayaka-3.8.1/src *** [sayaka] Error code 2 bmake: stopped making "sayaka" in /Users/pbulk/build/net/sayaka/work/sayaka-3.8.1 bmake: 1 error bmake: stopped making "sayaka" in /Users/pbulk/build/net/sayaka/work/sayaka-3.8.1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/net/sayaka *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/net/sayaka