x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I/usr/include -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Wall -O2 -pipe -mno-tls-direct-seg-refs -fno-strict-aliasing -c -o bmc.o bmc.c bmc.c: In function ‘bmcStateDecision’: bmc.c:631:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (ptpClock->portState == PTP_SLAVE) ^~ bmc.c:633:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ if(rtOpts->calibrationDelay) { ^~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I/usr/include -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Wall -O2 -pipe -mno-tls-direct-seg-refs -fno-strict-aliasing -c -o ptp_timers.o ptp_timers.c ... x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I/usr/include -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Wall -O2 -pipe -mno-tls-direct-seg-refs -fno-strict-aliasing -c -o dep/snmp.o dep/snmp.c dep/snmp.c: In function ‘snmpScalars’: dep/snmp.c:224:9: error: unknown type name ‘U64’ static U64 counter64_ret; \ ^ dep/snmp.c:283:5: note: in expansion of macro ‘SNMP_LOCAL_VARIABLES’ SNMP_LOCAL_VARIABLES; ^~~~~~~~~~~~~~~~~~~~ dep/snmp.c: In function ‘snmpSystemTable’: dep/snmp.c:224:9: error: unknown type name ‘U64’ static U64 counter64_ret; \ ^ dep/snmp.c:302:2: note: in expansion of macro ‘SNMP_LOCAL_VARIABLES’ SNMP_LOCAL_VARIABLES; ^~~~~~~~~~~~~~~~~~~~ dep/snmp.c: In function ‘snmpSystemDomainTable’: dep/snmp.c:224:9: error: unknown type name ‘U64’ static U64 counter64_ret; \ ^ dep/snmp.c:326:2: note: in expansion of macro ‘SNMP_LOCAL_VARIABLES’ SNMP_LOCAL_VARIABLES; ^~~~~~~~~~~~~~~~~~~~ dep/snmp.c: In function ‘snmpClockDSTable’: dep/snmp.c:224:9: error: unknown type name ‘U64’ static U64 counter64_ret; \ ^ dep/snmp.c:350:2: note: in expansion of macro ‘SNMP_LOCAL_VARIABLES’ SNMP_LOCAL_VARIABLES; ^~~~~~~~~~~~~~~~~~~~ dep/snmp.c:254:17: error: request for member ‘low’ in something not a structure or union counter64_ret.low = htonl(bigint.lsb), \ ^ dep/snmp.c:366:10: note: in expansion of macro ‘SNMP_TIMEINTERNAL’ return SNMP_TIMEINTERNAL(snmpPtpClock->offsetFromMaster); ^~~~~~~~~~~~~~~~~ dep/snmp.c:255:17: error: request for member ‘high’ in something not a structure or union counter64_ret.high = htonl(bigint.msb), \ ^ dep/snmp.c:366:10: note: in expansion of macro ‘SNMP_TIMEINTERNAL’ return SNMP_TIMEINTERNAL(snmpPtpClock->offsetFromMaster); ^~~~~~~~~~~~~~~~~ dep/snmp.c:254:41: warning: left-hand operand of comma expression has no effect [-Wunused-value] counter64_ret.low = htonl(bigint.lsb), \ ^ dep/snmp.c:366:10: note: in expansion of macro ‘SNMP_TIMEINTERNAL’ return SNMP_TIMEINTERNAL(snmpPtpClock->offsetFromMaster); ^~~~~~~~~~~~~~~~~ dep/snmp.c:255:42: warning: left-hand operand of comma expression has no effect [-Wunused-value] counter64_ret.high = htonl(bigint.msb), \ ^ dep/snmp.c:366:10: note: in expansion of macro ‘SNMP_TIMEINTERNAL’ return SNMP_TIMEINTERNAL(snmpPtpClock->offsetFromMaster); ^~~~~~~~~~~~~~~~~ dep/snmp.c:254:17: error: request for member ‘low’ in something not a structure or union counter64_ret.low = htonl(bigint.lsb), \ ^ ^ dep/snmp.c:504:10: note: in expansion of macro ‘SNMP_TIMEINTERNAL’ return SNMP_TIMEINTERNAL(snmpPtpClock->peerMeanPathDelay); ^~~~~~~~~~~~~~~~~ dep/snmp.c:254:41: warning: left-hand operand of comma expression has no effect [-Wunused-value] counter64_ret.low = htonl(bigint.lsb), \ ^ dep/snmp.c:504:10: note: in expansion of macro ‘SNMP_TIMEINTERNAL’ return SNMP_TIMEINTERNAL(snmpPtpClock->peerMeanPathDelay); ^~~~~~~~~~~~~~~~~ dep/snmp.c:255:42: warning: left-hand operand of comma expression has no effect [-Wunused-value] counter64_ret.high = htonl(bigint.msb), \ ^ dep/snmp.c:504:10: note: in expansion of macro ‘SNMP_TIMEINTERNAL’ return SNMP_TIMEINTERNAL(snmpPtpClock->peerMeanPathDelay); ^~~~~~~~~~~~~~~~~ dep/snmp.c:247:17: error: request for member ‘low’ in something not a structure or union ( counter64_ret.low = (V) & 0xffffffff, \ ^ dep/snmp.c:535:10: note: in expansion of macro ‘SNMP_COUNTER64’ return SNMP_COUNTER64(snmpPtpClock->netPath.receivedPacketsTotal); ^~~~~~~~~~~~~~ dep/snmp.c:248:17: error: request for member ‘high’ in something not a structure or union counter64_ret.high = (V) >> 32, \ ^ dep/snmp.c:535:10: note: in expansion of macro ‘SNMP_COUNTER64’ return SNMP_COUNTER64(snmpPtpClock->netPath.receivedPacketsTotal); ^~~~~~~~~~~~~~ dep/snmp.c:247:40: warning: left-hand operand of comma expression has no effect [-Wunused-value] ( counter64_ret.low = (V) & 0xffffffff, \ ^ dep/snmp.c:535:10: note: in expansion of macro ‘SNMP_COUNTER64’ return SNMP_COUNTER64(snmpPtpClock->netPath.receivedPacketsTotal); ^~~~~~~~~~~~~~ dep/snmp.c:248:34: warning: left-hand operand of comma expression has no effect [-Wunused-value] counter64_ret.high = (V) >> 32, \ ^ dep/snmp.c:535:10: note: in expansion of macro ‘SNMP_COUNTER64’ return SNMP_COUNTER64(snmpPtpClock->netPath.receivedPacketsTotal); ^~~~~~~~~~~~~~ dep/snmp.c:247:17: error: request for member ‘low’ in something not a structure or union ( counter64_ret.low = (V) & 0xffffffff, \ ^ dep/snmp.c:537:10: note: in expansion of macro ‘SNMP_COUNTER64’ return SNMP_COUNTER64(snmpPtpClock->netPath.sentPacketsTotal); ^~~~~~~~~~~~~~ dep/snmp.c:248:17: error: request for member ‘high’ in something not a structure or union counter64_ret.high = (V) >> 32, \ ^ dep/snmp.c:537:10: note: in expansion of macro ‘SNMP_COUNTER64’ return SNMP_COUNTER64(snmpPtpClock->netPath.sentPacketsTotal); ^~~~~~~~~~~~~~ dep/snmp.c:247:40: warning: left-hand operand of comma expression has no effect [-Wunused-value] ( counter64_ret.low = (V) & 0xffffffff, \ ^ dep/snmp.c:537:10: note: in expansion of macro ‘SNMP_COUNTER64’ return SNMP_COUNTER64(snmpPtpClock->netPath.sentPacketsTotal); ^~~~~~~~~~~~~~ dep/snmp.c:248:34: warning: left-hand operand of comma expression has no effect [-Wunused-value] counter64_ret.high = (V) >> 32, \ ^ dep/snmp.c:537:10: note: in expansion of macro ‘SNMP_COUNTER64’ return SNMP_COUNTER64(snmpPtpClock->netPath.sentPacketsTotal); ^~~~~~~~~~~~~~ make[2]: *** [Makefile:644: dep/snmp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/var/tmp/portage/net-misc/ptpd-2.3.1/work/ptpd-ptpd-2.3.1/src' make[1]: *** [Makefile:512: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-misc/ptpd-2.3.1/work/ptpd-ptpd-2.3.1' make: *** [Makefile:423: all] Error 2
Created attachment 508448 [details] compilation listing. result port part of recompile for gentoo-17 / gcc 6.4.0 (emerge -e @world )
*** This bug has been marked as a duplicate of bug 587328 ***
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61335110fb03aa12004394835782fb8956f0d65f commit 61335110fb03aa12004394835782fb8956f0d65f Author: Jan Breuer <jan.breuer@mobatime.cz> AuthorDate: 2017-12-06 09:40:23 +0000 Commit: Michael Palimaka <kensington@gentoo.org> CommitDate: 2017-12-06 11:46:20 +0000 net-misc/ptpd: remove broken package 2.3.1 Prevent further bug reports Bug: https://bugs.gentoo.org/639990 Bug: https://bugs.gentoo.org/587328 Closes: https://github.com/gentoo/gentoo/pull/6465 net-misc/ptpd/ptpd-2.3.1.ebuild | 57 ----------------------------------------- 1 file changed, 57 deletions(-)}