=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for daapd-0.2.4bnb1 cd daaplib/src && /usr/pkg/bin/gmake gmake[1]: Entering directory '/var/pkgsrc/work/audio/daapd/work/daapd-0.2.4b/daaplib/src' g++ -Wall -Wno-multichar -I../include -c taginput.cpp g++ -Wall -Wno-multichar -I../include -c tagoutput.cpp g++ -Wall -Wno-multichar -I../include -c registry.cpp In file included from registry.cpp:23: In file included from ../include/daap/registry.h:36: /usr/include/c++/v1/ext/hash_map:213:5: warning: Use of the header is deprecated. Migrate to [-W#warnings] # warning Use of the header is deprecated. Migrate to ^ 1 warning generated. ar rs libdaaplib.a taginput.o tagoutput.o registry.o ar: warning: creating libdaaplib.a gmake[1]: Leaving directory '/var/pkgsrc/work/audio/daapd/work/daapd-0.2.4b/daaplib/src' if test ! -e libhttpd/Site.mm; then cd libhttpd && ./configure; fi creating cache ./config.cache Configuring libhttpd checking for gcc... clang++ checking whether the C compiler (clang++ -O2 -I/usr/pkg/include -I/usr/include -Wall -Wno-multichar -DHOWL_ENABLE -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib) works... yes checking whether the C compiler (clang++ -O2 -I/usr/pkg/include -I/usr/include -Wall -Wno-multichar -DHOWL_ENABLE -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib) is a cross-compiler... no checking whether we are using GNU C... yes checking whether clang++ accepts -g... no checking for ranlib... ranlib checking how to run the C preprocessor... clang -E checking for string.h... yes checking for strings.h... yes checking for stdarg.h... yes checking for unistd.h... yes checking for -lsocket... no checking for -lnsl... no updating cache ./config.cache creating ./config.status creating Site.mm creating src/config.h HTTPD Library Configuration complete cd libhttpd && /usr/pkg/bin/gmake gmake[1]: Entering directory '/var/pkgsrc/work/audio/daapd/work/daapd-0.2.4b/libhttpd' Regenerating Makefile. ... Done. Done. gmake[2]: Entering directory '/var/pkgsrc/work/audio/daapd/work/daapd-0.2.4b/libhttpd' --> [src] directory gmake[3]: Entering directory '/var/pkgsrc/work/audio/daapd/work/daapd-0.2.4b/libhttpd/src' Regenerating Makefile. ... Done. Done. gmake[4]: Entering directory '/var/pkgsrc/work/audio/daapd/work/daapd-0.2.4b/libhttpd/src' clang++ -I../src -g -I../ -I/usr/local/include -D_OS_UNIX -c protocol.c clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] protocol.c:236:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register char *bufin = bufcoded; ^~~~~~~~~ protocol.c:237:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register unsigned char *bufout = (unsigned char*) bufplain; ^~~~~~~~~ protocol.c:238:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int nprbytes; ^~~~~~~~~ protocol.c:619:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] httpdSetResponse(server, "204 No Content\n"); ^ protocol.c:627:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] httpdSetResponse(server, "304 Not Modified\n"); ^ protocol.c:635:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] httpdSetResponse(server, "400 Bad Request\n"); ^ protocol.c:643:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] httpdSetResponse(server, "403 Permission Denied\n"); ^ protocol.c:645:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] _httpd_sendText(server,HTTP_403_RESPONSE); ^ ../src/httpd-persistent.h:79:27: note: expanded from macro 'HTTP_403_RESPONSE' #define HTTP_403_RESPONSE "403 Permission Denied\n

Access to the request URL was denied!

\n" ^ protocol.c:656:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] _httpd_writeErrorLog(server,LEVEL_ERROR, msg); ^ ../src/httpd_priv.h:51:21: note: expanded from macro 'LEVEL_ERROR' #define LEVEL_ERROR "error" ^ protocol.c:657:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] httpdSetResponse(server, "404 Not Found\n"); ^ protocol.c:659:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] _httpd_sendText(server,HTTP_404_RESPONSE); ^ ../src/httpd-persistent.h:80:27: note: expanded from macro 'HTTP_404_RESPONSE' #define HTTP_404_RESPONSE "404 Not Found\n

The request URL was not found!

\n\n" ^ protocol.c:666:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] httpdSetResponse(server, "501 Not Implemented\n"); ^ protocol.c:668:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] _httpd_sendText(server,HTTP_501_RESPONSE); ^ ../src/httpd-persistent.h:81:27: note: expanded from macro 'HTTP_501_RESPONSE' #define HTTP_501_RESPONSE "501 Not Implemented\n

Method Not Implemented

\n" ^ protocol.c:675:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] httpdSetResponse(server, "505 HTTP Version Not Supported\n"); ^ protocol.c:677:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] _httpd_sendText(server,HTTP_505_RESPONSE); ^ ../src/httpd-persistent.h:82:27: note: expanded from macro 'HTTP_505_RESPONSE' #define HTTP_505_RESPONSE "505 HTTP Version Not Supported\n

HTTP Version Not Supported

\n" ^ protocol.c:830:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] static char *hex_ = "0123456789ABCDEF"; ^ 16 warnings generated. clang++ -I../src -g -I../ -I/usr/local/include -D_OS_UNIX -c api.c clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] api.c:88:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case HTTP_GET: return("GET"); ^ api.c:89:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case HTTP_POST: return("POST"); ^ api.c:375:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] _httpd_writeErrorLog(server,LEVEL_ERROR, "Invalid method received:"); ^ ../src/httpd_priv.h:51:21: note: expanded from macro 'LEVEL_ERROR' #define LEVEL_ERROR "error" ^ api.c:375:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] _httpd_writeErrorLog(server,LEVEL_ERROR, "Invalid method received:"); ^ api.c:376:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] _httpd_writeErrorLog(server,LEVEL_ERROR, cp); return(-1); ^ ../src/httpd_priv.h:51:21: note: expanded from macro 'LEVEL_ERROR' #define LEVEL_ERROR "error" ^ api.c:415:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] _httpd_writeErrorLog(server,LEVEL_ERROR, "Invalid httpd version received"); ^ ../src/httpd_priv.h:51:21: note: expanded from macro 'LEVEL_ERROR' #define LEVEL_ERROR "error" ^ api.c:415:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] _httpd_writeErrorLog(server,LEVEL_ERROR, "Invalid httpd version received"); ^ api.c:1149:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] httpdSetResponse(server, "401 Please Authenticate\015\n"); ^ api.c:1153:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] httpdOutput(server,"\n"); ^ api.c:1165:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] httpdSetResponse(server, "401 Please Authenticate\015\n"); ^ api.c:1169:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] httpdOutput(server,"\n"); ^ 11 warnings generated. clang++ -I../src -g -I../ -I/usr/local/include -D_OS_UNIX -c version.c clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] clang++ -I../src -g -I../ -I/usr/local/include -D_OS_UNIX -c ip_acl.c clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] ip_acl.c:110:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] _httpd_writeErrorLog(server,LEVEL_ERROR, ^ ../src/httpd_priv.h:51:21: note: expanded from macro 'LEVEL_ERROR' #define LEVEL_ERROR "error" ^ ip_acl.c:111:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "IP Address must be more specific than network block"); ^ ip_acl.c:152:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] _httpd_writeErrorLog(server,LEVEL_ERROR, ^ ../src/httpd_priv.h:51:21: note: expanded from macro 'LEVEL_ERROR' #define LEVEL_ERROR "error" ^ ip_acl.c:153:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Invalid IP address format"); ^ ip_acl.c:158:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] _httpd_writeErrorLog(server,LEVEL_ERROR, ^ ../src/httpd_priv.h:51:21: note: expanded from macro 'LEVEL_ERROR' #define LEVEL_ERROR "error" ^ ip_acl.c:159:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Invalid acl action"); ^ ip_acl.c:219:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] _httpd_writeErrorLog(server,LEVEL_ERROR, ^ ../src/httpd_priv.h:51:21: note: expanded from macro 'LEVEL_ERROR' #define LEVEL_ERROR "error" ^ ip_acl.c:220:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Access denied by ACL"); ^ 8 warnings generated. clang++ -I../src -g -I../ -I/usr/local/include -D_OS_UNIX -c select.c clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] ar rc libhttpd-persistent.a protocol.o api.o version.o ip_acl.o select.o ranlib libhttpd-persistent.a gmake[4]: Leaving directory '/var/pkgsrc/work/audio/daapd/work/daapd-0.2.4b/libhttpd/src' gmake[3]: Leaving directory '/var/pkgsrc/work/audio/daapd/work/daapd-0.2.4b/libhttpd/src' <-- [src] done gmake[2]: Leaving directory '/var/pkgsrc/work/audio/daapd/work/daapd-0.2.4b/libhttpd' gmake[1]: Leaving directory '/var/pkgsrc/work/audio/daapd/work/daapd-0.2.4b/libhttpd' clang++ -O2 -I/usr/pkg/include -I/usr/include -Wall -Wno-multichar -DHOWL_ENABLE -I. -I./daaplib/include -I./libhttpd/src -I/usr/pkg/include -I/usr/pkg/include/howl -c daapd.cc In file included from daapd.cc:24: In file included from ./types.h:41: In file included from ./dboutput.h:34: /usr/include/c++/v1/ext/hash_map:213:5: warning: Use of the header is deprecated. Migrate to [-W#warnings] # warning Use of the header is deprecated. Migrate to ^ daapd.cc:92:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] httpdSetContentType( server, "application/x-dmap-tagged" ); ^ daapd.cc:131:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] httpdAddHeader ( server, "Content-Encoding: gzip" ); ^ daapd.cc:266:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] httpdSetContentType( server, "application/x-dmap-tagged" ); ^ daapd.cc:632:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ( ( varPtr = httpdGetVariableByName ( server, "session-id" ) ) != NULL) ^ daapd.cc:634:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ( ( varPtr = httpdGetVariableByName ( server, "revision-number" ) ) != NULL) ^ daapd.cc:636:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ( ( varPtr = httpdGetVariableByName ( server, "delta" ) ) != NULL) ^ daapd.cc:638:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ( ( varPtr = httpdGetVariableByName ( server, "type" ) ) != NULL) ^ daapd.cc:640:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ( ( varPtr = httpdGetVariableByName ( server, "meta" ) ) != NULL) ^ daapd.cc:642:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ( ( varPtr = httpdGetVariableByName ( server, "filter" ) ) != NULL) ^ daapd.cc:644:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ( ( varPtr = httpdGetVariableByName ( server, "query" ) ) != NULL) ^ daapd.cc:646:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ( ( varPtr = httpdGetVariableByName ( server, "index" ) ) != NULL) ^ daapd.cc:698:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ( !httpdAuthenticate( server, "daap" ) || ^ daapd.cc:781:8: warning: comparison of array 'val' not equal to a null pointer is always true [-Wtautological-pointer-compare] if( val != NULL ) ^~~ ~~~~ daapd.cc:784:8: warning: comparison of array 'val' not equal to a null pointer is always true [-Wtautological-pointer-compare] if( val != NULL ) ^~~ ~~~~ daapd.cc:787:8: warning: comparison of array 'val' not equal to a null pointer is always true [-Wtautological-pointer-compare] if( val != NULL ) ^~~ ~~~~ daapd.cc:790:8: warning: comparison of array 'val' not equal to a null pointer is always true [-Wtautological-pointer-compare] if( val != NULL ) ^~~ ~~~~ daapd.cc:793:8: warning: comparison of array 'val' not equal to a null pointer is always true [-Wtautological-pointer-compare] if( val != NULL ) { ^~~ ~~~~ daapd.cc:798:8: warning: comparison of array 'val' not equal to a null pointer is always true [-Wtautological-pointer-compare] if( val != NULL ) ^~~ ~~~~ daapd.cc:801:8: warning: comparison of array 'val' not equal to a null pointer is always true [-Wtautological-pointer-compare] if( val != NULL ) ^~~ ~~~~ daapd.cc:804:8: warning: comparison of array 'val' not equal to a null pointer is always true [-Wtautological-pointer-compare] if( val != NULL ) ^~~ ~~~~ daapd.cc:807:8: warning: comparison of array 'val' not equal to a null pointer is always true [-Wtautological-pointer-compare] if( val != NULL ) { ^~~ ~~~~ daapd.cc:1144:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] httpdSetContentType( server, "application/x-dmap-tagged" ); ^ 23 warnings generated. clang++ -O2 -I/usr/pkg/include -I/usr/include -Wall -Wno-multichar -DHOWL_ENABLE -I. -I./daaplib/include -I./libhttpd/src -I/usr/pkg/include -I/usr/pkg/include/howl -c db.cc In file included from db.cc:23: In file included from ./types.h:41: In file included from ./dboutput.h:34: /usr/include/c++/v1/ext/hash_map:213:5: warning: Use of the header is deprecated. Migrate to [-W#warnings] # warning Use of the header is deprecated. Migrate to ^ db.cc:184:15: error: assigning to 'char *' from incompatible type 'const char *' if( ( sp = strchr( s.c_str(), '/' ) ) != 0 ) ^~~~~~~~~~~~~~~~~~~~~~~~ db.cc:191:15: error: assigning to 'char *' from incompatible type 'const char *' if( ( sp = strchr( s.c_str(), '/' ) ) != 0 ) ^~~~~~~~~~~~~~~~~~~~~~~~ db.cc:417:19: error: assigning to 'char *' from incompatible type 'const char *' if( ( pointPos = strrchr( fileName.c_str(), '.' ) ) != 0 ) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.cc:485:29: warning: '&&' within '||' [-Wlogical-op-parentheses] if( ( buffer[0] == 0xFF ) && ( ( buffer[1] & 0xF0 ) == 0xF0 ) || ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ db.cc:485:29: note: place parentheses around the '&&' expression to silence this warning if( ( buffer[0] == 0xFF ) && ( ( buffer[1] & 0xF0 ) == 0xF0 ) || ^ ( ) 2 warnings and 3 errors generated. makefile:57: recipe for target 'db.o' failed gmake: *** [db.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/audio/daapd *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/audio/daapd