pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/40040: graphics/cheese compile errors (NetBSD 4.0)



>Number:         40040
>Category:       pkg
>Synopsis:       graphics/cheese compile errors (NetBSD 4.0)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 26 19:50:00 +0000 2008
>Originator:     Robert Elz
>Release:        NetBSD 4.0_STABLE (pkgsrc of a day or two ago)
>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:
        After the removal of the dependency on gst-plugins0.10-v4l2-0.10.11
        a few days ago for NetBSD 4 systems (thanks for that update)
        graphics/cheese gets as far as attempting to compile now, but
        fails (also because of NetBSD 4's lack of video devices).

        graphics/cheese is a dependency of meta-pkgs/gnome so it
        isn't possible to make a "complete" (whatever that means)
        gnome on NetBSD 4 (or 4.0.1) right now.

>How-To-Repeat:
        I can't test this one right now (I attempted it, but the
        breakage in sysutils/hal which must exist before this one
        means I never get as far as actually compiling cheese at the
        minute) but a day and a half ago or so (before the recent
        hal upgrade) I got the following output from compiling
        graphics/cheese on NetBSD 4.0.

        I use pkg_comp with libkver and NetBSD 4.0 sets installed
        (base sets, not x - I have X11_TYPE=modular for this set
        of package building).  None of that is relevant to this
        problem.

        Building graphics/cheese resulted in ...

cc -DHAVE_CONFIG_H -I. -I.. -DBINDIR=\"/usr/pkg/bin\" 
-DDATADIR=\"/usr/pkg/share\" -DPREFIX=\""/usr/pkg"\" 
-DSYSCONFDIR=\""/usr/pkg/etc"\" -DLIBDIR=\""/usr/pkg/lib"\" 
-DPACKAGE_DATADIR=\""/usr/pkg/share/cheese"\" 
-DPACKAGE_LOCALEDIR=\""/usr/pkg/share/locale"\" 
-DAPPNAME_DATA_DIR=\"/usr/pkg/share/cheese\" -D_REENTRANT -DORBIT2=1 -pthread 
-I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include 
-I/usr/pkg/include/gtk-2.0 -I/usr/pkg/lib/gtk-2.0/include 
-I/usr/pkg/include/atk-1.0 -I/usr/pkg/include/cairo 
-I/usr/pkg/include/pango-1.0 -I/usr/pkg/include -I/usr/pkg/include/pixman-1 
-I/usr/pkg/include/freetype2 -I/usr/pkg/include/libpng12 
-I/usr/pkg/include/libgnomeui-2.0 -I/usr/pkg/include/libart-2.0 
-I/usr/pkg/include/gconf/2 -I/usr/pkg/include/gnome-keyring-1 
-I/usr/pkg/include/libgnome-2.0 -I/usr/pkg/include/libbonoboui-2.0 
-I/usr/pkg/include/libgnomecanvas-2.0 -I/usr/pkg/include/gnome-vfs-2.0 
-I/usr/pkg/lib/gnome-vfs-2.0/include -I/usr/pkg/include/orbit-2.0 -I/usr/pkg/i!
 nclude/dbus-1.0 -I/usr/pkg/lib/dbus-1.0/include 
-I/usr/pkg/include/libbonobo-2.0 -I/usr/pkg/include/bonobo-activation-2.0 
-I/usr/pkg/include/libxml2 -I/usr/pkg/include/gail-1.0 
-I/usr/pkg/include/gstreamer-0.10 -I/usr/pkg/include/evolution-data-server-2.24 
-I/usr/pkg/include/libsoup-2.4 -I/usr/pkg/include/librsvg-2     
-I/usr/pkg/include -I/usr/include -I/usr/pkg/include/nss 
-I/usr/pkg/include/nspr -I/usr/pkg/include/db4 -I/usr/pkg/include/freetype2  
-O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/nss 
-I/usr/pkg/include/nspr -I/usr/pkg/include/db4 -I/usr/pkg/include/freetype2 
-Wall -MT cheese-webcam.o -MD -MP -MF .deps/cheese-webcam.Tpo -c -o 
cheese-webcam.o cheese-webcam.c
cheese-webcam.c:44:25: error: sys/videoio.h: No such file or directory
cheese-webcam.c: In function 'cheese_webcam_get_video_devices_from_probe':
cheese-webcam.c:419: error: storage size of 'caps' isn't known
cheese-webcam.c:430: error: 'VIDIOC_QUERYCAP' undeclared (first use in this 
function)
cheese-webcam.c:430: error: (Each undeclared identifier is reported only once
cheese-webcam.c:430: error: for each function it appears in.)
cheese-webcam.c:419: warning: unused variable 'caps'
gmake[3]: *** [cheese-webcam.o] Error 1
gmake[3]: Leaving directory 
`/pkg_comp/obj/pkgsrc/graphics/cheese/4x/cheese-2.24.1/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory 
`/pkg_comp/obj/pkgsrc/graphics/cheese/4x/cheese-2.24.1/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
`/pkg_comp/obj/pkgsrc/graphics/cheese/4x/cheese-2.24.1'
gmake: *** [all] Error 2
*** Error code 2

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

Stop.

        There is no <sys/videoio.h> in NetBSD 4* (except maybe
        some late 4.99.*'s but I think they can be ignored).

>Fix:
        If the part of graphics/cheese that needs videoio.h can't
        be made to go away on NetBSD 4.0 systems, then mark
        graphics/cheese as not available for NetBSD [1-4]*
        and remove it as a dependency from meta-pkgs/gnome
        on NetBSD 4* and before.



Home | Main Index | Thread Index | Old Index