From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1EoSEs-0002JP-FK for garchives@archives.gentoo.org; Mon, 19 Dec 2005 21:08:10 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jBJL7jms007150; Mon, 19 Dec 2005 21:07:45 GMT Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.192]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jBJL7h3C007646 for ; Mon, 19 Dec 2005 21:07:44 GMT Received: by wproxy.gmail.com with SMTP id i12so3248wra for ; Mon, 19 Dec 2005 13:07:43 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=bMGtvhkM4uVoMtBPAdbFcsDe0pqZlok3v3HM6aldLrx3kwq7KNYT1XBM1f6Z9FxnJc1kKXJRaoJ62DBNmDW8yskgcaPWpG5Tdervp8f/ZjUpPz/3GLrzl+x0F9mTXjuFyN4YF0LTtuEkl0BAEn6vldYnaAn5/Y9l2h08CUPbzIQ= Received: by 10.54.63.4 with SMTP id l4mr68207wra; Mon, 19 Dec 2005 13:07:43 -0800 (PST) Received: by 10.54.134.4 with HTTP; Mon, 19 Dec 2005 13:07:43 -0800 (PST) Message-ID: Date: Mon, 19 Dec 2005 13:07:43 -0800 From: m h To: gentoo-osx@lists.gentoo.org Subject: [gentoo-osx] PREFIX the next generation... Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-osx@gentoo.org Reply-to: gentoo-osx@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id jBJL7h3C007646 X-Archives-Salt: 23f922e8-abb5-4f40-8152-f4bcb85ac7b4 X-Archives-Hash: e84c66b05298a7a22b2e139f205423dc 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