Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58840 - catalyst in cvs doesnt support stacked profiles
Summary: catalyst in cvs doesnt support stacked profiles
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: Catalyst (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: John Davis (zhen) (RETIRED)
URL:
Whiteboard:
Keywords:
: 59925 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-07-29 16:16 UTC by SpanKY
Modified: 2004-08-31 13:46 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
catalyst-1.0.8.1-stacked-profiles.patch (catalyst-1.0.8.1-stacked-profiles.patch,7.16 KB, patch)
2004-07-29 16:16 UTC, SpanKY
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2004-07-29 16:16:30 UTC
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 !
Comment 1 SpanKY gentoo-dev 2004-07-29 16:16:56 UTC
Created attachment 36440 [details, diff]
catalyst-1.0.8.1-stacked-profiles.patch
Comment 2 SpanKY gentoo-dev 2004-07-29 16:19:40 UTC
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
Comment 3 solar (RETIRED) gentoo-dev 2004-07-29 16:41:53 UTC
This is the patch you have been waiting for all your life.
Comment 4 Benjamin Judas (RETIRED) gentoo-dev 2004-07-31 10:14:05 UTC
I will run a test asap and report the results here.
Comment 5 John Davis (zhen) (RETIRED) gentoo-dev 2004-08-02 16:24:59 UTC
its in CVS - please test :)
Comment 6 SpanKY gentoo-dev 2004-08-04 21:12:29 UTC
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
Comment 7 John Davis (zhen) (RETIRED) gentoo-dev 2004-08-04 21:26:03 UTC
ok, i found the problem and fixed it. try now :) (I will leave this bug open until all is kosher)
Comment 8 SpanKY gentoo-dev 2004-08-09 23:29:59 UTC
*** Bug 59925 has been marked as a duplicate of this bug. ***
Comment 9 Chris Gianelloni (RETIRED) gentoo-dev 2004-08-18 12:59:48 UTC
Was this fixed with 1.0.9?
Comment 10 SpanKY gentoo-dev 2004-08-18 15:49:40 UTC
yeah i gave it a brief stage1/stage2 run and seems to be fine
Comment 11 Hanno Zysik (geki) 2004-08-31 13:46:14 UTC
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