WARNING: [license.mk] Every package should define a LICENSE. ===> Building for upclient-4.2.1.23nb4 /opt/pkg/bin/bmake LDFLAGS='-L/opt/pkg/lib -lkvm' OBJECTS='stats-bsd.c network.c base64.c options.c' CFLAGS='-DPKG_SYSCONFDIR="\"/opt/pkg/etc\"" -pipe -Os -DPLATFORM_BSD -DCONFIGFILE=\"upclient.conf\"' upclient clang -DPKG_SYSCONFDIR="\"/opt/pkg/etc\"" -pipe -Os -DPLATFORM_BSD -DCONFIGFILE=\"upclient.conf\" -L/opt/pkg/lib -lkvm stats-bsd.c network.c base64.c options.c upclient.c -o upclient stats-bsd.c:14:10: fatal error: 'kvm.h' file not found #include ^~~~~~~ 1 error generated. upclient.c:167:24: warning: passing 'char[128]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] s2 = base64_encode(auth); ^~~~ ./base64.h:10:58: note: passing argument to parameter here extern unsigned char *base64_encode(const unsigned char *); ^ upclient.c:167:8: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] s2 = base64_encode(auth); ^ ~~~~~~~~~~~~~~~~~~~ upclient.c:173:297: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] sprintf(header, "POST http://%s%s HTTP/1.1\r\nHost: %s\r\nProxy-Connection: Close\r\nUser-Agent: upclient/%s/uptime-client-%s\r\nProxy-Authorization: Basic %s\r\nContent-type: application/x-www-form-urlencoded\r\nContent-length: %d\r\n\r\n", hostname, url, hostname, PROTOCOL, VERSION, s2, strlen(data) - 1); ~~ ^~~~~~~~~~~~~~~~ %lu /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ upclient.c:175:260: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] sprintf(header, "POST http://%s%s HTTP/1.1\r\nHost: %s\r\nProxy-Connection: Close\r\nUser-Agent: upclient/%s/uptime-client-%s\r\nContent-type: application/x-www-form-urlencoded\r\nContent-length: %d\r\n\r\n", hostname, url, hostname, PROTOCOL, VERSION, strlen(data) - 1); ~~ ^~~~~~~~~~~~~~~~ %lu /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ upclient.c:178:233: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] sprintf(header, "POST %s HTTP/1.1\r\nHost: %s\r\nConnection: Close\r\nUser-Agent: upclient/%s/uptime-client-%s\r\nContent-type: application/x-www-form-urlencoded\r\nContent-length: %d\r\n\r\n", url, hostname, PROTOCOL, VERSION, strlen(data) - 1); ~~ ^~~~~~~~~~~~~~~~ %lu /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ 5 warnings generated. *** [upclient] Error code 1 bmake[1]: stopped making "upclient" in /Users/pbulk/build/net/upclient/work/upclient-4.2.1.23/src bmake[1]: 1 error bmake[1]: stopped making "upclient" in /Users/pbulk/build/net/upclient/work/upclient-4.2.1.23/src *** [bsd] Error code 2 bmake: stopped making "bsd" in /Users/pbulk/build/net/upclient/work/upclient-4.2.1.23/src bmake: 1 error bmake: stopped making "bsd" in /Users/pbulk/build/net/upclient/work/upclient-4.2.1.23/src *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/upclient *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/upclient