Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-embedded
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-embedded@g.o
From: Zac Medico <zmedico@g.o>
Subject: Re: emerge is broken?
Date: Mon, 30 Oct 2006 22:54:22 -0800
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Vladimir Pouzanov wrote:
> Hi all,
> 
> I'm trying to rebuild my rootfs from scratch and seems that there's
> some problem with portage-2.1.2_rc1-r1
> 
> First problem is that "baselayout-lite" still marked as masked even if
> my etc/make.profile/packages contains
> *>=sys-apps/baselayout-lite-1.0_pre1
> 
> I've added ~arm to baselayout-lite ebuild and get another error:
> # xemerge -av baselayout-lite
> EMERGING TO /usr/arm-softfloat-linux-gnu
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies -
> 
> !!! Problem in 'sys-apps/baselayout-lite' dependencies.
> !!! 'USE' exceptions
> Traceback (most recent call last):
>  File "/usr/bin/emerge", line 4506, in ?
>    retval = emerge_main()
>  File "/usr/bin/emerge", line 4501, in emerge_main
>    myopts, myaction, myfiles, spinner)
>  File "/usr/bin/emerge", line 3884, in action_build
>    retval, favorites = mydepgraph.select_files(myfiles)
>  File "/usr/bin/emerge", line 1103, in select_files
>    self.mysd = self.select_dep(myroot, myatom, arg=myarg)
>  File "/usr/bin/emerge", line 1413, in select_dep
>    myuse=selected_pkg[-1], rev_dep=rev_deps, arg=arg):
>  File "/usr/bin/emerge", line 823, in create
>    self.pkgsettings[myroot].setcpv(mykey, mydb=portdb)
>  File "/usr/lib/portage/pym/portage.py", line 1533, in setcpv
>    if defaults != self.configdict["defaults"]["USE"]:
> KeyError: 'USE'
> 
> The same 'USE' exceptions appears for any ebuild I want to cross-compile.
> My make.conf is correct and I have got some packages built with it
> (however I had more old portage version then).
> 

Thanks, that hadn't been reported yet.  It's fixed in svn.

Zac
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFRvMc/ejvha5XGaMRAlc7AJ0RO66OqU4UFot4iL4F55odgDMS5ACghmTu
1cyrL/Ptpewj3wxKF1Wm19A=
=Rloq
-----END PGP SIGNATURE-----
Index: pym/portage.py
===================================================================
--- pym/portage.py	(revision 4884)
+++ pym/portage.py	(revision 4885)
@@ -1550,7 +1550,7 @@
 				if best_match:
 					defaults.append(cpdict[best_match])
 		defaults = " ".join(defaults)
-		if defaults != self.configdict["defaults"]["USE"]:
+		if defaults != self.configdict["defaults"].get("USE",""):
 			self.configdict["defaults"]["USE"] = defaults
 			has_changed = True
 		useforce = []
References:
emerge is broken?
-- Vladimir Pouzanov
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: emerge is broken?
Next by thread:
Cross compiling gcc 2.95
Previous by date:
Re: Cross compiling gcc 2.95
Next by date:
arm-softfloat-linux-uclibc


Updated Jun 17, 2009

Summary: Archive of the gentoo-embedded mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.