Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46056 - nautilus-media-0.3.3.1 fails compiling due to libgnomeui/gnome-entry.h syntax errors
Summary: nautilus-media-0.3.3.1 fails compiling due to libgnomeui/gnome-entry.h syntax...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 46255 (view as bug list)
Depends on:
Blocks: 45747
  Show dependency tree
 
Reported: 2004-03-28 18:52 UTC by Brian Westfield
Modified: 2004-03-31 03:37 UTC (History)
2 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 Brian Westfield 2004-03-28 18:52:49 UTC
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:61: error: syntax error before "GtkCombo"
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:61: warning: no semicolon at end of struct or union
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:65: error: syntax error before '}' token
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:68: error: syntax error before "GtkComboClass"
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:68: warning: no semicolon at end of struct or union
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:76: error: syntax error before '}' token
In file included from /usr/include/libgnomeui-2.0/libgnomeui/libgnomeui.h:48,
from gnome-test.c:28:
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:61: error: syntax error before "GtkCombo"
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:76: error: syntax error before '}' token
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:61: warning: no semicolon at end of struct or union
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:65: error: syntax error before '}' token
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:68: error: syntax error before "GtkComboClass"
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:68: warning: no semicolon at end of struct or union
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:76: error: syntax error before '}' token
make[2]: *** [bonobo-test.o] Error 1
make[2]: *** Waiting for unfinished jobs...
make[2]: *** [gnome-test.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/nautilus-media-0.3.3.1/work/nautilus-media-0.3.3.1/audio-view'
make[1]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/nautilus-media-0.3.3.1/work/nautilus-media-0.3.3.1'
make: *** [all Error 2

!!! ERROR: gnome-extra/nautilus-media-0.3.3.1 failed.
!!! Function gnome2_src_compile, :ine 39, Exitcode 2
!!! compile failure 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




I got the same error when trying to emerge gedit-2.4.1, and of course ggv-2.4.1
(which seems to have been fixed at this point.)
Comment 1 Brian Westfield 2004-03-28 20:43:44 UTC
Gentoo Base System version 1.4.3.13
Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.4-ck1)
=================================================================
System uname: 2.6.4-ck1 i686 AMD Athlon(tm) XP 1600+
Autoconf: sys-devel/autoconf-2.58
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.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/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://mirror.iawnet.sandia.gov  http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/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 aim alsa arts avi berkdb bonobo cdr crypt cups dvd dvdr encode esd fbcon foomaticdb gd gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml imagemagick imlib java joystick jpeg libg++ libwww mad mbox mikmod motif mozilla mpeg msn ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline samba sdl slang spell ssl svga tcltk tcpd truetype usb x86 xml xml2 xmms xv yahoo zlib"
Comment 2 mingus 2004-03-29 14:33:07 UTC
I digged a bit in this because I've had the same error. The 0.3.3.1 ver of nautilus-media was a develop release. I've not enabled the '~x86' keyword! There is a 0.3.4 ver of nautilus-media! How to write a ebuild for this ver instead?

 --mingus


Copied from Gnome bugzilla, http://bugzilla.gnome.org/show_bug.cgi?id=138369

-- Additional Comment #1 From Thomas Vander Stichele 2004-03-29 02:34 --
why 0.3.3.1 of nautilus-media ? Please complain to your gentoo maintainer, the
wrong versions are being combined.

Not a lot of gnome-apps have these errors, unless you know of more.  They are
not an error.  Tarballs work against some versions of underlying libraries, and
not against others.  It is up to the distribution to use the correct versions of
modules.
Comment 3 Brian Westfield 2004-03-29 15:01:35 UTC
Yes, I made sure to use accept_keywords="x86" as well before I did the emerge, just to make sure.  No dice.  I ended up emerging kde, which I didn't really want to do, but oh well.  Hopefully a fix comes out soon enough, as I like gnome much better.
Comment 4 foser (RETIRED) gentoo-dev 2004-03-29 22:47:55 UTC
Mingus, i would appreciate it if you could stop making ridiculous claims on my behalf and filing non-bugs to upstream developers.

And still none of you has shown your gtk+ version, cause this bug will not surface _unless_ you use ~arch despite your claims this is not so. So please stop making such claims without backing it up cause i'm really getting irritated over this non-issue. If it's such a big problem to you, then where are the patches ?
Comment 5 John Leonzal 2004-03-29 23:20:18 UTC
i'm also getting the error, my gtk+ version is 2.4, and i proudly admit to using ~x86 for everything.  i rarely have problems with it.
Comment 6 mingus 2004-03-30 00:55:31 UTC
Foser: This is the error message; gnome-extra/nautilus-media-0.3.3.1 failed. How should I know it has something to do with Gtk+. If I know how to write a patch I certainly have put up one. 

I appologize to you if I've done something wrong. I'm a beginner in this territorium, I only want to get my things to work and had to do something. No offend to you!
Comment 7 Brian Westfield 2004-03-30 08:29:47 UTC
I'm using gtk+2.2.4-r1.  I just re-emerged it just to be sure.  I am definitely _only) using "x86" and not "~x86".  That being said:  Doing the emerge of gtk+ seemed to fix the specific issue of this "bug,"  but a new problem arose:

/usr/lib/libeel-2.so: undefined reference to `gdk_threads_lock'
/usr/lib/libeel-2.so: undefined reference to `gdk_threads_unlock'
collect2: ld returned 1 exit status
make[2]: *** [bonobo-test] Error 1
make[2]: *** Waiting for unfinished jobs....
gcc -march=athlon-xp -O3 -pipe -o nautilus-audio-view audio-play.o audio-view.o nautilus-audio-view.o main.o -Wl,--export-dynamic -pthread -Wl,--export-dynamic -pthread  /usr/lib/libgstgconf-0.6.so -L/usr/X11R6/lib /usr/lib/libnautilus.so -L/usr/lib /usr/lib/libeel-2.so -lXrender -lXext /usr/lib/libgnomeui-2.so /usr/lib/libjpeg.so /usr/lib/libgailutil.so /usr/lib/libglade-2.0.so /usr/lib/libbonoboui-2.so -lSM -lICE -lX11 /usr/lib/libgnomecanvas-2.so /usr/lib/libgnome-2.so /usr/lib/libesd.so /usr/lib/libasound.so /usr/lib/libaudiofile.so /usr/lib/libart_lgpl_2.so /usr/lib/libpangoft2-1.0.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libbonobo-2.so /usr/lib/libgnomevfs-2.so /usr/lib/libgconf-2.so -lssl -lcrypto -lrt /usr/lib/libbonobo-activation.so /usr/lib/libORBitCosNaming-2.so /usr/lib/libORBit-2.so ../media-info/.libs/libgstmedia-info.al /usr/lib/libgstreamer-0.6.so /usr/lib/libpopt.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgthread-2.0.so /usr/lib/libxml2.so -lpthread -lz -lm /usr/lib/libglib-2.0.so
/usr/lib/libeel-2.so: undefined reference to `gdk_threads_lock'
/usr/lib/libeel-2.so: undefined reference to `gdk_threads_unlock'
collect2: ld returned 1 exit status
make[2]: *** [nautilus-audio-view] Error 1
make[2]: Leaving directory `/var/tmp/portage/nautilus-media-0.3.3.1/work/nautilus-media-0.3.3.1/audio-view'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/nautilus-media-0.3.3.1/work/nautilus-media-0.3.3.1'
make: *** [all] Error 2


So, I try to reemerge eel on its own:  

/usr/lib/libgnomeui-2.so: undefined reference to `gdk_threads_lock'
/usr/lib/libgnomeui-2.so: undefined reference to `gdk_threads_unlock'
collect2: ld returned 1 exit status
make[2]: *** [check-program] Error 1
make[2]: Leaving directory `/var/tmp/portage/eel-2.4.2/work/eel-2.4.2/eel'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/eel-2.4.2/work/eel-2.4.2'
make: *** [all-recursive-am] Error 2

Back to libgnomeui again.  I apologize if this is somehow a waste of the developers time, but I've found no fix on the web or in the forums, save for the advice of "submit a bug report."

Comment 8 Brian Westfield 2004-03-30 09:07:40 UTC
Well, looks like there has been some resolution.  I ended up emerging libbonoboui, and libgnomeui seperately, then emerging eel, then starting in on nautilus-media again, and it worked.  Apologies for submitting a non-bug, but I'm not sure I dont understand why portage wouldn't have downloaded the libs ahead of time, or if it did why manually emerging each one seperately seemed to 'fix' things.
Comment 9 foser (RETIRED) gentoo-dev 2004-03-30 09:21:36 UTC
@ comment #7 & #8: that happens if you downgrade your gtk version from 2.4 to 2.2, so my point exactly that you were building vs gtk+-2.4 (~x86 only) .

And this issue is not fixed, you worked around it.
Comment 10 foser (RETIRED) gentoo-dev 2004-03-30 09:25:57 UTC
*** Bug 46255 has been marked as a duplicate of this bug. ***
Comment 11 foser (RETIRED) gentoo-dev 2004-03-30 13:11:30 UTC
patch added to 0.3.3.1 & added 0.3.4 (also with patch)

please test.
Comment 12 John Leonzal 2004-03-30 18:26:56 UTC
that did it, foser, all is good for mine now.  thanks much!!
Comment 13 John Leonzal 2004-03-30 18:29:06 UTC
ugh, now i'm getting the same exact error, but with gnome-system-monitor-2.4.0

should i refile this, or should this bug be changed to something related to gtk 2.4?  (or whatever was the cause)
Comment 14 foser (RETIRED) gentoo-dev 2004-03-31 03:37:08 UTC
you should search, it has been filed already.. check the bug this one blocks.