Gentoo Archives: gentoo-catalyst

From: Raboo Treed <mail@×××××××××.net>
To: gentoo-catalyst@l.g.o
Subject: [gentoo-catalyst] build stage1 problems.
Date: Fri, 08 Jun 2007 12:09:16
Message-Id: 20070608140811.3a18524b@acertop.localdomain
1 Hey, i got problems of which i don't know how to fix.
2
3 things that are wrong:
4 lockfile does not exist
5 '/var/tmp/catalyst/snapshot_cache/2007-r0/.catalyst_lock'
6 it does exist.
7 ---
8 also of course the ovbious
9 chroot: cannot run command `/tmp/livecd-stage1-chroot.sh': Exec format
10 error
11 -----
12
13 Here is a paste from the terminal:
14
15 acertop builds # catalyst -v -f liveraboo-stage1.spec
16 Gentoo Catalyst, version 2.0.4
17 Copyright 2003-2006 The Gentoo Foundation
18 Distributed under the GNU General Public License version 2
19
20 Using default Catalyst configuration file, /etc/catalyst/catalyst.conf
21 Setting sharedir to config file value "/usr/lib/catalyst"
22 Setting snapshot_cache to config file value
23 "/var/tmp/catalyst/snapshot_cache" Setting hash_function to config file
24 value "crc32" Setting storedir to config file value "/var/tmp/catalyst"
25 Setting portdir to config file value "/usr/portage"
26 Setting distdir to config file value "/usr/portage/distfiles"
27 Setting options to config file value "autoresume kerncache pkgcache
28 seedcache snapcache ccache" Autoresuming support enabled.
29 Compiler cache support enabled.
30 Kernel cache support enabled.
31 Package cache support enabled.
32 Seed cache support enabled.
33 Snapshot cache support enabled.
34 Envscript support enabled.
35 Using target: livecd-stage1
36 Cross-compiling on x86 for different machine type amd64
37 Source path set to /var/tmp/catalyst/builds/stage3-amd64-2007.0.tar.bz2
38 Caching snapshot to /var/tmp/catalyst/snapshot_cache/2007-r0/
39 The autoresume path
40 is /var/tmp/catalyst/tmp/default/.autoresume-livecd-stage1-amd64-installer-2007-r0/
41 Location of the package cache
42 is /var/tmp/catalyst/packages/default/livecd-stage1-amd64-installer-2007-r0/
43 Location of the kerncache
44 is /var/tmp/catalyst/kerncache/default/livecd-stage1-amd64-installer-2007-r0/
45 Checking for processes running in chroot and killing them. --- Running
46 action sequence: unpack Referenced SEEDCACHE does not appear to be a
47 directory, trying to untar... No Valid Resume point detected, cleaning
48 up ... Removing AutoResume Points: ... Emptying
49 directory /var/tmp/catalyst/tmp/default/.autoresume-livecd-stage1-amd64-installer-2007-r0/
50 Emptying
51 directory /var/tmp/catalyst/tmp/default/livecd-stage1-amd64-installer-2007-r0/
52
53 Starting tar extract
54 from /var/tmp/catalyst/builds/stage3-amd64-2007.0.tar.bz2
55 to /var/tmp/catalyst/tmp/default/livecd-stage1-amd64-installer-2007-r0/
56 (This may take some time) ...
57
58 --- Running action sequence: unpack_snapshot
59 Cleaning up invalid snapshot cache at
60 /var/tmp/catalyst/snapshot_cache/2007-r0/ (This can take a long
61 time)... Unpacking portage tree (This can take a long time) ...
62 lockfile does not exist
63 '/var/tmp/catalyst/snapshot_cache/2007-r0/.catalyst_lock' --- Running
64 action sequence: config_profile_link Configuring profile link...
65 --- Running action sequence: setup_confdir
66 --- Running action sequence: portage_overlay
67 --- Running action sequence: bind
68 --- Running action sequence: chroot_setup
69 Setting up chroot...
70
71 Warning!!!!
72 Overriding certain env variables may cause catastrophic failure.
73 If your build fails look here first as the possible problem.
74 Catalyst assumes you know what you are doing when setting
75 these variables.
76 Catalyst Maintainers use VERY minimal envscripts if used at all
77 You have been warned
78
79 --- Running action sequence: setup_environment
80 --- Running action sequence: build_packages
81 copying livecd-stage1-chroot.sh
82 to /var/tmp/catalyst/tmp/default/livecd-stage1-amd64-installer-2007-r0/tmp/
83 copying chroot-functions.sh
84 to /var/tmp/catalyst/tmp/default/livecd-stage1-amd64-installer-2007-r0/tmp/
85 Running livecd-stage1-chroot.sh in
86 chroot /var/tmp/catalyst/tmp/default/livecd-stage1-amd64-installer-2007-r0/
87 chroot: cannot run command `/tmp/livecd-stage1-chroot.sh': Exec format
88 error
89
90 !!! catalyst: Error in attempt to build packages
91
92
93 Traceback (most recent call last):
94 File "modules/generic_stage_target.py", line 1186, in build_packages
95 " build_packages "+mypack,"Error in attempt to build
96 packages",env=self.env) File
97 "/usr/lib/catalyst/modules/catalyst_support.py", line 485, in cmd raise
98 CatalystError,myexc CatalystError: <unprintable instance object>
99 None
100
101 !!! catalyst: livecdbuild aborting due to error.
102
103
104 Catalyst aborting....
105 lockfile does not exist
106 '/var/tmp/catalyst/tmp/default/livecd-stage1-amd64-installer-2007-r0/.catalyst_lock'
107
108
109
110 /Raboo
111 --
112 gentoo-catalyst@g.o mailing list

Replies

Subject Author
Re: [gentoo-catalyst] build stage1 problems. Andrew Gaffney <agaffney@g.o>