Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 216243 - opendx fails with error in linux-mod.eclass
Summary: opendx fails with error in linux-mod.eclass
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-04 20:48 UTC by Daniel Pielmeier
Modified: 2008-04-05 17:30 UTC (History)
0 users

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


Attachments
emerge output (emerge.log,1.96 KB, text/plain)
2008-04-04 20:49 UTC, Daniel Pielmeier
Details
environment (emerge.env,136.47 KB, text/plain)
2008-04-04 20:50 UTC, Daniel Pielmeier
Details
emerge info (emerge.info,4.37 KB, text/plain)
2008-04-04 20:50 UTC, Daniel Pielmeier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Pielmeier gentoo-dev 2008-04-04 20:48:54 UTC
The eclass fails to locate the directory for the kernel source and configuration although everything is in place!

It fails for x86 and ~x86 version of opendx.

uname -a
Linux gentoo 2.6.24-gentoo-r3 #2 SMP PREEMPT Fri Mar 14 20:23:11 CET 2008 i686 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz GenuineIntel GNU/Linux

ls -al /usr/src/
insgesamt 16
drwxr-xr-x  4 root root 4096  4. Apr 22:35 .
drwxr-xr-x 14 root root 4096  4. Apr 21:25 ..
lrwxrwxrwx  1 root root   22  4. Apr 22:35 linux -> linux-2.6.24-gentoo-r3
drwxr-xr-x 21 root root 4096  4. Apr 22:04 linux-2.6.24-gentoo-r3
drwxr-xr-x 20 root root 4096 31. Mär 18:47 linux-2.6.24-gentoo-r4

ls -al /usr/src/linux/ | grep .config
-rw-r--r--  1 root root   40708 14. Mär 19:37 .config
-rw-r--r--  1 root root   40686 14. Mär 19:34 .config.old
Comment 1 Daniel Pielmeier gentoo-dev 2008-04-04 20:49:42 UTC
Created attachment 148653 [details]
emerge output
Comment 2 Daniel Pielmeier gentoo-dev 2008-04-04 20:50:07 UTC
Created attachment 148654 [details]
environment
Comment 3 Daniel Pielmeier gentoo-dev 2008-04-04 20:50:27 UTC
Created attachment 148656 [details]
emerge info
Comment 4 Markus Dittrich (RETIRED) gentoo-dev 2008-04-05 13:41:43 UTC
(In reply to comment #3)
> Created an attachment (id=148656) [edit]
> emerge info
> 

From what you posted I don't quite see what the
problem could be. What does (in a bash shell)

[ -s /usr/src/linux/.config ] || echo "broken"

give when executed as a regular user?

Thanks,
Markus
Comment 5 Daniel Pielmeier gentoo-dev 2008-04-05 13:43:19 UTC
~ $ [ -s /usr/src/linux/.config ] || echo "broken"
~ $ 
Comment 6 Markus Dittrich (RETIRED) gentoo-dev 2008-04-05 17:27:13 UTC
Thanks! I think I fixed it. The linux-info.eclass 
recently changed and the ebuilds were now missing 
a call to linux-info_pkg_setup. I've just committed
this to portage cvs. Please re-sync in an hour or so
and re-open if it is still broken.

Thanks,
Makrus
Comment 7 Daniel Pielmeier gentoo-dev 2008-04-05 17:30:09 UTC
(In reply to comment #6)
> Thanks! I think I fixed it. The linux-info.eclass 
> recently changed and the ebuilds were now missing 
> a call to linux-info_pkg_setup. I've just committed
> this to portage cvs. Please re-sync in an hour or so
> and re-open if it is still broken.
> 
> Thanks,
> Makrus
> 

Thanks for your fast response, i will try it and report back!

Regards,
Daniel