Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158842 - linux-headers-2.6.17-r2 asm headers patch bad
Summary: linux-headers-2.6.17-r2 asm headers patch bad
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-22 08:23 UTC by Chris
Modified: 2007-01-24 17:13 UTC (History)
0 users

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


Attachments
emerge --info output (emerge.info.txt,3.20 KB, text/plain)
2006-12-22 08:41 UTC, Chris
Details
emerge output (emerge-build-fail.txt,79.01 KB, text/plain)
2006-12-22 08:48 UTC, Chris
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris 2006-12-22 08:23:45 UTC
It appears that the asm header patches that are applied in this build to the types.h files are either bad, or they are being applied incorrectly. After the patch has occurred most of them have an additional #endif at the end of the file which causes compilation to fail.


The following files are broken after the patch on my system, but It appears that the types files for other architectures are also broken


include/asm/posix_types.h:83:2: #endif without #if

include/linux/spinlock_types.h:68:2: #endif without #if

include/linux/types.h:216:2: #endif without #if
Comment 1 Chris 2006-12-22 08:41:00 UTC
Created attachment 104586 [details]
emerge --info output
Comment 2 Chris 2006-12-22 08:48:07 UTC
Created attachment 104587 [details]
emerge output
Comment 3 SpanKY gentoo-dev 2006-12-22 14:12:40 UTC
looks fine to me but i dont really know what you're doing as you didnt say
Comment 4 Chris 2006-12-22 16:11:19 UTC
All I'm doing is an "emerge linux-headers", then I get the errors attached. I suppose though that it could be something related to my particular machine. I checked the ebuild work files on my machine, and all the broken type header files have an additional #endif at the end of the file. Removing these allows the package to build successfully.
Comment 5 SpanKY gentoo-dev 2006-12-22 16:40:30 UTC
your system is ancient; update it

Portage 2.1.1-r2 (default-linux/x86/2006.1/desktop, gcc-3.2.3, glibc-2.3.2-r1, 2.6.14-gentoo-r2 i686)
Comment 6 SpanKY gentoo-dev 2006-12-22 16:44:41 UTC
if you can reproduce with an up-to-date system, i'll review again ... but 2.6.17-r2 works fine in my x86 systems
Comment 7 Martin Gadbois 2007-01-24 17:13:03 UTC
See bug 163604.