Subject: pkg/24835: gst-plugins doesn't build if libmpeg2 is installed and doesn't package
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <netbsd-install@home.nl>
List: netbsd-bugs
Date: 03/18/2004 00:08:25
>Number:         24835
>Category:       pkg
>Synopsis:       gst-plugins doesn't build if libmpeg2 is installed and doesn't package
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 18 00:09:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Noud de Brouwer
>Release:        1.6ZG
>Organization:
none
>Environment:
NetBSD host016.template 1.6ZG NetBSD 1.6ZG (GENERIC.MP) #0: Sun Jan 18 17:43:12 CET 2004  root@:/usr/src/sys/arch/i386/compile/GENERIC.MP i386
>Description:
 gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/pkgsrc/multimedia/gst-plugins/work/.buildlink/include/cdparanoia -I/usr/pkgsrc/multimedia/gst-plugins/work/.buildlink/include -DGLX_GLXEXT_LEGACY -I/usr/pkgsrc/multimedia/gst-plugins/work/.buildlink/include/libglade-2.0 -I/usr/pkgsrc/multimedia/gst-plugins/work/.buildlink/include/freetype2 -I../../gst-libs -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/pkgsrc/multimedia/gst-plugins/work/.buildlink/include/gstreamer-0.6 -I/usr/pkgsrc/multimedia/gst-plugins/work/.buildlink/include/glib/glib-2.0 -I/usr/pkgsrc/multimedia/gst-plugins/work/.buildlink/lib/glib-2.0/include -I/usr/pkgsrc/multimedia/gst-plugins/work/.buildlink/include/libxml2 -DGST_DISABLE_DEPRECATED -g -Wall -I/usr/pkgsrc/multimedia/gst-plugins/work/.buildlink/include/mpeg2dec -O2 -c gstmpeg2dec.c -MT libgstmpeg2dec_la-gstmpeg2dec.lo -MD -MP -MF .deps/libgstmpeg2dec_la-gstmpeg2dec.TPlo  -fPIC -DPIC -o .libs/libgstmpeg2dec_la-gstmpeg2dec.o
In file included from gstmpeg2dec.c:24:
gstmpeg2dec.h:27:19: mpeg2.h: No such file or directory
In file included from gstmpeg2dec.c:24:
gstmpeg2dec.h:71: error: syntax error before "mpeg2dec_t"

>How-To-Repeat:
current pkgsrc.tar.gz
cd /usr/pkgsrc/graphics/libmpeg2; make install
cd /usr/pkgsrc/multimedia/gst-plugins; make
>Fix:
adding
CONFIGURE_ARGS+=       --disable-mpeg2dec
to Makefile is a quick-fix.
then gst-plugins's buildable again, w/ libmpeg2 installed but ignored.


than it doens't package correct, libgstsid not found:

--- PLIST.orig  2004-03-18 00:37:36.000000000 +0100
+++ PLIST       2004-03-18 00:38:01.000000000 +0100
@@ -212,9 +212,6 @@
 lib/gstreamer-0.6/libgstsdlvideosink.a
 lib/gstreamer-0.6/libgstsdlvideosink.la
 lib/gstreamer-0.6/libgstsdlvideosink.so
-lib/gstreamer-0.6/libgstsid.a
-lib/gstreamer-0.6/libgstsid.la
-lib/gstreamer-0.6/libgstsid.so
 lib/gstreamer-0.6/libgstsilence.a
 lib/gstreamer-0.6/libgstsilence.la
 lib/gstreamer-0.6/libgstsilence.so

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