Mailing List Archive

prefix issues (EAPI, gid, ...)
End of another day, so I'm starting another thread.

I've attached my bootstrap script.
I still need to do the following to get to the error below.

root hack (secpass...)
Add content to PORTDIR (using's haubi's prefixed overlay... tried
kito's but it barfed..)
Manually update make.conf to point to PORTDIR and PORTDIR_OVERLAY

Emerge info gives the following:
niger:mharrison[1134] emerge info

*** You are not in the portage group. You may experience cache problems
*** due to permissions preventing the creation of the on-disk cache.
*** Please add this user to the portage group if you wish to use portage.

Invalid package name in package.provided: virtual/libc
Invalid package name in package.provided: virtual/linux-sources
Invalid package name in package.provided: virtual/os-headers
!!! Relying on the shell to locate gcc, this may break
!!! DISTCC, installing gcc-config and setting your current gcc
!!! profile will fix this
Portage 2.0.54 (!/data1/portage/dec16/prefix/toolsbox-4-patchespre.20051216/i686-pc-linux-gnu/portage/profiles/default-secondary/linux/x86,
gcc-3.3.5, unavailable, 2.6.10-1.770_FC3 i686)
=================================================================
System uname: 2.6.10-1.770_FC3 i686 i686
Gentoo Base System version 1.6.13
dev-lang/python: [Not Present]
sys-apps/sandbox: [Not Present]
sys-devel/autoconf: [Not Present]
sys-devel/automake: [Not Present]
sys-devel/binutils: [Not Present]
sys-devel/libtool: [Not Present]
sys-devel/odcctools: [Not Present]
virtual/os-headers: [Not Present]
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT=""
CONFIG_PROTECT_MASK="
/data1/portage/dec16/prefix/toolsbox-4-patchespre.20051216/i686-pc-linux-gnu//etc/env.d"
FEATURES="autoconfig sfperms strict"
LANG="en_US"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/data1/portage/dec16/prefix/toolsbox-4-patchespre.20051216/i686-pc-linux-gnu/normalportage"
PORTDIR_OVERLAY="/data1/portage/dec16/prefix/toolsbox-4-patchespre.20051216/i686-pc-linux-gnu/portage"
PREFIX="/data1/portage/dec16/prefix"
USE="x86 secondary elibc_glibc kernel_linux userland_GNU"
Unset: ASFLAGS, AUTOCLEAN, CFLAGS, CTARGET, CXXFLAGS, DISTDIR,
GENTOO_MIRRORS, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PKGDIR, SYNC

When I try "emerge -av system" I get the following:
global updates blah blah (snipped).....
...........................

These are the packages that I would merge, in order:

Calculating system dependencies Cannot chown a lockfile. This could
cause inconvenience later.
Cannot chown a lockfile. This could cause inconvenience later.

!!! All ebuilds that could satisfy ">=app-shells/bash-3.0-r9" have been masked.
!!! One of the following masked packages is required to complete your request:
Cannot chown a lockfile. This could cause inconvenience later.
Traceback (most recent call last):
File "/data1/portage/dec16/prefix/toolsbox-4-patchespre.20051216/i686-pc-linux-gnu/bin/emerge",
line 3159, in ?
if not mydepgraph.xcreate(myaction):
File "/data1/portage/dec16/prefix/toolsbox-4-patchespre.20051216/i686-pc-linux-gnu/bin/emerge",
line 1428, in xcreate
if not self.select_dep(portage.root, mydep):
File "/data1/portage/dec16/prefix/toolsbox-4-patchespre.20051216/i686-pc-linux-gnu/bin/emerge",
line 1280, in select_dep
mreasons = portage.getmaskingstatus(p)
File "/data1/portage/dec16/prefix/toolsbox-4-patchespre.20051216/i686-pc-linux-gnu/lib/portage/pym/portage.py",
line 3703, in getmaskingstatus
mygroups, eapi = portdb.aux_get(mycpv, ["KEYWORDS", "EAPI"])
File "/data1/portage/dec16/prefix/toolsbox-4-patchespre.20051216/i686-pc-linux-gnu/lib/portage/pym/portage.py",
line 5048, in aux_get
self.auxdb[mylocation][mycpv] = mydata
KeyError: '/data1/portage/dec16/prefix/toolsbox-4-patchespre.20051216/i686-pc-linux-gnu/portage'


Not sure what is going on here. I'm assumming it has to do with EAPI
stuff. Any hints? I'll do my part and look through the code too.

matt
Re: prefix issues (EAPI, gid, ...) [ In reply to ]
Hmmm, it's one of those non-deterministic days.... After looking at
the code then running it again (don't think I changed anything) I now
get the following for "emerge -av system"
niger:mharrison[1136] emerge -av system

*** You are not in the portage group. You may experience cache problems
*** due to permissions preventing the creation of the on-disk cache.
*** Please add this user to the portage group if you wish to use portage.

Invalid package name in package.provided: virtual/libc
Invalid package name in package.provided: virtual/linux-sources
Invalid package name in package.provided: virtual/os-headers

These are the packages that I would merge, in order:

Calculating system dependencies Cannot chown a lockfile. This could
cause inconvenience later.
Cannot chown a lockfile. This could cause inconvenience later.
-Cannot chown a lockfile. This could cause inconvenience later.
Cannot chown a lockfile. This could cause inconvenience later.
Cannot chown a lockfile. This could cause inconvenience later.
Cannot chown a lockfile. This could cause inconvenience later.
Cannot chown a lockfile. This could cause inconvenience later.
\Cannot chown a lockfile. This could cause inconvenience later.
Cannot chown a lockfile. This could cause inconvenience later.
Cannot chown a lockfile. This could cause inconvenience later.
|Cannot chown a lockfile. This could cause inconvenience later.
Cannot chown a lockfile. This could cause inconvenience later.
Cannot chown a lockfile. This could cause inconvenience later.

!!! All ebuilds that could satisfy ">=sys-apps/portage-2.1_pre" have
been masked.
!!! One of the following masked packages is required to complete your request:
Cannot chown a lockfile. This could cause inconvenience later.
- sys-apps/portage-2.1_pre (masked by: required EAPI -0, supported EAPI prefix)

For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.



!!! Problem resolving dependencies for >=sys-apps/portage-2.1_pre
!!! Depgraph creation failed.

##############
The lockfile stuff is because I commented out some code for os.chown
(trying to change to the portage group and failing).

But I'm assumming it's trying to merge portage 2.1 because I put
Haubi's portage tree in PORTDIR. (Haubi was using 2.1...)

I guess I'll copy over the tree from my gentoo box and try again.


On 12/16/05, m h <sesquile@gmail.com> wrote:
> End of another day, so I'm starting another thread.
>
> I've attached my bootstrap script.
> I still need to do the following to get to the error below.
>
> root hack (secpass...)
> Add content to PORTDIR (using's haubi's prefixed overlay... tried
> kito's but it barfed..)
> Manually update make.conf to point to PORTDIR and PORTDIR_OVERLAY
>
> Emerge info gives the following:
> niger:mharrison[1134] emerge info
>
> *** You are not in the portage group. You may experience cache problems
> *** due to permissions preventing the creation of the on-disk cache.
> *** Please add this user to the portage group if you wish to use portage.
>
> Invalid package name in package.provided: virtual/libc
> Invalid package name in package.provided: virtual/linux-sources
> Invalid package name in package.provided: virtual/os-headers
> !!! Relying on the shell to locate gcc, this may break
> !!! DISTCC, installing gcc-config and setting your current gcc
> !!! profile will fix this
> Portage 2.0.54 (!/data1/portage/dec16/prefix/toolsbox-4-patchespre.20051216/i686-pc-linux-gnu/portage/profiles/default-secondary/linux/x86,
> gcc-3.3.5, unavailable, 2.6.10-1.770_FC3 i686)
> =================================================================
> System uname: 2.6.10-1.770_FC3 i686 i686
> Gentoo Base System version 1.6.13
> dev-lang/python: [Not Present]
> sys-apps/sandbox: [Not Present]
> sys-devel/autoconf: [Not Present]
> sys-devel/automake: [Not Present]
> sys-devel/binutils: [Not Present]
> sys-devel/libtool: [Not Present]
> sys-devel/odcctools: [Not Present]
> virtual/os-headers: [Not Present]
> ACCEPT_KEYWORDS="x86 ~x86"
> CBUILD="i686-pc-linux-gnu"
> CHOST="i686-pc-linux-gnu"
> CONFIG_PROTECT=""
> CONFIG_PROTECT_MASK="
> /data1/portage/dec16/prefix/toolsbox-4-patchespre.20051216/i686-pc-linux-gnu//etc/env.d"
> FEATURES="autoconfig sfperms strict"
> LANG="en_US"
> PORTAGE_TMPDIR="/var/tmp"
> PORTDIR="/data1/portage/dec16/prefix/toolsbox-4-patchespre.20051216/i686-pc-linux-gnu/normalportage"
> PORTDIR_OVERLAY="/data1/portage/dec16/prefix/toolsbox-4-patchespre.20051216/i686-pc-linux-gnu/portage"
> PREFIX="/data1/portage/dec16/prefix"
> USE="x86 secondary elibc_glibc kernel_linux userland_GNU"
> Unset: ASFLAGS, AUTOCLEAN, CFLAGS, CTARGET, CXXFLAGS, DISTDIR,
> GENTOO_MIRRORS, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PKGDIR, SYNC
>
> When I try "emerge -av system" I get the following:
> global updates blah blah (snipped).....
> ...........................
>
> These are the packages that I would merge, in order:
>
> Calculating system dependencies Cannot chown a lockfile. This could
> cause inconvenience later.
> Cannot chown a lockfile. This could cause inconvenience later.
>
> !!! All ebuilds that could satisfy ">=app-shells/bash-3.0-r9" have been masked.
> !!! One of the following masked packages is required to complete your request:
> Cannot chown a lockfile. This could cause inconvenience later.
> Traceback (most recent call last):
> File "/data1/portage/dec16/prefix/toolsbox-4-patchespre.20051216/i686-pc-linux-gnu/bin/emerge",
> line 3159, in ?
> if not mydepgraph.xcreate(myaction):
> File "/data1/portage/dec16/prefix/toolsbox-4-patchespre.20051216/i686-pc-linux-gnu/bin/emerge",
> line 1428, in xcreate
> if not self.select_dep(portage.root, mydep):
> File "/data1/portage/dec16/prefix/toolsbox-4-patchespre.20051216/i686-pc-linux-gnu/bin/emerge",
> line 1280, in select_dep
> mreasons = portage.getmaskingstatus(p)
> File "/data1/portage/dec16/prefix/toolsbox-4-patchespre.20051216/i686-pc-linux-gnu/lib/portage/pym/portage.py",
> line 3703, in getmaskingstatus
> mygroups, eapi = portdb.aux_get(mycpv, ["KEYWORDS", "EAPI"])
> File "/data1/portage/dec16/prefix/toolsbox-4-patchespre.20051216/i686-pc-linux-gnu/lib/portage/pym/portage.py",
> line 5048, in aux_get
> self.auxdb[mylocation][mycpv] = mydata
> KeyError: '/data1/portage/dec16/prefix/toolsbox-4-patchespre.20051216/i686-pc-linux-gnu/portage'
>
>
> Not sure what is going on here. I'm assumming it has to do with EAPI
> stuff. Any hints? I'll do my part and look through the code too.
>
> matt
>
>
>

--
gentoo-osx@gentoo.org mailing list
Re: Re: prefix issues (EAPI, gid, ...) [ In reply to ]
On Fri, Dec 16, 2005 at 06:05:49PM -0800, m h wrote:
> Hmmm, it's one of those non-deterministic days.... After looking at
> the code then running it again (don't think I changed anything) I now
> get the following for "emerge -av system"
> niger:mharrison[1136] emerge -av system
Prefix hates you.

Track kito or me down in irc, and we'll try to hammer this out- faster
throughput if you catch me on irc rather then email (specially since
I'm living out of a hotel and moving within the week) ;)

Offhand, I'd wonder about the base prefix setup you have- gcc
complaint makes me wonder if PATH is screwed, or if the prefix root is
a bit empty...
~harring
Re: Re: prefix issues (EAPI, gid, ...) [ In reply to ]
On 12/16/05, Brian Harring <ferringb@gentoo.org> wrote:
> On Fri, Dec 16, 2005 at 06:05:49PM -0800, m h wrote:
> > Hmmm, it's one of those non-deterministic days.... After looking at
> > the code then running it again (don't think I changed anything) I now
> > get the following for "emerge -av system"
> > niger:mharrison[1136] emerge -av system
> Prefix hates you.

Yeah, I know, we have this sorta love hate relationship...

>
> Track kito or me down in irc, and we'll try to hammer this out- faster
> throughput if you catch me on irc rather then email (specially since
> I'm living out of a hotel and moving within the week) ;)
>

Thanks for the offer.
Which IRC channel? What time zone are you in?

> Offhand, I'd wonder about the base prefix setup you have- gcc
> complaint makes me wonder if PATH is screwed, or if the prefix root is
> a bit empty...
> ~harring
>
>
>

--
gentoo-osx@gentoo.org mailing list
Re: Re: prefix issues (EAPI, gid, ...) [ In reply to ]
On 17-12-2005 08:51:33 -0800, m h wrote:
> Thanks for the offer.
> Which IRC channel? What time zone are you in?

I think Brian usually lives in #gentoo-portage. Kito and I can be found
in #gentoo-osx on freenode IRC.


--
Fabian Groffen
Gentoo for Mac OS X Project -- Interim Lead
--
gentoo-osx@gentoo.org mailing list
Re: Re: prefix issues (EAPI, gid, ...) [ In reply to ]
On Sat, Dec 17, 2005 at 07:27:17PM +0100, Grobian wrote:
> On 17-12-2005 08:51:33 -0800, m h wrote:
> > Thanks for the offer.
> > Which IRC channel? What time zone are you in?
>
> I think Brian usually lives in #gentoo-portage. Kito and I can be found
> in #gentoo-osx on freenode IRC.
#gentoo-portage, #gentoo-dev, #gentoo-alt (some days).... pacific
timezone also (check my headers ;)
~harring