| Summary: | net-misc/linuxptp-1.8 with sys-kernel/linux-headers-4.19 - In file included from clock.c:20: /usr/include/linux/net_tstamp.h:158:2: error: nom de type « clockid_t » inconnu | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Cyril <cyril.baletaud> |
| Component: | Current packages | Assignee: | Thomas Beierlein <tomjbe> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Cyril
2018-12-12 09:05:40 UTC
sorry #include <time.h> The current 1.8 has been superseded a few times since 2016. The current version upstream is 2.0. Yes 2.0 is in my local overlay, but same problem. (In reply to Cyril from comment #3) > Yes 2.0 is in my local overlay, but same problem. Can please give some inforamtion about your kernel version? cyril@gentoothinkstation ~ $ uname -a Linux gentoothinkstation 4.19.10-gentoo #1 SMP PREEMPT Tue Dec 18 09:25:11 CET 2018 x86_64 Intel(R) Xeon(R) CPU E5503 @ 2.00GHz GenuineIntel GNU/Linux Sorry for the late reply. Some problems in real life crept in. In last days I set up an virtual machine with linux-4.19 kernel and linux-headers-4.19 for test. Using kernel version 4.14.14 and 4.14.16 I can not confirm the problem. linuxptp-1.8 and 2.0 are just compiling fine. As 4.19.10 got dropped from tree I can not test with that kernel version any longer. So please do a retest with actual kernel version and report back if the problem still exists. Compile today works fine.
gentoogige /home/cyril/Projets/builds/build-gvspqtreceiver-Desktop-Release # emerge --info linux-headers gentoo-sources linuxptp
Portage 2.3.56 (python 3.6.6-final-0, default/linux/amd64/17.1/systemd, gcc-8.2.0, glibc-2.28-r5, 4.20.2-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-4.20.2-gentoo-x86_64-Intel-R-_Core-TM-_i7-3610QE_CPU_@_2.30GHz-with-gentoo-2.6
KiB Mem: 3879240 total, 1071668 free
KiB Swap: 8388604 total, 6445052 free
Timestamp of repository gentoo: Wed, 16 Jan 2019 08:30:01 +0000
Head commit of repository gentoo: 7bc59c0cacc538d943b795f929729e430aeb8c7a
sh bash 5.0
ld GNU ld (Gentoo 2.31.1 p5) 2.31.1
app-shells/bash: 5.0::gentoo
dev-lang/perl: 5.28.0::gentoo
dev-lang/python: 2.7.15::gentoo, 3.6.6::gentoo, 3.7.0::gentoo
dev-util/cmake: 3.13.3::gentoo
dev-util/pkgconfig: 0.29.2::gentoo
sys-apps/baselayout: 2.6-r1::gentoo
sys-apps/sandbox: 2.15::gentoo
sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake: 1.16.1-r1::gentoo
sys-devel/binutils: 2.31.1-r3::gentoo
sys-devel/gcc: 8.2.0-r6::gentoo
sys-devel/gcc-config: 2.0::gentoo
sys-devel/libtool: 2.4.6-r5::gentoo
sys-devel/make: 4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.20::gentoo (virtual/os-headers)
sys-libs/glibc: 2.28-r5::gentoo
Repositories:
gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://192.168.5.11/gentoo-portage
priority: -1000
sync-rsync-extra-opts:
sync-rsync-verify-jobs: 1
sync-rsync-verify-metamanifest: no
sync-rsync-verify-max-age: 24
monoverlay
location: /usr/local/portage
masters: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs 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 sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="rsync://192.168.5.11/gentoo-distfiles"
LANG="fr_FR.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="fr"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/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="X acl amd64 avx berkdb bzip2 caps cli crypt cxx dbus dri exif fortran gdbm iconv icu ipv6 jpeg libtirpc mmxext multilib ncurses networkmanager nls nptl openmp pam pcre png pulseaudio qt5 readline seccomp ssl ssse3 systemd tcpd threads udev unicode vulkan xattr xkb xmp zlib" ABI_X86="64" 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 plan sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx f16c mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" L10N="fr" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="intel i965" 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, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
=================================================================
Package Settings
=================================================================
sys-kernel/linux-headers-4.20::gentoo was built with the following:
USE="-headers-only" ABI_X86="(64)"
sys-kernel/gentoo-sources-4.20.2::gentoo was built with the following:
USE="-build -experimental -symlink" ABI_X86="(64)"
net-misc/linuxptp-2.0::monoverlay was built with the following:
USE="" ABI_X86="(64)"
Closing |