From owner-freebsd-ports@freebsd.org Wed Apr 17 12:01:25 2019 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 82CEC156796B for ; Wed, 17 Apr 2019 12:01:24 +0000 (UTC) (envelope-from pmaechler-ml@glattnet.ch) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id BEE8675348 for ; Wed, 17 Apr 2019 12:01:23 +0000 (UTC) (envelope-from pmaechler-ml@glattnet.ch) Received: by mailman.ysv.freebsd.org (Postfix) id 8216A1567967; Wed, 17 Apr 2019 12:01:23 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1C8D81567950 for ; Wed, 17 Apr 2019 12:01:23 +0000 (UTC) (envelope-from pmaechler-ml@glattnet.ch) Received: from mx22.glattnet.ch (mx22.glattnet.ch [IPv6:2a00:a680:120::22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DC38775331 for ; Wed, 17 Apr 2019 12:01:21 +0000 (UTC) (envelope-from pmaechler-ml@glattnet.ch) X-Halon-VSP: End: -------------------- X-Halon-Time: : 2.389047665 s X-Halon-Notes: : ALL_TRUSTED,HTML_MESSAGE X-Halon-RPD: : 0 X-Halon-SA: : -1 X-Halon-ID: 80e3388b-6108-11e9-b26a-005056b09978 X-Halon-VSP: Start: DATA_Outbound Received: from GW3051 (unknown [192.168.2.51]) by mx22.glattnet.ch (Halon) with ESMTPSA id 80e3388b-6108-11e9-b26a-005056b09978; Wed, 17 Apr 2019 14:01:16 +0200 (CEST) From: "Philippe Maechler" To: Subject: dns/dsc on FreeBSD 11.2-p9 and 12.0 Date: Wed, 17 Apr 2019 14:01:16 +0200 Message-ID: <035f01d4f515$42c2fba0$c848f2e0$@glattnet.ch> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Content-Language: de-ch Thread-Index: AdT1FQYZXDsBMlMjQMmkZjmmqaSRUg== X-Rspamd-Queue-Id: DC38775331 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.52 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[glattnet.ch]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-1.06)[ip: (-1.47), ipnet: 2a00:a680::/32(-2.13), asn: 61174(-1.71), country: CH(0.01)]; MX_GOOD(-0.01)[mx21.glattnet.ch,mx22.glattnet.ch]; NEURAL_HAM_SHORT(-0.35)[-0.353,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:61174, ipnet:2a00:a680::/32, country:CH]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Apr 2019 12:01:25 -0000 Hello again FreeBSD Ports People In the meantime I updated the system to BSD 12.0-p3 and also updated perl5 from 5.26 to 5.28. unfortunately with almost the same error. In file included from config_hooks.c:43: In file included from ./pcap.h:40: In file included from ./md_array.h:49: In file included from ./dns_message.h:107: /usr/include/arpa/nameser.h:114:9: error: unknown type name 'u_char'; did you mean 'char'? typedef u_char ns_nname[NS_MAXNNAME]; ^ /usr/include/arpa/nameser.h:115:15: error: unknown type name 'u_char'; did you mean 'char'? typedef const u_char *ns_nname_ct; ^ /usr/include/arpa/nameser.h:116:9: error: unknown type name 'u_char'; did you mean 'char'? typedef u_char *ns_nname_t; ^ /usr/include/arpa/nameser.h:128:8: error: unknown type name 'u_char'; did you mean 'char'? const u_char *_msg, *_eom; ^ /usr/include/arpa/nameser.h:130:8: error: unknown type name 'u_char'; did you mean 'char'? const u_char *_sections[ns_s_max]; ^ /usr/include/arpa/nameser.h:133:8: error: unknown type name 'u_char'; did you mean 'char'? const u_char *_msg_ptr; ^ /usr/include/arpa/nameser.h:142:8: error: unknown type name 'u_char'; did you mean 'char'? const u_char *dnptrs[25]; ^ /usr/include/arpa/nameser.h:143:8: error: unknown type name 'u_char'; did you mean 'char'? const u_char **lastdnptr; ^ /usr/include/arpa/nameser.h:168:8: error: unknown type name 'u_char'; did you mean 'char'? const u_char * rdata; ^ /usr/include/arpa/nameser.h:179:2: error: unknown type name 'u_int' u_int ttl; ^ /usr/include/arpa/nameser.h:181:8: error: unknown type name 'u_char'; did you mean 'char'? const u_char * rdata; ^ /usr/include/arpa/nameser.h:587:1: error: unknown type name 'u_int' u_int ns_get16(const u_char *); ^ /usr/include/arpa/nameser.h:587:23: error: unknown type name 'u_char'; did you mean 'char'? u_int ns_get16(const u_char *); ^ /usr/include/arpa/nameser.h:588:1: error: unknown type name 'u_long'; did you mean 'long'? u_long ns_get32(const u_char *); ^ /usr/include/arpa/nameser.h:588:24: error: unknown type name 'u_char'; did you mean 'char'? u_long ns_get32(const u_char *); ^ /usr/include/arpa/nameser.h:589:30: error: expected ')' void ns_put16(u_int, u_char *); ^ /usr/include/arpa/nameser.h:589:15: note: to match this '(' void ns_put16(u_int, u_char *); ^ /usr/include/arpa/nameser.h:589: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:590:31: error: expected ')' void ns_put32(u_long, u_char *); ^ /usr/include/arpa/nameser.h:590:15: note: to match this '(' void ns_put32(u_long, u_char *); ^ /usr/include/arpa/nameser.h:590: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 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 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 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 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 ===>>> You can restart from the point of failure with this command line: portmaster dns/dsc I do get the same error on 5 different FreeBSD machines. Two of them are 11.2 and two are 12.0 and the 5th machine is a freshly installed 12.0 FreeBSD without any ports. The only thing I haven't, tested is in poudriere. there it may work, but I doubt it Has anyone an idea on how to solve this? Best Regards Philippe From: Philippe Maechler Sent: Wednesday, March 27, 2019 4:47 PM To: 'ports@freebsd.org' Subject: dsc on FreeBSD 11.2-p9 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 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 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 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 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