Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
The valgrind-2.2.x ebuilds (correctly) remove the net/if.h include from vg_unsafe.h if a version newer than 2.6.7 of the Linux headers are installed. However, the check is only performed for sys-kernel/linux26-headers, not for sys-kernel/linux-headers. Ebuilds need to be updated accordingly. The relevant ebuild section is: if has_version '>=sys-kernel/linux26-headers-2.6.7' ; then einfo "Removing net/if.h from the includes in vg_unsafe.h" sed -i -e "s:#include <net/if.h>::" \ coregrind/vg_unsafe.h ||die fi A very quick fix would be to duplicate that section and put linux-headers instead of the linux26-headers in the duplicated section. That works just fine for me in my overlay.
This shouldn't be an issue right now, because 2.6.x versions of linux-headers are masked. However, I'll add a fix the next time I update the ebuild. Thanks for bringing this to my attention.
Fix included in 2.2.0-r2
Reopening to change resolution from REMIND to FIXED. Otherwise it will stay on my buglist.
Done