Gentoo Archives: gentoo-amd64

From: "John P. Burkett" <burkett@×××.edu>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] emerge -eav system failed with ati-drivers
Date: Mon, 22 Jun 2009 14:01:33
Message-Id: 4A3F8E99.7090209@uri.edu
In Reply to: Re: [gentoo-amd64] emerge -eav system failed with ati-drivers by David Fellows
1 David Fellows wrote:
2 > On Sun, 21 Jun 2009 17:55:15 -0400
3 > "John P. Burkett" wrote -
4 >> Drake Donahue wrote:
5 >>> Burkett asked:
6 >>>
7 >>> Should I back up any particular files before doing "emerge
8 >>> =sys-kernel/gentoo-sources-2.6.22-r2"? You will simply be restoring the
9 >>> bits that depclean removed.
10 >>>
11 >>> No files should need to backed up.
12 >> Thank you David. Doing
13 >> emerge =sys-kernel/gentoo-sources-2.6.22-r2
14 >> produced the following response
15 >> emerge: there are no ebuilds to satisfy
16 >> "=sys-kernel/gentoo-sources-2.6.22-r2"
17 >
18 > That is true. 2.6.22 has been removed from the portage tree. Your choices are:
19 > 1) to find some one who still has the 2.6.22-r2 ebuild and the corrresponding
20 > sources and patches and create an overlay from them, then use that to
21 > emerge from.
22 >
23 > 2) find someone who still has the top level Makefile from 2.6.22-r2 who will
24 > send it to you. And hope that that is all you are missing.
25 Thank you David. On an x86 machine running kernel 2.6.17-gentoo-r4 I
26 found /usr/src/linux-2.6.22-gentoo-r2/Makefile. I downloaded that
27 Makefile to the /usr/src/linux-2.6.22-gentoo-r2 directory of my amd64
28 machine running 2.6.22-gentoo-r2. Doing "eix-sync" and "emerge
29 ati-drivers" then produced the following response:
30
31 * Found kernel source directory:
32 * /usr/src/linux
33 * Could not detect kernel version.
34 * Please ensure that /usr/src/linux points to a complete set of Linux
35 sources.
36 *
37 * ERROR: x11-drivers/ati-drivers-8.552-r2 failed.
38 * Call stack:
39 * ebuild.sh, line 49: Called pkg_setup
40 * ati-drivers-8.552-r2.ebuild, line 70: Called linux-mod_pkg_setup
41 * linux-mod.eclass, line 578: Called linux-info_pkg_setup
42 * linux-info.eclass, line 696: Called die
43 * The specific snippet of code:
44 * get_version || die "Unable to calculate Linux Kernel version"
45 * The die message:
46 * Unable to calculate Linux Kernel version
47 *
48 * If you need support, post the topmost build error, and the call stack
49 if relevant.
50 * A complete build log is located at
51 '/var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/temp/build.log'.
52 * The ebuild environment file is located at
53 '/var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/temp/die.env'.
54 *
55
56 >>> Failed to emerge x11-drivers/ati-drivers-8.552-r2, Log file:
57
58 >>> '/var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/temp/build.log'
59
60 * Messages for package x11-drivers/ati-drivers-8.552-r2:
61
62 * Could not detect kernel version.
63 * Please ensure that /usr/src/linux points to a complete set of Linux
64 sources.
65 *
66 * ERROR: x11-drivers/ati-drivers-8.552-r2 failed.
67 * Call stack:
68 * ebuild.sh, line 49: Called pkg_setup
69 * ati-drivers-8.552-r2.ebuild, line 70: Called linux-mod_pkg_setup
70 * linux-mod.eclass, line 578: Called linux-info_pkg_setup
71 * linux-info.eclass, line 696: Called die
72 * The specific snippet of code:
73 * get_version || die "Unable to calculate Linux Kernel version"
74 * The die message:
75 * Unable to calculate Linux Kernel version
76
77 The build log and ebuild environment files are attached.
78
79 Doing "ls -l" in my /usr/src/linux directory produces a list including
80 the following line:
81 -rw-r--r-- 1 john john 50411 Jun 22 09:09 Makefile
82
83 I'd be grateful for ideas about how to help emerge detect the kernel
84 version.
85
86 Best regards,
87 John
88
89
90
91 >
92 > 3) Upgrade to a newer kernel. Presumably the latest stable that is compatible
93 > with your desired driver version.
94 >
95 > Realistically 3 is your only reasonable option. The downside is you will have
96 > to do a kernel configuration that is consistent with your existing
97 > configuration.
98 >
99 > You will want to read the kernel upgrade guide first.
100 > http://www.gentoo.org/doc/en/kernel-upgrade.xml
101 >
102 > Remember that emerging a kernel source only installs the source files.
103 > Compiling the kernel is another step. You may already have a suitable kernel
104 > source emerged. eselect kernel list will show which are emerged as will
105 > ls -l /usr/src
106 >
107 >> I also tried
108 >> emerge -s gentoo-sources-2.6.22-r2-osmp
109 >> and a few other variations without finding any ebuilds.
110 >
111 > The osmp is a local identifying tag specified by the person that built
112 > your kernel. The smp probably means symetric multiprocessor. No idea
113 > what the o stands for.
114 >
115 >> Ideas about how to emerge the sources would be very welcome.
116 >>
117 >
118 >
119 > Dave F
120 >
121 >
122
123
124 --
125 John P. Burkett
126 Department of Economics
127 University of Rhode Island
128 Kingston, RI 02881-0808
129 USA
130
131 phone (401) 874-9195

Attachments

File name MIME type
build.log text/plain
die.env text/plain