Gentoo Archives: gentoo-catalyst

From: Franco Vecchiato <franco.vecchiato@××××××××××.it>
To: gentoo-catalyst@l.g.o
Subject: [gentoo-catalyst] error creating stage1
Date: Fri, 14 Mar 2008 21:21:28
Message-Id: 1205530458.3362.18.camel@franco.casa
1 Hi all,
2
3 I'm using catalyst to create my own stage3, but I have problems creating
4 stage1.
5 I created the portage snapshot (catalyst -s 09032008), no problems
6 there, but the following command (catalyst -f /path/to/stage1.spec
7 > /path/to/logstage1) always gives these errors (final part of
8 logstage1):
9
10 <end_of_logstage1>
11 ....
12 test !
13 -x /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/elf/ldconfig || LC_ALL=C LANGUAGE=C \
14 /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/elf/ldconfig -r /var/tmp/portage/sys-libs/glibc-2.6.1/image/ \
15 /lib /usr/lib
16 /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/elf/ldconfig: Can't open configuration file /etc/ld.so.conf: No such file or directory
17 make[1]: Leaving directory
18 `/var/tmp/portage/sys-libs/glibc-2.6.1/work/glibc-2.6.1'
19 /usr/portage/sys-libs/glibc/files/eblits/src_install.eblit: line 215:
20 i686-pc-linux-gnu-strip: command not found
21 *
22 * ERROR: sys-libs/glibc-2.6.1 failed.
23 * Call stack:
24 * ebuild.sh, line 49: Called src_install
25 * environment, line 3483: Called eblit-run 'src_install'
26 * environment, line 1146: Called die
27 * The specific snippet of code:
28 * eblit-${PN}-$1 || die;
29 * The die message:
30 * (no error message)
31 *
32 * If you need support, post the topmost build error, and the call stack
33 if relevant.
34 * A complete build log is located at
35 '/var/tmp/portage/sys-libs/glibc-2.6.1/temp/build.log'.
36 * The ebuild environment file is located at
37 '/var/tmp/portage/sys-libs/glibc-2.6.1/temp/environment'.
38 *
39
40 * Messages for package dev-libs/expat-2.0.1 merged to /tmp/stage1root/:
41
42 * Please note that the soname of the library changed!
43 * If you are upgrading from a previous version you need
44 * to fix dynamic linking inconsistencies by executing:
45 * revdep-rebuild -X --library libexpat.so.0
46
47 * Messages for package sys-apps/sandbox-1.2.18.1-r2 merged
48 to /tmp/stage1root/:
49
50 * If configure fails with a 'cannot run C compiled programs' error, try
51 this:
52 * FEATURES=-sandbox emerge sandbox
53
54 * Messages for package sys-libs/timezone-data-2007k merged
55 to /tmp/stage1root/:
56
57 * You do not have TIMEZONE set in /etc/conf.d/clock.
58 * Setting /etc/localtime to Factory.
59
60 * Messages for package app-editors/nano-2.0.7 merged
61 to /tmp/stage1root/:
62
63 * More helpful info about nano, visit the GDP page:
64 * http://www.gentoo.org/doc/en/nano-basics-guide.xml
65
66 * Messages for package dev-libs/libxml2-2.6.30-r1 merged
67 to /tmp/stage1root/:
68
69 * Skipping XML catalog creation for stage building (bug #208887).
70
71 * Messages for package sys-libs/glibc-2.6.1 merged to /tmp/stage1root/:
72
73 *
74 * ERROR: sys-libs/glibc-2.6.1 failed.
75 * Call stack:
76 * ebuild.sh, line 49: Called src_install
77 * environment, line 3483: Called eblit-run 'src_install'
78 * environment, line 1146: Called die
79 * The specific snippet of code:
80 * eblit-${PN}-$1 || die;
81 * The die message:
82 * (no error message)
83 *
84 * If you need support, post the topmost build error, and the call stack
85 if relevant.
86 * A complete build log is located at
87 '/var/tmp/portage/sys-libs/glibc-2.6.1/temp/build.log'.
88 * The ebuild environment file is located at
89 '/var/tmp/portage/sys-libs/glibc-2.6.1/temp/environment'.
90 *
91
92 !!! catalyst: run script failed.
93
94
95 Traceback (most recent call last):
96 File "modules/generic_stage_target.py", line 1062, in run_local
97 cmd("/bin/bash "+self.settings["controller_file"]+" run","run script
98 failed.",env=self.env)
99 File "/usr/lib/catalyst/modules/catalyst_support.py", line 486, in cmd
100 raise CatalystError,myexc
101 CatalystError: <unprintable instance object>
102 None
103
104 !!! catalyst: Stage build aborting due to error.
105
106 !!! catalyst: Error encountered during run of target stage1
107
108 Catalyst aborting....
109 lockfile does not exist
110 '/var/tmp/catalyst/tmp/default/stage1-i686-09032008/.catalyst_lock'
111 </end_of_logstage1>
112
113
114 The directory /var/tmp/catalyst/tmp/default/stage1-i686-09032008 has
115 been created (along with its content, also .catalyst_lock), but
116 the .tar.bz2 file has not.
117
118
119 This is my stage1.spec file:
120
121 <code>
122 subarch: i686
123 version_stamp: 09032008
124 target: stage1
125 rel_type: default
126 profile: default-linux/x86/2007.0
127 snapshot: 09032008
128 source_subpath: stage3-x86-2007.0
129 distcc_hosts:
130 portage_confdir: /etc/portage
131 portage_overlay:
132 pkgcache_path: /tmp/packages
133 chost: i686-pc-linux-gnu
134 cflags: -O2 -pipe -fomit-frame-pointer -mtune=i686
135 cxxflags: -O2 -pipe -fomit-frame-pointer -mtune=i686
136 ldflags:
137 </code>
138
139
140 my gentoo laptop (IBM ThinkPad T23) is updated and I use catalyst 2.0.5
141
142 I tried several times those two commands (catalyst -s ... and catalyst
143 -f ...), after several complete updates (emerge -uD world).
144 I also tried -Os in cflags and cxxflags, never modified the
145 standard /etc/catalyst/catalyst.conf file.
146
147 I'm a newbie of Gentoo, maybe there's something wrong or something I
148 don't know.
149 Any suggestions?
150
151 Thanks in advance
152
153 Franco Vecchiato
154
155 --
156 gentoo-catalyst@l.g.o mailing list