Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 506110 - sys-fs/udev-212-r1 - In function 'sd_rtnl_message_append_u8': .../work/systemd-212/src/libsystemd/sd-rtnl/rtnl-message.c:462:38: error: 'IFLA_IPTUN_TTL' undeclared (first use in this function)
Summary: sys-fs/udev-212-r1 - In function 'sd_rtnl_message_append_u8': .../work/syste...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: udev maintainers
URL: http://lists.freedesktop.org/archives...
Whiteboard:
Keywords:
: 510186 510246 510326 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-03-28 20:10 UTC by Piotr Szymaniak
Modified: 2014-05-14 18:20 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,268.14 KB, text/plain)
2014-03-28 20:13 UTC, Piotr Szymaniak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Szymaniak 2014-03-28 20:10:16 UTC
libtool: compile:  i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/home/p/portage/sys-fs/udev-212-r1/work/systemd-212 -include ./config.h -DPKGSYSCONFDIR=\"/etc/systemd\" -DSYSTEM_CONFIG_UNIT_PATH=\"/etc/systemd/system\" -DSYSTEM_DATA_UNIT_PATH=\"/lib/systemd/system\" -DSYSTEM_SYSVINIT_PATH=\"/etc/init.d\" -DSYSTEM_SYSVRCND_PATH=\"/etc/rc.d\" -DUSER_CONFIG_UNIT_PATH=\"/etc/systemd/user\" -DUSER_DATA_UNIT_PATH=\"/usr/lib/systemd/user\" -DCATALOG_DATABASE=\"/var/lib/lib/systemd/catalog/database\" -DSYSTEMD_CGROUP_AGENT_PATH=\"/lib/systemd/systemd-cgroups-agent\" -DSYSTEMD_BINARY_PATH=\"/lib/systemd/systemd\" -DSYSTEMD_SHUTDOWN_BINARY_PATH=\"/lib/systemd/systemd-shutdown\" -DSYSTEMD_SLEEP_BINARY_PATH=\"/lib/systemd/systemd-sleep\" -DSYSTEMCTL_BINARY_PATH=\"/bin/systemctl\" -DSYSTEMD_TTY_ASK_PASSWORD_AGENT_BINARY_PATH=\"/bin/systemd-tty-ask-password-agent\" -DSYSTEMD_STDIO_BRIDGE_BINARY_PATH=\"/usr/bin/systemd-stdio-bridge\" -DROOTPREFIX=\"\" -DRANDOM_SEED_DIR=\"/var/lib/lib/systemd/\" -DRANDOM_SEED=\"/var/lib/lib/systemd/random-seed\" -DSYSTEMD_CRYPTSETUP_PATH=\"/lib/systemd/systemd-cryptsetup\" -DSYSTEM_GENERATOR_PATH=\"/lib/systemd/system-generators\" -DUSER_GENERATOR_PATH=\"/usr/lib/systemd/user-generators\" -DSYSTEM_SHUTDOWN_PATH=\"/lib/systemd/system-shutdown\" -DSYSTEM_SLEEP_PATH=\"/lib/systemd/system-sleep\" -DSYSTEMD_KBD_MODEL_MAP=\"/usr/share/systemd/kbd-model-map\" -DX_SERVER=\"/usr/bin/X\" -DUDEVLIBEXECDIR=\"/lib/udev\" -DPOLKIT_AGENT_BINARY_PATH=\"/usr/bin/pkttyagent\" -DQUOTACHECK=\"/usr/sbin/quotacheck\" -DKEXEC=\"/usr/sbin/kexec\" -I /home/p/portage/sys-fs/udev-212-r1/work/systemd-212/src -I ./src/shared -I /home/p/portage/sys-fs/udev-212-r1/work/systemd-212/src/shared -I /home/p/portage/sys-fs/udev-212-r1/work/systemd-212/src/network -I /home/p/portage/sys-fs/udev-212-r1/work/systemd-212/src/login -I /home/p/portage/sys-fs/udev-212-r1/work/systemd-212/src/journal -I /home/p/portage/sys-fs/udev-212-r1/work/systemd-212/src/timedate -I /home/p/portage/sys-fs/udev-212-r1/work/systemd-212/src/systemd -I ./src/core -I /home/p/portage/sys-fs/udev-212-r1/work/systemd-212/src/core -I /home/p/portage/sys-fs/udev-212-r1/work/systemd-212/src/libudev -I /home/p/portage/sys-fs/udev-212-r1/work/systemd-212/src/udev -I /home/p/portage/sys-fs/udev-212-r1/work/systemd-212/src/udev/net -I ./src/udev -I /home/p/portage/sys-fs/udev-212-r1/work/systemd-212/src/libsystemd/sd-bus -I /home/p/portage/sys-fs/udev-212-r1/work/systemd-212/src/libsystemd/sd-event -I /home/p/portage/sys-fs/udev-212-r1/work/systemd-212/src/libsystemd/sd-rtnl -I /home/p/portage/sys-fs/udev-212-r1/work/systemd-212/src/libsystemd-network -pipe -Wall -Wextra -Wno-inline -Wundef -Wformat=2 -Wformat-security -Wformat-nonliteral -Wlogical-op -Wsign-compare -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wsuggest-attribute=noreturn -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wstrict-aliasing=2 -Wwrite-strings -Wno-long-long -Wno-overlength-strings -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-result -Werror=overflow -Wnested-externs -ffast-math -fno-common -fdiagnostics-show-option -fno-strict-aliasing -fvisibility=hidden -ffunction-sections -fdata-sections -fstack-protector --param=ssp-buffer-size=4 -pthread -march=k8-sse3 -Os -pipe -fomit-frame-pointer -c /home/p/portage/sys-fs/udev-212-r1/work/systemd-212/src/libsystemd/sd-rtnl/rtnl-message.c  -fPIC -DPIC -o src/libsystemd/sd-rtnl/.libs/libsystemd_internal_la-rtnl-message.o
cc1: warning: ./src/core: No such file or directory [enabled by default]
/home/p/portage/sys-fs/udev-212-r1/work/systemd-212/src/libsystemd/sd-rtnl/rtnl-message.c: In function 'sd_rtnl_message_append_u8':
/home/p/portage/sys-fs/udev-212-r1/work/systemd-212/src/libsystemd/sd-rtnl/rtnl-message.c:462:38: error: 'IFLA_IPTUN_TTL' undeclared (first use in this function)
                                 case IFLA_IPTUN_TTL:
                                      ^
