=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for redis-2.8.7 cd src && /usr/pkg/bin/gmake all gmake[1]: Entering directory '/usr/pkgsrc/work/databases/redis/work/redis-2.8.7/src' git: not found git: not found rm -rf redis-server redis-sentinel redis-cli redis-benchmark redis-check-dump redis-check-aof *.o *.gcda *.gcno *.gcov redis.info lcov-html (cd ../deps && /usr/pkg/bin/gmake distclean) gmake[2]: Entering directory '/usr/pkgsrc/work/databases/redis/work/redis-2.8.7/deps' (cd hiredis && /usr/pkg/bin/gmake clean) > /dev/null || true (cd linenoise && /usr/pkg/bin/gmake clean) > /dev/null || true (cd lua && /usr/pkg/bin/gmake clean) > /dev/null || true (cd jemalloc && [ -f Makefile ] && /usr/pkg/bin/gmake distclean) > /dev/null || true (rm -f .make-*) gmake[2]: Leaving directory '/usr/pkgsrc/work/databases/redis/work/redis-2.8.7/deps' (rm -f .make-*) echo STD=-std=c99 -pedantic >> .make-settings echo WARN=-Wall >> .make-settings echo OPT=-O2 >> .make-settings echo MALLOC=libc >> .make-settings echo CFLAGS=-O2 -march=i586 >> .make-settings echo LDFLAGS=-Wl,-R/usr/pkg/lib >> .make-settings echo REDIS_CFLAGS= >> .make-settings echo REDIS_LDFLAGS= >> .make-settings echo PREV_FINAL_CFLAGS=-std=c99 -pedantic -Wall -O2 -g -ggdb -O2 -march=i586 -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src >> .make-settings echo PREV_FINAL_LDFLAGS=-Wl,-R/usr/pkg/lib -g -ggdb -rdynamic >> .make-settings (cd ../deps && /usr/pkg/bin/gmake hiredis linenoise lua) gmake[2]: Entering directory '/usr/pkgsrc/work/databases/redis/work/redis-2.8.7/deps' (cd hiredis && /usr/pkg/bin/gmake clean) > /dev/null || true (cd linenoise && /usr/pkg/bin/gmake clean) > /dev/null || true (cd lua && /usr/pkg/bin/gmake clean) > /dev/null || true (cd jemalloc && [ -f Makefile ] && /usr/pkg/bin/gmake distclean) > /dev/null || true (rm -f .make-*) (echo "-O2 -march=i586" > .make-cflags) (echo "-Wl,-R/usr/pkg/lib" > .make-ldflags) MAKE hiredis cd hiredis && /usr/pkg/bin/gmake static gmake[3]: Entering directory '/usr/pkgsrc/work/databases/redis/work/redis-2.8.7/deps/hiredis' cc -std=c99 -pedantic -c -O3 -fPIC -O2 -march=i586 -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb net.c net.c:63:5: warning: implicit declaration of function 'strerror_r' is invalid in C99 [-Wimplicit-function-declaration] strerror_r(errno,buf+len,sizeof(buf)-len); ^ net.c:210:21: error: variable has incomplete type 'struct addrinfo' struct addrinfo hints, *servinfo, *p; ^ net.c:210:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *servinfo, *p; ^ net.c:223:15: warning: implicit declaration of function 'getaddrinfo' is invalid in C99 [-Wimplicit-function-declaration] if ((rv = getaddrinfo(addr,_port,&hints,&servinfo)) != 0) { ^ net.c:226:47: warning: implicit declaration of function 'gai_strerror' is invalid in C99 [-Wimplicit-function-declaration] __redisSetError(c,REDIS_ERR_OTHER,gai_strerror(rv)); ^ net.c:226:47: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] __redisSetError(c,REDIS_ERR_OTHER,gai_strerror(rv)); ^~~~~~~~~~~~~~~~ net.c:55:61: note: passing argument to parameter 'str' here void __redisSetError(redisContext *c, int type, const char *str); ^ net.c:230:40: error: incomplete definition of type 'struct addrinfo' for (p = servinfo; p != NULL; p = p->ai_next) { ~^ net.c:210:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *servinfo, *p; ^ net.c:231:26: error: incomplete definition of type 'struct addrinfo' if ((s = socket(p->ai_family,p->ai_socktype,p->ai_protocol)) == -1) ~^ net.c:210:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *servinfo, *p; ^ net.c:236:24: error: incomplete definition of type 'struct addrinfo' if (connect(s,p->ai_addr,p->ai_addrlen) == -1) { ~^ net.c:210:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *servinfo, *p; ^ net.c:267:5: warning: implicit declaration of function 'freeaddrinfo' is invalid in C99 [-Wimplicit-function-declaration] freeaddrinfo(servinfo); ^ 5 warnings and 4 errors generated. Makefile:98: recipe for target 'net.o' failed gmake[3]: *** [net.o] Error 1 gmake[3]: Leaving directory '/usr/pkgsrc/work/databases/redis/work/redis-2.8.7/deps/hiredis' Makefile:45: recipe for target 'hiredis' failed gmake[2]: *** [hiredis] Error 2 gmake[2]: Leaving directory '/usr/pkgsrc/work/databases/redis/work/redis-2.8.7/deps' Makefile:136: recipe for target 'persist-settings' failed gmake[1]: [persist-settings] Error 2 (ignored) CC adlist.o CC ae.o CC anet.o anet.c:176:21: error: variable has incomplete type 'struct addrinfo' struct addrinfo hints, *info; ^ anet.c:176:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *info; ^ anet.c:180:48: error: use of undeclared identifier 'AI_NUMERICHOST' if (flags & ANET_IP_ONLY) hints.ai_flags = AI_NUMERICHOST; ^ anet.c:184:15: warning: implicit declaration of function 'getaddrinfo' is invalid in C99 [-Wimplicit-function-declaration] if ((rv = getaddrinfo(host, NULL, &hints, &info)) != 0) { ^ anet.c:185:33: warning: implicit declaration of function 'gai_strerror' is invalid in C99 [-Wimplicit-function-declaration] anetSetError(err, "%s", gai_strerror(rv)); ^ anet.c:188:13: error: incomplete definition of type 'struct addrinfo' if (info->ai_family == AF_INET) { ~~~~^ anet.c:176:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *info; ^ anet.c:189:60: error: incomplete definition of type 'struct addrinfo' struct sockaddr_in *sa = (struct sockaddr_in *)info->ai_addr; ~~~~^ anet.c:176:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *info; ^ anet.c:190:9: warning: implicit declaration of function 'inet_ntop' is invalid in C99 [-Wimplicit-function-declaration] inet_ntop(AF_INET, &(sa->sin_addr), ipbuf, ipbuf_len); ^ anet.c:192:62: error: incomplete definition of type 'struct addrinfo' struct sockaddr_in6 *sa = (struct sockaddr_in6 *)info->ai_addr; ~~~~^ anet.c:176:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *info; ^ anet.c:196:5: warning: implicit declaration of function 'freeaddrinfo' is invalid in C99 [-Wimplicit-function-declaration] freeaddrinfo(info); ^ anet.c:241:21: error: variable has incomplete type 'struct addrinfo' struct addrinfo hints, *servinfo, *p; ^ anet.c:241:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *servinfo, *p; ^ anet.c:252:40: error: incomplete definition of type 'struct addrinfo' for (p = servinfo; p != NULL; p = p->ai_next) { ~^ anet.c:241:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *servinfo, *p; ^ anet.c:256:26: error: incomplete definition of type 'struct addrinfo' if ((s = socket(p->ai_family,p->ai_socktype,p->ai_protocol)) == -1) ~^ anet.c:241:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *servinfo, *p; ^ anet.c:261:24: error: incomplete definition of type 'struct addrinfo' if (connect(s,p->ai_addr,p->ai_addrlen) == -1) { ~^ anet.c:241:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *servinfo, *p; ^ anet.c:381:35: error: use of undeclared identifier 'IPV6_V6ONLY' if (setsockopt(s,IPPROTO_IPV6,IPV6_V6ONLY,&yes,sizeof(yes)) == -1) { ^ anet.c:393:21: error: variable has incomplete type 'struct addrinfo' struct addrinfo hints, *servinfo, *p; ^ anet.c:393:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *servinfo, *p; ^ anet.c:399:22: error: use of undeclared identifier 'AI_PASSIVE' hints.ai_flags = AI_PASSIVE; /* No effect if bindaddr != NULL */ ^ anet.c:405:40: error: incomplete definition of type 'struct addrinfo' for (p = servinfo; p != NULL; p = p->ai_next) { ~^ anet.c:393:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *servinfo, *p; ^ anet.c:406:26: error: incomplete definition of type 'struct addrinfo' if ((s = socket(p->ai_family,p->ai_socktype,p->ai_protocol)) == -1) ~^ anet.c:393:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *servinfo, *p; ^ anet.c:411:31: error: incomplete definition of type 'struct addrinfo' if (anetListen(err,s,p->ai_addr,p->ai_addrlen,backlog) == ANET_ERR) goto error; ~^ anet.c:393:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *servinfo, *p; ^ anet.c:473:29: error: variable has incomplete type 'struct sockaddr_storage' struct sockaddr_storage sa; ^ anet.c:473:12: note: forward declaration of 'struct sockaddr_storage' struct sockaddr_storage sa; ^ anet.c:501:29: error: variable has incomplete type 'struct sockaddr_storage' struct sockaddr_storage sa; ^ anet.c:501:12: note: forward declaration of 'struct sockaddr_storage' struct sockaddr_storage sa; ^ anet.c:523:29: error: variable has incomplete type 'struct sockaddr_storage' struct sockaddr_storage sa; ^ anet.c:523:12: note: forward declaration of 'struct sockaddr_storage' struct sockaddr_storage sa; ^ 4 warnings and 18 errors generated. Makefile:191: recipe for target 'anet.o' failed gmake[1]: *** [anet.o] Error 1 gmake[1]: Leaving directory '/usr/pkgsrc/work/databases/redis/work/redis-2.8.7/src' Makefile:6: recipe for target 'all' failed gmake: *** [all] Error 2 *** Error code 2 Stop. bmake: stopped in /usr/pkgsrc/databases/redis *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/databases/redis