===> Building for dtorrent-3.3.2nb5 /opt/pkg/bin/bmake all-am if clang++ -DHAVE_CONFIG_H -I. -I. -I. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/openssl -I/opt/pkg/include/ssl -I/opt/pkg -pipe -Os -I/opt/pkg/include -MT bencode.o -MD -MP -MF ".deps/bencode.Tpo" -c -o bencode.o bencode.cpp; then mv -f ".deps/bencode.Tpo" ".deps/bencode.Po"; else rm -f ".deps/bencode.Tpo"; exit 1; fi if clang++ -DHAVE_CONFIG_H -I. -I. -I. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/openssl -I/opt/pkg/include/ssl -I/opt/pkg -pipe -Os -I/opt/pkg/include -MT bitfield.o -MD -MP -MF ".deps/bitfield.Tpo" -c -o bitfield.o bitfield.cpp; then mv -f ".deps/bitfield.Tpo" ".deps/bitfield.Po"; else rm -f ".deps/bitfield.Tpo"; exit 1; fi if clang++ -DHAVE_CONFIG_H -I. -I. -I. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/openssl -I/opt/pkg/include/ssl -I/opt/pkg -pipe -Os -I/opt/pkg/include -MT btconfig.o -MD -MP -MF ".deps/btconfig.Tpo" -c -o btconfig.o btconfig.cpp; then mv -f ".deps/btconfig.Tpo" ".deps/btconfig.Po"; else rm -f ".deps/btconfig.Tpo"; exit 1; fi if clang++ -DHAVE_CONFIG_H -I. -I. -I. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/openssl -I/opt/pkg/include/ssl -I/opt/pkg -pipe -Os -I/opt/pkg/include -MT btcontent.o -MD -MP -MF ".deps/btcontent.Tpo" -c -o btcontent.o btcontent.cpp; then mv -f ".deps/btcontent.Tpo" ".deps/btcontent.Po"; else rm -f ".deps/btcontent.Tpo"; exit 1; fi btcontent.cpp:71:3: warning: 'SHA1_Init' is deprecated [-Wdeprecated-declarations] SHA1_Init(&context); ^ /Users/pbulk/build/net/dtorrent/work/.buildlink/include/openssl/sha.h:49:1: note: 'SHA1_Init' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); ^ /Users/pbulk/build/net/dtorrent/work/.buildlink/include/openssl/macros.h:206:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/pbulk/build/net/dtorrent/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ btcontent.cpp:72:3: warning: 'SHA1_Update' is deprecated [-Wdeprecated-declarations] SHA1_Update(&context,(unsigned char*)ptr,len); ^ /Users/pbulk/build/net/dtorrent/work/.buildlink/include/openssl/sha.h:50:1: note: 'SHA1_Update' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); ^ /Users/pbulk/build/net/dtorrent/work/.buildlink/include/openssl/macros.h:206:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/pbulk/build/net/dtorrent/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ btcontent.cpp:73:3: warning: 'SHA1_Final' is deprecated [-Wdeprecated-declarations] SHA1_Final(dm,&context); ^ /Users/pbulk/build/net/dtorrent/work/.buildlink/include/openssl/sha.h:51:1: note: 'SHA1_Final' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); ^ /Users/pbulk/build/net/dtorrent/work/.buildlink/include/openssl/macros.h:206:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/pbulk/build/net/dtorrent/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ btcontent.cpp:293:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( r = meta_pos("announce-list") ){ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ btcontent.cpp:293:9: note: place parentheses around the assignment to silence this warning if( r = meta_pos("announce-list") ){ ^ ( ) btcontent.cpp:293:9: note: use '==' to turn this assignment into an equality comparison if( r = meta_pos("announce-list") ){ ^ == btcontent.cpp:296:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( q = decode_list(b+r, flen-r, (char *)0) ){ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ btcontent.cpp:296:11: note: place parentheses around the assignment to silence this warning if( q = decode_list(b+r, flen-r, (char *)0) ){ ^ ( ) btcontent.cpp:296:11: note: use '==' to turn this assignment into an equality comparison if( q = decode_list(b+r, flen-r, (char *)0) ){ ^ == btcontent.cpp:320:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( m_comment = new char[r + 1] ){ ~~~~~~~~~~^~~~~~~~~~~~~~~~~ btcontent.cpp:320:19: note: place parentheses around the assignment to silence this warning if( m_comment = new char[r + 1] ){ ^ ( ) btcontent.cpp:320:19: note: use '==' to turn this assignment into an equality comparison if( m_comment = new char[r + 1] ){ ^ == btcontent.cpp:326:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( m_created_by = new char[r + 1] ){ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ btcontent.cpp:326:22: note: place parentheses around the assignment to silence this warning if( m_created_by = new char[r + 1] ){ ^ ( ) btcontent.cpp:326:22: note: use '==' to turn this assignment into an equality comparison if( m_created_by = new char[r + 1] ){ ^ == btcontent.cpp:689:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( slowest = WORLD.GetSlowestUp(slowest) ) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ btcontent.cpp:689:19: note: place parentheses around the assignment to silence this warning if( slowest = WORLD.GetSlowestUp(slowest) ) ^ ( ) btcontent.cpp:689:19: note: use '==' to turn this assignment into an equality comparison if( slowest = WORLD.GetSlowestUp(slowest) ) ^ == btcontent.cpp:702:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( slowest = WORLD.GetSlowestUp(slowest) ) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ btcontent.cpp:702:19: note: place parentheses around the assignment to silence this warning if( slowest = WORLD.GetSlowestUp(slowest) ) ^ ( ) btcontent.cpp:702:19: note: use '==' to turn this assignment into an equality comparison if( slowest = WORLD.GetSlowestUp(slowest) ) ^ == btcontent.cpp:713:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( slowest = WORLD.GetSlowestUp(slowest) ){ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ btcontent.cpp:713:19: note: place parentheses around the assignment to silence this warning if( slowest = WORLD.GetSlowestUp(slowest) ){ ^ ( ) btcontent.cpp:713:19: note: use '==' to turn this assignment into an equality comparison if( slowest = WORLD.GetSlowestUp(slowest) ){ ^ == btcontent.cpp:764:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ btcontent.cpp:1309:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( pt = strstr(pt, "&t") ){ nt++; pt+=2; } ~~~^~~~~~~~~~~~~~~~~~ btcontent.cpp:1309:13: note: place parentheses around the assignment to silence this warning while( pt = strstr(pt, "&t") ){ nt++; pt+=2; } ^ ( ) btcontent.cpp:1309:13: note: use '==' to turn this assignment into an equality comparison while( pt = strstr(pt, "&t") ){ nt++; pt+=2; } ^ == btcontent.cpp:1310:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( pd = strstr(pd, "&d") ){ nd++; pd+=2; } ~~~^~~~~~~~~~~~~~~~~~ btcontent.cpp:1310:13: note: place parentheses around the assignment to silence this warning while( pd = strstr(pd, "&d") ){ nd++; pd+=2; } ^ ( ) btcontent.cpp:1310:13: note: use '==' to turn this assignment into an equality comparison while( pd = strstr(pd, "&d") ){ nd++; pd+=2; } ^ == btcontent.cpp:1311:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( pw = strstr(pw, "&w") ){ nw++; pw+=2; } ~~~^~~~~~~~~~~~~~~~~~ btcontent.cpp:1311:13: note: place parentheses around the assignment to silence this warning while( pw = strstr(pw, "&w") ){ nw++; pw+=2; } ^ ( ) btcontent.cpp:1311:13: note: use '==' to turn this assignment into an equality comparison while( pw = strstr(pw, "&w") ){ nw++; pw+=2; } ^ == 14 warnings generated. if clang++ -DHAVE_CONFIG_H -I. -I. -I. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/openssl -I/opt/pkg/include/ssl -I/opt/pkg -pipe -Os -I/opt/pkg/include -MT btfiles.o -MD -MP -MF ".deps/btfiles.Tpo" -c -o btfiles.o btfiles.cpp; then mv -f ".deps/btfiles.Tpo" ".deps/btfiles.Po"; else rm -f ".deps/btfiles.Tpo"; exit 1; fi btfiles.cpp:490:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( f_conv = ConvertFilename(tmpfn, path, strlen(path)*2+5) ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ btfiles.cpp:490:18: note: place parentheses around the assignment to silence this warning if( f_conv = ConvertFilename(tmpfn, path, strlen(path)*2+5) ){ ^ ( ) btfiles.cpp:490:18: note: use '==' to turn this assignment into an equality comparison if( f_conv = ConvertFilename(tmpfn, path, strlen(path)*2+5) ){ ^ == btfiles.cpp:539:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( f_conv = ConvertFilename(tmpfn, path, strlen(path)*2+5) ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ btfiles.cpp:539:18: note: place parentheses around the assignment to silence this warning if( f_conv = ConvertFilename(tmpfn, path, strlen(path)*2+5) ){ ^ ( ) btfiles.cpp:539:18: note: use '==' to turn this assignment into an equality comparison if( f_conv = ConvertFilename(tmpfn, path, strlen(path)*2+5) ){ ^ == 2 warnings generated. if clang++ -DHAVE_CONFIG_H -I. -I. -I. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/openssl -I/opt/pkg/include/ssl -I/opt/pkg -pipe -Os -I/opt/pkg/include -MT btrequest.o -MD -MP -MF ".deps/btrequest.Tpo" -c -o btrequest.o btrequest.cpp; then mv -f ".deps/btrequest.Tpo" ".deps/btrequest.Po"; else rm -f ".deps/btrequest.Tpo"; exit 1; fi if clang++ -DHAVE_CONFIG_H -I. -I. -I. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/openssl -I/opt/pkg/include/ssl -I/opt/pkg -pipe -Os -I/opt/pkg/include -MT btstream.o -MD -MP -MF ".deps/btstream.Tpo" -c -o btstream.o btstream.cpp; then mv -f ".deps/btstream.Tpo" ".deps/btstream.Po"; else rm -f ".deps/btstream.Tpo"; exit 1; fi if clang++ -DHAVE_CONFIG_H -I. -I. -I. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/openssl -I/opt/pkg/include/ssl -I/opt/pkg -pipe -Os -I/opt/pkg/include -MT bufio.o -MD -MP -MF ".deps/bufio.Tpo" -c -o bufio.o bufio.cpp; then mv -f ".deps/bufio.Tpo" ".deps/bufio.Po"; else rm -f ".deps/bufio.Tpo"; exit 1; fi if clang -DHAVE_CONFIG_H -I. -I. -I. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/openssl -I/opt/pkg/include/ssl -I/opt/pkg -pipe -Os -I/opt/pkg/include -MT compat.o -MD -MP -MF ".deps/compat.Tpo" -c -o compat.o compat.c; then mv -f ".deps/compat.Tpo" ".deps/compat.Po"; else rm -f ".deps/compat.Tpo"; exit 1; fi In file included from compat.c:11: ./compat.h:23:13: error: typedef redefinition with different types ('int' vs 'enum clockid_t') typedef int clockid_t; ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/time.h:172:3: note: previous definition is here } clockid_t; ^ 1 error generated. *** [compat.o] Error code 1 bmake[1]: stopped making "all-am" in /Users/pbulk/build/net/dtorrent/work/ctorrent-dnh3.3.2 bmake[1]: 1 error bmake[1]: stopped making "all-am" in /Users/pbulk/build/net/dtorrent/work/ctorrent-dnh3.3.2 *** [all] Error code 2 bmake: stopped making "all" in /Users/pbulk/build/net/dtorrent/work/ctorrent-dnh3.3.2 bmake: 1 error bmake: stopped making "all" in /Users/pbulk/build/net/dtorrent/work/ctorrent-dnh3.3.2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/net/dtorrent *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/net/dtorrent