Summary: | sys-apps/iproute2 fails to compile with <sys-libs/glibc-2.12 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build log |
Description
Agostino Sarubbo
2013-05-01 11:05:54 UTC
Created attachment 347042 [details]
build log
29 Apr 2013; Mike Frysinger <vapier@gentoo.org> iproute2-3.8.0.ebuild: Mark s390/sh stable #458004. @vapier, with which USE combo it worked for you? (In reply to comment #2) > @vapier, with which USE combo it worked for you? ipnetns.c:156:29: error: 'MS_SLAVE' undeclared (first use in this function) ipnetns.c:156:40: error: 'MS_REC' undeclared (first use in this function) ipnetns.c:372:42: error: 'MS_SHARED' undeclared (first use in this function) Those are #define's from /usr/include/sys/mount.h However I see #include <sys/mount.h> in iproute2-3.8.0/ip/ipnetns.c already. Do you see MS_SLAVE, MS_REC, MS_SHARED in your copy of /usr/include/sys/mount.h (which is part of glibc)? (In reply to comment #3) > (In reply to comment #2) > > @vapier, with which USE combo it worked for you? > > ipnetns.c:156:29: error: 'MS_SLAVE' undeclared (first use in this function) > ipnetns.c:156:40: error: 'MS_REC' undeclared (first use in this function) > ipnetns.c:372:42: error: 'MS_SHARED' undeclared (first use in this function) > > Those are #define's from /usr/include/sys/mount.h > However I see #include <sys/mount.h> in iproute2-3.8.0/ip/ipnetns.c already. > > Do you see MS_SLAVE, MS_REC, MS_SHARED in your copy of > /usr/include/sys/mount.h (which is part of glibc)? Obviously no. sh ~ # cat /usr/include/sys/mount.h | grep -E "(MS_SLAVE|MS_REC|MS_SHARED)" | wc -l 0 sh ~ # qfile -v /usr/include/sys/mount.h sys-libs/glibc-2.11.3 (/usr/include/sys/mount.h) I have the latest stable version as an arch team member should have, I don't know which version Mike has. For what I can see, it is defined for the 2.12.2 version, so I suggest to change the DEPEND not specific to SuperH should be all set now in the tree; thanks for the report! Commit message: Fix build with older C libs and missing defines in mount.h http://sources.gentoo.org/sys-apps/iproute2/files/iproute2-3.8.0-old-mount-libc.patch?rev=1.1 http://sources.gentoo.org/sys-apps/iproute2/iproute2-3.8.0.ebuild?r1=1.13&r2=1.14 |