/home/p/portage/sys-fs/udev-212-r1/work/systemd-212/src/libsystemd/sd-rtnl/rtnl-message.c:462:38: note: each undeclared identifier is reported only once for each function it appears in
/home/p/portage/sys-fs/udev-212-r1/work/systemd-212/src/libsystemd/sd-rtnl/rtnl-message.c:463:38: error: 'IFLA_IPTUN_TOS' undeclared (first use in this function)
                                 case IFLA_IPTUN_TOS:
                                      ^
/home/p/portage/sys-fs/udev-212-r1/work/systemd-212/src/libsystemd/sd-rtnl/rtnl-message.c:464:38: error: 'IFLA_IPTUN_PROTO' undeclared (first use in this function)
                                 case IFLA_IPTUN_PROTO:
                                      ^
/home/p/portage/sys-fs/udev-212-r1/work/systemd-212/src/libsystemd/sd-rtnl/rtnl-message.c:465:38: error: 'IFLA_IPTUN_PMTUDISC' undeclared (first use in this function)
                                 case IFLA_IPTUN_PMTUDISC:
                                      ^
/home/p/portage/sys-fs/udev-212-r1/work/systemd-212/src/libsystemd/sd-rtnl/rtnl-message.c:466:38: error: 'IFLA_IPTUN_ENCAP_LIMIT' undeclared (first use in this function)
                                 case IFLA_IPTUN_ENCAP_LIMIT:
                                      ^
/home/p/portage/sys-fs/udev-212-r1/work/systemd-212/src/libsystemd/sd-rtnl/rtnl-message.c: In function 'sd_rtnl_message_append_u16':
/home/p/portage/sys-fs/udev-212-r1/work/systemd-212/src/libsystemd/sd-rtnl/rtnl-message.c:508:45: error: 'IFLA_IPTUN_FLAGS' undeclared (first use in this function)
                                        case IFLA_IPTUN_FLAGS:
                                             ^
