Making all in playondemand make[3]: Entering directory `/var/tmp/portage/gst-plugins-0.4.2-r1/work/gst-plugins-0.4.2/gst/playondemand' source='gstplayondemand.c' object='libgstplayondemand_la-gstplayondemand.lo' libtool=yes \ depfile='.deps/libgstplayondemand_la-gstplayondemand.Plo' tmpdepfile='.deps/libgstplayondemand_la-gstplayondemand.TPlo' \ depmode=gcc3 /bin/sh ../../depcomp \ /bin/sh ../../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/include/gstreamer-0.4.2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -g -I../../gst-libs -Wall -march=pentium3 -O2 -pipe -c -o libgstplayondemand_la-gstplayondemand.lo `test -f 'gstplayondemand.c' || echo './'`gstplayondemand.c source='demo-mp3.c' object='demo_mp3-demo-mp3.o' libtool=no \ depfile='.deps/demo_mp3-demo-mp3.Po' tmpdepfile='.deps/demo_mp3-demo-mp3.TPo' \ depmode=gcc3 /bin/sh ../../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/include/gstreamer-0.4.2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -g -I../../gst-libs -Wall -march=pentium3 -O2 -pipe -c -o demo_mp3-demo-mp3.o `test -f 'demo-mp3.c' || echo './'`demo-mp3.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/include/gstreamer-0.4.2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -g -I../../gst-libs -Wall -march=pentium3 -O2 -pipe -c gstplayondemand.c -MT libgstplayondemand_la-gstplayondemand.lo -MD -MP -MF .deps/libgstplayondemand_la-gstplayondemand.TPlo -fPIC -DPIC -o libgstplayondemand_la-gstplayondemand.lo /bin/sh ../../libtool --mode=link i686-pc-linux-gnu-gcc -march=pentium3 -O2 -pipe -o demo_mp3 -Wl,--export-dynamic -L/usr/lib/gst -lgstreamer -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lpthread -lxml2 -lz -lm -lglib-2.0 -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 ./libgstplayondemand.la demo_mp3-demo-mp3.o mkdir .libs libtool: link: cannot find the library `./libgstplayondemand.la' make[3]: *** [demo_mp3] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/gst-plugins-0.4.2-r1/work/gst-plugins-0.4.2/gst/playondemand' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gst-plugins-0.4.2-r1/work/gst-plugins-0.4.2/gst' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gst-plugins-0.4.2-r1/work/gst-plugins-0.4.2' make: *** [all] Error 2 !!! ERROR: media-libs/gst-plugins-0.4.2-r1 failed. !!! Function src_compile, Line 119, Exitcode 2 !!! (no error message)
the workaround is: cd /var/tmp/portage/gst-plugins-0.4.2-r1/work/gst-plugins-0.4.2/gst/playondemand make cd /var/tmp/portage/gst-plugins-0.4.2-r1/work/gst-plugins-0.4.2 export PATH=/usr/kde/3/bin make
What if you dont export the PATH ? And if you run emerge like this : MAKEOPTS="-j1" emerge gst-plugins what happens ?
MAKEOPTS="-j1" fixes the problem.
fixed the ebuild