Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 47242

Summary: When I try emerging Anjuta, einstall crashes on me.
Product: Gentoo Linux Reporter: Magnus von Wachenfeldt <t0nfisk>
Component: [OLD] DevelopmentAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED DUPLICATE    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ctags generation patch.

Description Magnus von Wachenfeldt 2004-04-08 09:59:22 UTC
...

make[4]: `libctags.a' is up to date.
make[4]: Leaving directory `/var/tmp/portage/anjuta-1.2.1/work/anjuta-1.2.1/tagmanager'
cd ../global-tags && make system.tags
make[4]: Entering directory `/var/tmp/portage/anjuta-1.2.1/work/anjuta-1.2.1/global-tags'
echo "Detecting header files and Generating global symbols ....."
Detecting header files and Generating global symbols .....
chmod +x ./create_global_tags.sh
(cd ../global-tags; ./create_global_tags.sh)
make[4]: *** [system.tags] Error 139
make[4]: Leaving directory `/var/tmp/portage/anjuta-1.2.1/work/anjuta-1.2.1/global-tags'
make[3]: *** [system.tags] Error 2
make[3]: Leaving directory `/var/tmp/portage/anjuta-1.2.1/work/anjuta-1.2.1/data'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/anjuta-1.2.1/work/anjuta-1.2.1/data'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/anjuta-1.2.1/work/anjuta-1.2.1/data'
make: *** [install-recursive] Error 1
 
!!! ERROR: dev-util/anjuta-1.2.1 failed.
!!! Function einstall, Line 388, Exitcode 2
!!! einstall failed
 
nebulae root #


Reproducible: Always
Steps to Reproduce:
emerge anjuta
Actual Results:  
Einstall crashes on me.

Expected Results:  
Emerged anjuta for me.

Portage 2.0.50-r3 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.5)
=================================================================
System uname: 2.6.5 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.4.3.13p1
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -fexpensive-optimizations
-frerun-cse-after-loop -frerun-loop-opt -falign-functions=4"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer
-fexpensive-optimizations -frerun-cse-after-loop -frerun-loop-opt
-falign-functions=4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.uninett.no/pub/linux/Gentoo
ftp://trumpetti.atm.tut.fi/gentoo/ http://trumpetti.atm.tut.fi/gentoo/
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X alsa apache2 apm arts avi berkdb bonobo cdr crypt cups doc encode esd
foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde libg++ libwww mad
mbox mikmod motif mozilla mpeg mysql ncurses nls nowin oggvorbis opengl oss pam
pdflib perl png prelude python qt quicktime readline sdl slang spell ssl svga
tcltk tcpd tetex truetype x86 xml2 xmms xv zlib"
Comment 1 foser (RETIRED) gentoo-dev 2004-04-08 11:41:15 UTC
yeah.. 1st santize your CFLAGS  mr.madman (and do this _always_ before ever filing a bug).
Comment 2 Chance Platt 2004-04-08 14:48:53 UTC

I get a similar problem with einstall crashing.  I also cannot emerge anjuta-1.2.0, either (very much like #46284).

Normally, my CFLAGS are:

CFLAGS="-Os -march=pentium4 -fomit-frame-pointer -frename-registers -pipe"


Using those CFLAGS, my emerge hangs indefinately at:

Detecting header files and Generating global symbols .....
chmod +x ./create_global_tags.sh
(cd ../global-tags; ./create_global_tags.sh)


I get the same results as the parent poster using each of the following sets of CFLAGS:

CFLAGS=""
CFLAGS="-O2 -march=pentium4"
CFLAGS="-march=pentium4"
CFLAGS="-mcpu=pentium4"


End of emerge output:

/bin/sh ../mkinstalldirs /var/tmp/portage/anjuta-1.2. 1/image//usr/share/mime-info
mkdir /var/tmp/portage/anjuta-1.2.1/image/usr/share/m ime-info
 /bin/install -c -m 644 ./anjuta.mime /var/tmp/portag e/anjuta-1.2.1/image//usr/share/mime-info/anjuta.mime
/bin/sh ../mkinstalldirs /var/tmp/portage/anjuta-1.2. 1/image//usr/share/mimelnk/application
mkdir /var/tmp/portage/anjuta-1.2.1/image/usr/share/m imelnk
mkdir /var/tmp/portage/anjuta-1.2.1/image/usr/share/m imelnk/application
 /bin/install -c -m 644 ./x-anjuta-project.desktop /v ar/tmp/portage/anjuta-1.2.1/image//usr/share/mimelnk/ application/x-anjuta-project.desktop
cd ../tagmanager && make libctags.a
make[4]: Entering directory `/var/tmp/portage/anjuta- 1.2.1/work/anjuta-1.2.1/tagmanager'
make[4]: `libctags.a' is up to date.
make[4]: Leaving directory `/var/tmp/portage/anjuta-1 .2.1/work/anjuta-1.2.1/tagmanager'
cd ../global-tags && make system.tags
make[4]: Entering directory `/var/tmp/portage/anjuta- 1.2.1/work/anjuta-1.2.1/global-tags'
echo "Detecting header files and Generating global sy mbols ....."
Detecting header files and Generating global symbols .....
chmod +x ./create_global_tags.sh
(cd ../global-tags; ./create_global_tags.sh)
make[4]: *** [system.tags] Error 139
make[4]: Leaving directory `/var/tmp/portage/anjuta-1 .2.1/work/anjuta-1.2.1/global-tags'
make[3]: *** [system.tags] Error 2
make[3]: Leaving directory `/var/tmp/portage/anjuta-1 .2.1/work/anjuta-1.2.1/data'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/anjuta-1 .2.1/work/anjuta-1.2.1/data'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/anjuta-1 .2.1/work/anjuta-1.2.1/data'
make: *** [install-recursive] Error 1
 
!!! ERROR: dev-util/anjuta-1.2.1 failed.
!!! Function einstall, Line 388, Exitcode 2
!!! einstall failed
 


Output from `emerge info`:

root@Simian chance # emerge info
Portage 2.0.50-r3 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25)
=================================================================
System uname: 2.4.25 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=pentium4"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=pentium4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa apm avi berkdb cdr crypt cups dga directfb encode esd ethereal flac foomaticdb gdbm gif gnome gpm gtk2 imlib java joystick jpeg libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline scanner sdl slang spell sse ssl svga tcltk tcpd tiff truetype usb wxwindows x86 xml2 xmms xv zlib ~x86"



Other information you requested of the poster of bug #46284:



root@Simian chance # emerge -uDpv anjuta
 
These are the packages that I would merge, in order:
 
Calculating dependencies ...done!
[ebuild  N    ] dev-util/anjuta-1.2.0   0 kB
 
Total size of downloads: 0 kB
 
root@Simian chance # qpkg -I -v gtk+
x11-libs/gtk+-2.2.4-r1 *
x11-libs/gtk+-1.2.10-r10 *
root@Simian chance #



 -- Chance

Comment 3 foser (RETIRED) gentoo-dev 2004-04-09 09:10:54 UTC
cflags on lower levels also influence the outcome.

obviously the tag generation fails somehow, try running it by hand and see what goes wrong. Get a backtrace or something.

Does the solution in the other bug work for you ?
Comment 4 red0x 2004-04-09 18:48:31 UTC
The patch from the other bug works for me. I'll attach it to make it easier to post.
Comment 5 red0x 2004-04-09 18:49:06 UTC
Created attachment 28998 [details, diff]
ctags generation patch.
Comment 6 Chance Platt 2004-04-09 19:53:41 UTC
The patch works for me.
Comment 7 foser (RETIRED) gentoo-dev 2004-04-10 03:04:03 UTC

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