x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=199309 -D_BSD_SOURCE -W -Wall -Wextra -std=gnu99 -Wno-unused-parameter -Wpointer-arith -Winline -Wshadow -Waggregate-return -Wnested-externs -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -O2 -pipe -march=native -c -o ntpclient.o ntpclient.c ntpclient.c: In function ‘get_packet_timestamp’: ntpclient.c:290:17: error: ‘SIOCGSTAMP’ undeclared (first use in this function); did you mean ‘SIOCGARP’? 290 | if (ioctl(usd, SIOCGSTAMP, &udp_arrival) < 0) { | ^~~~~~~~~~ | SIOCGARP ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_hardened-20190815-154659 ------------------------------------------------------------------- Please see the tracker bug for details. gcc-config -l: [1] x86_64-pc-linux-gnu-9.2.0 * Available Python interpreters, in order of preference: [1] python3.6 [2] python2.7 (fallback) [3] pypy (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * java-config: The following VMs are available for generation-2: emerge -qpvO net-misc/ntpclient [ebuild N ] net-misc/ntpclient-2018.244 USE="syslog -debug -embedded -obsolete"
Created attachment 587432 [details] emerge-info.txt
Created attachment 587434 [details] emerge-history.txt
Created attachment 587436 [details] environment
Created attachment 587438 [details] etc.portage.tbz2
Created attachment 587440 [details] logs.tbz2
Created attachment 587442 [details] net-misc:ntpclient-2018.244:20190818-220036.log
Created attachment 587444 [details] temp.tbz2
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=276d256dc07adc0bc09f40fad68ac46a75d62ac8 commit 276d256dc07adc0bc09f40fad68ac46a75d62ac8 Author: Conrad Kostecki <conrad@kostecki.com> AuthorDate: 2019-08-19 18:18:36 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2019-08-20 12:56:01 +0000 net-misc/ntpclient: fix compilation with >=linux-headers-5.2 Closes: https://bugs.gentoo.org/692544 Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: Conrad Kostecki <conrad@kostecki.com> Closes: https://github.com/gentoo/gentoo/pull/12748 Signed-off-by: Joonas Niilola <juippis@gentoo.org> .../ntpclient-2018.244-linux-headers-5.2.patch | 10 +++++++ net-misc/ntpclient/ntpclient-2018.244-r1.ebuild | 35 ++++++++++++++++++++++ 2 files changed, 45 insertions(+)