=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for dtorrent-3.3.2nb4 --- all --- /opt/pkg/bin/bmake all-am --- bencode.o --- --- bitfield.o --- --- btconfig.o --- --- btcontent.o --- --- btfiles.o --- --- btrequest.o --- --- btstream.o --- --- bufio.o --- --- bencode.o --- 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 -O2 -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 --- bitfield.o --- 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 -O2 -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 --- btconfig.o --- 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 -O2 -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 --- btcontent.o --- 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 -O2 -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 --- btfiles.o --- 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 -O2 -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 --- btrequest.o --- 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 -O2 -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 --- btstream.o --- 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 -O2 -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 --- bufio.o --- 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 -O2 -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 --- compat.o --- 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 -O2 -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 --- btcontent.o --- 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; } ^ ( ) --- btfiles.o --- 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) ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- btcontent.o --- 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; } ^ == --- btfiles.o --- 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) ){ ^ == --- connect_nonb.o --- 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 -O2 -I/opt/pkg/include -MT connect_nonb.o -MD -MP -MF ".deps/connect_nonb.Tpo" -c -o connect_nonb.o connect_nonb.cpp; then mv -f ".deps/connect_nonb.Tpo" ".deps/connect_nonb.Po"; else rm -f ".deps/connect_nonb.Tpo"; exit 1; fi --- compat.o --- 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.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/time.h:172:3: note: previous definition is here } clockid_t; ^ 1 error generated. --- console.o --- --- compat.o --- *** [compat.o] Error code 1 bmake[1]: stopped in /opt/work/net/dtorrent/work/ctorrent-dnh3.3.2 --- console.o --- 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 -O2 -I/opt/pkg/include -MT console.o -MD -MP -MF ".deps/console.Tpo" -c -o console.o console.cpp; then mv -f ".deps/console.Tpo" ".deps/console.Po"; else rm -f ".deps/console.Tpo"; exit 1; fi --- btfiles.o --- 2 warnings generated. --- console.o --- console.cpp:85:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( m_name = new char[strlen(name)+1] ) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ console.cpp:85:14: note: place parentheses around the assignment to silence this warning if( m_name = new char[strlen(name)+1] ) ^ ( ) console.cpp:85:14: note: use '==' to turn this assignment into an equality comparison if( m_name = new char[strlen(name)+1] ) ^ == console.cpp:385:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( s = strchr(param, '\n') ) *s = '\0'; ~~^~~~~~~~~~~~~~~~~~~~~ console.cpp:385:15: note: place parentheses around the assignment to silence this warning if( s = strchr(param, '\n') ) *s = '\0'; ^ ( ) console.cpp:385:15: note: use '==' to turn this assignment into an equality comparison if( s = strchr(param, '\n') ) *s = '\0'; ^ == console.cpp:785:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dest = new ConStream ){ ~~~~~^~~~~~~~~~~~~~~ console.cpp:785:16: note: place parentheses around the assignment to silence this warning if( dest = new ConStream ){ ^ ( ) console.cpp:785:16: note: use '==' to turn this assignment into an equality comparison if( dest = new ConStream ){ ^ == console.cpp:790:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( stream = fopen(param, (channel==O_INPUT) ? "r" : "a") ) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ console.cpp:790:20: note: place parentheses around the assignment to silence this warning if( stream = fopen(param, (channel==O_INPUT) ? "r" : "a") ) ^ ( ) console.cpp:790:20: note: use '==' to turn this assignment into an equality comparison if( stream = fopen(param, (channel==O_INPUT) ? "r" : "a") ) ^ == console.cpp:927:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 100 * BTCONTENT.CheckedPieces() / BTCONTENT.GetNPieces() ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ console.cpp:935:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] (int)(WORLD.GetPeersCount()) - WORLD.GetSeedsCount(), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ console.cpp:982:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rate = Self.RateDL() ){ ~~~~~^~~~~~~~~~~~~~~ console.cpp:982:14: note: place parentheses around the assignment to silence this warning if( rate = Self.RateDL() ){ ^ ( ) console.cpp:982:14: note: use '==' to turn this assignment into an equality comparison if( rate = Self.RateDL() ){ ^ == console.cpp:996:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 100 * BTCONTENT.CheckedPieces() / BTCONTENT.GetNPieces() ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ console.cpp:1004:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 100 * BTCONTENT.pBF->Count() / BTCONTENT.GetNPieces()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ console.cpp:1023:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rate = Self.RateDL() ){ ~~~~~^~~~~~~~~~~~~~~ console.cpp:1023:14: note: place parentheses around the assignment to silence this warning if( rate = Self.RateDL() ){ ^ ( ) console.cpp:1023:14: note: use '==' to turn this assignment into an equality comparison if( rate = Self.RateDL() ){ ^ == console.cpp:1032:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if( rate = Self.RateUL() ){ ~~~~~^~~~~~~~~~~~~~~ console.cpp:1032:19: note: place parentheses around the assignment to silence this warning else if( rate = Self.RateUL() ){ ^ ( ) console.cpp:1032:19: note: use '==' to turn this assignment into an equality comparison else if( rate = Self.RateUL() ){ ^ == console.cpp:1063:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] (int)(WORLD.GetPeersCount()) - WORLD.GetSeedsCount() - WORLD.GetConnCount(), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ console.cpp:1064:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] (int)(Tracker.GetPeersCount()) - Tracker.GetSeedsCount() - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- btcontent.o --- 11 warnings generated. --- console.o --- 13 warnings generated. 1 error bmake[1]: stopped in /opt/work/net/dtorrent/work/ctorrent-dnh3.3.2 *** [all] Error code 2 bmake: stopped in /opt/work/net/dtorrent/work/ctorrent-dnh3.3.2 1 error bmake: stopped in /opt/work/net/dtorrent/work/ctorrent-dnh3.3.2 *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/net/dtorrent *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/net/dtorrent