From: m h <sesquile@gmail.com>
To: gentoo-osx@lists.gentoo.org
Subject: [gentoo-osx] PREFIX the next generation...
Date: Mon, 19 Dec 2005 13:07:43 -0800 [thread overview]
Message-ID: <e36b84ee0512191307h39cfa8aatd7d515cd0c6b4ecf@mail.gmail.com> (raw)
So following Grobian's lead I decided I'll not worry about toolsbox
right now and just try to get portage working (I'm on linux so I
already have the requirements for portage...)
I wrote the notoolsbox.sh (pasted in below) script to document my steps.
After the standard user/group tweaks, I'm back to where I was
previously. "emerge -av system" returns the following:
niger:mharrison[1216] /data1/portage/dec19/prefix/usr/bin/emerge -av
system --debug
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
Parent: None
Depstring: >=app-shells/bash-3.0-r9
Candidates: ['>=app-shells/bash-3.0-r9']
aux_get(): (0) Error in app-shells/bash-3.0-r13 ebuild. (-1)
Check for syntax error or corruption in the ebuild. (--debug)
!!! 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:
aux_get(): (0) Error in app-shells/bash-3.0-r13 ebuild. (-1)
Check for syntax error or corruption in the ebuild. (--debug)
Traceback (most recent call last):
File "/data1/portage/dec19/prefix/usr/bin/emerge", line 3159, in ?
if not mydepgraph.xcreate(myaction):
File "/data1/portage/dec19/prefix/usr/bin/emerge", line 1428, in xcreate
if not self.select_dep(portage.root, mydep):
File "/data1/portage/dec19/prefix/usr/bin/emerge", line 1280, in select_dep
mreasons = portage.getmaskingstatus(p)
File "/data1/portage/dec19/prefix/usr/lib/portage/pym/portage.py",
line 3706, in getmaskingstatus
mygroups, eapi = portdb.aux_get(mycpv, ["KEYWORDS", "EAPI"])
File "/data1/portage/dec19/prefix/usr/lib/portage/pym/portage.py",
line 5008, in aux_get
raise KeyError
KeyError
I stepped through (or began to) the monsterous function doebuild and
saw that it was trying to run ebuild.sh depend path/to/bash/ebuild and
return -1.
Running that from the command line returns doesn't work (I'm assumming
it is an environment issue):
niger:mharrison[1217] /data1/portage/dec19/prefix/usr/bin/ebuild
depend /data1/portage/dec19/prefix/usr/local/portage/app-shells/bash/bash-3.0-r13.ebuild
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
'/data1/portage/depend' does not exist.
I'm now lurking in #gentoo-osx and #gentoo-portage if anyone is
interested in chatting....
matt
##############notoolsbox.sh##################
#!/bin/sh
export PREFIX=/data1/portage/dec19/prefix
KITO=/data1/portage/kito
HAUBI=/data1/portage/haubi
MATT=/data1/portage/matt
STAGE1=/data1/portage/stage/stageUnzipped
function createDir {
mkdir -p ${PREFIX}
mkdir -p ${PREFIX}/workspace
}
function installPortage {
cp -r ${MATT}/portage-2.0.54 ${PREFIX}/workspace
cd ${PREFIX}/workspace/portage-2.0.54
configure \
--sysconfdir=${PREFIX}/etc \
--prefix=${PREFIX}/usr \
--with-offset-prefix=${PREFIX} \
--with-user=`id -un` \
--with-group=`id -gn` \
--with-wheelgroup=`id -gn` \
--with-rootuser=`id -un` \
make
make install
}
function tweakFiles {
cp ${MATT}/make.conf ${PREFIX}/etc/
sed -e "s|#PREFIX#|${PREFIX}|g" -i ${PREFIX}/etc/make.conf
#add profile
mkdir -p ${PREFIX}/portage/profiles
#copy contents of dir/ignore directories
cp ${HAUBI}/secondary-portage-snapshot-20050927/profiles/*
${PREFIX}/portage/profiles
#recursively copy default-secondary
cp -r ${HAUBI}/secondary-portage-snapshot-20050927/profiles/default-secondary
${PREFIX}/portage/profiles
rm ${PREFIX}/etc/make.profile
#link profile
ln -s ${PREFIX}/portage/profiles/default-secondary/linux/x86
${PREFIX}/etc/make.profile
mkdir -p ${PREFIX}/usr/local/portage/
#copy prefixed-ebuild tree
cp -r ${KITO}/prefix-overlay/* ${PREFIX}/usr/local/portage/
#make log dir
mkdir -p ${PREFIX}/var/log/
}
createDir
installPortage
tweakFiles
--
gentoo-osx@gentoo.org mailing list
next reply other threads:[~2005-12-19 21:08 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-19 21:07 m h [this message]
2005-12-19 21:21 ` [gentoo-osx] Re: PREFIX the next generation m h
2005-12-19 21:26 ` m h
2005-12-19 21:30 ` Grobian
2005-12-19 21:25 ` [gentoo-osx] " Grobian
2005-12-19 22:49 ` m h
2005-12-19 23:20 ` Kito
2005-12-20 1:33 ` m h
2005-12-20 6:32 ` Grobian
2005-12-20 9:23 ` Grobian
2005-12-20 20:11 ` m h
2005-12-20 20:53 ` Grobian
2005-12-20 23:00 ` m h
2005-12-20 23:20 ` m h
2005-12-21 0:09 ` m h
2005-12-21 12:50 ` Grobian
2005-12-22 6:57 ` Brian Harring
2005-12-22 7:02 ` Brian Harring
2005-12-22 10:35 ` Grobian
2005-12-21 13:26 ` Grobian
2005-12-20 22:18 ` Kito
2005-12-20 22:22 ` Kito
2005-12-21 9:39 ` Michael Haubenwallner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e36b84ee0512191307h39cfa8aatd7d515cd0c6b4ecf@mail.gmail.com \
--to=sesquile@gmail.com \
--cc=gentoo-osx@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox