Date: Mon, 22 Dec 2014 22:04:59 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 196203] New: net/ntp 4.2.8 build error with RAWDCF enabled (amd64) Message-ID: <bug-196203-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196203 Bug ID: 196203 Summary: net/ntp 4.2.8 build error with RAWDCF enabled (amd64) Product: Ports Tree Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: cy@FreeBSD.org Reporter: fabian@wenks.ch Flags: maintainer-feedback?(cy@FreeBSD.org) Assignee: cy@FreeBSD.org When building net/ntp 4.2.8_3 on a FreeBSD 9.1-RELEASE-p23 / amd64 with the following options enabled: OPTIONS_FILE_SET+=ATOM OPTIONS_FILE_SET+=DOCS OPTIONS_FILE_SET+=EXAMPLES OPTIONS_FILE_SET+=IPV6 OPTIONS_FILE_SET+=NMEA OPTIONS_FILE_SET+=PERL_UTILS OPTIONS_FILE_SET+=RAWDCF OPTIONS_FILE_SET+=SSL During build (even with MAKE_JOBS_UNSAFE=yes) I see the error below. When RAWDCF is not set, building works just fine. CC clk_wharton.o CC clk_varitext.o CC clk_sel240x.o CC data_mbg.o CC info_trimble.o In file included from ../include/ntp_types.h:22, from info_trimble.c:5: ../include/ntp_machine.h:289:67: error: ERROR: You must define one of the HAVE_xx_NICE defines!: No such file or directory In file included from info_trimble.c:5: ../include/ntp_types.h:112:53: error: Bletch: what's 32 bits on this machine?: No such file or directory ../include/ntp_types.h:166:3: error: #error short is not 2 bytes -- what is 16 bit integer on this target? In file included from info_trimble.c:5: ../include/ntp_types.h:191: error: expected specifier-qualifier-list before 'u_int32' ../include/ntp_types.h:194: error: expected specifier-qualifier-list before 'u_int32' ../include/ntp_types.h:209: error: expected specifier-qualifier-list before 'u_int32' ../include/ntp_types.h:213: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'keyid_t' ../include/ntp_types.h:215: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tstamp_t' In file included from ../include/ntp.h:10, from ../include/ntpd.h:11, from info_trimble.c:6: ../include/ntp_fp.h:32: error: expected specifier-qualifier-list before 'u_int32' ../include/ntp_fp.h:35: error: expected specifier-qualifier-list before 'u_int32' ../include/ntp_fp.h:64: error: expected '=', ',', ';', 'asm' or '__attribute__' before 's_fp' ../include/ntp_fp.h:65: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'u_fp' ../include/ntp_fp.h:344: error: expected ')' before 'int' ../include/ntp_fp.h:345: error: expected ')' before 'int' ../include/ntp_fp.h:349: error: expected ')' before 'short' ../include/ntp_fp.h:350: error: expected ')' before 'short' ../include/ntp_fp.h:357: error: expected ')' before '*' token ../include/ntp_fp.h:365: error: expected ')' before 'ntp' In file included from ../include/ntp_assert.h:73, from ../include/ntp_lists.h:110, from ../include/ntp.h:12, from ../include/ntpd.h:11, from info_trimble.c:6: ../lib/isc/include/isc/assertions.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' In file included from ../lib/isc/unix/include/isc/net.h:91, from ../include/ntp_rfc2553.h:72, from ../include/ntp_net.h:25, from ../include/ntp_stdlib.h:14, from ../include/ntp.h:13, from ../include/ntpd.h:11, from info_trimble.c:6: ../lib/isc/include/isc/ipv6.h:63: error: redefinition of 'struct in6_addr' In file included from ../lib/isc/unix/include/isc/net.h:91, from ../include/ntp_rfc2553.h:72, from ../include/ntp_net.h:25, from ../include/ntp_stdlib.h:14, from ../include/ntp.h:13, from ../include/ntpd.h:11, from info_trimble.c:6: ../lib/isc/include/isc/ipv6.h:70:1: warning: "s6_addr" redefined In file included from /usr/include/netinet/in.h:775, from ../lib/isc/unix/include/isc/net.h:81, from ../include/ntp_rfc2553.h:72, from ../include/ntp_net.h:25, from ../include/ntp_stdlib.h:14, from ../include/ntp.h:13, from ../include/ntpd.h:11, from info_trimble.c:6: /usr/include/netinet6/in6.h:103:1: warning: this is the location of the previous definition In file included from ../lib/isc/unix/include/isc/net.h:91, from ../include/ntp_rfc2553.h:72, from ../include/ntp_net.h:25, from ../include/ntp_stdlib.h:14, from ../include/ntp.h:13, from ../include/ntpd.h:11, from info_trimble.c:6: ../lib/isc/include/isc/ipv6.h:75:1: warning: "IN6ADDR_ANY_INIT" redefined In file included from /usr/include/netinet/in.h:775, from ../lib/isc/unix/include/isc/net.h:81, from ../include/ntp_rfc2553.h:72, from ../include/ntp_net.h:25, from ../include/ntp_stdlib.h:14, from ../include/ntp.h:13, from ../include/ntpd.h:11, from info_trimble.c:6: /usr/include/netinet6/in6.h:186:1: warning: this is the location of the previous definition In file included from ../lib/isc/unix/include/isc/net.h:91, from ../include/ntp_rfc2553.h:72, from ../include/ntp_net.h:25, from ../include/ntp_stdlib.h:14, from ../include/ntp.h:13, from ../include/ntpd.h:11, from info_trimble.c:6: ../lib/isc/include/isc/ipv6.h:76:1: warning: "IN6ADDR_LOOPBACK_INIT" redefined In file included from /usr/include/netinet/in.h:775, from ../lib/isc/unix/include/isc/net.h:81, from ../include/ntp_rfc2553.h:72, from ../include/ntp_net.h:25, from ../include/ntp_stdlib.h:14, from ../include/ntp.h:13, from ../include/ntpd.h:11, from info_trimble.c:6: /usr/include/netinet6/in6.h:189:1: warning: this is the location of the previous definition ../lib/isc/include/isc/ipv6.h:81: error: redefinition of 'struct sockaddr_in6' In file included from ../lib/isc/unix/include/isc/net.h:91, from ../include/ntp_rfc2553.h:72, from ../include/ntp_net.h:25, from ../include/ntp_stdlib.h:14, from ../include/ntp.h:13, from ../include/ntpd.h:11, from info_trimble.c:6: ../lib/isc/include/isc/ipv6.h:101:1: warning: "IN6_IS_ADDR_UNSPECIFIED" redefined In file included from /usr/include/netinet/in.h:775, from ../lib/isc/unix/include/isc/net.h:81, from ../include/ntp_rfc2553.h:72, from ../include/ntp_net.h:25, from ../include/ntp_stdlib.h:14, from ../include/ntp.h:13, from ../include/ntpd.h:11, from info_trimble.c:6: /usr/include/netinet6/in6.h:237:1: warning: this is the location of the previous definition In file included from ../lib/isc/unix/include/isc/net.h:91, from ../include/ntp_rfc2553.h:72, from ../include/ntp_net.h:25, from ../include/ntp_stdlib.h:14, from ../include/ntp.h:13, from ../include/ntpd.h:11, from info_trimble.c:6: ../lib/isc/include/isc/ipv6.h:110:1: warning: "IN6_IS_ADDR_LOOPBACK" redefined In file included from /usr/include/netinet/in.h:775, from ../lib/isc/unix/include/isc/net.h:81, from ../include/ntp_rfc2553.h:72, from ../include/ntp_net.h:25, from ../include/ntp_stdlib.h:14, from ../include/ntp.h:13, from ../include/ntpd.h:11, from info_trimble.c:6: /usr/include/netinet6/in6.h:246:1: warning: this is the location of the previous definition In file included from ../lib/isc/unix/include/isc/net.h:91, from ../include/ntp_rfc2553.h:72, from ../include/ntp_net.h:25, from ../include/ntp_stdlib.h:14, from ../include/ntp.h:13, from ../include/ntpd.h:11, from info_trimble.c:6: ../lib/isc/include/isc/ipv6.h:119:1: warning: "IN6_IS_ADDR_V4COMPAT" redefined In file included from /usr/include/netinet/in.h:775, from ../lib/isc/unix/include/isc/net.h:81, from ../include/ntp_rfc2553.h:72, from ../include/ntp_net.h:25, from ../include/ntp_stdlib.h:14, from ../include/ntp.h:13, from ../include/ntpd.h:11, from info_trimble.c:6: /usr/include/netinet6/in6.h:255:1: warning: this is the location of the previous definition In file included from ../lib/isc/unix/include/isc/net.h:91, from ../include/ntp_rfc2553.h:72, from ../include/ntp_net.h:25, from ../include/ntp_stdlib.h:14, from ../include/ntp.h:13, from ../include/ntpd.h:11, from info_trimble.c:6: ../lib/isc/include/isc/ipv6.h:129:1: warning: "IN6_IS_ADDR_V4MAPPED" redefined In file included from /usr/include/netinet/in.h:775, from ../lib/isc/unix/include/isc/net.h:81, from ../include/ntp_rfc2553.h:72, from ../include/ntp_net.h:25, from ../include/ntp_stdlib.h:14, from ../include/ntp.h:13, from ../include/ntpd.h:11, from info_trimble.c:6: /usr/include/netinet6/in6.h:265:1: warning: this is the location of the previous definition In file included from ../lib/isc/unix/include/isc/net.h:91, from ../include/ntp_rfc2553.h:72, from ../include/ntp_net.h:25, from ../include/ntp_stdlib.h:14, from ../include/ntp.h:13, from ../include/ntpd.h:11, from info_trimble.c:6: ../lib/isc/include/isc/ipv6.h:137:1: warning: "IN6_IS_ADDR_MULTICAST" redefined In file included from /usr/include/netinet/in.h:775, from ../lib/isc/unix/include/isc/net.h:81, from ../include/ntp_rfc2553.h:72, from ../include/ntp_net.h:25, from ../include/ntp_stdlib.h:14, from ../include/ntp.h:13, from ../include/ntpd.h:11, from info_trimble.c:6: /usr/include/netinet6/in6.h:302:1: warning: this is the location of the previous definition In file included from ../include/ntp_rfc2553.h:72, from ../include/ntp_net.h:25, from ../include/ntp_stdlib.h:14, from ../include/ntp.h:13, from ../include/ntpd.h:11, from info_trimble.c:6: ../lib/isc/unix/include/isc/net.h:184: error: redefinition of 'struct in6_pktinfo' In file included from ../include/ntp_net.h:25, from ../include/ntp_stdlib.h:14, from ../include/ntp.h:13, from ../include/ntpd.h:11, from info_trimble.c:6: ../include/ntp_rfc2553.h:133: error: redefinition of 'struct sockaddr_storage' ../include/ntp_rfc2553.h:183: error: redefinition of 'struct addrinfo' In file included from ../include/ntp_net.h:25, from ../include/ntp_stdlib.h:14, from ../include/ntp.h:13, from ../include/ntpd.h:11, from info_trimble.c:6: ../include/ntp_rfc2553.h:210:1: warning: "EAI_MAX" redefined In file included from ../include/ntp_rfc2553.h:71, from ../include/ntp_net.h:25, from ../include/ntp_stdlib.h:14, from ../include/ntp.h:13, from ../include/ntpd.h:11, from info_trimble.c:6: /usr/include/netdb.h:170:1: warning: this is the location of the previous definition ../include/ntp_rfc2553.h:218: error: conflicting types for 'gai_strerror' /usr/include/netdb.h:242: error: previous declaration of 'gai_strerror' was here In file included from ../include/ntp_stdlib.h:18, from ../include/ntp.h:13, from ../include/ntpd.h:11, from info_trimble.c:6: ../include/ntp_syslog.h:75: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ntp_syslogmask' In file included from ../include/ntp.h:13, from ../include/ntpd.h:11, from info_trimble.c:6: ../include/ntp_stdlib.h:34: error: expected declaration specifiers or '...' before 'u_int32' ../include/ntp_stdlib.h:66: warning: parameter names (without types) in function declaration ../include/ntp_stdlib.h:67: error: expected ')' before '*' token ../include/ntp_stdlib.h:68: error: expected ')' before '*' token ../include/ntp_stdlib.h:69: warning: parameter names (without types) in function declaration ../include/ntp_stdlib.h:70: warning: parameter names (without types) in function declaration ../include/ntp_stdlib.h:72: error: expected ')' before 'u_long' ../include/ntp_stdlib.h:73: error: expected ')' before 'int' ../include/ntp_stdlib.h:81: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'calyearstart' ../include/ntp_stdlib.h:82: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'calmonthstart' ../include/ntp_stdlib.h:83: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'calweekstart' ../include/ntp_stdlib.h:84: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'caldaystart' ../include/ntp_stdlib.h:87: error: expected declaration specifiers or '...' before 'u_int32' ../include/ntp_stdlib.h:87: error: expected declaration specifiers or '...' before 'u_int32' ../include/ntp_stdlib.h:91: warning: parameter names (without types) in function declaration ../include/ntp_stdlib.h:97: error: expected declaration specifiers or '...' before 'u_int32' ../include/ntp_stdlib.h:98: error: expected declaration specifiers or '...' before 'u_int32' ../include/ntp_stdlib.h:99: error: expected ')' before 'int' ../include/ntp_stdlib.h:100: error: expected '=', ',', ';', 'asm' or '__attribut../include/ntp_refclock.h:74: error: expected specifier-qualifier-list before 'u_int32' ../include/ntp_refclock.h:122: error: expected specifier-qualifier-list before 'u_int32' ../include/ntp_refclock.h:179: error: expected specifier-qualifier-list before 'u_int32' In file included from info_trimble.c:6: ../include/ntpd.h:112: error: expected declaration specifiers or '...' before 'u_int32' ../include/ntpd.h:177: error: expected declaration specifiers or '...' before 'u_int32' ../include/ntpd.h:178: error: expected declaration specifiers or '...' before 'keyid_t' ../include/ntpd.h:183: error: expected declaration specifiers or '...' before 'u_int32' ../include/ntpd.h:184: error: expected declaration specifiers or '...' before 'keyid_t' ../include/ntpd.h:288: error: expected declaration specifiers or '...' before 'u_int32' ../include/ntpd.h:289: error: expected declaration specifiers or '...' before 'u_int32' ../include/ntpd.h:343: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ctl_auth_keyid' ../include/ntpd.h:466: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sys_precision' ../include/ntpd.h:469: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sys_refid' ../include/ntpd.h:481: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sys_private' ../include/ntpd.h:507: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'info_auth_keyid' ../include/ntpd.h:517: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'conf_file_sum' *** [info_trimble.o] Error code 1 Stop in /usr/ports/net/ntp/work/ntp-4.2.8/libparse. *** [all] Error code 1 Stop in /usr/ports/net/ntp/work/ntp-4.2.8/libparse. *** [all-recursive] Error code 1 Stop in /usr/ports/net/ntp/work/ntp-4.2.8. *** [all] Error code 1 Stop in /usr/ports/net/ntp/work/ntp-4.2.8. *** [do-build] Error code 1 Stop in /usr/ports/net/ntp. *** [stage] Error code 1 Stop in /usr/ports/net/ntp. root@superman:/usr/ports/net/ntp # --- Comment #1 from Bugzilla Automation <bugzilla@FreeBSD.org> --- Auto-assigned to maintainer cy@FreeBSD.org -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-196203-13>