Subject: pkg/36682: gst-plugins-bad-0.10 doesn't build
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Magnus Henoch <mange@freemail.hu>
List: pkgsrc-bugs
Date: 07/23/2007 12:00:01
>Number:         36682
>Category:       pkg
>Synopsis:       gst-plugins0.10-bad doesn't build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 23 12:00:01 +0000 2007
>Originator:     Magnus Henoch
>Release:        NetBSD 4.99.16
>Organization:
	
>Environment:
	
	
System: NetBSD zemdatav 4.99.16 NetBSD 4.99.16 (IBOOK) #3: Fri Mar 30 12:56:33 CEST 2007 magnus@zemdatav:/media/e/netbsd/obj/sys/arch/macppc/compile/IBOOK macppc
Architecture: powerpc
Machine: macppc
>Description:
	When I try to build multimedia/gst-plugins0.10-bad 0.10.5 on
	NetBSD/macppc (a few months old -current), I get this error:

if cc -DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/pkg/include -I/usr/include -pthread -I/usr/pkg/include/gstreamer-0.10 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/libxml2   -I../../gst-libs -I../../gst-libs -pthread -I/usr/pkg/include/gstreamer-0.10 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/libxml2   -Wall     -DGST_DISABLE_DEPRECATED -O2 -DXTHREADS -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/X11R6/include -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libpng12   -O2 -I/usr/pkg/include -I/usr/include -MT demo_osssrc-demo-osssrc.o -MD -MP -MF ".deps/demo_osssrc-demo-osssrc.Tpo" -c -o demo_osssrc-demo-osssrc.o `test -f 'demo-osssrc.c' || echo './'`demo-osssrc.c; \
        then mv -f ".deps/demo_osssrc-demo-osssrc.Tpo" ".deps/demo_osssrc-demo-osssrc.Po"; else rm -f ".deps/demo_osssrc-demo-osssrc.Tpo"; exit 1; fi
demo-osssrc.c:26:21: error: gtk/gtk.h: No such file or directory
demo-osssrc.c:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
demo-osssrc.c:36: error: expected ')' before '*' token
demo-osssrc.c: In function 'draw_spectrum':
demo-osssrc.c:47: error: 'GdkRectangle' undeclared (first use in this function)
demo-osssrc.c:47: error: (Each undeclared identifier is reported only once
demo-osssrc.c:47: error: for each function it appears in.)
demo-osssrc.c:47: error: expected ';' before 'rect'
demo-osssrc.c:49: error: 'drawingarea' undeclared (first use in this function)
demo-osssrc.c:52: warning: implicit declaration of function 'gdk_window_begin_paint_rect'
demo-osssrc.c:52: error: 'rect' undeclared (first use in this function)
demo-osssrc.c:53: warning: implicit declaration of function 'gdk_draw_rectangle'
demo-osssrc.c:59: warning: implicit declaration of function 'gdk_window_end_paint'
demo-osssrc.c: In function 'main':
demo-osssrc.c:93: error: 'GtkWidget' undeclared (first use in this function)
demo-osssrc.c:93: error: 'appwindow' undeclared (first use in this function)
demo-osssrc.c:96: warning: implicit declaration of function 'gtk_init'
demo-osssrc.c:118: warning: implicit declaration of function 'gtk_window_new'
demo-osssrc.c:118: error: 'GTK_WINDOW_TOPLEVEL' undeclared (first use in this function)
demo-osssrc.c:119: error: 'on_window_destroy' undeclared (first use in this function)
demo-osssrc.c:122: error: 'drawingarea' undeclared (first use in this function)
demo-osssrc.c:122: warning: implicit declaration of function 'gtk_drawing_area_new'
demo-osssrc.c:123: warning: implicit declaration of function 'gtk_widget_set_size_request'
demo-osssrc.c:124: warning: implicit declaration of function 'gtk_container_add'
demo-osssrc.c:124: warning: implicit declaration of function 'GTK_CONTAINER'
demo-osssrc.c:125: warning: implicit declaration of function 'gtk_widget_show_all'
demo-osssrc.c:128: warning: implicit declaration of function 'gtk_main'
gmake[3]: *** [demo_osssrc-demo-osssrc.o] Error 1
gmake[3]: Leaving directory `/media/e/work/multimedia/gst-plugins0.10-bad/work/gst-plugins-bad-0.10.5/gst/spectrum'

>How-To-Repeat:
	cd /usr/pkgsrc/multimedia/gst-plugins0.10-bad
	make
>Fix:
	

>Unformatted: