#17275 closed defect (fixed)
gst-plugins-base 0.10.21 build fails
Reported by: | oscar.ostlund@… | Owned by: | blb@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | gstreamer gst-plugins-base -.10.21 build fails | Cc: | |
Port: | gst-plugins-base |
Description
I had problems with gstreamer yesterday but got it fixed https://trac.macports.org/ticket/17258. Now it is gst-plugins-base that doesn't want to build...
$ sudo port install gst-plugins-base ---> Fetching gst-plugins-base ---> Attempting to fetch gst-plugins-base-0.10.21.tar.bz2 from http://mandril.creatis.insa-lyon.fr/linux/gnome.org/sources/gst-plugins-base/0.10/ ---> Verifying checksum(s) for gst-plugins-base ---> Extracting gst-plugins-base ---> Configuring gst-plugins-base ---> Building gst-plugins-base with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gst-plugins-base/work/gst-plugins-base-0.10.21" && make all " returned error 2 Command output: make[4]: Nothing to be done for `all'. Making all in snapshot make[4]: Nothing to be done for `all'. Making all in volume make[4]: Nothing to be done for `all'. Making all in dynamic /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I../../.. -I/opt/local/include -D_REENTRANT -I/opt/local/include/gstreamer-0.10 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/libxml2 -Wall -Wdeclaration-after-statement -g -D_GNU_SOURCE -O2 -MT addstream-addstream.o -MD -MP -MF .deps/addstream-addstream.Tpo -c -o addstream-addstream.o `test -f 'addstream.c' || echo './'`addstream.c mv -f .deps/addstream-addstream.Tpo .deps/addstream-addstream.Po /bin/sh ../../../libtool --tag=CC --mode=link /usr/bin/gcc-4.0 -D_REENTRANT -I/opt/local/include/gstreamer-0.10 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/libxml2 -Wall -Wdeclaration-after-statement -g -D_GNU_SOURCE -O2 -L/opt/local/lib -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lxml2 -lpthread -lz -lm -lglib-2.0 -lintl -liconv -L/opt/local/lib -o addstream addstream-addstream.o mkdir .libs /usr/bin/gcc-4.0 -D_REENTRANT -I/opt/local/include/gstreamer-0.10 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/libxml2 -Wall -Wdeclaration-after-statement -g -D_GNU_SOURCE -O2 -o addstream addstream-addstream.o -L/opt/local/lib /opt/local/lib/libgstreamer-0.10.dylib -ldl /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libgthread-2.0.dylib /opt/local/lib/libxml2.dylib -lpthread -lz -lm /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib -lc /opt/local/lib/libiconv.dylib /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I../../.. -I/opt/local/include -D_REENTRANT -I/opt/local/include/gstreamer-0.10 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/libxml2 -Wall -Wdeclaration-after-statement -g -D_GNU_SOURCE -O2 -MT codec_select-codec-select.o -MD -MP -MF .deps/codec_select-codec-select.Tpo -c -o codec_select-codec-select.o `test -f 'codec-select.c' || echo './'`codec-select.c mv -f .deps/codec_select-codec-select.Tpo .deps/codec_select-codec-select.Po /bin/sh ../../../libtool --tag=CC --mode=link /usr/bin/gcc-4.0 -D_REENTRANT -I/opt/local/include/gstreamer-0.10 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/libxml2 -Wall -Wdeclaration-after-statement -g -D_GNU_SOURCE -O2 -L/opt/local/lib -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lxml2 -lpthread -lz -lm -lglib-2.0 -lintl -liconv -L/opt/local/lib -o codec-select codec_select-codec-select.o /usr/bin/gcc-4.0 -D_REENTRANT -I/opt/local/include/gstreamer-0.10 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/libxml2 -Wall -Wdeclaration-after-statement -g -D_GNU_SOURCE -O2 -o codec-select codec_select-codec-select.o -L/opt/local/lib /opt/local/lib/libgstreamer-0.10.dylib -ldl /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libgthread-2.0.dylib /opt/local/lib/libxml2.dylib -lpthread -lz -lm /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib -lc /opt/local/lib/libiconv.dylib make[4]: Nothing to be done for `all-am'. Making all in icles /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I../../gst-libs -I../../gst-libs -D_REENTRANT -I/opt/local/include/gstreamer-0.10 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/libxml2 -Wall -Wdeclaration-after-statement -g -I/usr/X11/include -O2 -MT stress_xoverlay-stress-xoverlay.o -MD -MP -MF .deps/stress_xoverlay-stress-xoverlay.Tpo -c -o stress_xoverlay-stress-xoverlay.o `test -f 'stress-xoverlay.c' || echo './'`stress-xoverlay.c mv -f .deps/stress_xoverlay-stress-xoverlay.Tpo .deps/stress_xoverlay-stress-xoverlay.Po /bin/sh ../../libtool --tag=CC --mode=link /usr/bin/gcc-4.0 -I../../gst-libs -I../../gst-libs -D_REENTRANT -I/opt/local/include/gstreamer-0.10 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/libxml2 -Wall -Wdeclaration-after-statement -g -I/usr/X11/include -O2 -L/opt/local/lib -o stress-xoverlay stress_xoverlay-stress-xoverlay.o -L/opt/local/lib -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lxml2 -lpthread -lz -lm -lglib-2.0 -lintl -liconv -L/usr/X11/lib -R/usr/X11/lib -lSM -lICE -lX11 ../../gst-libs/gst/interfaces/libgstinterfaces-0.10.la mkdir .libs /usr/bin/gcc-4.0 -I../../gst-libs -I../../gst-libs -D_REENTRANT -I/opt/local/include/gstreamer-0.10 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/libxml2 -Wall -Wdeclaration-after-statement -g -I/usr/X11/include -O2 -o .libs/stress-xoverlay stress_xoverlay-stress-xoverlay.o -L/opt/local/lib -L/usr/X11/lib /usr/X11/lib/libSM.6.0.0.dylib /usr/X11/lib/libICE.6.3.0.dylib /usr/X11/lib/libX11.6.2.0.dylib /usr/X11/lib/libXau.6.0.0.dylib /usr/X11/lib/libXdmcp.6.0.0.dylib ../../gst-libs/gst/interfaces/.libs/libgstinterfaces-0.10.dylib /opt/local/lib/libgstreamer-0.10.dylib -ldl /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libgthread-2.0.dylib /opt/local/lib/libxml2.dylib -lpthread -lz -lm /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib -lc /opt/local/lib/libiconv.dylib creating stress-xoverlay /bin/sh ../../libtool --tag=CC --mode=link /usr/bin/gcc-4.0 -O2 -L/opt/local/lib -o test-colorkey /usr/bin/gcc-4.0 -O2 -o test-colorkey -L/opt/local/lib i686-apple-darwin9-gcc-4.0.1: no input files make[3]: *** [test-colorkey] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
Change History (9)
comment:1 follow-up: 2 Changed 16 years ago by blb@…
comment:2 Changed 16 years ago by oscar.ostlund@…
Still the same error... Very strange.
$ sudo port clean --work gst-plugins-base ---> Cleaning gst-plugins-base $ sudo port install gst-plugins-base ---> Fetching gst-plugins-base ---> Verifying checksum(s) for gst-plugins-base ---> Extracting gst-plugins-base ---> Configuring gst-plugins-base ---> Building gst-plugins-base with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gst-plugins-base/work/gst-plugins-base-0.10.21" && make all " returned error 2 Command output: make[4]: Nothing to be done for `all'. Making all in snapshot make[4]: Nothing to be done for `all'. Making all in volume make[4]: Nothing to be done for `all'. Making all in dynamic /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I../../.. -I/opt/local/include -D_REENTRANT -I/opt/local/include/gstreamer-0.10 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/libxml2 -Wall -Wdeclaration-after-statement -g -D_GNU_SOURCE -O2 -MT addstream-addstream.o -MD -MP -MF .deps/addstream-addstream.Tpo -c -o addstream-addstream.o `test -f 'addstream.c' || echo './'`addstream.c mv -f .deps/addstream-addstream.Tpo .deps/addstream-addstream.Po /bin/sh ../../../libtool --tag=CC --mode=link /usr/bin/gcc-4.0 -D_REENTRANT -I/opt/local/include/gstreamer-0.10 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/libxml2 -Wall -Wdeclaration-after-statement -g -D_GNU_SOURCE -O2 -L/opt/local/lib -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lxml2 -lpthread -lz -lm -lglib-2.0 -lintl -liconv -L/opt/local/lib -o addstream addstream-addstream.o mkdir .libs /usr/bin/gcc-4.0 -D_REENTRANT -I/opt/local/include/gstreamer-0.10 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/libxml2 -Wall -Wdeclaration-after-statement -g -D_GNU_SOURCE -O2 -o addstream addstream-addstream.o -L/opt/local/lib /opt/local/lib/libgstreamer-0.10.dylib -ldl /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libgthread-2.0.dylib /opt/local/lib/libxml2.dylib -lpthread -lz -lm /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib -lc /opt/local/lib/libiconv.dylib /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I../../.. -I/opt/local/include -D_REENTRANT -I/opt/local/include/gstreamer-0.10 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/libxml2 -Wall -Wdeclaration-after-statement -g -D_GNU_SOURCE -O2 -MT codec_select-codec-select.o -MD -MP -MF .deps/codec_select-codec-select.Tpo -c -o codec_select-codec-select.o `test -f 'codec-select.c' || echo './'`codec-select.c mv -f .deps/codec_select-codec-select.Tpo .deps/codec_select-codec-select.Po /bin/sh ../../../libtool --tag=CC --mode=link /usr/bin/gcc-4.0 -D_REENTRANT -I/opt/local/include/gstreamer-0.10 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/libxml2 -Wall -Wdeclaration-after-statement -g -D_GNU_SOURCE -O2 -L/opt/local/lib -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lxml2 -lpthread -lz -lm -lglib-2.0 -lintl -liconv -L/opt/local/lib -o codec-select codec_select-codec-select.o /usr/bin/gcc-4.0 -D_REENTRANT -I/opt/local/include/gstreamer-0.10 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/libxml2 -Wall -Wdeclaration-after-statement -g -D_GNU_SOURCE -O2 -o codec-select codec_select-codec-select.o -L/opt/local/lib /opt/local/lib/libgstreamer-0.10.dylib -ldl /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libgthread-2.0.dylib /opt/local/lib/libxml2.dylib -lpthread -lz -lm /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib -lc /opt/local/lib/libiconv.dylib make[4]: Nothing to be done for `all-am'. Making all in icles /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I../../gst-libs -I../../gst-libs -D_REENTRANT -I/opt/local/include/gstreamer-0.10 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/libxml2 -Wall -Wdeclaration-after-statement -g -I/usr/X11/include -O2 -MT stress_xoverlay-stress-xoverlay.o -MD -MP -MF .deps/stress_xoverlay-stress-xoverlay.Tpo -c -o stress_xoverlay-stress-xoverlay.o `test -f 'stress-xoverlay.c' || echo './'`stress-xoverlay.c mv -f .deps/stress_xoverlay-stress-xoverlay.Tpo .deps/stress_xoverlay-stress-xoverlay.Po /bin/sh ../../libtool --tag=CC --mode=link /usr/bin/gcc-4.0 -I../../gst-libs -I../../gst-libs -D_REENTRANT -I/opt/local/include/gstreamer-0.10 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/libxml2 -Wall -Wdeclaration-after-statement -g -I/usr/X11/include -O2 -L/opt/local/lib -o stress-xoverlay stress_xoverlay-stress-xoverlay.o -L/opt/local/lib -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lxml2 -lpthread -lz -lm -lglib-2.0 -lintl -liconv -L/usr/X11/lib -R/usr/X11/lib -lSM -lICE -lX11 ../../gst-libs/gst/interfaces/libgstinterfaces-0.10.la mkdir .libs /usr/bin/gcc-4.0 -I../../gst-libs -I../../gst-libs -D_REENTRANT -I/opt/local/include/gstreamer-0.10 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/libxml2 -Wall -Wdeclaration-after-statement -g -I/usr/X11/include -O2 -o .libs/stress-xoverlay stress_xoverlay-stress-xoverlay.o -L/opt/local/lib -L/usr/X11/lib /usr/X11/lib/libSM.6.0.0.dylib /usr/X11/lib/libICE.6.3.0.dylib /usr/X11/lib/libX11.6.2.0.dylib /usr/X11/lib/libXau.6.0.0.dylib /usr/X11/lib/libXdmcp.6.0.0.dylib ../../gst-libs/gst/interfaces/.libs/libgstinterfaces-0.10.dylib /opt/local/lib/libgstreamer-0.10.dylib -ldl /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libgthread-2.0.dylib /opt/local/lib/libxml2.dylib -lpthread -lz -lm /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib -lc /opt/local/lib/libiconv.dylib creating stress-xoverlay /bin/sh ../../libtool --tag=CC --mode=link /usr/bin/gcc-4.0 -O2 -L/opt/local/lib -o test-colorkey /usr/bin/gcc-4.0 -O2 -o test-colorkey -L/opt/local/lib i686-apple-darwin9-gcc-4.0.1: no input files make[3]: *** [test-colorkey] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Status 1 encountered during processing.
comment:3 Changed 16 years ago by blb@…
Looks like this was an upstream issue: http://sourceforge.net/mailarchive/forum.php?thread_name=48ECEA1E.1040601%40versatile.com&forum_name=gstreamer-devel .
I applied their fix from CVS into the port in r42232, so give it a try.
comment:4 Changed 16 years ago by oscar.ostlund@…
I actually removed and reinstalled everything.
So I can't tell if that fixed it but now it builds but doesn't stage. It actually has exactly the same problem as gstreamer with gtk-doc.
It seems to be somehow dependent on it too...
comment:5 follow-up: 6 Changed 16 years ago by dbevans (David B. Evans)
Owner: | changed from macports-tickets@… to blb@… |
---|
Yes, if I deactivate gtk-doc and rebuild, I get this error:
Error: Target org.macports.destroot returned: shell command " cd "/opt/local/var/macports/build/_Volumes_maxtor-80_opt_macports_trunk_dports_gnome_gst-plugins-base/work/gst-plugins-base-0.10.21" && make install DESTDIR=/opt/local/var/macports/build/_Volumes_maxtor-80_opt_macports_trunk_dports_gnome_gst-plugins-base/work/destroot " returned error 2 Command output: -- Installing ./html/gst-plugins-base-libs-gstvideoorientation.html -- Installing ./html/gst-plugins-base-libs-gstvideosink.html -- Installing ./html/gst-plugins-base-libs-gstxoverlay.html -- Installing ./html/gstreamer-audio.html -- Installing ./html/gstreamer-base-utils.html -- Installing ./html/gstreamer-cdda.html -- Installing ./html/gstreamer-ffft.html -- Installing ./html/gstreamer-floatcast.html -- Installing ./html/gstreamer-interfaces.html -- Installing ./html/gstreamer-libs-hierarchy.html -- Installing ./html/gstreamer-netbuffer.html -- Installing ./html/gstreamer-plugins-base.html -- Installing ./html/gstreamer-riff.html -- Installing ./html/gstreamer-rtp.html -- Installing ./html/gstreamer-rtsp.html -- Installing ./html/gstreamer-sdp.html -- Installing ./html/gstreamer-tag.html -- Installing ./html/gstreamer-video.html -- Installing ./html/index.html -- Installing ./html/home.png -- Installing ./html/left.png -- Installing ./html/right.png -- Installing ./html/up.png -- Installing ./html/style.css -- Installing ./html/gst-plugins-base-libs.devhelp /bin/sh: line 1: gtkdoc-rebase: command not found make[3]: *** [install-data-local] Error 127 make[2]: *** [install-am] Error 2 make[1]: *** [install-recursive] Error 1 make: *** [install-recursive] Error 1 Warning: the following items did not execute (for gst-plugins-base): org.macports.destroot Error: Status 1 encountered during processing.
So it's trying to use gtkdoc-rebase provided by gtk-doc even though configure correctly determines that gtkdoc is not installed/is disabled.
Again, the quick work around is to just install gtk-doc, clean and rebuild.
However, the more correct fix would be to apply the same sort of patch as with gstreamer. This should have been fixed in r42232 but looks like that is not working or maybe its a different issue.
Will assign to blb for further consideration.
comment:6 Changed 16 years ago by blb@…
Replying to devans@…:
However, the more correct fix would be to apply the same sort of patch as with gstreamer. This should have been fixed in r42232 but looks like that is not working or maybe its a different issue.
Same issue as gstreamer though a bit different than what r42232 fixed, I think I only tested this through the build phase instead of destroot so didn't catch it, sorry.
Should be fixed in r42319.
comment:8 Changed 16 years ago by blb@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
That's definitely odd, try cleaning and installing again: