Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 219334 - catalyst fails in stage1 with glibc not compiling
Summary: catalyst fails in stage1 with glibc not compiling
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High trivial (vote)
Assignee: Alexander Gabert (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-26 11:22 UTC by Alexander Gabert (RETIRED)
Modified: 2008-04-26 16:38 UTC (History)
1 user (show)

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


Attachments
text file with error messages during catalyst run (catalyst_stage1_fail.txt,3.89 KB, text/plain)
2008-04-26 11:22 UTC, Alexander Gabert (RETIRED)
Details
build log from failing glibc in catalyst (build.log.gz,289.96 KB, text/plain)
2008-04-26 14:51 UTC, Alexander Gabert (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Gabert (RETIRED) gentoo-dev 2008-04-26 11:22:15 UTC
when running catalyst for building new stages, it fails with glibc not compiling

Reproducible: Didn't try

Steps to Reproduce:

Actual Results:  
failed at stage1

Expected Results:  
should of built stage3 instead of failing at stage1

ionformational bug only
Comment 1 Alexander Gabert (RETIRED) gentoo-dev 2008-04-26 11:22:54 UTC
Created attachment 151012 [details]
text file with error messages during catalyst run
Comment 2 Alexander Gabert (RETIRED) gentoo-dev 2008-04-26 11:31:31 UTC
i guess i have to mention that the seed stage was stage3-x86-2007.0

will now try with the following settings

 *    arch:       x86
 *    profile:    default-linux/x86/2007.0
 *    rel_type:   default
 *    seed:       x86/stage3-x86-2008.0.tar.bz2

from

ftp://gentoo.osuosl.org/pub/gentoo/releases/x86/2008.0_beta1/stage3-x86-2008.0_beta1.tar.bz2
Comment 3 Alexander Gabert (RETIRED) gentoo-dev 2008-04-26 12:21:58 UTC
same error with the 2008 stage3:

-nptl/elf/ldconfig || LC_ALL=C LANGUAGE=C \
          /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/ \
                                       /lib /usr/lib
/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
make[1]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.6.1/work/glibc-2.6.1'
/usr/portage/sys-libs/glibc/files/eblits/src_install-2.6.eblit: line 215: i686-pc-linux-gnu-strip: command not found
 * 
 * ERROR: sys-libs/glibc-2.6.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_install
 *             environment, line 3468:  Called eblit-run 'src_install' 'src_install'
 *             environment, line 1131:  Called die
 * The specific snippet of code:
 *       eblit-${PN}-$1 || die;
 *  The die message:
 *   (no error message)
Comment 4 Alexander Gabert (RETIRED) gentoo-dev 2008-04-26 14:51:06 UTC
Created attachment 151016 [details]
build log from failing glibc in catalyst

 * build-stages for:
 *    ver:        test-2.6
 *    arch:       x86
 *    profile:    default-linux/x86/2007.0
 *    rel_type:   default
 *    seed:       x86/stage3-x86-2007.0.tar.bz2
 * Options:
 *    clean:          retain tmp
 *    send_emails:    No.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2008-04-26 14:59:06 UTC
     Hi pappy!


Could you figure out yourself whom to assign this to, please?


Thank you,
     JeR
Comment 6 Alexander Gabert (RETIRED) gentoo-dev 2008-04-26 15:14:04 UTC
Even though there is one ARCH keyword "x86" for intel, there is two flavours of
stages:

the x86 stage3 for ARCH="x86" which support intel i486 upwards
the i686 stage3 for ARCH="x86" which support intel i686 upwards (pentium II)

when using the build-stages script from vapier with a seed stage3 that is a x86
stage3 (and not the i686 version), the CHOST in the build script, that fires up
catalyst, must reflect the CHOST which the seed stage was built with: 

which means, when using stage3-x86-2007.0.tar.bz2 as the seed stage,
the CHOST must be i486-pc-linux-gnu, otherwise the catalyst doing the stage1
building cannot find the compiler of the seed stage.  thanks phreak!

 * build stages for CHOST: i486-pc-linux-gnu
 *    ver:        ag-2008.0
 *    arch:       x86
 *    profile:    default-linux/x86/2007.0
 *    rel_type:   default
 *    seed:       x86/stage3-x86-2007.0.tar.bz2
 * Options:
 *    clean:          retain tmp
 *    send_emails:    No.

...
Comment 7 Alexander Gabert (RETIRED) gentoo-dev 2008-04-26 15:14:58 UTC
Comment on attachment 151016 [details]
build log from failing glibc in catalyst

obsoleted
Comment 8 Alexander Gabert (RETIRED) gentoo-dev 2008-04-26 15:19:38 UTC
rebuilding with the fix from phreak, if it works, closing this bug
Comment 9 Alexander Gabert (RETIRED) gentoo-dev 2008-04-26 16:38:59 UTC
fixed by phreak