pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/39988: multimedia/gst-plugins0.10-v4l2 compile errors (NetBSD 4.0)
>Number: 39988
>Category: pkg
>Synopsis: multimedia/gst-plugins0.10-v4l2 compile errors (NetBSD 4.0)
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Nov 21 08:20:00 +0000 2008
>Originator: Robert Elz
>Release: NetBSD 4.0_STABLE (pkgsrc current today (< 12 hours))
>Organization:
Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE
(JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008
kre%jade.coe.psu.ac.th@localhost:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
multimedia/gst-plugins0.10-v4l2 wants to include <sys/videoio.h>
which does not exist on NetBSD4.0
Normally the solution would be to just add an ONLY_FOR
or BROKEN_ON type entry in the Makefile (I'm sure those
who could do it know what could be used, even though I'm
a bit incomplete on the detail).
However, multimedia/gst-plugins0.10-v4l2 is a dependency of
graphics/cheese and graphics/cheese is a part of meta-pkgs/gnome
and I don't think it should really be acceptable for pkgsrc
to simply have the "master" gnome package fail to build on
the most recently released version of NetBSD (OK, I know that's
really 4.0.1, but that doesn't have <sys/videoio.h> either).
My suggestion is to limit the multimedia/gst-plugins0.10-v4l2
to recent NetBSD where it might work (just supplying a dummy
videoio.h good enough to make the think compile isn't really
useful if it won't actually work on older NetBSD anyway),
and then remove it as a dependency from graphics/cheese if
that is possible (perhaps by changing default options, or
something) or if not, removing graphics/cheese from the
list of packages that meta-pkgs/gnome requires (which is
certainly possible - that's just a policy issue).
>How-To-Repeat:
Attempt to build multimedia/gst-plugins0.10-v4l2 on a NetBSD 4
system (< 4.99.something)
I use pkg_comp with libkver and NetBSD 4.0 (release) sets
installed. I am nt using the X sets from 4.0 for this set
of builds, rather I have X11_TYPE=modular to use modular-xorg
from pkgsrc, but that won't be relevant to this problem.
In fact, nothing of the build environment I'm using will be
relevant.
Expect to see ...
mkdir .libs
cc -DHAVE_CONFIG_H -I. -I../..
-I/pkg_comp/obj/pkgsrc/multimedia/gst-plugins0.10-v4l2/4x/.buildlink/include
-pthread
-I/pkg_comp/obj/pkgsrc/multimedia/gst-plugins0.10-v4l2/4x/.buildlink/include/gstreamer-0.10
-I/pkg_comp/obj/pkgsrc/multimedia/gst-plugins0.10-v4l2/4x/.buildlink/include/glib/glib-2.0
-I/pkg_comp/obj/pkgsrc/multimedia/gst-plugins0.10-v4l2/4x/.buildlink/lib/glib-2.0/include
-I/pkg_comp/obj/pkgsrc/multimedia/gst-plugins0.10-v4l2/4x/.buildlink/include/libxml2
-pthread -I../../gst-libs -pthread -Wall -Wdeclaration-after-statement -O2 -MT
libgstvideo4linux2_la-gstv4l2.lo -MD -MP -MF
.deps/libgstvideo4linux2_la-gstv4l2.Tpo -c gstv4l2.c -fPIC -DPIC -o
.libs/libgstvideo4linux2_la-gstv4l2.o
In file included from gstv4l2.c:32:
gstv4l2object.h:49:25: error: sys/videoio.h: No such file or directory
In file included from gstv4l2.c:32:
gstv4l2object.h:83: error: field 'vcap' has incomplete type
gstv4l2object.h:86: error: field 'vwin' has incomplete type
gstv4l2object.h:89: error: field 'vinput' has incomplete type
In file included from gstv4l2.c:33:
gstv4l2src.h:71: error: field 'vbuffer' has incomplete type
gmake: *** [libgstvideo4linux2_la-gstv4l2.lo] Error 1
*** Error code 2
Stop.
make: stopped in /usr/pkgsrc/multimedia/gst-plugins0.10-v4l2
*** Error code 1
Stop.
>Fix:
As above, mark this to not attempt to build on older NetBSD
but be sure to make meta-packages/gnome still buildable
(either with or without graphics/cheese).
Home |
Main Index |
Thread Index |
Old Index