When emerging the gnome-media package (as part of Gnome 2.8, or separately) the build fails with the following error (last few lines of compile output): Found cached translation database Merging translations into gnome-audio-profiles.schemas. gnome-audio-profiles-test.c:3:21: gst/gst.h: No such file or directory /bin/sh ../libtool --mode=link gcc -O2 -march=athlon-xp -pipe -fPIC -fomit-frame-pointer -finline-functions -funroll-loops -msse -m3dnow -mfpmath=sse -o libgnome-media-profiles.la -rpath /usr/lib libgnome_media_profiles_la-audio-profile.lo libgnome_media_profiles_la-audio-profiles-edit.lo libgnome_media_profiles_la-audio-profile-edit.lo libgnome_media_profiles_la-audio-profile-choose.lo libgnome_media_profiles_la-gnome-media-profiles.lo libgnome_media_profiles_la-gmp-util.lo -Wl,--export-dynamic -pthread -L/usr/X11R6/lib -lglade-2.0 -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lxml2 -lpthread -lz -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lbonobo-2 -lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -lm -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 gnome-audio-profiles-test.c: In function `test_cb': gnome-audio-profiles-test.c:27: error: `GstElement' undeclared (first use in this function) gnome-audio-profiles-test.c:27: error: (Each undeclared identifier is reported only once gnome-audio-profiles-test.c:27: error: for each function it appears in.) gnome-audio-profiles-test.c:27: error: `pipeline' undeclared (first use in this function) gnome-audio-profiles-test.c:51: error: `GST_STATE_PLAYING' undeclared (first use in this function) gnome-audio-profiles-test.c:55: error: `GST_STATE_NULL' undeclared (first use in this function) make[3]: *** [gnome_audio_profiles_test-gnome-audio-profiles-test.o] Error 1 make[3]: *** Waiting for unfinished jobs.... gcc -shared .libs/libgnome_media_profiles_la-audio-profile.o .libs/libgnome_media_profiles_la-audio-profiles-edit.o .libs/libgnome_media_profiles_la-audio-profile-edit.o .libs/libgnome_media_profiles_la-audio-profile-choose.o .libs/libgnome_media_profiles_la-gnome-media-profiles.o .libs/libgnome_media_profiles_la-gmp-util.o -L/usr/lib -pthread -L/usr/X11R6/lib /usr/lib/libglade-2.0.so /usr/lib/libgnomeui-2.so -lSM -lICE /usr/lib/libbonoboui-2.so /usr/lib/libxml2.so -lpthread -lz /usr/lib/libgnomecanvas-2.so /usr/lib/libgnome-2.so /usr/lib/libpopt.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/libgobject-2.0.so /usr/lib/libbonobo-2.so /usr/lib/libgconf-2.so /usr/lib/libgnomevfs-2.so /usr/lib/libbonobo-activation.so /usr/lib/libORBit-2.so -lm /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgthread-2.0.so /usr/lib/libglib-2.0.so -march=athlon-xp -msse -m3dnow -mfpmath=sse -Wl,--export-dynamic -Wl,-soname -Wl,libgnome-media-profiles.so.0 -o .libs/libgnome-media-profiles.so.0.0.0 (cd .libs && rm -f libgnome-media-profiles.so.0 && ln -s libgnome-media-profiles.so.0.0.0 libgnome-media-profiles.so.0) (cd .libs && rm -f libgnome-media-profiles.so && ln -s libgnome-media-profiles.so.0.0.0 libgnome-media-profiles.so) ar cru .libs/libgnome-media-profiles.a libgnome_media_profiles_la-audio-profile.o libgnome_media_profiles_la-audio-profiles-edit.o libgnome_media_profiles_la-audio-profile-edit.o libgnome_media_profiles_la-audio-profile-choose.o libgnome_media_profiles_la-gnome-media-profiles.o libgnome_media_profiles_la-gmp-util.o ranlib .libs/libgnome-media-profiles.a creating libgnome-media-profiles.la (cd .libs && rm -f libgnome-media-profiles.la && ln -s ../libgnome-media-profiles.la libgnome-media-profiles.la) make[3]: Leaving directory `/var/tmp/portage/gnome-media-2.8.0/work/gnome-media-2.8.0/profiles' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gnome-media-2.8.0/work/gnome-media-2.8.0/profiles' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnome-media-2.8.0/work/gnome-media-2.8.0' make: *** [all] Error 2 !!! ERROR: gnome-extra/gnome-media-2.8.0 failed. !!! Function gnome2_src_compile, Line 40, Exitcode 2 !!! compile failure Reproducible: Always Steps to Reproduce: 1. Try to emerge gnome-media with ~x86 accept keyword (emerges version 2.8.0) Actual Results: The build failed with the error given above. Expected Results: Built fully. emerge info output: Portage 2.0.50-r11 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031222-r0, 2.6.8-gentoo-r10) ================================================================= System uname: 2.6.8-gentoo-r10 i686 AMD Athlon(tm) XP 2000+ Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.58 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -pipe -fPIC -fomit-frame-pointer -finline-functions -funroll-loops -msse -m3dnow -mfpmath=sse" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /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/env.d" CXXFLAGS="-O2 -march=athlon-xp -pipe -fPIC -fomit-frame-pointer -finline-functions -funroll-loops -msse -m3dnow -mfpmath=sse" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://mirror.pacific.net.au/linux/Gentoo ftp://mirror.pacific.net.au/linux/Gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aalib acpi acpi4linux alsa apm arts avi berkdb bitmap-fonts bonobo cdr clamav crypt cups directfb doc dv dvd encode esd f77 fbcon foomatic foomaticdb gdbm gif gnome gnutls gpm gstreamer gtk gtk2 gtkhtml guile hal imlib java javascript jpeg ldap libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl pam pdflib perl png postgres ppds python qt quicktime readline ruby samba sdl slang spell ssl svga tcpd tetex truetype usb x86 xml2 xmms xprint xv zlib" I first got this error when installing Gnome 2.8 with the 'emerge gnome' meta-package. I worked around it to get the rest of Gnome installed by injecting it as installed, then restarting the emerge. Since then I've tried bulding it several times, 'over the top' of the existing gnome-media-2.6 isntall, and unmerging that and starting from scratch. I've also tried with various versions of Gstreamer (0.8.5 and 0.8.7). I've also had trouble with Gnome 2.8 with the Alsa Gstreamer plugin (see bug http://bugs.gentoo.org/show_bug.cgi?id=68340). I have no idea if they're related in any way, but they do seem to both be gstreamer-related problems (assuming GstElement is from gst.) Marked as major because without injecting the version into the emerge system, Gnome 2.8 is unbuildable. Even after doing that, all the software in the gnome-media package obviously isn't there, so cannot be used or tested.
gnome-audio-profiles-test.c:3:21: gst/gst.h: No such file or directory the error is further up than what you've pasted. can you please include the full build log and also which versions of gstreamer you've got. check whether /usr/include/gstreamer*/gst/gst.h exists as well
Created attachment 42444 [details] Build log for gnome-media failed compile
I currently have gstreamer 0.8.5 (and have tried with 0.8.7 as well.) /usr/include/gstreamer-0.8/gst/gst.h does exist. /usr/include/gstreamer is a symlink to gstreamer-0.8. The full build log is attached.
checking for gstreamer-0.8 >= 0.8.2 gstreamer-libs-0.8 >= 0.8.2 gstreamer-gconf-0.8 >= 0.8.2 libgnomeui-2.0 >= 1.102.0... Requested 'gstreamer-libs-0.8 >= 0.8.2' but version of GStreamer Plugin Libraries is 0.8.1 it says that i can only detect gstreamer-0.8.1, can you check whether you have that installed? if not, can you also include the file config.log from the build directory (eg. /var/tmp/portage/gnome-media-2.8.0/work/gnome-media-2.8.0/*)
i strongly believe this bug -like the other one you filed (#68340)- is due to your own messing around. Gentoo does not install an unversioned symlink dir neither does gstreamer, it's plain silly. Clean up your sys & reproduce, then come back if you are still having genuine problems.
Sorry I haven't replied, but I've been very busy, and haven't always got time for this :) The unversioned symlink was created by me, wondering if it was looking in the wrong directory. Some programs from what I've heard do seem to want unversioned symlinks that point to the current versions. It was created after I encountered the problem, made no change to the problem, and has now been removed, again with no change so the bug is still there. As for my own 'messing around': that's a little harsh. And no, that is not the case. Everything on my system is as it is because portage and many ebuilds made it that way. I have not tried installing gstreamer or any of the plugins by hand from source, or from other versions. /Everything/ has been done by a perfectly standard 'emerge ...' command. As such, I'm about to reopen the bug. From my point of view, you see, I've been doing everything I should (only installing via emerge, etc) and have an otherwise pretty clean and ordered system, yet I've encountered the bug, and that to me makes it a valid bug. Hope I'm not violating any etiquette by reopening something closed by a mod. Oh, and as far as cleaning up my system, before I even filed the bug I uninstalled most of the components and reinstalled them from scratch (via portage!) but, of course, that had no effect. Beyond that I suppose I could reinstall the OS completely, but that seems a little over the top for a bug like this.
see the other bug, I'm sorry but this to me seems like a very much local problem & we're not a helpdesk. And i can say both problems are most likely caused by stuff installed in the wrong prefix, given your comment about /usr/local & your other comment about creating symlinks (why do ppl think creating symlinks to random dirs will fix anything ?). And your claim that 'everything on your system is there because emerge put it there' contradicts your statement about the symlinking. At this point i do not believe this can be caused by a clean gentoo install & as such you are taking up time for things we cannot do the first thing about.