Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 545448 - sys-fs/udev-219 needs at least sys-kernel/linux-headers-3.9
Summary: sys-fs/udev-219 needs at least sys-kernel/linux-headers-3.9
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:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-03 21:31 UTC by Maciej S. Szmigiero
Modified: 2015-04-25 17:59 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej S. Szmigiero 2015-04-03 21:31:26 UTC
sys-fs/udev-219 needs at least (probably) sys-kernel/linux-headers-3.9 to build, due to missing NDA_VLAN, NDA_PORT, NDA_VNI, NDA_IFINDEX declarations in earlier versions.

It looks to me these were introduced in kernel 3.9.0:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/include/uapi/linux/neighbour.h?id=6681712d67eef14c4ce793561c3231659153a320
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/include/uapi/linux/neighbour.h?id=1690be63a27b20ae65c792729a44f5970561ffa4


Reproducible: Always

Steps to Reproduce:
1. Have sys-kernel/linux-headers-3.8
2. Try to build sys-fs/udev-219
3. Watch it fail to build

Actual Results:  
/var/tmp/portage/sys-fs/udev-219/work/systemd-219/src/libsystemd/sd-rtnl/rtnl-types.c:403:10: error: 'NDA_VLAN' undeclared here (not in a function)
         [NDA_VLAN]              = { .type = NLA_U16 },
          ^
/var/tmp/portage/sys-fs/udev-219/work/systemd-219/src/libsystemd/sd-rtnl/rtnl-types.c:403:9: error: array index in initializer not of integer type
         [NDA_VLAN]              = { .type = NLA_U16 },
         ^
/var/tmp/portage/sys-fs/udev-219/work/systemd-219/src/libsystemd/sd-rtnl/rtnl-types.c:403:9: error: (near initialization for 'rtnl_neigh_types')
/var/tmp/portage/sys-fs/udev-219/work/systemd-219/src/libsystemd/sd-rtnl/rtnl-types.c:403:9: warning: excess elements in array initializer [enabled by default]
/var/tmp/portage/sys-fs/udev-219/work/systemd-219/src/libsystemd/sd-rtnl/rtnl-types.c:403:9: warning: (near initialization for 'rtnl_neigh_types') [enabled by default]
/var/tmp/portage/sys-fs/udev-219/work/systemd-219/src/libsystemd/sd-rtnl/rtnl-types.c:404:10: error: 'NDA_PORT' undeclared here (not in a function)
         [NDA_PORT]              = { .type = NLA_U16 },
          ^
/var/tmp/portage/sys-fs/udev-219/work/systemd-219/src/libsystemd/sd-rtnl/rtnl-types.c:404:9: error: array index in initializer not of integer type
         [NDA_PORT]              = { .type = NLA_U16 },
         ^
/var/tmp/portage/sys-fs/udev-219/work/systemd-219/src/libsystemd/sd-rtnl/rtnl-types.c:404:9: error: (near initialization for 'rtnl_neigh_types')
/var/tmp/portage/sys-fs/udev-219/work/systemd-219/src/libsystemd/sd-rtnl/rtnl-types.c:404:9: warning: excess elements in array initializer [enabled by default]
/var/tmp/portage/sys-fs/udev-219/work/systemd-219/src/libsystemd/sd-rtnl/rtnl-types.c:404:9: warning: (near initialization for 'rtnl_neigh_types') [enabled by default]
/var/tmp/portage/sys-fs/udev-219/work/systemd-219/src/libsystemd/sd-rtnl/rtnl-types.c:405:10: error: 'NDA_VNI' undeclared here (not in a function)
         [NDA_VNI]               = { .type = NLA_U32 },
          ^
/var/tmp/portage/sys-fs/udev-219/work/systemd-219/src/libsystemd/sd-rtnl/rtnl-types.c:405:9: error: array index in initializer not of integer type
         [NDA_VNI]               = { .type = NLA_U32 },
         ^
/var/tmp/portage/sys-fs/udev-219/work/systemd-219/src/libsystemd/sd-rtnl/rtnl-types.c:405:9: error: (near initialization for 'rtnl_neigh_types')
/var/tmp/portage/sys-fs/udev-219/work/systemd-219/src/libsystemd/sd-rtnl/rtnl-types.c:405:9: warning: excess elements in array initializer [enabled by default]
/var/tmp/portage/sys-fs/udev-219/work/systemd-219/src/libsystemd/sd-rtnl/rtnl-types.c:405:9: warning: (near initialization for 'rtnl_neigh_types') [enabled by default]
/var/tmp/portage/sys-fs/udev-219/work/systemd-219/src/libsystemd/sd-rtnl/rtnl-types.c:406:10: error: 'NDA_IFINDEX' undeclared here (not in a function)
         [NDA_IFINDEX]           = { .type = NLA_U32 },
          ^
/var/tmp/portage/sys-fs/udev-219/work/systemd-219/src/libsystemd/sd-rtnl/rtnl-types.c:406:9: error: array index in initializer not of integer type
         [NDA_IFINDEX]           = { .type = NLA_U32 },
         ^
/var/tmp/portage/sys-fs/udev-219/work/systemd-219/src/libsystemd/sd-rtnl/rtnl-types.c:406:9: error: (near initialization for 'rtnl_neigh_types')
/var/tmp/portage/sys-fs/udev-219/work/systemd-219/src/libsystemd/sd-rtnl/rtnl-types.c:406:9: warning: excess elements in array initializer [enabled by default]
/var/tmp/portage/sys-fs/udev-219/work/systemd-219/src/libsystemd/sd-rtnl/rtnl-types.c:406:9: warning: (near initialization for 'rtnl_neigh_types') [enabled by default]
make: *** [src/libsystemd/sd-rtnl/libsystemd_internal_la-rtnl-types.lo] Error 1
make: *** Waiting for unfinished jobs....


Expected Results:  
Package should build.
Comment 1 William Hubbs gentoo-dev 2015-04-25 17:59:56 UTC
This is now fixed, thanks for the report.