Subject: pkg/15035: ogle package build problem
To: None <gnats-bugs@gnats.netbsd.org>
From: Douglas Brebner <douglas@fang.demon.co.uk>
List: netbsd-bugs
Date: 12/22/2001 19:16:29
>Number:         15035
>Category:       pkg
>Synopsis:       ogle package fails to build on 1.5
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 22 11:17:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Douglas Brebner
>Release:        1.5
>Organization:
>Environment:
	
System: NetBSD aoife.home 1.5.2 NetBSD 1.5.2 (AOIFE.1.5) #0: Fri Nov 30 00:01:03 GMT 2001 douglas@aoife.home:/usr/src/syssrc/sys/arch/i386/compile/AOIFE.1.5 i386


>Description:
	The ogle package fails to build due to an error in one of the source files: ogle-0.8.2/include/debug_print.h
	The error message is as follows:

	cc -DPACKAGE=\"ogle\" -DVERSION=\"0.8.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_SYS_BSWAP_H=1 -DHAVE_SYS_ENDIAN_H=1 -DHAVE_XSHM=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_MADVISE=1 -DLIBAO_SUNAUDIO= -DHAVE_XML=1 -DHAVE_XF86VIDMODE=1 -DCONFIG_FILE=\"/usr/pkg/share/ogle/oglerc\" -DHAVE_MMX=1  -I. -I. -I. -I.. -I../include  -I/home/pkg/work/graphics/ogle/work/.buildlink/include  -I/usr/pkg/share/x11-links/include  -I/home/pkg/work/graphics/ogle/work/.buildlink/include -O2 -march=pentium -I/usr/pkg/share/x11-links/include -Wall -fomit-frame-pointer -funroll-loops -I/home/pkg/work/graphics/ogle/work/.buildlink/include -O2 -march=pentium -I/usr/pkg/share/x11-links/include -Wall -fomit-frame-pointer -funroll-loops -march=i586 -mcpu=pentiumpro -c `test -f ctrl.c || echo './'`ctrl.c
	In file included from ctrl.c:34:
	../ogle/msgevents.h:28: warning: deprecated symbol "unix" is no longer predefined
	In file included from ctrl.c:39:
	../include/debug_print.h:30: badly punctuated parameter list in `#define'
	gmake[1]: *** [ctrl.o] Error 1
	gmake[1]: Leaving directory `/home/pkg/work/graphics/ogle/work/ogle-0.8.2/ctrl'
	gmake: *** [all-recursive] Error 1

>How-To-Repeat:
	run "make" in the pkgsrc/graphics/ogle directory.
>Fix:
	None known.
>Release-Note:
>Audit-Trail:
>Unformatted: