ports/94627: gstreamer build error on recent CURRENT
Giorgos Keramidas
keramida at FreeBSD.org
Sat Mar 18 01:30:19 UTC 2006
>Number: 94627
>Category: ports
>Synopsis: gstreamer build error on recent CURRENT
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Mar 18 01:30:18 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Giorgos Keramidas
>Release: FreeBSD 7.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD flame.pc 7.0-CURRENT FreeBSD 7.0-CURRENT #0:
Thu Mar 16 16:39:21 PST 2006
build at flame.pc:/home/build/obj/home/build/src/sys/FLAME amd64
>Description:
While trying to build gnome2 today I found out that
multimedia/gstreamer fails to build. It doens't seem
able to find -lpthread which is now a dependency of
libgthread:
% cc -O2 -fno-strict-aliasing -pipe -o .libs/spidertest spidertest-spidertest.o -L/usr/local/lib ../../gst/.libs/libgstreamer-0.8.so
% -lxml2 -lz -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lglib-2.0 -liconv -lpopt -lintl -lm -Wl,--rpath -Wl,/usr/X11R6/lib
% /usr/local/lib/libgthread-2.0.so: undefined reference to `pthread_create'
% /usr/local/lib/libgthread-2.0.so: undefined reference to `pthread_getschedparam'
% /usr/local/lib/libgthread-2.0.so: undefined reference to `pthread_setschedparam'
% gmake[4]: *** [spidertest] Error 1
% gmake[4]: Leaving directory `/home/ports/multimedia/gstreamer/work/gstreamer-0.8.11/gst/autoplug'
% gmake[3]: *** [all-recursive] Error 1
% gmake[3]: Leaving directory `/home/ports/multimedia/gstreamer/work/gstreamer-0.8.11/gst'
% gmake[2]: *** [all] Error 2
% gmake[2]: Leaving directory `/home/ports/multimedia/gstreamer/work/gstreamer-0.8.11/gst'
% gmake[1]: *** [all-recursive] Error 1
% gmake[1]: Leaving directory `/home/ports/multimedia/gstreamer/work/gstreamer-0.8.11'
% gmake: *** [all] Error 2
% *** Error code 2
%
% Stop in /home/ports/multimedia/gstreamer.
% [root at flame /usr/ports/multimedia/gstreamer]#
>How-To-Repeat:
# cd /usr/ports/multimedia/gstreamer && make
>Fix:
--- gstreamer.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/multimedia/gstreamer/Makefile,v
retrieving revision 1.43
diff -u -r1.43 Makefile
--- Makefile 23 Feb 2006 10:38:04 -0000 1.43
+++ Makefile 18 Mar 2006 00:54:01 -0000
@@ -19,6 +19,9 @@
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
+CPPFLAGS+= ${PTHREAD_CFLAGS}
+LDFLAGS+= ${PTHREAD_LIBS}
+
USE_X_PREFIX= yes
USE_BISON= yes
USE_BZIP2= yes
--- gstreamer.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list