* Package: net-misc/linuxptp-2.0 * Repository: gentoo * Maintainer: tomjbe@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox @@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; This ebuild was merged at the following commit: https://github.com/gentoo/gentoo/commit/6c491a73e06a4613dca8d29d7bd4efdc5bf3ad60 @@@@@ END @@@@@ * Determining the location of the kernel source code * Unable to find kernel sources at /kernel-4.19.122 * Please ensure that the KERNEL_DIR environment variable points at full Linux sources of the kernel you wish to compile against. * Unable to calculate Linux Kernel version for build, attempting to use running version * Unable to check for the following kernel config options due * to absence of any configured kernel sources or compiled * config: * - PPS * - NETWORK_PHY_TIMESTAMPING * - PTP_1588_CLOCK * You're on your own to make sure they are set if needed. >>> Unpacking source... >>> Unpacking linuxptp-2.0.tgz to /var/tmp/portage/net-misc/linuxptp-2.0/work >>> Source unpacked in /var/tmp/portage/net-misc/linuxptp-2.0/work >>> Preparing source in /var/tmp/portage/net-misc/linuxptp-2.0/work/linuxptp-2.0 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-misc/linuxptp-2.0/work/linuxptp-2.0 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-misc/linuxptp-2.0/work/linuxptp-2.0 ... make -j2 CC=x86_64-pc-linux-gnu-gcc prefix=/usr mandir=/usr/share/man DEPEND timemaster.c DEPEND sysoff.c DEPEND pmc_common.c DEPEND pmc.c DEPEND phc_ctl.c DEPEND phc2sys.c DEPEND nsm.c DEPEND hwstamp_ctl.c DEPEND version.c DEPEND util.c DEPEND unicast_service.c DEPEND unicast_fsm.c DEPEND unicast_client.c DEPEND uds.c DEPEND udp6.c DEPEND udp.c DEPEND tsproc.c DEPEND transport.c DEPEND tlv.c DEPEND telecom.c DEPEND tc.c DEPEND stats.c DEPEND sk.c DEPEND servo.c DEPEND rtnl.c DEPEND raw.c DEPEND p2p_tc.c DEPEND ptp4l.c DEPEND print.c DEPEND pqueue.c DEPEND port_signaling.c DEPEND port.c DEPEND pi.c DEPEND phc.c DEPEND nullf.c DEPEND ntpshm.c DEPEND msg.c DEPEND mmedian.c DEPEND mave.c DEPEND linreg.c DEPEND hash.c DEPEND fsm.c DEPEND filter.c DEPEND fault.c DEPEND e2e_tc.c DEPEND config.c DEPEND clockcheck.c DEPEND clockadj.c DEPEND clock.c DEPEND bmc.c x86_64-pc-linux-gnu-gcc -Wall -DVER=2.0 -D_GNU_SOURCE -DHAVE_ONESTEP_SYNC -DHAVE_ONESTEP_P2P -O2 -pipe -march=native -frecord-gcc-switches -D_GNU_SOURCE -DHAVE_ONESTEP_SYNC -DHAVE_ONESTEP_P2P -c -o ptp4l.o ptp4l.c x86_64-pc-linux-gnu-gcc -Wall -DVER=2.0 -D_GNU_SOURCE -DHAVE_ONESTEP_SYNC -DHAVE_ONESTEP_P2P -O2 -pipe -march=native -frecord-gcc-switches -D_GNU_SOURCE -DHAVE_ONESTEP_SYNC -DHAVE_ONESTEP_P2P -c -o bmc.o bmc.c x86_64-pc-linux-gnu-gcc -Wall -DVER=2.0 -D_GNU_SOURCE -DHAVE_ONESTEP_SYNC -DHAVE_ONESTEP_P2P -O2 -pipe -march=native -frecord-gcc-switches -D_GNU_SOURCE -DHAVE_ONESTEP_SYNC -DHAVE_ONESTEP_P2P -c -o clock.o clock.c x86_64-pc-linux-gnu-gcc -Wall -DVER=2.0 -D_GNU_SOURCE -DHAVE_ONESTEP_SYNC -DHAVE_ONESTEP_P2P -O2 -pipe -march=native -frecord-gcc-switches -D_GNU_SOURCE -DHAVE_ONESTEP_SYNC -DHAVE_ONESTEP_P2P -c -o clockadj.o clockadj.c In file included from clock.c:34: missing.h:79:19: error: static declaration of ‘clock_adjtime’ follows non-static declaration 79 | static inline int clock_adjtime(clockid_t id, struct timex *tx) | ^~~~~~~~~~~~~ In file included from /usr/include/time.h:33, from clock.c:24: /usr/include/bits/time.h:78:12: note: previous declaration of ‘clock_adjtime’ was here 78 | extern int clock_adjtime (__clockid_t __clock_id, struct timex *__utx) __THROW; | ^~~~~~~~~~~~~ clock.c: In function ‘clock_management_fill_response’: clock.c:439:48: warning: taking address of packed member of ‘struct subscribe_events_np’ may result in an unaligned pointer value []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Waddress-of-packed-member-Waddress-of-packed-member]8;;] 439 | clock_get_subscription(c, req, sen->bitmask, &sen->duration); | ^~~~~~~~~~~~~~ In file included from clockadj.c:25: missing.h:79:19: error: static declaration of ‘clock_adjtime’ follows non-static declaration 79 | static inline int clock_adjtime(clockid_t id, struct timex *tx) | ^~~~~~~~~~~~~ In file included from /usr/include/time.h:33, from clockadj.h:24, from clockadj.c:24: /usr/include/bits/time.h:78:12: note: previous declaration of ‘clock_adjtime’ was here 78 | extern int clock_adjtime (__clockid_t __clock_id, struct timex *__utx) __THROW; | ^~~~~~~~~~~~~ make: *** [: clock.o] Error 1 make: *** Waiting for unfinished jobs.... make: *** [: clockadj.o] Error 1 * ERROR: net-misc/linuxptp-2.0::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-misc/linuxptp-2.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-misc/linuxptp-2.0::gentoo'`. * The complete build log is located at '/var/log/emerge-log/build/net-misc/linuxptp-2.0:20200616-174113.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/linuxptp-2.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/linuxptp-2.0/temp/environment'. * Working directory: '/var/tmp/portage/net-misc/linuxptp-2.0/work/linuxptp-2.0' * S: '/var/tmp/portage/net-misc/linuxptp-2.0/work/linuxptp-2.0' emerge --info: Portage 2.3.101 (python 3.7.7-final-0, default/linux/amd64/17.1, gcc-10.1.0, glibc-2.31-r5, 5.4.0-1015-aws x86_64) ================================================================= System uname: Linux-5.4.0-1015-aws-x86_64-AMD_EPYC_7571-with-gentoo-2.7 KiB Mem: 7895548 total, 3836568 free KiB Swap: 0 total, 0 free sh bash 5.0_p17 ld GNU ld (Gentoo 2.34 p4) 2.34.0 app-shells/bash: 5.0_p17::gentoo dev-lang/perl: 5.30.3-r1::gentoo dev-lang/python: 2.7.18::gentoo, 3.7.7-r2::gentoo, 3.8.3::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.20::gentoo sys-devel/autoconf: 2.69-r5::gentoo sys-devel/automake: 1.16.2::gentoo sys-devel/binutils: 2.34-r1::gentoo sys-devel/gcc: 10.1.0-r1::gentoo sys-devel/gcc-config: 2.3::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.7::gentoo (virtual/os-headers) sys-libs/glibc: 2.31-r5::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-metamanifest: yes sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: sync-rsync-verify-max-age: 24 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y -1 -k -b" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" MAKEOPTS="-j2" PKGDIR="/root/.packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl amd64 berkdb bzip2 cli crypt dri fortran gdbm iconv ipv6 libtirpc multilib native-symlinks ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS