Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26591 - emerge gnome fails with 'einstall failed' on gnome-terminal-2.2.1
Summary: emerge gnome fails with 'einstall failed' on gnome-terminal-2.2.1
Status: RESOLVED DUPLICATE of bug 26320
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-13 23:15 UTC by Jamie Dobbs
Modified: 2005-07-17 13:06 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jamie Dobbs 2003-08-13 23:15:00 UTC
Emergeing gnome with the command emerge -k gnome errors after downloading and
compiling gnome-terminal-2.2.1 with the error

!!! ERROR: x11-terms/gnome-terminal-2.2.1 failed.
!!! Function einstall, Line 343, Exitcode 2
!!! einstall failed

Output from the emerge is as follows:

make[3]: Leaving directory
`/var/tmp/portage/gnome-terminal-2.2.1/work/gnome-terminal-2.2.1/src'
make[2]: Leaving directory
`/var/tmp/portage/gnome-terminal-2.2.1/work/gnome-terminal-2.2.1/src'
Making all in po
make[2]: Entering directory
`/var/tmp/portage/gnome-terminal-2.2.1/work/gnome-terminal-2.2.1/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/var/tmp/portage/gnome-terminal-2.2.1/work/gnome-terminal-2.2.1/po'
Making all in help
make[2]: Entering directory
`/var/tmp/portage/gnome-terminal-2.2.1/work/gnome-terminal-2.2.1/help'
Making all in C
make[3]: Entering directory
`/var/tmp/portage/gnome-terminal-2.2.1/work/gnome-terminal-2.2.1/help/C'
for file in gnome-terminal-C.omf; do \
  scrollkeeper-preinstall
/usr/share/gnome/help/gnome-terminal/C/gnome-terminal.xml ./$file $file.out; \
done
make[3]: [omf_timestamp] Error 139 (ignored)
touch omf_timestamp
make[3]: Leaving directory
`/var/tmp/portage/gnome-terminal-2.2.1/work/gnome-terminal-2.2.1/help/C'
Making all in ro
make[3]: Entering directory
`/var/tmp/portage/gnome-terminal-2.2.1/work/gnome-terminal-2.2.1/help/ro'
for file in gnome-terminal-ro.omf; do \
  scrollkeeper-preinstall
/usr/share/gnome/help/gnome-terminal/ro/gnome-terminal.xml ./$file $file.out; \
done
make[3]: [omf_timestamp] Error 139 (ignored)
touch omf_timestamp
make[3]: Leaving directory
`/var/tmp/portage/gnome-terminal-2.2.1/work/gnome-terminal-2.2.1/help/ro'
make[3]: Entering directory
`/var/tmp/portage/gnome-terminal-2.2.1/work/gnome-terminal-2.2.1/help'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory
`/var/tmp/portage/gnome-terminal-2.2.1/work/gnome-terminal-2.2.1/help'
make[2]: Leaving directory
`/var/tmp/portage/gnome-terminal-2.2.1/work/gnome-terminal-2.2.1/help'
make[2]: Entering directory
`/var/tmp/portage/gnome-terminal-2.2.1/work/gnome-terminal-2.2.1'
./intltool-merge ./po gnome-terminal.desktop.in gnome-terminal.desktop -d -u -c
./po/.intltool-merge-cache
Generating and caching the translation database
Merging translations into gnome-terminal.desktop.
make[2]: Leaving directory
`/var/tmp/portage/gnome-terminal-2.2.1/work/gnome-terminal-2.2.1'
make[1]: Leaving directory
`/var/tmp/portage/gnome-terminal-2.2.1/work/gnome-terminal-2.2.1'

>>> Install gnome-terminal-2.2.1 into
/var/tmp/portage/gnome-terminal-2.2.1/image/ category x11-terms
Making install in src
make[1]: Entering directory
`/var/tmp/portage/gnome-terminal-2.2.1/work/gnome-terminal-2.2.1/src'
Making install in eel
make[2]: Entering directory
`/var/tmp/portage/gnome-terminal-2.2.1/work/gnome-terminal-2.2.1/src/eel'
make[3]: Entering directory
`/var/tmp/portage/gnome-terminal-2.2.1/work/gnome-terminal-2.2.1/src/eel'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory
`/var/tmp/portage/gnome-terminal-2.2.1/work/gnome-terminal-2.2.1/src/eel'
make[2]: Leaving directory
`/var/tmp/portage/gnome-terminal-2.2.1/work/gnome-terminal-2.2.1/src/eel'
Making install in skey
make[2]: Entering directory
`/var/tmp/portage/gnome-terminal-2.2.1/work/gnome-terminal-2.2.1/src/skey'
make[3]: Entering directory
`/var/tmp/portage/gnome-terminal-2.2.1/work/gnome-terminal-2.2.1/src/skey'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory
`/var/tmp/portage/gnome-terminal-2.2.1/work/gnome-terminal-2.2.1/src/skey'
make[2]: Leaving directory
`/var/tmp/portage/gnome-terminal-2.2.1/work/gnome-terminal-2.2.1/src/skey'
make[2]: Entering directory
`/var/tmp/portage/gnome-terminal-2.2.1/work/gnome-terminal-2.2.1/src'
make[3]: Entering directory
`/var/tmp/portage/gnome-terminal-2.2.1/work/gnome-terminal-2.2.1/src'
/bin/sh ../mkinstalldirs /var/tmp/portage/gnome-terminal-2.2.1/image//usr/bin
mkdir /var/tmp/portage/gnome-terminal-2.2.1/image/usr
mkdir /var/tmp/portage/gnome-terminal-2.2.1/image/usr/bin
 /bin/sh ../libtool  --mode=install /bin/install -c  gnome-terminal
/var/tmp/portage/gnome-terminal-2.2.1/image//usr/bin/gnome-terminal
/bin/install -c gnome-terminal
/var/tmp/portage/gnome-terminal-2.2.1/image//usr/bin/gnome-terminal
/bin/sh ../mkinstalldirs
/var/tmp/portage/gnome-terminal-2.2.1/image//usr/share/gnome-terminal/glade
mkdir /var/tmp/portage/gnome-terminal-2.2.1/image/usr/share
mkdir /var/tmp/portage/gnome-terminal-2.2.1/image/usr/share/gnome-terminal
mkdir /var/tmp/portage/gnome-terminal-2.2.1/image/usr/share/gnome-terminal/glade
 /bin/install -c -m 644 ./gnome-terminal.glade2
/var/tmp/portage/gnome-terminal-2.2.1/image//usr/share/gnome-terminal/glade/gnome-terminal.glade2
/bin/sh ../mkinstalldirs
/var/tmp/portage/gnome-terminal-2.2.1/image//usr/share/pixmaps
mkdir /var/tmp/portage/gnome-terminal-2.2.1/image/usr/share/pixmaps
 /bin/install -c -m 644 ./gnome-terminal.png
/var/tmp/portage/gnome-terminal-2.2.1/image//usr/share/pixmaps/gnome-terminal.png
/bin/sh ../mkinstalldirs
/var/tmp/portage/gnome-terminal-2.2.1/image//etc/gconf/schemas/
mkdir /var/tmp/portage/gnome-terminal-2.2.1/image/etc
mkdir /var/tmp/portage/gnome-terminal-2.2.1/image/etc/gconf
mkdir /var/tmp/portage/gnome-terminal-2.2.1/image/etc/gconf/schemas
 /bin/install -c -m 644 ./gnome-terminal.schemas
/var/tmp/portage/gnome-terminal-2.2.1/image//etc/gconf/schemas//gnome-terminal.schemas
/bin/sh ../mkinstalldirs
/var/tmp/portage/gnome-terminal-2.2.1/image//usr/lib/bonobo/servers
mkdir /var/tmp/portage/gnome-terminal-2.2.1/image/usr/lib
mkdir /var/tmp/portage/gnome-terminal-2.2.1/image/usr/lib/bonobo
mkdir /var/tmp/portage/gnome-terminal-2.2.1/image/usr/lib/bonobo/servers
 /bin/install -c -m 644 ./gnome-terminal.server
/var/tmp/portage/gnome-terminal-2.2.1/image//usr/lib/bonobo/servers/gnome-terminal.server
GCONF_CONFIG_SOURCE= /usr/bin/gconftool-2 --makefile-install-rule
./gnome-terminal.schemas
make[3]: *** [install-data-local] Segmentation fault
make[3]: Leaving directory
`/var/tmp/portage/gnome-terminal-2.2.1/work/gnome-terminal-2.2.1/src'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory
`/var/tmp/portage/gnome-terminal-2.2.1/work/gnome-terminal-2.2.1/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/gnome-terminal-2.2.1/work/gnome-terminal-2.2.1/src'
make: *** [install-recursive] Error 1

!!! ERROR: x11-terms/gnome-terminal-2.2.1 failed.
!!! Function einstall, Line 343, Exitcode 2
!!! einstall failed

emerge info output is:

Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 AMD Athlon(tm) XP 1800+
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm avi crypt cups encode foomaticdb gif gpm jpeg gnome
libg++ libwww mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell
truetype xml2 xmms xv zlib gdbm berkdb slang readline arts svga java X sdl tcpd
pam ssl perl python esd imlib oggvorbis gtk qt kde motif opengl mozilla"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686 -pipe"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 foser (RETIRED) gentoo-dev 2003-08-14 03:43:33 UTC
segmentation fault seems quite obvious, is this exactly reproducable ?

can you run 'gconftool-2 -v' without problems ?
Comment 2 Jamie Dobbs 2003-08-14 11:30:01 UTC
Bug is reproducable every time.
I am unable to run the requested command as the PC no longer has Gentoo 1.4 installed.
Comment 3 foser (RETIRED) gentoo-dev 2003-08-14 11:43:41 UTC
we cant help you if you have can't provide feedback.

closing, reopen if needed.
Comment 4 Tim Haughton 2003-08-22 16:08:58 UTC
Finding same error. Just done a stage 1 install, trying to emerge Gnome. Just had a load of grief trying to emerge Scrollkeeper, but that seems to have gone on OK now.

I get the same error as the original reporter. I ran the 'gconftool-2 -v' command, it just said 'Segmentaion Fault'.
Comment 5 Tim Haughton 2003-08-22 16:16:36 UTC
Doing ebuilds manually, compile works, install fails.

Problem with omf files, is the Scrollkeeper problem I had just a coincidence?
Comment 6 Tim Haughton 2003-08-22 16:40:35 UTC
Sorry for bombing the bugs list, but I may have found a potential issue. The default optimisation CFLAGS that came on the Athlon-XP disk include:

-funroll-loops and -fprefetch-loop-arrays

Taking these out seemed to cure my problem. Although the original poster had no such CFLAGS.
Comment 7 foser (RETIRED) gentoo-dev 2003-08-23 03:03:01 UTC
hmm let me get this straight : removing those CFLAGS and then recompiling scrollkeeper fixes your problems ? Or do they always fix them (no need to recompile) ? The last one would be weird.
Comment 8 Tim Haughton 2003-08-23 03:52:07 UTC
Yes, I tried several times to emerge it, but it only worked after I took off those CFLAGS. 

I may have just noticed something else, to depart from tradition, I thought I'd give genkernel a whirl. I've just gone in to check the kernel config, and noticed that even though I downloaded the Athlon-XP disk, genkernel has configured my kernel as if it were running on an i386. Now if I'm using march with Athlon-XP, isn't that going to cause problems? (I'm no GCC guru)

I'll know more soon. I've just rebuilt my kernel with Athlon-XP set, but my network card modules no longer work. Gonna keep plugging.
Comment 9 Jamie Dobbs 2003-09-01 16:43:09 UTC
I have reinstalled Gentoo (XP optimised) and am getting the problem once more.
Comment 10 Jamie Dobbs 2003-09-01 16:50:06 UTC
Have just removed the -funroll-loops and -fprefetch-loop-arrays
 options from my CFLAGS and tried an emerge gnome again.
The error still occurs.
Comment 11 Tim Haughton 2003-09-02 09:58:26 UTC
I didn't have the skill to find all of Scrollkeeper's dependancies. If you have calmed your CFLAGS down a bit, rebuild your entire system.

emerge -e world

Takes a while, but it fixed all of my problems. These -funroll-loops and -fprefetch-loop-arrays flags are the work of Satan himself. 

So to recap - with these two CFLAGS removed, rebuild your world.
Comment 12 Jamie Dobbs 2003-09-02 15:05:11 UTC
I'm trying to do an emerge -e world but getting an error about a blocked package:

Gir root # emerge -ep world|more

These are the packages that I would merge, in order:

Calculating world dependencies  ...done!
[ebuild  N    ] sys-devel/gnuconfig-20030708
[ebuild  N    ] sys-devel/patch-2.5.9
[ebuild  N    ] sys-devel/libtool-1.4.3-r1
[blocks B     ] <dev-perl/File-Spec-0.84-r1 (from pkg dev-lang/perl-5.8.0-r12)
[ebuild  N    ] sys-libs/db-1.85-r1
[ebuild  N    ] sys-libs/gdbm-1.8.0-r5
<snip>

I can't do a full rebuild till I sort this out and quite frankly I can't work it out by myself.
I love some of the things that Gentoo offers me but if I can't even get a simple install to work properly then I may have to go back to another distro :(
Comment 13 foser (RETIRED) gentoo-dev 2003-09-03 08:03:11 UTC
yeah thats the attitude that makes us want to fix your bug.

unmerge the blocking dep.

Comment 14 Jamie Dobbs 2003-09-03 11:52:29 UTC
I would 'unmerge the blocking dep' if I knew what it was, obviously I don't know what is the blocking dep otherwise I wouldn't have asked the question!
Comment 15 Tim Haughton 2003-09-03 13:03:07 UTC
Hi Jamie, what Foser means is:

emerge unmerge File-Spec-0.84-r1

Then do another emerge -ep world.

The problem is common with Perl, the way it handles modules is a real pain for distro maintainers - and then inevitably for the users.
Comment 16 Jamie Dobbs 2003-09-04 00:14:28 UTC
Have tried

emerge unmerge File-Spec-0.84-r1

only to be told that there is no such package installed. I am getting a new HDD tomorrow to put into this machine and am tempted to try a fresh install using the i686 version rather than the Athlon version as I know that the i686 doesn't have these problems for installing it on a PC at work.
Comment 17 Alastair Tse (RETIRED) gentoo-dev 2003-09-04 02:27:36 UTC
try without the version number.
Comment 18 Jamie Dobbs 2003-09-04 02:46:46 UTC
Have tried it without the version number and it still says that it can't find a match for it:

emerge unmerge file-spec

!!! Couldn't find match for file-spec

>>> unmerge: No packages selected for removal.

Is there any way that I can rebuild the tree that contains all of the dependancies etc. in the hope that this might help with the problem.
Comment 19 Alastair Tse (RETIRED) gentoo-dev 2003-09-04 02:56:28 UTC
err ... how about : emerge unmerge File-Spec 

notice the captialisation matters.
Comment 20 Alastair Tse (RETIRED) gentoo-dev 2003-09-17 11:11:14 UTC
i'm marking this as a dup because it looks like Jamie installed from the athlon-xp grp or stages which has -fprefetch-loops-array and -funroll-loops in the CFLAGS which choked libxml2. so even though his CFLAGS are very tame, libxml2 is still screwed.



*** This bug has been marked as a duplicate of 26320 ***