catalyst fails to build uclibc stages mostly because it doesnt support stacked profiles if 2004.3 is going to use stacked profiles, this is a must have ! uNF !
Created attachment 36440 [details, diff] catalyst-1.0.8.1-stacked-profiles.patch
the patch adds support for: - stacked profiles - a STAGE1_USE variable - properly setting the timezone in a uclibc env - switches to using a bunch of virtuals instead of hardcode packages wolf also told us, that for uclibc and our custom CHOSTs/CFLAGS, we should set them via the environment ... however, catalyst didnt properly support that (resulting in mixed CHOST usage which caused crap), so i implemented that too :P
This is the patch you have been waiting for all your life.
I will run a test asap and report the results here.
its in CVS - please test :)
the patch was merged wrong i know at least the first hunk has incorrect spacing in cvs then when i tried to make a portage snapshot with the cvs catalyst, it just ended with like 'aborted' i went back to 1.0.8.1-r1 which is 1.0.8.1 plus this patch and everything worked
ok, i found the problem and fixed it. try now :) (I will leave this bug open until all is kosher)
*** Bug 59925 has been marked as a duplicate of this bug. ***
Was this fixed with 1.0.9?
yeah i gave it a brief stage1/stage2 run and seems to be fine
i use catalyst 1.09 and on livecd-stage2 i get the following: catalyst -f livecd-stage2.spec Gentoo Catalyst, version 1.0.9 Copyright 2003-2004 The Gentoo Foundation Distributed under the GNU General Public License version 2 Using default Catalyst configuration file, /etc/catalyst/catalyst.conf 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 "" Setting sharedir to config file value "/usr/lib/catalyst" Envscript support enabled. Building natively for x86 Setting up directories... Copying livecd-stage1 result to new livecd-stage2 work directory... Running command "rsync -a --delete /var/tmp/catalyst/tmp/gcc34/livecd-stage1-pentium4-20040831/* /var/tmp/catalyst/tmp/gcc34/livecd-stage2-pentium4-20040831" Configuring profile link... Running command "rm -f /var/tmp/catalyst/tmp/gcc34/livecd-stage2-pentium4-20040831/etc/make.profile" Running command "ln -sf ../usr/portage/profiles/default-linux/x86/2004.2/gcc34/2.6 /var/tmp/catalyst/tmp/gcc34/livecd-stage2-pentium4-20040831/etc/make.profile" Setting up chroot... Running command "cp /etc/resolv.conf /var/tmp/catalyst/tmp/gcc34/livecd-stage2-pentium4-20040831/etc" Running command "cp /root/catalyst/catalyst-env.sh /var/tmp/catalyst/tmp/gcc34/livecd-stage2-pentium4-20040831/tmp/envscript" Running command "rm -f /var/tmp/catalyst/tmp/gcc34/livecd-stage2-pentium4-20040831/etc/make.conf" Running command "cp /boot/config-2.6.8-gentoo-r3-reiser4 /var/tmp/catalyst/tmp/gcc34/livecd-stage2-pentium4-20040831/var/tmp/gentoo.config" Running command "/bin/bash /usr/lib/catalyst/livecd/runscript/default-runscript.sh kernel '1' 'gentoo' 'sys-kernel/gentoo-dev-sources' 'livecd'" !!! 'str' object has no attribute 'insert' !!! 'rm -Rf /usr/portage/profiles; emerge sync' may fix this. If it does !!! not then please report this to bugs.gentoo.org and, if possible, a dev !!! on #gentoo (irc.freenode.org) !!! 'str' object has no attribute 'insert' !!! 'rm -Rf /usr/portage/profiles; emerge sync' may fix this. If it does !!! not then please report this to bugs.gentoo.org and, if possible, a dev !!! on #gentoo (irc.freenode.org) !!! 'str' object has no attribute 'insert' !!! 'rm -Rf /usr/portage/profiles; emerge sync' may fix this. If it does !!! not then please report this to bugs.gentoo.org and, if possible, a dev !!! on #gentoo (irc.freenode.org) !!! 'str' object has no attribute 'insert' !!! 'rm -Rf /usr/portage/profiles; emerge sync' may fix this. If it does !!! not then please report this to bugs.gentoo.org and, if possible, a dev !!! on #gentoo (irc.freenode.org) !!! catalyst: Runscript kernel build failed !!! catalyst: Runscript aborting due to error. !!! catalyst: could not complete build