/home/p/portage/sys-fs/udev-212-r1/work/systemd-212/src/libsystemd/sd-rtnl/rtnl-message.c:511:45: error: 'IFLA_IPTUN_6RD_PREFIXLEN' undeclared (first use in this function)
                                        case IFLA_IPTUN_6RD_PREFIXLEN:
                                             ^
/home/p/portage/sys-fs/udev-212-r1/work/systemd-212/src/libsystemd/sd-rtnl/rtnl-message.c:512:45: error: 'IFLA_IPTUN_6RD_RELAY_PREFIXLEN' undeclared (first use in this function)
                                        case IFLA_IPTUN_6RD_RELAY_PREFIXLEN:
                                             ^
/home/p/portage/sys-fs/udev-212-r1/work/systemd-212/src/libsystemd/sd-rtnl/rtnl-message.c: In function 'sd_rtnl_message_append_u32':
/home/p/portage/sys-fs/udev-212-r1/work/systemd-212/src/libsystemd/sd-rtnl/rtnl-message.c:561:38: error: 'IFLA_IPTUN_LOCAL' undeclared (first use in this function)
                                 case IFLA_IPTUN_LOCAL:
                                      ^
/home/p/portage/sys-fs/udev-212-r1/work/systemd-212/src/libsystemd/sd-rtnl/rtnl-message.c:562:38: error: 'IFLA_IPTUN_REMOTE' undeclared (first use in this function)
                                 case IFLA_IPTUN_REMOTE:
                                      ^
/home/p/portage/sys-fs/udev-212-r1/work/systemd-212/src/libsystemd/sd-rtnl/rtnl-message.c:564:38: error: 'IFLA_IPTUN_FLAGS' undeclared (first use in this function)
                                 case IFLA_IPTUN_FLAGS:
                                      ^
/home/p/portage/sys-fs/udev-212-r1/work/systemd-212/src/libsystemd/sd-rtnl/rtnl-message.c:565:38: error: 'IFLA_IPTUN_FLOWINFO' undeclared (first use in this function)
                                 case IFLA_IPTUN_FLOWINFO:
                                      ^
/home/p/portage/sys-fs/udev-212-r1/work/systemd-212/src/libsystemd/sd-rtnl/rtnl-message.c:566:38: error: 'IFLA_GRE_FLOWINFO' undeclared (first use in this function)
                                 case IFLA_GRE_FLOWINFO:
                                      ^
/home/p/portage/sys-fs/udev-212-r1/work/systemd-212/src/libsystemd/sd-rtnl/rtnl-message.c: In function 'sd_rtnl_message_append_in6_addr':
/home/p/portage/sys-fs/udev-212-r1/work/systemd-212/src/libsystemd/sd-rtnl/rtnl-message.c:687:38: error: 'IFLA_IPTUN_6RD_PREFIX' undeclared (first use in this function)
                                 case IFLA_IPTUN_6RD_PREFIX:
                                      ^
/home/p/portage/sys-fs/udev-212-r1/work/systemd-212/src/libsystemd/sd-rtnl/rtnl-message.c: In function 'sd_rtnl_message_enter_container':
/home/p/portage/sys-fs/udev-212-r1/work/systemd-212/src/libsystemd/sd-rtnl/rtnl-message.c:976:79: error: 'IFLA_BRIDGE_MAX' undeclared (first use in this function)
                                                                         max = IFLA_BRIDGE_MAX;
                                                                               ^
Makefile:11850: recipe for target 'src/libsystemd/sd-rtnl/libsystemd_internal_la-rtnl-message.lo' failed
make: *** [src/libsystemd/sd-rtnl/libsystemd_internal_la-rtnl-message.lo] Error 1
make: *** Waiting for unfinished jobs....
 * ERROR: sys-fs/udev-212-r1::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=sys-fs/udev-212-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-fs/udev-212-r1::gentoo'`.
 * The complete build log is located at '/home/p/portage/sys-fs/udev-212-r1/temp/build.log'.
 * The ebuild environment file is located at '/home/p/portage/sys-fs/udev-212-r1/temp/environment'.
 * Working directory: '/home/p/portage/sys-fs/udev-212-r1/work/systemd-212-default'
 * S: '/home/p/portage/sys-fs/udev-212-r1/work/systemd-212'
