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-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: <gentoo-dev@g.o>
From: <ebrewer@...>
Subject: Catalyst livecd-stage2.spec build errors.
Date: Thu, 27 May 2004 17:45:01 -0700
I am currently trying to build a livecd-stage2 and am running into the
following problem:

----------------------------------------------------------------------

root@dmess0r etc # clear && time catalyst -f CMlivecd-stage2.spec

Setting storedir to default value "/var/tmp/catalyst"
Setting portdir to default value "/usr/portage"
Setting distdir to config file value "/usr/portage/distfiles"
Setting options to config file value "ccache pkgcache"
Setting sharedir to config file value "/usr/lib/catalyst"
Compiler cache support enabled.
Package cache support enabled.
Building natively for x86
Setting up directories...
/proc is still mounted; performing auto-bind-umount...
Auto-unbind successful, continuing...
Running command "rm -rf
/var/tmp/catalyst/tmp/default/livecd-stage2-x86-2004.1"
Removing previously-existing livecd-stage2 chroot directory...
Running command "rm -rf
/var/tmp/catalyst/tmp/default/livecd-stage2-x86-2004.1"
Copying livecd-stage1 result to new livecd-stage2 work directory...
Running command "cp -a /var/tmp/catalyst/tmp/default/stage3-x86-2004.1/*
/var/tmp/catalyst/tmp/default/livecd-stage2-x86-2004.1"
Configuring profile link...
Running command "rm -f
/var/tmp/catalyst/tmp/default/livecd-stage2-x86-2004.1/etc/make.profile"
Running command "ln -sf ../usr/portage/profiles/default-x86-2004.0
/var/tmp/catalyst/tmp/default/livecd-stage2-x86-2004.1/etc/make.profile"
Running command "cp /etc/resolv.conf
/var/tmp/catalyst/tmp/default/livecd-stage2-x86-2004.1/etc"
Running command "rm -f
/var/tmp/catalyst/tmp/default/livecd-stage2-x86-2004.1/etc/make.conf"
cleaning previous livecd-stage2 build
Running command "rm -rf
/var/tmp/catalyst/builds/default/livecd-stage2-x86-2004.1"
Traceback (most recent call last):
  File "/usr/bin/catalyst", line 103, in ?
    mytarget.run()
  File "/usr/lib/catalyst/modules/targets.py", line 326, in run
    self.run_local()
  File "/usr/lib/catalyst/modules/targets.py", line 538, in run_local
    if not
os.path.exists(self.settings["boot/kernel/"+kname+"/config"]):
  File "/usr/lib/python2.3/posixpath.py", line 174, in exists
    st = os.stat(path)
TypeError: coercing to Unicode: need string or buffer, list found

real    1m6.854s
user    0m0.380s
sys     0m6.740s

----------------------------------------------------------------------

Here is the CMlivecd-stage2.spec:

subarch: x86
version_stamp: 2004.1
target: livecd-stage2
rel_type: default
profile: default-x86-2004.0
snapshot: 2004.1
source_subpath: default/stage3-x86-2004.1

livecd/cdfstype: zisofs
livecd/archscript: /usr/lib/catalyst/livecd/runscript/x86-archscript.sh
livecd/runscript:
/usr/lib/catalyst/livecd/runscript/default-runscript.sh
livecd/cdtar:
/usr/lib/catalyst/livecd/cdtar/isolinux-2.08-memtest86-cdtar.tar.bz2

## optional, specifies if the final iso is to be automatically built ##
and where it should go
livecd/iso: /var/tmp/catalyst/CMlinux-gentoo.iso

# options that are to be passed to genkernel
#livecd/genkernel_args: --makeopts=-j1

boot/kernel: gentoo smp
boot/kernel/gentoo/sources: sys-kernel/gentoo-sources
boot/kernel/gentoo/config: 
boot/kernel/smp/sources: sys-kernel/gentoo-dev-sources
boot/kernel/smp/config: 

# this next line sets any USE settings you want exported to the
environment for # your kernel build *and* during the build of any
kernel-dependent packages
boot/kernel/gentoo/use: pcmcia
boot/kernel/smp/use: pcmcia

# use this next option to add an extension to the name of your kernel.
This # allows you to have 2 identical kernels on the livecd built with
different # options, and each with their own modules dir in /lib/modules
(otherwise # the second kernel would overwrite the first modules
directory.
boot/kernel/gentoo/extraversion: livecd
boot/kernel/smp/extraversion: livecd

# this next line is for merging kernel-dependent packages after your
kernel # is built. This is where you merge third-party ebuilds that
contain kernel # modules.
boot/kernel/gentoo/packages: iptables
boot/kernel/smp/packages: iptables

livecd/unmerge:
	autoconf automake bin86 binutils libtool m4 bison ld.so make
perl patch linux-headers man-pages
	sash bison flex gettext texinfo ccache addpatches man groff
lib-compat gcc python miscfiles
livecd/empty:
	/var/tmp
	/var/cache
	/var/db
	/var/empty
	/var/cache
	/var/lock
	/tmp
	/usr/portage
	/usr/share/man
	/usr/share/info
	/usr/share/unimaps
	/usr/include
	/usr/share/zoneinfo
	/usr/share/dict
	/usr/share/doc
	/usr/share/ss
	/usr/share/state
	/usr/share/texinfo
	/usr/lib/python2.2
	/usr/lib/portage
	/usr/share/gettext
	/usr/share/i18n
	/usr/share/rfc
	/usr/X11R6/man
	/usr/X11R6/include
	/usr/X11R6/lib/X11/config
	/usr/X11R6/lib/X11/etc
	/usr/X11R6/lib/X11/doc
	/usr/src
	/usr/share/doc
	/usr/share/man
	/root/.ccache
livecd/rm:
	/lib/*.a
	/usr/lib/*.a
	/usr/lib/gcc-lib/*/*/libgcj*
	/usr/X11R6/lib/*.a

----------------------------------------------------------------------

Anyone have an idea why its choking on ``+kname+''?

Thanks.

- Evan


--
gentoo-dev@g.o mailing list

Replies:
Re: Catalyst livecd-stage2.spec build errors.
-- Chris Gianelloni
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
RFC: Dev-only Wiki for eclasses/portage
Next by thread:
Re: Catalyst livecd-stage2.spec build errors.
Previous by date:
Re: RFC: Dev-only Wiki for eclasses/portage
Next by date:
Multiple concurrent GCC's


Updated Jun 17, 2009

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

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