=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for redis-3.2.4 cd src && /usr/pkg/bin/gmake all gmake[1]: Entering directory '/usr/pkgsrc/work/databases/redis/work/redis-3.2.4/src' git: not found git: not found rm -rf redis-server redis-sentinel redis-cli redis-benchmark redis-check-rdb 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-3.2.4/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 geohash-int && /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-3.2.4/deps' (rm -f .make-*) echo STD=-std=c99 -pedantic -DREDIS_STATIC='' >> .make-settings echo WARN=-Wall -W >> .make-settings echo OPT=-O2 >> .make-settings echo MALLOC=libc >> .make-settings echo CFLAGS=-O2 -march=i586 -I/usr/pkg/include >> .make-settings echo LDFLAGS=-L/usr/pkg/lib -Wl,-R/usr/pkg/lib >> .make-settings echo REDIS_CFLAGS= >> .make-settings echo REDIS_LDFLAGS= >> .make-settings echo PREV_FINAL_CFLAGS=-std=c99 -pedantic -DREDIS_STATIC='' -Wall -W -O2 -g -ggdb -O2 -march=i586 -I/usr/pkg/include -I../deps/geohash-int -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src >> .make-settings echo PREV_FINAL_LDFLAGS=-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -g -ggdb -rdynamic >> .make-settings (cd ../deps && /usr/pkg/bin/gmake hiredis linenoise lua geohash-int) gmake[2]: Entering directory '/usr/pkgsrc/work/databases/redis/work/redis-3.2.4/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 geohash-int && /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 -I/usr/pkg/include" > .make-cflags) (echo "-L/usr/pkg/lib -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-3.2.4/deps/hiredis' cc -std=c99 -pedantic -c -O3 -fPIC -O2 -march=i586 -I/usr/pkg/include -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb net.c net.c:70: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:261:21: error: variable has incomplete type 'struct addrinfo' struct addrinfo hints, *servinfo, *bservinfo, *p, *b; ^ net.c:261:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *servinfo, *bservinfo, *p, *b; ^ net.c:274:15: warning: implicit declaration of function 'getaddrinfo' is invalid in C99 [-Wimplicit-function-declaration] if ((rv = getaddrinfo(addr,_port,&hints,&servinfo)) != 0) { ^ net.c:277: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:277: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:281:40: error: incomplete definition of type 'struct addrinfo' for (p = servinfo; p != NULL; p = p->ai_next) { ~^ net.c:261:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *servinfo, *bservinfo, *p, *b; ^ net.c:282:26: error: incomplete definition of type 'struct addrinfo' if ((s = socket(p->ai_family,p->ai_socktype,p->ai_protocol)) == -1) ~^ net.c:261:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *servinfo, *bservinfo, *p, *b; ^ net.c:282:39: error: incomplete definition of type 'struct addrinfo' if ((s = socket(p->ai_family,p->ai_socktype,p->ai_protocol)) == -1) ~^ net.c:261:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *servinfo, *bservinfo, *p, *b; ^ net.c:282:54: error: incomplete definition of type 'struct addrinfo' if ((s = socket(p->ai_family,p->ai_socktype,p->ai_protocol)) == -1) ~^ net.c:261:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *servinfo, *bservinfo, *p, *b; ^ net.c:293:63: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] snprintf(buf,sizeof(buf),"Can't get addr: %s",gai_strerror(rv)); ~~ ^~~~~~~~~~~~~~~~ %d net.c:297:49: error: incomplete definition of type 'struct addrinfo' for (b = bservinfo; b != NULL; b = b->ai_next) { ~^ net.c:261:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *servinfo, *bservinfo, *p, *b; ^ net.c:298:29: error: incomplete definition of type 'struct addrinfo' if (bind(s,b->ai_addr,b->ai_addrlen) != -1) { ~^ net.c:261:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *servinfo, *bservinfo, *p, *b; ^ net.c:298:40: error: incomplete definition of type 'struct addrinfo' if (bind(s,b->ai_addr,b->ai_addrlen) != -1) { ~^ net.c:261:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *servinfo, *bservinfo, *p, *b; ^ net.c:303:13: warning: implicit declaration of function 'freeaddrinfo' is invalid in C99 [-Wimplicit-function-declaration] freeaddrinfo(bservinfo); ^ net.c:311:24: error: incomplete definition of type 'struct addrinfo' if (connect(s,p->ai_addr,p->ai_addrlen) == -1) { ~^ net.c:261:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *servinfo, *bservinfo, *p, *b; ^ net.c:311:35: error: incomplete definition of type 'struct addrinfo' if (connect(s,p->ai_addr,p->ai_addrlen) == -1) { ~^ net.c:261:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *servinfo, *bservinfo, *p, *b; ^ 6 warnings and 10 errors generated. Makefile:118: recipe for target 'net.o' failed gmake[3]: *** [net.o] Error 1 gmake[3]: Leaving directory '/usr/pkgsrc/work/databases/redis/work/redis-3.2.4/deps/hiredis' Makefile:46: recipe for target 'hiredis' failed gmake[2]: *** [hiredis] Error 2 gmake[2]: Leaving directory '/usr/pkgsrc/work/databases/redis/work/redis-3.2.4/deps' Makefile:146: recipe for target 'persist-settings' failed gmake[1]: [persist-settings] Error 2 (ignored) CC adlist.o CC quicklist.o CC ae.o In file included from ae.c:58: ./ae_select.c:52:37: warning: unused parameter 'eventLoop' [-Wunused-parameter] static int aeApiResize(aeEventLoop *eventLoop, int setsize) { ^ 1 warning generated. CC anet.o anet.c:206:21: error: variable has incomplete type 'struct addrinfo' struct addrinfo hints, *info; ^ anet.c:206:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *info; ^ anet.c:210:48: error: use of undeclared identifier 'AI_NUMERICHOST' if (flags & ANET_IP_ONLY) hints.ai_flags = AI_NUMERICHOST; ^ anet.c:214:15: warning: implicit declaration of function 'getaddrinfo' is invalid in C99 [-Wimplicit-function-declaration] if ((rv = getaddrinfo(host, NULL, &hints, &info)) != 0) { ^ anet.c:215:33: warning: implicit declaration of function 'gai_strerror' is invalid in C99 [-Wimplicit-function-declaration] anetSetError(err, "%s", gai_strerror(rv)); ^ anet.c:218:13: error: incomplete definition of type 'struct addrinfo' if (info->ai_family == AF_INET) { ~~~~^ anet.c:206:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *info; ^ anet.c:219:60: error: incomplete definition of type 'struct addrinfo' struct sockaddr_in *sa = (struct sockaddr_in *)info->ai_addr; ~~~~^ anet.c:206:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *info; ^ anet.c:220: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:222:62: error: incomplete definition of type 'struct addrinfo' struct sockaddr_in6 *sa = (struct sockaddr_in6 *)info->ai_addr; ~~~~^ anet.c:206:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *info; ^ anet.c:226:5: warning: implicit declaration of function 'freeaddrinfo' is invalid in C99 [-Wimplicit-function-declaration] freeaddrinfo(info); ^ anet.c:273:21: error: variable has incomplete type 'struct addrinfo' struct addrinfo hints, *servinfo, *bservinfo, *p, *b; ^ anet.c:273:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *servinfo, *bservinfo, *p, *b; ^ anet.c:284:40: error: incomplete definition of type 'struct addrinfo' for (p = servinfo; p != NULL; p = p->ai_next) { ~^ anet.c:273:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *servinfo, *bservinfo, *p, *b; ^ anet.c:288:26: error: incomplete definition of type 'struct addrinfo' if ((s = socket(p->ai_family,p->ai_socktype,p->ai_protocol)) == -1) ~^ anet.c:273:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *servinfo, *bservinfo, *p, *b; ^ anet.c:288:39: error: incomplete definition of type 'struct addrinfo' if ((s = socket(p->ai_family,p->ai_socktype,p->ai_protocol)) == -1) ~^ anet.c:273:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *servinfo, *bservinfo, *p, *b; ^ anet.c:288:54: error: incomplete definition of type 'struct addrinfo' if ((s = socket(p->ai_family,p->ai_socktype,p->ai_protocol)) == -1) ~^ anet.c:273:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *servinfo, *bservinfo, *p, *b; ^ anet.c:301:49: error: incomplete definition of type 'struct addrinfo' for (b = bservinfo; b != NULL; b = b->ai_next) { ~^ anet.c:273:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *servinfo, *bservinfo, *p, *b; ^ anet.c:302:29: error: incomplete definition of type 'struct addrinfo' if (bind(s,b->ai_addr,b->ai_addrlen) != -1) { ~^ anet.c:273:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *servinfo, *bservinfo, *p, *b; ^ anet.c:302:40: error: incomplete definition of type 'struct addrinfo' if (bind(s,b->ai_addr,b->ai_addrlen) != -1) { ~^ anet.c:273:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *servinfo, *bservinfo, *p, *b; ^ anet.c:313:24: error: incomplete definition of type 'struct addrinfo' if (connect(s,p->ai_addr,p->ai_addrlen) == -1) { ~^ anet.c:273:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *servinfo, *bservinfo, *p, *b; ^ anet.c:313:35: error: incomplete definition of type 'struct addrinfo' if (connect(s,p->ai_addr,p->ai_addrlen) == -1) { ~^ anet.c:273:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *servinfo, *bservinfo, *p, *b; ^ anet.c:467:21: error: variable has incomplete type 'struct addrinfo' struct addrinfo hints, *servinfo, *p; ^ anet.c:467:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *servinfo, *p; ^ anet.c:473:22: error: use of undeclared identifier 'AI_PASSIVE' hints.ai_flags = AI_PASSIVE; /* No effect if bindaddr != NULL */ ^ anet.c:479:40: error: incomplete definition of type 'struct addrinfo' for (p = servinfo; p != NULL; p = p->ai_next) { ~^ anet.c:467:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *servinfo, *p; ^ anet.c:480:26: error: incomplete definition of type 'struct addrinfo' if ((s = socket(p->ai_family,p->ai_socktype,p->ai_protocol)) == -1) ~^ anet.c:467:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *servinfo, *p; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 4 warnings and 20 errors generated. Makefile:201: recipe for target 'anet.o' failed gmake[1]: *** [anet.o] Error 1 gmake[1]: Leaving directory '/usr/pkgsrc/work/databases/redis/work/redis-3.2.4/src' Makefile:6: recipe for target 'all' failed gmake: *** [all] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/databases/redis *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/databases/redis