Gentoo Archives: gentoo-catalyst

From: Alan Hourihane <alanh@×××××××××××.uk>
To: gentoo-catalyst@l.g.o
Subject: Re: [gentoo-catalyst] catalyst & arm
Date: Sun, 20 Sep 2009 20:25:01
Message-Id: 1253478166.15933.3.camel@jetpack.demon.co.uk
In Reply to: Re: [gentoo-catalyst] catalyst & arm by Andrew Gaffney
1 On Sun, 2009-09-20 at 14:41 -0500, Andrew Gaffney wrote:
2 > On 09/20/2009 01:13 PM, Alan Hourihane wrote:
3 > > ImportError: No module named cache.metadata_overlay
4 >
5 > You're getting this because you're using portage-2.2_rc41 (or thereabouts),
6 > which introduces a number of incompatibilities with the way that catalyst
7 > assumed portage-2.1.x worked.
8 >
9 > You can bypass this error by removing 'metadata_overlay' from 'options' in
10 > /etc/catalyst/catalyst.conf. It really doesn't even make sense to have the
11 > option anymore, since portage uses it by default these days.
12 >
13
14 Hi Andrew,
15
16 Thanks for the response, removing that didn't seem to make much
17 difference....
18
19 Catalyst, version 2.0.6
20 Copyright 2003-2008 Gentoo Foundation
21 Distributed under the GNU General Public License version 2
22
23 Using default Catalyst configuration file, /etc/catalyst/catalyst.conf
24 Setting sharedir to config file value "/usr/lib/catalyst"
25 Setting snapshot_cache to config file value
26 "/var/tmp/catalyst/snapshot_cache"
27 Setting hash_function to config file value "crc32"
28 Setting storedir to config file value "/var/tmp/catalyst"
29 Setting portdir to config file value "/usr/portage"
30 Setting distdir to config file value "/usr/portage/distfiles"
31 Setting options to config file value "autoresume kerncache pkgcache
32 seedcache snapcache"
33 Autoresuming support enabled.
34 Kernel cache support enabled.
35 Package cache support enabled.
36 Seed cache support enabled.
37 Snapshot cache support enabled.
38 Envscript support enabled.
39
40 WARNING: No value set for key pkgcache_path...deleting
41
42 WARNING: No value set for key portage_overlay...deleting
43
44 WARNING: No value set for key chost...deleting
45
46 WARNING: No value set for key ldflags...deleting
47
48 WARNING: No value set for key portage_confdir...deleting
49 Using target: stage3
50 Building natively for arm
51 Source path set to /var/tmp/catalyst/builds/stage3-arm-20040510.tar.bz2
52 Caching snapshot to /var/tmp/catalyst/snapshot_cache/20090919/
53 The autoresume path
54 is /var/tmp/catalyst/tmp/default/.autoresume-stage3-arm-20090919/
55 Location of the package cache
56 is /var/tmp/catalyst/packages/default/stage3-arm-20090919/
57 Location of the kerncache
58 is /var/tmp/catalyst/kerncache/default/stage3-arm-20090919/
59 Checking for processes running in chroot and killing them.
60 --- Running action sequence: unpack
61 Referenced SEEDCACHE does not appear to be a directory, trying to
62 untar...
63 Resume point detected, skipping unpack operation...
64 --- Running action sequence: unpack_snapshot
65 Valid snapshot cache, skipping unpack of portage tree...
66 --- Running action sequence: config_profile_link
67 Resume point detected, skipping config_profile_link operation...
68 --- Running action sequence: setup_confdir
69 --- Running action sequence: portage_overlay
70 --- Running action sequence: base_dirs
71 --- Running action sequence: bind
72 --- Running action sequence: chroot_setup
73 /usr/lib/portage/pym/portage_util.py:45: DeprecationWarning: DEPRECATION
74 NOTICE: The portage_util module was replaced by portage.util
75 Resume point detected, skipping chroot_setup operation...
76 --- Running action sequence: setup_environment
77 --- Running action sequence: run_local
78 copying stage3-chroot.sh
79 to /var/tmp/catalyst/tmp/default/stage3-arm-20090919/tmp/
80 copying chroot-functions.sh
81 to /var/tmp/catalyst/tmp/default/stage3-arm-20090919/tmp/
82 Running stage3-chroot.sh in
83 chroot /var/tmp/catalyst/tmp/default/stage3-arm-20090919/
84 Traceback (most recent call last):
85 File "/usr/sbin/env-update", line 10, in ?
86 import portage
87 File "/usr/lib/portage/pym/portage.py", line 6132, in ?
88 portdb=portdbapi(settings["PORTDIR"])
89 File "/usr/lib/portage/pym/portage.py", line 4432, in __init__
90 self.auxdbmodule =
91 self.mysettings.load_best_module("portdbapi.auxdbmodule")
92 File "/usr/lib/portage/pym/portage.py", line 1307, in load_best_module
93 return load_mod(best_mod)
94 File "/usr/lib/portage/pym/portage.py", line 34, in load_mod
95 mod = __import__(modname)
96 ImportError: No module named cache.metadata_overlay
97 emerge --quiet --usepkg --buildpkg --newuse --oneshot --nodeps
98 virtual/portage
99 Traceback (most recent call last):
100 File "/usr/bin/emerge", line 14, in ?
101 import portage
102 File "/usr/lib/portage/pym/portage.py", line 6132, in ?
103 portdb=portdbapi(settings["PORTDIR"])
104 File "/usr/lib/portage/pym/portage.py", line 4432, in __init__
105 self.auxdbmodule =
106 self.mysettings.load_best_module("portdbapi.auxdbmodule")
107 File "/usr/lib/portage/pym/portage.py", line 1307, in load_best_module
108 return load_mod(best_mod)
109 File "/usr/lib/portage/pym/portage.py", line 34, in load_mod
110 mod = __import__(modname)
111 ImportError: No module named cache.metadata_overlay
112
113 !!! catalyst: run script failed.
114
115
116 Traceback (most recent call last):
117 File "modules/generic_stage_target.py", line 1250, in run_local
118 "run script failed.",env=self.env)
119 File "/usr/lib/catalyst/modules/catalyst_support.py", line 539, in cmd
120 raise CatalystError,myexc
121 CatalystError
122 None
123
124 !!! catalyst: Stage build aborting due to error.
125
126 !!! catalyst: Error encountered during run of target stage3
127
128 Catalyst aborting....
129
130
131 Alan.

Replies

Subject Author
Re: [gentoo-catalyst] catalyst & arm Andrew Gaffney <agaffney@g.o>