Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46284 - Anjuta-1.2.0 fails to compile with error on create_global_tags.sh
Summary: Anjuta-1.2.0 fails to compile with error on create_global_tags.sh
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High critical
Assignee: Lisa Seelye (RETIRED)
URL:
Whiteboard:
Keywords:
: 47242 47544 (view as bug list)
Depends on:
Blocks: 48280
  Show dependency tree
 
Reported: 2004-03-30 13:15 UTC by Andrew Crouthamel
Modified: 2004-04-19 00:51 UTC (History)
3 users (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 Andrew Crouthamel 2004-03-30 13:15:36 UTC
When I start up the latest stable Anjuta available (1.2.0), when I click on any of the menu selections in the Settings menu, Anjuta crashes.

Reproducible: Always
Steps to Reproduce:
1. Open Anjuta 1.2.0
2. Click the Settings menu
3. Click Preferences

Actual Results:  
A crash.

Expected Results:  
Should have shown me a preferences window.

Here is what anjuta outputs during a crash:

exdaix@Exdaix exdaix $ anjuta
Bonobo accessibility support initialized
GTK Accessibility Module initialized
Atk Accessibilty bridge initialized
 
** Message: Initializing AP class
** Message: Initializing AP Instance
** Message: Initializing launcher class
 
(anjuta:10767): GLib-GObject-WARNING **: invalid class cast from `GtkFrame' to `
AtkObject'
Bonobo accessibility support initialized
GTK Accessibility Module initialized
Atk Accessibilty bridge initialized


Here is my emerge info:

root@Exdaix exdaix # emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22-gentoo-r7)
=================================================================
System uname: 2.4.22-gentoo-r7 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe"
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="-march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://128.213.5.34/gentoo/
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo
http://adelie.polymtl.ca/ http://gentoo.chem.wisc.edu/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X alsa apm avi berkdb bonobo cdr crypt cups encode esd foomaticdb gdbm gif
gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imlib java jpeg ldap libg++
libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam
pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcltk tcpd
truetype x86 xml2 xmms xv zlib"
Comment 1 Lisa Seelye (RETIRED) gentoo-dev 2004-04-06 20:34:37 UTC
I get this too.  Did you update any other libraries (gtk+, and related) after installing anjuta-1.2.0?
Comment 2 Andrew Crouthamel 2004-04-07 04:24:51 UTC
Most likely...  I have a fully updated Gentoo system, which I update daily.  I can try recompiling Anjuta if you think that would help.
Comment 3 Lisa Seelye (RETIRED) gentoo-dev 2004-04-07 07:54:34 UTC
That's what I'm thinking... Try recompiling Anjuta and report here if it worked.
Comment 4 Andrew Crouthamel 2004-04-07 15:29:13 UTC
Anjuta doesn't even compile now... Lol.

It compiles for a while, then outputs this:

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.0/work/anjuta-1.2.0/global-tags'
make[3]: *** [system.tags] Error 2
make[3]: Leaving directory `/var/tmp/portage/anjuta-1.2.0/work/anjuta-1.2.0/data'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/anjuta-1.2.0/work/anjuta-1.2.0/data'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/anjuta-1.2.0/work/anjuta-1.2.0/data'
make: *** [install-recursive] Error 1
 
!!! ERROR: dev-util/anjuta-1.2.0 failed.
!!! Function einstall, Line 388, Exitcode 2
!!! einstall failed
Comment 5 Lisa Seelye (RETIRED) gentoo-dev 2004-04-08 11:38:12 UTC
I recompiled Anjuta and it did work properly.  At /this/ time this bug is very much a WORKSFORME.  I think that your compiling issue is separate unto it's own and accordingly I'll change the summary of this bug report to reflect your problems.

What information I need from you is a bit more on the problems of your compilation.  If your emerge info is different please include that again.  Include output from emerge -uDpv anjuta. Include output from qpkg -I -v gtk+.  And just for kicks paste more lines before that error (start 10 lines before the chmod +x).
Comment 6 Markus Krainer 2004-04-08 23:48:48 UTC
I have the same error as Andrew in Comment #4.
The reason for the failure is that global-tags/create_global_tags.sh is missing
a "#! /bin/sh" on top. So either patch this file or patch Makefile.in:

--- cut here (anjuta-1.2.1.fix.global-tags.diff) ---

diff -ur anjuta-1.2.1/global-tags/Makefile.in anjuta-1.2.1.fixed/global-tags/Makefile.in
--- anjuta-1.2.1/global-tags/Makefile.in        2004-04-09 08:26:23.000000000 +0200
+++ anjuta-1.2.1.fixed/global-tags/Makefile.in  2004-04-09 08:26:34.000000000 +0200
@@ -405,7 +405,7 @@
 system.tags: create_global_tags.sh tm_global_tags
        echo "Detecting header files and Generating global symbols ....."
        chmod +x $(srcdir)/create_global_tags.sh
-       (cd $(top_builddir)/global-tags; $(srcdir)/create_global_tags.sh)
+       (cd $(top_builddir)/global-tags; /bin/sh $(srcdir)/create_global_tags.sh)
                                                                                
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.

--- end ---


~
~
Comment 7 Lisa Seelye (RETIRED) gentoo-dev 2004-04-08 23:54:53 UTC
thanks for the patch.  i will put it in when i wake up.
Comment 8 Lisa Seelye (RETIRED) gentoo-dev 2004-04-10 00:21:57 UTC
in cvs.

i used a patch to the actual create_global_tags.sh for a shebang, since i had problems with your makefile.in patch and i was too lazy to diagnose it. :p

this worked locally


emerge sync and emerge anjuta-1.2.0-r1. reopen if this persists
Comment 9 foser (RETIRED) gentoo-dev 2004-04-10 03:04:03 UTC
*** Bug 47242 has been marked as a duplicate of this bug. ***
Comment 10 foser (RETIRED) gentoo-dev 2004-04-10 03:05:14 UTC
you should also apply the patch to 1.2.1 lisa
Comment 11 Andrew Crouthamel 2004-04-10 07:12:46 UTC
Thanks Markus and Lisa!
Comment 12 Michael Crawford (ali3nx) 2004-04-13 02:48:42 UTC
*** Bug 47544 has been marked as a duplicate of this bug. ***