Gentoo Archives: gentoo-user

From: Michael Hampicke <mh@××××.biz>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] uninstalled linux-headers
Date: Thu, 16 May 2013 12:54:03
Message-Id: 5194D6DE.7000504@hadt.biz
In Reply to: Re: [gentoo-user] uninstalled linux-headers by Neil Bothwick
1 Am 16.05.2013 14:46, schrieb Neil Bothwick:
2 > On Thu, 16 May 2013 14:38:55 +0200, Tamer Higazi wrote:
3 >
4 >> I uninstalled the linux-headers and the kernel-sources by accident, how
5 >> can I install then again?! Any ideas?!
6 >
7 > emerge -1 linux-headers gentoo-sources
8 >
9
10 It just tried that, out of curiosity:
11
12 I uninstalled linux-headers, and while trying to reinstall them, I get
13 this error:
14
15 >>> Install linux-headers-3.9 into
16 /var/tmp/portage/sys-kernel/linux-headers-3.9/image/ category sys-kernel
17 make -j5 headers_install
18 INSTALL_HDR_PATH=/var/tmp/portage/sys-kernel/linux-headers-3.9/image///usr/include/..
19 ARCH=x86 CROSS_COMPILE=x86_64-pc-linux-gnu-
20 CHK include/generated/uapi/linux/version.h
21 UPD include/generated/uapi/linux/version.h
22 WRAP arch/x86/include/generated/asm/clkdev.h
23 SYSHDR arch/x86/syscalls/../include/generated/uapi/asm/unistd_32.h
24 SYSTBL arch/x86/syscalls/../include/generated/asm/syscalls_32.h
25 SYSHDR arch/x86/syscalls/../include/generated/uapi/asm/unistd_x32.h
26 SYSHDR arch/x86/syscalls/../include/generated/uapi/asm/unistd_64.h
27 HOSTCC arch/x86/tools/relocs
28 In file included from /usr/include/errno.h:35:0,
29 from arch/x86/tools/relocs.c:6:
30 /usr/include/bits/errno.h:24:26: fatal error: linux/errno.h: No such
31 file or directory
32 compilation terminated.
33 make[1]: *** [arch/x86/tools/relocs] Error 1
34 make: *** [archscripts] Error 2
35 make: *** Waiting for unfinished jobs....
36 emake failed
37 * ERROR: sys-kernel/linux-headers-3.9 failed (install phase):
38 * (no error message)
39 *
40 * Call stack:
41 * ebuild.sh, line 93: Called src_install
42 * environment, line 2830: Called kernel-2_src_install
43 * environment, line 2006: Called install_headers
44 * environment, line 1895: Called die
45 * The specific snippet of code:
46 * emake headers_install INSTALL_HDR_PATH="${D}"/${ddir}/..
47 ${xmakeopts} || die;
48 *
49 * If you need support, post the output of `emerge --info
50 '=sys-kernel/linux-headers-3.9'`,
51 * the complete build log and the output of `emerge -pqv
52 '=sys-kernel/linux-headers-3.9'`.
53 * The complete build log is located at
54 '/var/tmp/portage/sys-kernel/linux-headers-3.9/temp/build.log'.
55 * The ebuild environment file is located at
56 '/var/tmp/portage/sys-kernel/linux-headers-3.9/temp/environment'.
57 * Working directory:
58 '/var/tmp/portage/sys-kernel/linux-headers-3.9/work/gentoo-headers-base-3.9'
59 * S:
60 '/var/tmp/portage/sys-kernel/linux-headers-3.9/work/gentoo-headers-base-3.9'
61
62
63 Luckily, I qpkg'ed linux-headers before.
64
65 Maybe you can try installing a binary package of linux-headers from
66 tinderbox? http://tinderbox.dev.gentoo.org/
67
68 > zcat /proc/config.gz >/usr/src/linux/.config
69 >
70 >> I tried, but got at the linux-headers problems.....
71 >
72 > How is anybody supposed to answer that? You tried something but you don't
73 > say what and it gave a problem, which you also keep to yourself. If you
74 > want helpful answers, you have to ask helpful questions.
75 >
76
77 true

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] uninstalled linux-headers Tamer Higazi <th982a@××××××××××.com>
Re: [gentoo-user] uninstalled linux-headers Neil Bothwick <neil@××××××××××.uk>