Comment 1 Piotr Szymaniak 2014-03-28 20:11:33 UTC
wloczykij ~ # emerge --info '=sys-fs/udev-212-r1::gentoo'
Portage 2.2.10 (default/linux/x86/13.0, gcc-4.8.2, glibc-2.18-r1, 3.4.82 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.4.82-i686-AMD_Sempron-tm-_Processor_3000+-with-gentoo-2.2
KiB Mem:     2075400 total,    414192 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Fri, 28 Mar 2014 07:45:01 +0000
ld GNU ld (GNU Binutils) 2.24
distcc 3.1 i686-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p45-r1
dev-lang/python:          2.7.6
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.14.1
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc:           2.18-r1
Repositories: gentoo roslin
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=k8-sse3 -Os -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=k8-sse3 -Os -pipe -fomit-frame-pointer"
DISTDIR="/home/p/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news nodoc noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://gentoo.mirror.pw.edu.pl/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1,--as-needed,--sort-common"
MAKEOPTS="-j2"
PKGDIR="/home/p/paczki"
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"
PORTAGE_TMPDIR="/home/p"
PORTDIR="/home/p/drzewko"
PORTDIR_OVERLAY="/home/p/roslin"
SYNC="rsync://rsync1.pl.gentoo.org/gentoo-portage"
USE="acl bzip2 cli cracklib crypt custom-cflags custom-cxxflags cxx dri fortran gpg gudev hwdb iconv ipv6 mmx modules ncurses nls nptl openmp pam pcre readline session sse ssl tcpd threads unicode usb vim-syntax x86 zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en pl" NGINX_MODULES_HTTP="access auth_basic autoindex empty_gif fastcgi gzip map rewrite stub_status" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware 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:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON



wloczykij ~ # emerge -pqv '=sys-fs/udev-212-r1::gentoo'
[ebuild     U ] sys-fs/udev-212-r1 [211] USE="acl firmware-loader gudev kmod openrc -doc -introspection (-selinux) -static-libs" 
[ebuild  N    ] virtual/libgudev-208  USE="-introspection -static-libs"
Comment 2 Piotr Szymaniak 2014-03-28 20:13:36 UTC
Created attachment 373770 [details]
build.log
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2014-03-29 06:19:45 UTC
you need to upgrade linux-headers at least to 3.7, the current stable seems to be 3.9

and yes, I see that you are running Linux 3.4, but that doesn't mean the userspace kernel API headers need to be the same version, so you can safely upgrade, without also upgrading the kernel

reopen if not fixed by this:

http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-212-r1.ebuild?r1=1.4&r2=1.5
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2014-03-29 06:52:26 UTC
For reference,

http://cgit.freedesktop.org/systemd/systemd/commit/?id=8c57830308a612b06b53f5fd31cfb765d8710d68
http://cgit.freedesktop.org/systemd/systemd/commit/?id=9f5bbfe354c52cd9e28cca32c35596b73e8d738b
http://cgit.freedesktop.org/systemd/systemd/commit/?id=d8e538ecd9e62f841242f07e3df5c835c1ba6313
http://cgit.freedesktop.org/systemd/systemd/commit/?id=aef0768e6c74c5be7c3422926efd46009342e9c6

^ This is why only 212 will pull in linux-headers-3.7, whereas 9999 and following 213 will allow olders again.
Upstream reworked the code, so 9999 should build again with older linux-headers. Not that it matters for Gentoo, since we have 3.9 stabilized, but like said, information for the references sake.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2014-03-29 06:54:41 UTC
And upstream discussion,

http://lists.freedesktop.org/archives/systemd-devel/2014-March/018267.html
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-13 15:59:09 UTC
*** Bug 510246 has been marked as a duplicate of this bug. ***
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2014-05-13 16:09:47 UTC
*** Bug 510186 has been marked as a duplicate of this bug. ***
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2014-05-14 18:20:25 UTC
*** Bug 510326 has been marked as a duplicate of this bug. ***