Gentoo Archives: gentoo-user

From: Nima Talebi <nima@××××××.au>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Fwd: Gentoo Prefix Issue...
Date: Wed, 06 Jun 2012 05:24:29
Message-Id: CA+dRicEw7MDfDfN32DqQU8pMjTSXV3gd3dUL1iCyf-8L-ecd0Q@mail.gmail.com
1 Hi All,
2
3 Could someone point out what's the deal with the following:
4
5 % emerge --oneshot virtual/os-headers
6 Calculating dependencies... done!
7
8 >>> Verifying ebuild manifests
9
10 >>> Starting parallel fetch
11
12 >>> Emerging (1 of 2) sys-kernel/linux-headers-3.3
13 * gentoo-headers-base-3.3.tar.xz RMD160 SHA1 SHA256 size ;-) ...
14 [ ok ]
15 * gentoo-headers-3.3-2.tar.xz RMD160 SHA1 SHA256 size ;-) ...
16 [ ok ]
17 >>> Unpacking source...
18 >>> Unpacking gentoo-headers-base-3.3.tar.xz to
19 /home/talebi/gentoo/var/tmp/portage/sys-kernel/linux-headers-3.3/work
20
21 This process ultimately fails, because the unpacking drops the files into
22 gentoo/var/tmp/portage/sys-kernel/linux-headers-3.3/work as root, and then
23 later things begin to fail as it (running as a non-root user) doesn't have
24 permissions to chmod, chown, etc:
25
26 ...
27 chmod: changing permissions of
28 `gentoo-headers-base-3.3/include/drm/drm_dp_helper.h': Operation not
29 permitted
30 chmod: changing permissions of
31 `gentoo-headers-base-3.3/include/drm/drm_hashtab.h': Operation not permitted
32 chmod: changing permissions of
33 `gentoo-headers-base-3.3/include/drm/drm_usb.h': Operation not permitted
34 chmod: changing permissions of
35 `gentoo-headers-base-3.3/include/drm/drm_fixed.h': Operation not permitted
36 chmod: changing permissions of
37 `gentoo-headers-base-3.3/include/drm/drmP.h': Operation not permitted
38 chmod: changing permissions of
39 `gentoo-headers-base-3.3/include/drm/drm_mm.h': Operation not permitted
40 chmod: changing permissions of
41 `gentoo-headers-base-3.3/include/drm/vmwgfx_drm.h': Operation not permitted
42 chmod: changing permissions of
43 `gentoo-headers-base-3.3/include/drm/i810_drm.h': Operation not permitted
44 chmod: changing permissions of
45 `gentoo-headers-base-3.3/include/drm/drm_crtc.h': Operation not permitted
46 chmod: changing permissions of `gentoo-headers-base-3.3/include/config':
47 Operation not permitted
48 make headers_install
49 INSTALL_HDR_PATH=/home/talebi/gentoo/var/tmp/portage/sys-kernel/linux-headers-3.3/image///home/talebi/gentoo/usr/include/..
50 ARCH=x86 CROSS_COMPILE=x86_64-pc-linux-gnu-
51 make[1]: Entering directory
52 `/home/talebi/gentoo/var/tmp/portage/sys-kernel/linux-headers-3.3/work/gentoo-headers-base-3.3'
53 CHK include/linux/version.h
54 /home/talebi/gentoo/tmp/usr/bin/bash: include/linux/version.h.tmp:
55 Permission denied
56 make[1]: *** [include/linux/version.h] Error 1
57 make[1]: Leaving directory
58 `/home/talebi/gentoo/var/tmp/portage/sys-kernel/linux-headers-3.3/work/gentoo-headers-base-3.3'
59 emake failed
60 * ERROR: sys-kernel/linux-headers-3.3 failed (install phase):
61 * (no error message)
62 *
63 * Call stack:
64 * ebuild.sh, line 85: Called src_install
65 * environment, line 2673: Called kernel-2_src_install
66 * environment, line 1909: Called install_headers
67 * environment, line 1804: Called die
68 * The specific snippet of code:
69 * emake headers_install INSTALL_HDR_PATH="${D}"/${ddir}/..
70 ${xmakeopts} || die;
71 *
72 * If you need support, post the output of 'emerge --info
73 =sys-kernel/linux-headers-3.3',
74 * the complete build log and the output of 'emerge -pqv
75 =sys-kernel/linux-headers-3.3'.
76 * The complete build log is located at
77 '/home/talebi/gentoo/var/tmp/portage/sys-kernel/linux-headers-3.3/temp/build.log'.
78 * The ebuild environment file is located at
79 '/home/talebi/gentoo/var/tmp/portage/sys-kernel/linux-headers-3.3/temp/environment'.
80 * Working directory:
81 '/home/talebi/gentoo/var/tmp/portage/sys-kernel/linux-headers-3.3/work/gentoo-headers-base-3.3'
82 * S:
83 '/home/talebi/gentoo/var/tmp/portage/sys-kernel/linux-headers-3.3/work/gentoo-headers-base-3.3'
84
85 >>> Failed to emerge sys-kernel/linux-headers-3.3, Log file:
86
87 >>>
88 '/home/talebi/gentoo/var/tmp/portage/sys-kernel/linux-headers-3.3/temp/build.log'
89
90 * Messages for package sys-kernel/linux-headers-3.3:
91
92 * ERROR: sys-kernel/linux-headers-3.3 failed (install phase):
93 * (no error message)
94 *
95 * Call stack:
96 * ebuild.sh, line 85: Called src_install
97 * environment, line 2673: Called kernel-2_src_install
98 * environment, line 1909: Called install_headers
99 * environment, line 1804: Called die
100 * The specific snippet of code:
101 * emake headers_install INSTALL_HDR_PATH="${D}"/${ddir}/..
102 ${xmakeopts} || die;
103 *
104 * If you need support, post the output of 'emerge --info
105 =sys-kernel/linux-headers-3.3',
106 * the complete build log and the output of 'emerge -pqv
107 =sys-kernel/linux-headers-3.3'.
108 * The complete build log is located at
109 '/home/talebi/gentoo/var/tmp/portage/sys-kernel/linux-headers-3.3/temp/build.log'.
110 * The ebuild environment file is located at
111 '/home/talebi/gentoo/var/tmp/portage/sys-kernel/linux-headers-3.3/temp/environment'.
112 * Working directory:
113 '/home/talebi/gentoo/var/tmp/portage/sys-kernel/linux-headers-3.3/work/gentoo-headers-base-3.3'
114 * S:
115 '/home/talebi/gentoo/var/tmp/portage/sys-kernel/linux-headers-3.3/work/gentoo-headers-base-3.3'
116 make: *** [all] Error 1
117 talebi@devsyd899:~/gentoo>
118
119 I can post `emerge info/pqv' if requried, but at this point I think the
120 problem is obvious - I also can not remove the files there now as they all
121 belong to root:root (and I don't have root access on this machine).
122
123 Nima

Replies

Subject Author
Re: [gentoo-user] Fwd: Gentoo Prefix Issue... Michael Higgins <linux@×××××××.org>