Gentoo Archives: gentoo-osx

From: m h <sesquile@×××××.com>
To: gentoo-osx@l.g.o
Subject: [gentoo-osx] Re: prefix issues (EAPI, gid, ...)
Date: Sat, 17 Dec 2005 02:06:17
Message-Id: e36b84ee0512161805qceeb25fk9faeef5778b2273d@mail.gmail.com
In Reply to: [gentoo-osx] prefix issues (EAPI, gid, ...) by m h
1 Hmmm, it's one of those non-deterministic days.... After looking at
2 the code then running it again (don't think I changed anything) I now
3 get the following for "emerge -av system"
4 niger:mharrison[1136] emerge -av system
5
6 *** You are not in the portage group. You may experience cache problems
7 *** due to permissions preventing the creation of the on-disk cache.
8 *** Please add this user to the portage group if you wish to use portage.
9
10 Invalid package name in package.provided: virtual/libc
11 Invalid package name in package.provided: virtual/linux-sources
12 Invalid package name in package.provided: virtual/os-headers
13
14 These are the packages that I would merge, in order:
15
16 Calculating system dependencies Cannot chown a lockfile. This could
17 cause inconvenience later.
18 Cannot chown a lockfile. This could cause inconvenience later.
19 -Cannot chown a lockfile. This could cause inconvenience later.
20 Cannot chown a lockfile. This could cause inconvenience later.
21 Cannot chown a lockfile. This could cause inconvenience later.
22 Cannot chown a lockfile. This could cause inconvenience later.
23 Cannot chown a lockfile. This could cause inconvenience later.
24 \Cannot chown a lockfile. This could cause inconvenience later.
25 Cannot chown a lockfile. This could cause inconvenience later.
26 Cannot chown a lockfile. This could cause inconvenience later.
27 |Cannot chown a lockfile. This could cause inconvenience later.
28 Cannot chown a lockfile. This could cause inconvenience later.
29 Cannot chown a lockfile. This could cause inconvenience later.
30
31 !!! All ebuilds that could satisfy ">=sys-apps/portage-2.1_pre" have
32 been masked.
33 !!! One of the following masked packages is required to complete your request:
34 Cannot chown a lockfile. This could cause inconvenience later.
35 - sys-apps/portage-2.1_pre (masked by: required EAPI -0, supported EAPI prefix)
36
37 For more information, see MASKED PACKAGES section in the emerge man page or
38 refer to the Gentoo Handbook.
39
40
41
42 !!! Problem resolving dependencies for >=sys-apps/portage-2.1_pre
43 !!! Depgraph creation failed.
44
45 ##############
46 The lockfile stuff is because I commented out some code for os.chown
47 (trying to change to the portage group and failing).
48
49 But I'm assumming it's trying to merge portage 2.1 because I put
50 Haubi's portage tree in PORTDIR. (Haubi was using 2.1...)
51
52 I guess I'll copy over the tree from my gentoo box and try again.
53
54
55 On 12/16/05, m h <sesquile@×××××.com> wrote:
56 > End of another day, so I'm starting another thread.
57 >
58 > I've attached my bootstrap script.
59 > I still need to do the following to get to the error below.
60 >
61 > root hack (secpass...)
62 > Add content to PORTDIR (using's haubi's prefixed overlay... tried
63 > kito's but it barfed..)
64 > Manually update make.conf to point to PORTDIR and PORTDIR_OVERLAY
65 >
66 > Emerge info gives the following:
67 > niger:mharrison[1134] emerge info
68 >
69 > *** You are not in the portage group. You may experience cache problems
70 > *** due to permissions preventing the creation of the on-disk cache.
71 > *** Please add this user to the portage group if you wish to use portage.
72 >
73 > Invalid package name in package.provided: virtual/libc
74 > Invalid package name in package.provided: virtual/linux-sources
75 > Invalid package name in package.provided: virtual/os-headers
76 > !!! Relying on the shell to locate gcc, this may break
77 > !!! DISTCC, installing gcc-config and setting your current gcc
78 > !!! profile will fix this
79 > Portage 2.0.54 (!/data1/portage/dec16/prefix/toolsbox-4-patchespre.20051216/i686-pc-linux-gnu/portage/profiles/default-secondary/linux/x86,
80 > gcc-3.3.5, unavailable, 2.6.10-1.770_FC3 i686)
81 > =================================================================
82 > System uname: 2.6.10-1.770_FC3 i686 i686
83 > Gentoo Base System version 1.6.13
84 > dev-lang/python: [Not Present]
85 > sys-apps/sandbox: [Not Present]
86 > sys-devel/autoconf: [Not Present]
87 > sys-devel/automake: [Not Present]
88 > sys-devel/binutils: [Not Present]
89 > sys-devel/libtool: [Not Present]
90 > sys-devel/odcctools: [Not Present]
91 > virtual/os-headers: [Not Present]
92 > ACCEPT_KEYWORDS="x86 ~x86"
93 > CBUILD="i686-pc-linux-gnu"
94 > CHOST="i686-pc-linux-gnu"
95 > CONFIG_PROTECT=""
96 > CONFIG_PROTECT_MASK="
97 > /data1/portage/dec16/prefix/toolsbox-4-patchespre.20051216/i686-pc-linux-gnu//etc/env.d"
98 > FEATURES="autoconfig sfperms strict"
99 > LANG="en_US"
100 > PORTAGE_TMPDIR="/var/tmp"
101 > PORTDIR="/data1/portage/dec16/prefix/toolsbox-4-patchespre.20051216/i686-pc-linux-gnu/normalportage"
102 > PORTDIR_OVERLAY="/data1/portage/dec16/prefix/toolsbox-4-patchespre.20051216/i686-pc-linux-gnu/portage"
103 > PREFIX="/data1/portage/dec16/prefix"
104 > USE="x86 secondary elibc_glibc kernel_linux userland_GNU"
105 > Unset: ASFLAGS, AUTOCLEAN, CFLAGS, CTARGET, CXXFLAGS, DISTDIR,
106 > GENTOO_MIRRORS, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PKGDIR, SYNC
107 >
108 > When I try "emerge -av system" I get the following:
109 > global updates blah blah (snipped).....
110 > ...........................
111 >
112 > These are the packages that I would merge, in order:
113 >
114 > Calculating system dependencies Cannot chown a lockfile. This could
115 > cause inconvenience later.
116 > Cannot chown a lockfile. This could cause inconvenience later.
117 >
118 > !!! All ebuilds that could satisfy ">=app-shells/bash-3.0-r9" have been masked.
119 > !!! One of the following masked packages is required to complete your request:
120 > Cannot chown a lockfile. This could cause inconvenience later.
121 > Traceback (most recent call last):
122 > File "/data1/portage/dec16/prefix/toolsbox-4-patchespre.20051216/i686-pc-linux-gnu/bin/emerge",
123 > line 3159, in ?
124 > if not mydepgraph.xcreate(myaction):
125 > File "/data1/portage/dec16/prefix/toolsbox-4-patchespre.20051216/i686-pc-linux-gnu/bin/emerge",
126 > line 1428, in xcreate
127 > if not self.select_dep(portage.root, mydep):
128 > File "/data1/portage/dec16/prefix/toolsbox-4-patchespre.20051216/i686-pc-linux-gnu/bin/emerge",
129 > line 1280, in select_dep
130 > mreasons = portage.getmaskingstatus(p)
131 > File "/data1/portage/dec16/prefix/toolsbox-4-patchespre.20051216/i686-pc-linux-gnu/lib/portage/pym/portage.py",
132 > line 3703, in getmaskingstatus
133 > mygroups, eapi = portdb.aux_get(mycpv, ["KEYWORDS", "EAPI"])
134 > File "/data1/portage/dec16/prefix/toolsbox-4-patchespre.20051216/i686-pc-linux-gnu/lib/portage/pym/portage.py",
135 > line 5048, in aux_get
136 > self.auxdb[mylocation][mycpv] = mydata
137 > KeyError: '/data1/portage/dec16/prefix/toolsbox-4-patchespre.20051216/i686-pc-linux-gnu/portage'
138 >
139 >
140 > Not sure what is going on here. I'm assumming it has to do with EAPI
141 > stuff. Any hints? I'll do my part and look through the code too.
142 >
143 > matt
144 >
145 >
146 >
147
148 --
149 gentoo-osx@g.o mailing list

Replies

Subject Author
Re: [gentoo-osx] Re: prefix issues (EAPI, gid, ...) Brian Harring <ferringb@g.o>