Gentoo Archives: gentoo-alt

From: Marshall McMullen <marshall.mcmullen@×××××.com>
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] Re: [AIX] emerge fails on wheelgid
Date: Wed, 18 Jul 2007 17:22:35
Message-Id: 867303fafde746d7aae495568e681cb5@zentire.com
1 I side-stepped this issue and just hard-coded the portage_uid and
2
3 portage_gid to my user and group IDs obtained from our distrubuted
4
5 authentication system.
6
7
8
9 If there is a more permanent / better way to fix this, please let me know.
10
11
12
13 Thanks!!
14
15
16
17 On Wed, 18 Jul 2007 12:10:48 -0500, Marshall McMullen
18
19 <marshall@×××××××.com> wrote:
20
21 > Well, I tried manually overriding the file in question:
22
23 >
24
25 > $EPREFIX/usr/lib/portage/pym/portage/data.py line 70 and setting the
26
27 > wheelgid explicitly, and it fails now with:
28
29 >
30
31 >
32
33 > portage: mdmcmull user or group missing. Please update baselayout
34
35 > and merge portage user(250) and group(250) into your passwd
36
37 > and group files. Non-root compilation is disabled until then.
38
39 >
40
41 > Is there any way around this other than adding my uid/gid to /etc/passwd
42
43 > and /etc/group ??
44
45 >
46
47 > Thanks!
48
49 >
50
51 > On Wed, 18 Jul 2007 12:06:04 -0500, Marshall McMullen
52
53 > <marshall.mcmullen@×××××.com> wrote:
54
55 >> So, still trying to get this working....
56
57 >>
58
59 >> Looks like this is set up in $EPREFIX/usr/lib/portage/const_autotool.py,
60
61 >> and is setting rootuid to my user id, and wheelgid is set to my group
62
63 > id.
64
65 >> Problem is that the user and group ids in this case don't exist in the
66
67 >> /etc/passwd and /etc/group files, as we have some distributed
68
69 >> authentication on this system. Any ideas how to get around this ?
70
71 >>
72
73 >> On Tue, 17 Jul 2007 15:55:12 -0500, Marshall McMullen
74
75 >> <marshall@×××××××.com> wrote:
76
77 >>> I'm trying to get prefixed portage set up on a new AIX 5.3 box, but it
78
79 >>> fails right off the bat with this following error:
80
81 >>>
82
83 >>> $ emerge --oneshot sed
84
85 >>> Traceback (most recent call last):
86
87 >>> File "/gsa/ausgsa/home/m/d/mdmcmull/.overlay/usr/bin/emerge", line
88
89 > 12,
90
91 >>> in
92
93 >>> ?
94
95 >>> from emerge import *
96
97 >>> File
98
99 >>>
100
101 >>
102
103 >
104
105 "/gsa/ausgsa-h2/00/mdmcmull/.overlay/usr/lib/portage/pym/emerge/__init__.py",
106
107 >>> line 27, in ?
108
109 >>> import portage
110
111 >>> File
112
113 >>>
114
115 >>
116
117 >
118
119 "/gsa/ausgsa-h2/00/mdmcmull/.overlay/usr/lib/portage/pym/portage/__init__.py",
120
121 >>> line 77, in ?
122
123 >>> from portage.data import ostype, lchown, userland, secpass, uid,
124
125 >>> wheelgid, \
126
127 >>> File
128
129 >>>
130
131 >>
132
133 >
134
135 "/gsa/ausgsa-h2/00/mdmcmull/.overlay/usr/lib/portage/pym/portage/data.py",
136
137 >>> line 70, in ?
138
139 >>> wheelgroup=grp.getgrgid(wheelgid)[0]
140
141 >>> KeyError: 'getgrgid(): gid not found: 481958'
142
143 >>>
144
145 >>> Has anyone seen this problem before?
146
147 --
148 gentoo-alt@g.o mailing list

Replies

Subject Author
Re: [gentoo-alt] Re: [AIX] emerge fails on wheelgid Fabian Groffen <grobian@g.o>