=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/www/urlget", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for urlget-1.5 --- svr4 --- --- urlget.o --- gcc -pipe -Wall -O2 -c urlget.c In file included from urlget.c:18: porting.h:10:18: error: unknown type name 'addr_t'; did you mean 'daddr_t'? 10 | # define SOCKET addr_t | ^~~~~~ porting.h:19:25: note: in expansion of macro 'SOCKET' 19 | extern int connect(int, SOCKET, int); | ^~~~~~ urlget.c: In function 'main': urlget.c:92:19: error: conflicting types for 'gethostbyname'; have 'struct hostent *(void)' 92 | struct hostent *gethostbyname(); | ^~~~~~~~~~~~~ In file included from urlget.c:15: /usr/include/netdb.h:269:18: note: previous declaration of 'gethostbyname' with type 'struct hostent *(const char *)' 269 | struct hostent *gethostbyname(const char *); | ^~~~~~~~~~~~~ urlget.c:174:13: error: too many arguments to function 'gethostbyname'; expected 0, have 1 174 | if ((hp = gethostbyname(host)) == NULL) { | ^~~~~~~~~~~~~ ~~~~ urlget.c:92:19: note: declared here 92 | struct hostent *gethostbyname(); | ^~~~~~~~~~~~~ porting.h:10:18: error: 'addr_t' undeclared (first use in this function); did you mean 'daddr_t'? 10 | # define SOCKET addr_t | ^~~~~~ urlget.c:187:20: note: in expansion of macro 'SOCKET' 187 | if(connect(s, (SOCKET) &server, sizeof(server)) == -1) { | ^~~~~~ porting.h:10:18: note: each undeclared identifier is reported only once for each function it appears in 10 | # define SOCKET addr_t | ^~~~~~ urlget.c:187:20: note: in expansion of macro 'SOCKET' 187 | if(connect(s, (SOCKET) &server, sizeof(server)) == -1) { | ^~~~~~ *** [urlget.o] Error code 1 bmake[1]: stopped making "urlget" in /tmp/work/www/urlget/work/urlget-1.5 bmake[1]: 1 error bmake[1]: stopped making "urlget" in /tmp/work/www/urlget/work/urlget-1.5 *** [svr4] Error code 2 bmake: stopped making "svr4" in /tmp/work/www/urlget/work/urlget-1.5 bmake: 1 error bmake: stopped making "svr4" in /tmp/work/www/urlget/work/urlget-1.5 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/www/urlget *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/www/urlget