Gentoo Archives: gentoo-dev

From: ebrewer@×××××××××.com
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Catalyst livecd-stage2.spec build errors.
Date: Fri, 28 May 2004 00:45:11
Message-Id: 9819B556AF2FAC49B96DCFF2BC8B80F901020B0D@exch2.corp.cloudmark.com
1 I am currently trying to build a livecd-stage2 and am running into the
2 following problem:
3
4 ----------------------------------------------------------------------
5
6 root@dmess0r etc # clear && time catalyst -f CMlivecd-stage2.spec
7
8 Setting storedir to default value "/var/tmp/catalyst"
9 Setting portdir to default value "/usr/portage"
10 Setting distdir to config file value "/usr/portage/distfiles"
11 Setting options to config file value "ccache pkgcache"
12 Setting sharedir to config file value "/usr/lib/catalyst"
13 Compiler cache support enabled.
14 Package cache support enabled.
15 Building natively for x86
16 Setting up directories...
17 /proc is still mounted; performing auto-bind-umount...
18 Auto-unbind successful, continuing...
19 Running command "rm -rf
20 /var/tmp/catalyst/tmp/default/livecd-stage2-x86-2004.1"
21 Removing previously-existing livecd-stage2 chroot directory...
22 Running command "rm -rf
23 /var/tmp/catalyst/tmp/default/livecd-stage2-x86-2004.1"
24 Copying livecd-stage1 result to new livecd-stage2 work directory...
25 Running command "cp -a /var/tmp/catalyst/tmp/default/stage3-x86-2004.1/*
26 /var/tmp/catalyst/tmp/default/livecd-stage2-x86-2004.1"
27 Configuring profile link...
28 Running command "rm -f
29 /var/tmp/catalyst/tmp/default/livecd-stage2-x86-2004.1/etc/make.profile"
30 Running command "ln -sf ../usr/portage/profiles/default-x86-2004.0
31 /var/tmp/catalyst/tmp/default/livecd-stage2-x86-2004.1/etc/make.profile"
32 Running command "cp /etc/resolv.conf
33 /var/tmp/catalyst/tmp/default/livecd-stage2-x86-2004.1/etc"
34 Running command "rm -f
35 /var/tmp/catalyst/tmp/default/livecd-stage2-x86-2004.1/etc/make.conf"
36 cleaning previous livecd-stage2 build
37 Running command "rm -rf
38 /var/tmp/catalyst/builds/default/livecd-stage2-x86-2004.1"
39 Traceback (most recent call last):
40 File "/usr/bin/catalyst", line 103, in ?
41 mytarget.run()
42 File "/usr/lib/catalyst/modules/targets.py", line 326, in run
43 self.run_local()
44 File "/usr/lib/catalyst/modules/targets.py", line 538, in run_local
45 if not
46 os.path.exists(self.settings["boot/kernel/"+kname+"/config"]):
47 File "/usr/lib/python2.3/posixpath.py", line 174, in exists
48 st = os.stat(path)
49 TypeError: coercing to Unicode: need string or buffer, list found
50
51 real 1m6.854s
52 user 0m0.380s
53 sys 0m6.740s
54
55 ----------------------------------------------------------------------
56
57 Here is the CMlivecd-stage2.spec:
58
59 subarch: x86
60 version_stamp: 2004.1
61 target: livecd-stage2
62 rel_type: default
63 profile: default-x86-2004.0
64 snapshot: 2004.1
65 source_subpath: default/stage3-x86-2004.1
66
67 livecd/cdfstype: zisofs
68 livecd/archscript: /usr/lib/catalyst/livecd/runscript/x86-archscript.sh
69 livecd/runscript:
70 /usr/lib/catalyst/livecd/runscript/default-runscript.sh
71 livecd/cdtar:
72 /usr/lib/catalyst/livecd/cdtar/isolinux-2.08-memtest86-cdtar.tar.bz2
73
74 ## optional, specifies if the final iso is to be automatically built ##
75 and where it should go
76 livecd/iso: /var/tmp/catalyst/CMlinux-gentoo.iso
77
78 # options that are to be passed to genkernel
79 #livecd/genkernel_args: --makeopts=-j1
80
81 boot/kernel: gentoo smp
82 boot/kernel/gentoo/sources: sys-kernel/gentoo-sources
83 boot/kernel/gentoo/config:
84 boot/kernel/smp/sources: sys-kernel/gentoo-dev-sources
85 boot/kernel/smp/config:
86
87 # this next line sets any USE settings you want exported to the
88 environment for # your kernel build *and* during the build of any
89 kernel-dependent packages
90 boot/kernel/gentoo/use: pcmcia
91 boot/kernel/smp/use: pcmcia
92
93 # use this next option to add an extension to the name of your kernel.
94 This # allows you to have 2 identical kernels on the livecd built with
95 different # options, and each with their own modules dir in /lib/modules
96 (otherwise # the second kernel would overwrite the first modules
97 directory.
98 boot/kernel/gentoo/extraversion: livecd
99 boot/kernel/smp/extraversion: livecd
100
101 # this next line is for merging kernel-dependent packages after your
102 kernel # is built. This is where you merge third-party ebuilds that
103 contain kernel # modules.
104 boot/kernel/gentoo/packages: iptables
105 boot/kernel/smp/packages: iptables
106
107 livecd/unmerge:
108 autoconf automake bin86 binutils libtool m4 bison ld.so make
109 perl patch linux-headers man-pages
110 sash bison flex gettext texinfo ccache addpatches man groff
111 lib-compat gcc python miscfiles
112 livecd/empty:
113 /var/tmp
114 /var/cache
115 /var/db
116 /var/empty
117 /var/cache
118 /var/lock
119 /tmp
120 /usr/portage
121 /usr/share/man
122 /usr/share/info
123 /usr/share/unimaps
124 /usr/include
125 /usr/share/zoneinfo
126 /usr/share/dict
127 /usr/share/doc
128 /usr/share/ss
129 /usr/share/state
130 /usr/share/texinfo
131 /usr/lib/python2.2
132 /usr/lib/portage
133 /usr/share/gettext
134 /usr/share/i18n
135 /usr/share/rfc
136 /usr/X11R6/man
137 /usr/X11R6/include
138 /usr/X11R6/lib/X11/config
139 /usr/X11R6/lib/X11/etc
140 /usr/X11R6/lib/X11/doc
141 /usr/src
142 /usr/share/doc
143 /usr/share/man
144 /root/.ccache
145 livecd/rm:
146 /lib/*.a
147 /usr/lib/*.a
148 /usr/lib/gcc-lib/*/*/libgcj*
149 /usr/X11R6/lib/*.a
150
151 ----------------------------------------------------------------------
152
153 Anyone have an idea why its choking on ``+kname+''?
154
155 Thanks.
156
157 - Evan
158
159
160 --
161 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Catalyst livecd-stage2.spec build errors. Chris Gianelloni <wolf31o2@g.o>