* [gentoo-catalyst] Error creating stage1
@ 2006-12-25 2:35 Luca Casagrande
2006-12-25 4:30 ` Andrew Gaffney
2007-03-23 15:39 ` [gentoo-catalyst] " John Eckhart
0 siblings, 2 replies; 4+ messages in thread
From: Luca Casagrande @ 2006-12-25 2:35 UTC (permalink / raw
To: gentoo-catalyst
Hi to all!
Today i have started the creation of a new livecd; after built the portage snapshoot with
catalyst -s, I go for the stage1, using this profile:
subarch: x86
target: stage1
version_stamp: ominiverdi
rel_type: default
profile: default-linux/x86/2006.1
snapshot: 20061224
source_subpath: default/stage3-x86-2006.0
All is fine till coreutils, that stops with this error:
[..]
make[2]: Entering directory `/var/tmp/portage/coreutils-6.4/work/coreutils-6.4/tests/sort'
test 'sort' = test && prog=../../src/sort || prog=sort; \
perl -I. -w -- ./../mk-script . $prog > sort-tests.n
Can't locate auto/POSIX/assert.al in @INC (@INC contains: . /etc/perl /usr/lib/perl5/vendor_perl/5.8.8/i686-linux /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/local/lib/site_perl .) at ./../mk-script line 52
make[2]: *** [sort-tests] Error 255
make[2]: Leaving directory `/var/tmp/portage/coreutils-6.4/work/coreutils-6.4/tests/sort'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/coreutils-6.4/work/coreutils-6.4/tests'
make: *** [all-recursive] Error 1
!!! ERROR: sys-apps/coreutils-6.4 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
coreutils-6.4.ebuild, line 101: Called die
I am using catalyst 2.0.1.
Thanks for your help!
Luca
--
Help QGIS development! Make a donation right now at http://xrl.us/supportqgis
LINUX User #411601
GENTOO-GIS Development Team
jabber: casagrande@jabber.linux.it
--
gentoo-catalyst@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-catalyst] Error creating stage1
2006-12-25 2:35 [gentoo-catalyst] Error creating stage1 Luca Casagrande
@ 2006-12-25 4:30 ` Andrew Gaffney
2007-03-23 15:39 ` [gentoo-catalyst] " John Eckhart
1 sibling, 0 replies; 4+ messages in thread
From: Andrew Gaffney @ 2006-12-25 4:30 UTC (permalink / raw
To: gentoo-catalyst
Luca Casagrande wrote:
> Hi to all!
>
> Today i have started the creation of a new livecd; after built the portage snapshoot with
> catalyst -s, I go for the stage1, using this profile:
This is not a problem with catalyst. It's a bug in the ebuild and/or your source
stage.
--
Andrew Gaffney http://dev.gentoo.org/~agaffney/
Gentoo Linux Developer Installer Project
Today's lesson in political correctness: "Go asphyxiate on a phallus"
--
gentoo-catalyst@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-catalyst] Re: Error creating stage1
2006-12-25 2:35 [gentoo-catalyst] Error creating stage1 Luca Casagrande
2006-12-25 4:30 ` Andrew Gaffney
@ 2007-03-23 15:39 ` John Eckhart
1 sibling, 0 replies; 4+ messages in thread
From: John Eckhart @ 2007-03-23 15:39 UTC (permalink / raw
To: gentoo-catalyst; +Cc: luca.casagrande-Re5JQEeQqe8AvxtiuMwx3w
Luca Casagrande wrote:
> Hi to all!
>
> Today i have started the creation of a new livecd; after built the portage snapshoot with
> catalyst -s, I go for the stage1, using this profile:
>
> subarch: x86
> target: stage1
> version_stamp: ominiverdi
> rel_type: default
> profile: default-linux/x86/2006.1
> snapshot: 20061224
> source_subpath: default/stage3-x86-2006.0
>
> All is fine till coreutils, that stops with this error:
>
> [..]
> make[2]: Entering directory `/var/tmp/portage/coreutils-6.4/work/coreutils-6.4/tests/sort'
> test 'sort' = test && prog=../../src/sort || prog=sort; \
> perl -I. -w -- ./../mk-script . $prog > sort-tests.n
> Can't locate auto/POSIX/assert.al in @INC (@INC contains: . /etc/perl /usr/lib/perl5/vendor_perl/5.8.8/i686-linux /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/local/lib/site_perl .) at ./../mk-script line 52
> make[2]: *** [sort-tests] Error 255
> make[2]: Leaving directory `/var/tmp/portage/coreutils-6.4/work/coreutils-6.4/tests/sort'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/var/tmp/portage/coreutils-6.4/work/coreutils-6.4/tests'
> make: *** [all-recursive] Error 1
>
> !!! ERROR: sys-apps/coreutils-6.4 failed.
> Call stack:
> ebuild.sh, line 1546: Called dyn_compile
> ebuild.sh, line 937: Called src_compile
> coreutils-6.4.ebuild, line 101: Called die
>
>
> I am using catalyst 2.0.1.
>
> Thanks for your help!
>
> Luca
>
Luca,
There is a bug open for this at:
https://bugs.gentoo.org/show_bug.cgi?id=147184
I submitted a patch that worked for me, but YMMV.
The patch has to be applied to the portage snapshot in the
snapshot_cache directory. Don't forget to rebuild the digest after
patching the ebuild. You might also want to recreate the portage
snapshot from the cache in case you try to do a clean build later.
--
gentoo-catalyst@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-catalyst] error creating stage1
@ 2008-03-14 21:34 Franco Vecchiato
0 siblings, 0 replies; 4+ messages in thread
From: Franco Vecchiato @ 2008-03-14 21:34 UTC (permalink / raw
To: gentoo-catalyst
Hi all,
I'm using catalyst to create my own stage3, but I have problems creating
stage1.
I created the portage snapshot (catalyst -s 09032008), no problems
there, but the following command (catalyst -f /path/to/stage1.spec
> /path/to/logstage1) always gives these errors (final part of
logstage1):
<end_of_logstage1>
....
test !
-x /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-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.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 3483: Called eblit-run 'src_install'
* environment, line 1146: Called die
* The specific snippet of code:
* eblit-${PN}-$1 || die;
* The die message:
* (no error message)
*
* If you need support, post the topmost build error, and the call stack
if relevant.
* A complete build log is located at
'/var/tmp/portage/sys-libs/glibc-2.6.1/temp/build.log'.
* The ebuild environment file is located at
'/var/tmp/portage/sys-libs/glibc-2.6.1/temp/environment'.
*
* Messages for package dev-libs/expat-2.0.1 merged to /tmp/stage1root/:
* Please note that the soname of the library changed!
* If you are upgrading from a previous version you need
* to fix dynamic linking inconsistencies by executing:
* revdep-rebuild -X --library libexpat.so.0
* Messages for package sys-apps/sandbox-1.2.18.1-r2 merged
to /tmp/stage1root/:
* If configure fails with a 'cannot run C compiled programs' error, try
this:
* FEATURES=-sandbox emerge sandbox
* Messages for package sys-libs/timezone-data-2007k merged
to /tmp/stage1root/:
* You do not have TIMEZONE set in /etc/conf.d/clock.
* Setting /etc/localtime to Factory.
* Messages for package app-editors/nano-2.0.7 merged
to /tmp/stage1root/:
* More helpful info about nano, visit the GDP page:
* http://www.gentoo.org/doc/en/nano-basics-guide.xml
* Messages for package dev-libs/libxml2-2.6.30-r1 merged
to /tmp/stage1root/:
* Skipping XML catalog creation for stage building (bug #208887).
* Messages for package sys-libs/glibc-2.6.1 merged to /tmp/stage1root/:
*
* ERROR: sys-libs/glibc-2.6.1 failed.
* Call stack:
* ebuild.sh, line 49: Called src_install
* environment, line 3483: Called eblit-run 'src_install'
* environment, line 1146: Called die
* The specific snippet of code:
* eblit-${PN}-$1 || die;
* The die message:
* (no error message)
*
* If you need support, post the topmost build error, and the call stack
if relevant.
* A complete build log is located at
'/var/tmp/portage/sys-libs/glibc-2.6.1/temp/build.log'.
* The ebuild environment file is located at
'/var/tmp/portage/sys-libs/glibc-2.6.1/temp/environment'.
*
!!! catalyst: run script failed.
Traceback (most recent call last):
File "modules/generic_stage_target.py", line 1062, in run_local
cmd("/bin/bash "+self.settings["controller_file"]+" run","run script
failed.",env=self.env)
File "/usr/lib/catalyst/modules/catalyst_support.py", line 486, in cmd
raise CatalystError,myexc
CatalystError: <unprintable instance object>
None
!!! catalyst: Stage build aborting due to error.
!!! catalyst: Error encountered during run of target stage1
Catalyst aborting....
lockfile does not exist
'/var/tmp/catalyst/tmp/default/stage1-i686-09032008/.catalyst_lock'
</end_of_logstage1>
The directory /var/tmp/catalyst/tmp/default/stage1-i686-09032008 has
been created (along with its content, also .catalyst_lock), but
the .tar.bz2 file has not.
This is my stage1.spec file:
<code>
subarch: i686
version_stamp: 09032008
target: stage1
rel_type: default
profile: default-linux/x86/2007.0
snapshot: 09032008
source_subpath: stage3-x86-2007.0
distcc_hosts:
portage_confdir: /etc/portage
portage_overlay:
pkgcache_path: /tmp/packages
chost: i686-pc-linux-gnu
cflags: -O2 -pipe -fomit-frame-pointer -mtune=i686
cxxflags: -O2 -pipe -fomit-frame-pointer -mtune=i686
ldflags:
</code>
my gentoo laptop (IBM ThinkPad T23) is updated and I use catalyst 2.0.5
I tried several times those two commands (catalyst -s ... and catalyst
-f ...), after several complete updates (emerge -uD world).
I also tried -Os in cflags and cxxflags, never modified the
standard /etc/catalyst/catalyst.conf file.
I'm a newbie of Gentoo, maybe there's something wrong or something I
don't know.
Any suggestions?
Thanks in advance
Franco Vecchiato
--
gentoo-catalyst@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-03-14 21:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-25 2:35 [gentoo-catalyst] Error creating stage1 Luca Casagrande
2006-12-25 4:30 ` Andrew Gaffney
2007-03-23 15:39 ` [gentoo-catalyst] " John Eckhart
-- strict thread matches above, loose matches on Subject: below --
2008-03-14 21:34 [gentoo-catalyst] error " Franco Vecchiato
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox