Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 169899 - sys-apps/raidutils-0.0.6-r1 compile fails, linux/compiler.h: No such file or directory
Summary: sys-apps/raidutils-0.0.6-r1 compile fails, linux/compiler.h: No such file or ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Christian Zoffoli (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-08 07:41 UTC by Joshua Friedman
Modified: 2008-01-13 23:31 UTC (History)
3 users (show)

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 Joshua Friedman 2007-03-08 07:41:08 UTC
The existence of include/linux/i2o-dev.h in the package hijacks the system libraries from being used and breaks the compile. Deleting the directory include/linux to force default library path search and thus use the system libraries worked. I manually invoked compile via ebuild, qmerged, and tested raidutil. It works.

Reproducible: Always

Steps to Reproduce:
1.emerge raidutils-0.0.6-r1

Actual Results:  
>>> Emerging (1 of 1) sys-apps/raidutils-0.0.6-r1 to /
[......SNIP......]
-I../include -march=athlon-xp -O2 -fomit-frame-pointer -fomit-frame-pointer -m3dnow -mmmx -mfpmath=sse -MT libraidutil_la-engcalls.lo -MD -MP -MF .deps/libraidutil_la-engcalls.Tpo -c engcalls.cpp  -fPIC -DPIC -o .libs/libraidutil_la-engcalls.o
In file included from ../include/osd_unix.h:301,
                 from engcalls.cpp:65:
../include/linux/i2o-dev.h:27:28: linux/compiler.h: No such file or directory
make[2]: *** [libraidutil_la-engcalls.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-apps/raidutils-0.0.6-r1/work/raidutils-0.0.6/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-apps/raidutils-0.0.6-r1/work/raidutils-0.0.6'
make: *** [all] Error 2

!!! ERROR: sys-apps/raidutils-0.0.6-r1 failed.
Comment 1 CBke -Left- bye 2007-08-24 20:14:44 UTC
confermed
Comment 2 Michael Croes 2007-09-23 12:03:20 UTC
I can confirm this bug too, as #1 said, installing the package by using the ebuild command and removing the entire include/linux/ folder will work.
Comment 3 Alex Wait 2007-10-25 15:04:03 UTC
I can confirm this also. Really needs to be fixed. :)
Comment 4 Cristi Magherusan 2007-10-26 14:45:51 UTC
Confirmed too, still no official fix yet?
Cristi
Comment 5 Christian Zoffoli (RETIRED) gentoo-dev 2008-01-13 23:31:36 UTC
fixed in cvs.