Summary: | Many packages don't compile with linux-headers-2.6.28: /usr/include/linux/serial.h:164: error: expected specifier-qualifier-list before ‘__u32’ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | giovanni.bobbio |
Component: | New packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aagaande, alexxy, azamat.hackimov, birkin, chris, conikost, dawnstyle, mieszkoslusarczyk, polidevk.polidevk, Raiko.Meinhardt, ryan.vanderplas, subs, tregubov.evgenii |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
giovanni.bobbio
2008-12-27 18:05:32 UTC
The same issue affects hal-0.5.11-r4 In linux-headers 2.6.28, linux/serial.h is broken. It should include <linux/types.h>, but does that only during kernel build. *** Bug 252758 has been marked as a duplicate of this bug. *** *** Bug 252759 has been marked as a duplicate of this bug. *** *** Bug 252796 has been marked as a duplicate of this bug. *** *** Bug 252805 has been marked as a duplicate of this bug. *** *** Bug 252789 has been marked as a duplicate of this bug. *** *** Bug 252803 has been marked as a duplicate of this bug. *** *** Bug 252804 has been marked as a duplicate of this bug. *** Editing /usr/include/linux/serial.h worked fine to enable the emerge of any packages that refered to it. edited the top of serial.h to this: #ifndef _LINUX_SERIAL_H #define _LINUX_SERIAL_H #include <linux/types.h> everything below was left as normal. Will be doing the same on another machine to test results. Not a true fix, but a good workaround. Similarly ~Amd64 Also, x11-libs/gtk+:2, dev-python/pygobject, dev-lang/php, dev-libs/glib... And nonremovable error configure for all packages: checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object...failed (In reply to comment #10) > Editing /usr/include/linux/serial.h worked fine to enable the emerge of any > packages that refered to it. Here also patch from Ubuntu team: http://launchpadlibrarian.net/20136526/0001-serial-RS485-ioctl-structure-uses-__u32-include-lin.patch fixed with linux-headers-2.6.28-r1 http://sources.gentoo.org/gentoo/src/patchsets/gentoo-headers/2.6.28/00_all_linux-serial.h-pull-in-linux-types.h-for-userspace.patch?rev=1.1 *** Bug 252969 has been marked as a duplicate of this bug. *** *** Bug 252968 has been marked as a duplicate of this bug. *** *** Bug 253019 has been marked as a duplicate of this bug. *** *** Bug 253047 has been marked as a duplicate of this bug. *** *** Bug 255726 has been marked as a duplicate of this bug. *** Would anyone mind hard-masking linux-headers-2.6.28 ? |