public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] build 1.0-r1.tbz2
@ 2002-03-21 15:40 Markus Krainer
  2002-03-21 16:18 ` Grant Goodyear
  0 siblings, 1 reply; 3+ messages in thread
From: Markus Krainer @ 2002-03-21 15:40 UTC (permalink / raw
  To: gentoo-dev

Hi!

On an existing gentoo system I thought I'll test the new 1.0-r1 build
on a single partition (hdc1, 600 MB, reiserfs) on my 2nd disk.

This is what I did (and what I got):

# mount /dev/hdc1 /gentoo
# cd /gentoo
# tar -xvjpf /root/build-ix86-1.0.r1.tbz2
# mount -o bind /proc /gentoo/proc
# cp /etc/resolv.conf /gentoo/etc/resolv.conf
# chroot /gentoo /bin/bash
# env-update
 >>> Note: /etc/make.profile isn't available; an 'emerge sync' will 
probably fix this.
Traceback (most recent call last):
   File "/usr/sbin/env-update", line 3, in ?
     import portage
   File "/usr/lib/python2.2/site-packages/portage.py", line 2936, in ?
     db["/"]["porttree"]=portagetree("/",virts)
   File "/usr/lib/python2.2/site-packages/portage.py", line 2112, in 
__init__
     self.portroot=settings["PORTDIR"]
   File "/usr/lib/python2.2/site-packages/portage.py", line 549, in 
__getitem__
     self.populate()
   File "/usr/lib/python2.2/site-packages/portage.py", line 544, in populate
     self.use_regenerate()
   File "/usr/lib/python2.2/site-packages/portage.py", line 496, in 
use_regenerate
     self.configdict["auto"]["USE"]=autouse(db[root]["vartree"])
   File "/usr/lib/python2.2/site-packages/portage.py", line 469, in autouse
     mylines=grabfile(profiledir+"/use.defaults")
TypeError: unsupported operand types for +: 'NoneType' and 'str'

Am I missing something or has anybody similar problems with the new 1.0
build?

   -- Markus --





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] build 1.0-r1.tbz2
  2002-03-21 15:40 [gentoo-dev] build 1.0-r1.tbz2 Markus Krainer
@ 2002-03-21 16:18 ` Grant Goodyear
  2002-03-21 16:36   ` Markus Krainer
  0 siblings, 1 reply; 3+ messages in thread
From: Grant Goodyear @ 2002-03-21 16:18 UTC (permalink / raw
  To: gentoo-dev

> On an existing gentoo system I thought I'll test the new 1.0-r1 build
> on a single partition (hdc1, 600 MB, reiserfs) on my 2nd disk.

Well, that's why we haven't announced it yet.  We're still actively
working on it.

> # env-update
>  >>> Note: /etc/make.profile isn't available; an 'emerge sync' will 
> probably fix this.

A patch didn't make it into that version of portage.  You can either
bind-mount the host /usr/portage into the chroot (since you're already
on a Gentoo system), or you can modify (in the chroot) 
/usr/lib/python2.2/site-packages/portage.py, adding the lines below
with the "+" in front of them at line 469.

	"returns set of USE variables auto-enabled due to packages being
installed"
+	if profiledir==None:
+		return ""
	mylines=grabfile(profiledir+"/use.defaults")

-g2boojum-




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] build 1.0-r1.tbz2
  2002-03-21 16:18 ` Grant Goodyear
@ 2002-03-21 16:36   ` Markus Krainer
  0 siblings, 0 replies; 3+ messages in thread
From: Markus Krainer @ 2002-03-21 16:36 UTC (permalink / raw
  To: gentoo-dev

Grant Goodyear wrote:


> /usr/lib/python2.2/site-packages/portage.py, adding the lines below
> with the "+" in front of them at line 469.
> 
> 	"returns set of USE variables auto-enabled due to packages being
> installed"
> +	if profiledir==None:
> +		return ""
> 	mylines=grabfile(profiledir+"/use.defaults")

Thanks, now everything runs fine (so far).

   -- Markus --






^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-03-21 16:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-21 15:40 [gentoo-dev] build 1.0-r1.tbz2 Markus Krainer
2002-03-21 16:18 ` Grant Goodyear
2002-03-21 16:36   ` Markus Krainer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox