Date: Wed, 27 Mar 2019 16:46:34 +0100 From: "Philippe Maechler" <pmaechler-ml@glattnet.ch> To: <ports@freebsd.org> Subject: dsc on FreeBSD 11.2-p9 Message-ID: <013701d4e4b4$41d43720$c57ca560$@glattnet.ch>
next in thread | raw e-mail | index | archive | help
Hello FreeBSD Ports I'm trying to install dns-oarc's dsc (dns/dsc) on our nameservers, but fail and have little to no clue how I can fix that. The last few lines that gets on the console are: depbase=`echo country_index.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -MT country_index.o -MD -MP -MF $depbase.Tpo -c -o country_index.o country_index.c &&\ mv -f $depbase.Tpo $depbase.Po /usr/include/arpa/nameser.h:140:8: error: unknown type name 'u_char'; did you mean 'char'? const u_char *dnptrs[25]; ^ /usr/include/arpa/nameser.h:141:8: error: unknown type name 'u_char'; did you mean 'char'? const u_char **lastdnptr; ^ /usr/include/arpa/nameser.h:166:8: error: unknown type name 'u_char'; did you mean 'char'? const u_char * rdata; ^ /usr/include/arpa/nameser.h:177:2: error: unknown type name 'u_int' u_int ttl; ^ /usr/include/arpa/nameser.h:179:8: error: unknown type name 'u_char'; did you mean 'char'? const u_char * rdata; ^ /usr/include/arpa/nameser.h:585:1: error: unknown type name 'u_int' u_int ns_get16(const u_char *); ^ /usr/include/arpa/nameser.h:585:23: error: unknown type name 'u_char'; did you mean 'char'? u_int ns_get16(const u_char *); ^ /usr/include/arpa/nameser.h:586:1: error: unknown type name 'u_long'; did you mean 'long'? u_long ns_get32(const u_char *); ^ /usr/include/arpa/nameser.h:586:24: error: unknown type name 'u_char'; did you mean 'char'? u_long ns_get32(const u_char *); ^ /usr/include/arpa/nameser.h:587:30: error: expected ')' void ns_put16(u_int, u_char *); ^ /usr/include/arpa/nameser.h:587:15: note: to match this '(' void ns_put16(u_int, u_char *); ^ /usr/include/arpa/nameser.h:587:16: error: a parameter list without types is only allowed in a function definition void ns_put16(u_int, u_char *); ^ /usr/include/arpa/nameser.h:588:31: error: expected ')' void ns_put32(u_long, u_char *); ^ /usr/include/arpa/nameser.h:588:15: note: to match this '(' void ns_put32(u_long, u_char *); ^ /usr/include/arpa/nameser.h:588:16: error: a parameter list without types is only allowed in a function definition void ns_put32(u_long, u_char *); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. gmake[5]: *** [Makefile:602: config_hooks.o] Error 1 gmake[5]: *** Waiting for unfinished jobs.... country_index.c:126:21: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned long)' [-Wimplicit-function-declaration] memcpy(_mmcountry, entry_data.utf8_string, len); ^ country_index.c:126:21: note: include the header <string.h> or explicitly provide a declaration for 'memcpy' country_index.c:251:28: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] return hashendian(key, strlen(key), 0); ^ country_index.c:251:28: note: include the header <string.h> or explicitly provide a declaration for 'strlen' country_index.c:257:12: warning: implicitly declaring library function 'strcasecmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] return strcasecmp(a, b); ^ country_index.c:257:12: note: include the header <strings.h> or explicitly provide a declaration for 'strcasecmp' country_index.c:294:13: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(1); ^ country_index.c:294:13: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' 4 warnings generated. gmake[5]: Leaving directory '/usr/ports/dns/dsc/work/dsc-2.8.0/src' gmake[4]: *** [Makefile:727: all-recursive] Error 1 gmake[4]: Leaving directory '/usr/ports/dns/dsc/work/dsc-2.8.0/src' gmake[3]: *** [Makefile:423: all] Error 2 gmake[3]: Leaving directory '/usr/ports/dns/dsc/work/dsc-2.8.0/src' gmake[2]: *** [Makefile:420: all-recursive] Error 1 gmake[2]: Leaving directory '/usr/ports/dns/dsc/work/dsc-2.8.0' ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/dns/dsc *** Error code 1 Stop. make: stopped in /usr/ports/dns/dsc ===>>> make build failed for dns/dsc ===>>> Aborting update ===>>> Update for dns/dsc failed ===>>> Aborting update I already tried with MAKE_JOBS_UNSAFE=yes (same error), updatet the ports tree, updated all other ports and tried the rebuild. I get the same error on 4 different 11.2-BSD Boxes. Is there anything else I can try to solve this issue? If you need more information e.g. a complete build log, don't hesitate to ask me Tia philippe
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?013701d4e4b4$41d43720$c57ca560$>