Subject: pkg/24056: gst-plugins (current) does not build
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <netbsd-install@home.nl>
List: netbsd-bugs
Date: 01/11/2004 23:39:33
>Number:         24056
>Category:       pkg
>Synopsis:       gst-plugins (current) does not build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 11 23:40:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Noud de Brouwer
>Release:        1.6ZF
>Organization:
none
>Environment:
NetBSD host016.template 1.6ZF NetBSD 1.6ZF (GENERIC.MP) #0: Sun Nov 23 14:50:34 UTC 2003  autobuild@tgm.netbsd.org:/autobuild/HEAD/i386/OBJ/autobuild/HEAD/src/sys/arch/i386/compile/GENERIC.MP i386

>Description:
gmake[2]: Entering directory `/usr/pkgsrc/graphics/mjpegtools/work/mjpegtools-1.6.1.90/lavtools'
/bin/sh ../libtool --mode=link cc  -mcpu=i686 -march=i386 -O2 -DGLX_GLXEXT_LEGACY -I/usr/pkg/include -I/usr/X11R6/include -Wall -Wunused  -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -o lavplay  lavplay.o  ../utils/libmjpegutils.a liblavplay.la liblavjpeg.la liblavfile.la -lpthread -L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib -lSDL -lossaudio -lpthread -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lm -L/usr/X11R6/lib -lX11 -lXext -L/usr/pkg/lib -laa-x11 -lm -L/usr/X11R6/lib -lX11 -lusbhid -L/usr/X11R6/lib -lX11 -lossaudio -lintl
cc -mcpu=i686 -march=i386 -O2 -DGLX_GLXEXT_LEGACY -I/usr/pkg/include -I/usr/X11R6/include -Wall -Wunused -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib -o .libs/lavplay lavplay.o -Wl,-rpath -Wl,/usr/pkg/lib -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib  -L/usr/pkg/lib -L/usr/X11R6/lib ../utils/libmjpegutils.a ./.libs/liblavplay.so ./.libs/liblavjpeg.so ./.libs/liblavfile.so /usr/pkg/lib/libjpeg.so /usr/pkg/lib/libSDL.so -laa-x11 -lpthread -lXext /usr/pkg/lib/libaa-x11.so -lm -lusbhid -lX11 -lossaudio /usr/pkg/lib/libintl.so -lc -Wl,--rpath -Wl,/usr/pkg/lib
./.libs/liblavplay.so: undefined reference to `pthread_setschedparam'
gmake[2]: *** [lavplay] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/graphics/mjpegtools/work/mjpegtools-1.6.1.90/lavtools'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/graphics/mjpegtools/work/mjpegtools-1.6.1.90'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/graphics/mjpegtools
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/graphics/mjpegtools
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/misc/gst-plugins
*** Error code 1

>How-To-Repeat:
clean install + pkgsrc.tar.gz dated 20040110
cd /usr/pkgsrc/misc/gst-plugins; make

>Fix:
cd /usr/pkgsrc/misc/gst-plugins
apply following 2 patches:
patch1:
--- Makefile       2003-11-27 04:44:33.000000000 +0100
+++ Makefile.new    2003-11-09 15:11:34.000000000 +0100
@@ -27,6 +27,8 @@
 CPPFLAGS+=             -I${PREFIX}/include/cdparanoia
 CONFIGURE_ARGS+=       --disable-ffmpeg
 CONFIGURE_ARGS+=       --disable-qcam
+CONFIGURE_ARGS+=       --disable-mjpegtools
+CONFIGURE_ARGS+=       --disable-mpeg2dec
 CONFIGURE_ENV+=                GCONF_SCHEMA_FILE_DIR="${PREFIX}/share/gconf/schemas/"
 MAKE_ENV+=             GCONF_SCHEMA_FILE_DIR="${PREFIX}/share/gconf/schemas/"
 
@@ -50,7 +52,6 @@
 .include "../../graphics/aalib/buildlink2.mk"
 .include "../../graphics/freetype2/buildlink2.mk"
 .include "../../graphics/hermes/buildlink2.mk"
-.include "../../graphics/mjpegtools/buildlink2.mk"
 .include "../../graphics/openquicktime/buildlink2.mk"
 .include "../../graphics/swfdec/buildlink2.mk"
 .include "../../misc/gstreamer/buildlink2.mk"
patch2:
--- PLIST  2003-12-10 19:13:11.000000000 +0100
+++ PLIST.new       2003-12-10 19:14:02.000000000 +0100
@@ -112,10 +112,6 @@
 lib/gstreamer-0.6/libgstjpeg.a
 lib/gstreamer-0.6/libgstjpeg.la
 lib/gstreamer-0.6/libgstjpeg.so
-lib/gstreamer-0.6/libgstjpegmmxdec.a
-lib/gstreamer-0.6/libgstjpegmmxdec.la
-lib/gstreamer-0.6/libgstjpegmmxenc.a
-lib/gstreamer-0.6/libgstjpegmmxenc.la
 lib/gstreamer-0.6/libgstlame.a
 lib/gstreamer-0.6/libgstlame.la
 lib/gstreamer-0.6/libgstlame.so

>Release-Note:
>Audit-Trail:
>Unformatted: