###
### Sun Jun 20 17:06:10 EST 2004:
### /usr/pkg/bin/bmake bulk-package for gpsd-1.07
### Current pkg count:  3 installed packages: digest-20021220 gone-1.3.5 xpkgwedge-1.10
###
BULK> Full rebuild in progress...
BULK> Cleaning package and its depends
===> Cleaning for gpsd-1.07
===> Cleaning for patch-2.5.4nb2
BULK> Removing installed packages which are not needed to build gpsd-1.07
BULK> Keeping BULK_PREREQ: digest-20021220 (pkgtools/digest)
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r xpkgwedge-1.10
pkg_delete: package 'xpkgwedge-1.10' doesn't have a prefix
pkg_delete: package 'xpkgwedge-1.10' doesn't have a prefix
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r gone-1.3.5
BULK> Installing packages which are required to build gpsd-1.07.
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS/5.9/sparc/All/patch-2.5.4nb2.tgz
BULK> Required package digest-20021220 (pkgtools/digest) is already installed
/usr/pkg/bin/bmake package (gpsd-1.07)
===> Checking for vulnerabilities in gpsd-1.07
=> Checksum OK for gpsd-1.07.tar.gz.
work -> /work/pkgbuild/misc/gpsd/work
===> Extracting for gpsd-1.07
===> Required installed package patch>=2.2: patch-2.5.4nb2 found
===> Patching for gpsd-1.07
===> Applying pkgsrc patches for gpsd-1.07
===> Overriding tools for gpsd-1.07
===> Configuring for gpsd-1.07
creating cache ./config.cache
checking for gcc... cc
checking whether the C compiler (cc -O -Wl,-R/usr/pkg/lib -L/usr/pkg/lib) works... yes
checking whether the C compiler (cc -O -Wl,-R/usr/pkg/lib -L/usr/pkg/lib) is a cross-compiler... no
checking whether we are using GNU C... no
checking whether cc accepts -g... yes
checking for POSIXized ISC... no
checking whether the C compiler (cc) compiles and links a simple C program... yes
checking how to run the C preprocessor... cc -E
checking for termio.h... yes
checking for sys/param.h... yes
checking for termios.h... yes
checking for sys/termios.h... yes
checking for sys/select.h... yes
checking for strings.h... yes
checking for path.h... no
checking for sys/filio.h... yes
checking for gethostbyname in -lnsl... yes
checking for socket in -lsocket... yes
checking for sin in -lm... yes
checking for open in -lc... yes
checking for regcmp in -lgen... yes
checking for X... libraries , headers /usr/openwin/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... no
checking for gethostbyname in -lnsl... (cached) yes
checking for connect... no
checking for connect in -lsocket... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for Motif... libraries /usr/lib, headers /usr/dt/include
checking for Athena... libraries in default path, headers in default path
checking for Xpm... libraries in default path, headers in default path
./configure[2652]: s, -R\([^ ]\), -R \1,g:  not found
checking for XOpenDisplay in -lX11... yes
checking for _Xlcmbcurmax in -lXintl... no
checking for shmap in -lipc... no
checking for XtToolkitInitialize in -lXt... yes
checking for XawInitializeWidgetSet in -lXaw... yes
checking for XShapeQueryVersion in -lXext... yes
checking for XpmCreatePixmapFromXpmImage in -lXpm... yes
checking for X11/xpm.h... yes
checking for xpm.h... no
checking for XpSelectInput in -lXp... yes
checking for XmCreateOptionMenu in -lXm... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
===> Building for gpsd-1.07
cc  -DHAVE_CONFIG_H -O -c -I. -I/usr/dt/include  -I/usr/openwin/include -o gpsd.o gpsd.c
"gpsd.c", line 244: warning: implicit function declaration: getservbyname
"gpsd.c", line 285: warning: implicit function declaration: connectsock
"gpsd.c", line 326: warning: implicit function declaration: em_send_rtcm
"gpsd.c", line 529: warning: argument #1 is incompatible with prototype:
	prototype: pointer to const char : "/usr/include/iso/string_iso.h", line 70
	argument : pointer to unsigned char
"gpsd.c", line 530: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "gpsd.h", line 7
	argument : pointer to unsigned char
"gpsd.c", line 531: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "/usr/include/iso/string_iso.h", line 64
	argument : pointer to unsigned char
"gpsd.c", line 534: warning: argument #1 is incompatible with prototype:
	prototype: pointer to const char : "/usr/include/iso/string_iso.h", line 70
	argument : pointer to unsigned char
cc  -DHAVE_CONFIG_H -O -c -I. -I/usr/dt/include  -I/usr/openwin/include -o netlib.o netlib.c
cc  -DHAVE_CONFIG_H -O -c -I. -I/usr/dt/include  -I/usr/openwin/include -o nmea_parse.o nmea_parse.c
cc  -DHAVE_CONFIG_H -O -c -I. -I/usr/dt/include  -I/usr/openwin/include -o serial.o serial.c
"serial.c", line 82: warning: argument #2 is incompatible with prototype:
	prototype: pointer to struct termios {unsigned int c_iflag, unsigned int c_oflag, unsigned int c_cflag, unsigned int c_lflag, array[19] of unsigned char c_cc} : "/usr/include/sys/termios.h", line 84
	argument : pointer to struct termio {unsigned short c_iflag, unsigned short c_oflag, unsigned short c_cflag, unsigned short c_lflag, char c_line, array[8] of unsigned char c_cc}
"serial.c", line 118: warning: argument #3 is incompatible with prototype:
	prototype: pointer to const struct termios {unsigned int c_iflag, unsigned int c_oflag, unsigned int c_cflag, unsigned int c_lflag, array[19] of unsigned char c_cc} : "/usr/include/sys/termios.h", line 85
	argument : pointer to struct termio {unsigned short c_iflag, unsigned short c_oflag, unsigned short c_cflag, unsigned short c_lflag, char c_line, array[8] of unsigned char c_cc}
cc  -DHAVE_CONFIG_H -O -c -I. -I/usr/dt/include  -I/usr/openwin/include -o tm.o tm.c
"tm.c", line 90: warning: implicit function declaration: do_eminit
cc  -DHAVE_CONFIG_H -O -c -I. -I/usr/dt/include  -I/usr/openwin/include -o em.o em.c
"em.c", line 60: warning: implicit function declaration: write
"em.c", line 115: warning: implicit function declaration: memset
"em.c", line 349: warning: assignment type mismatch:
	pointer to char "=" pointer to unsigned char
"em.c", line 361: warning: implicit function declaration: strlen
"em.c", line 378: warning: assignment type mismatch:
	pointer to char "=" pointer to unsigned char
"em.c", line 410: warning: assignment type mismatch:
	pointer to char "=" pointer to unsigned char
"em.c", line 439: warning: implicit function declaration: getdtablesize
"em.c", line 551: warning: implicit function declaration: read
cc  -DHAVE_CONFIG_H -O -c -I. -I/usr/dt/include  -I/usr/openwin/include -o display.o display.c
ar -r libgpsd.a netlib.o nmea_parse.o serial.o tm.o em.o display.o
ar: creating libgpsd.a
ranlib libgpsd.a
cc -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -o gpsd gpsd.o -L. -lgpsd -lnsl -lsocket -lm -lc
cc  -DHAVE_CONFIG_H -O -c -I. -I/usr/dt/include  -I/usr/openwin/include -o gps.o gps.c
"gps.c", line 270: warning: argument #3 is incompatible with prototype:
	prototype: pointer to function(pointer to struct _WidgetRec {}, pointer to void, pointer to void) returning void : "/usr/openwin/include/X11/Intrinsic.h", line 1528
	argument : pointer to function() returning void
"gps.c", line 308: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "gpsd.h", line 7
	argument : pointer to unsigned char
"gps.c", line 309: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "gps.c", line 48
	argument : pointer to unsigned char
cc -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -o gps gps.o -L. -lgpsd  -lXm -lXp -lXpm -lXext  -lXt -lSM -lICE -lX11 -lsocket  -lnsl -lgen -lm -lc
cc  -DHAVE_CONFIG_H -O -c -I. -I/usr/dt/include  -I/usr/openwin/include -o xgpsspeed.o xgpsspeed.c
"xgpsspeed.c", line 38: zero-sized struct/union
"xgpsspeed.c", line 45: warning: syntax error:  empty initializer
"xgpsspeed.c", line 45: warning: null dimension: my_resources
"xgpsspeed.c", line 49: warning: syntax error:  empty initializer
"xgpsspeed.c", line 49: warning: null dimension: fallback_resources
"xgpsspeed.c", line 59: warning: implicit function declaration: exit
"xgpsspeed.c", line 76: warning: null dimension: sizeof()
"xgpsspeed.c", line 81: warning: argument #3 is incompatible with prototype:
	prototype: pointer to const char : "/usr/openwin/include/X11/Xlib.h", line 1640
	argument : pointer to unsigned char
"xgpsspeed.c", line 116: warning: old-style declaration or incorrect type for: Usage
"xgpsspeed.c", line 149: undefined symbol: FIONREAD
"xgpsspeed.c", line 162: warning: implicit function declaration: handle_message
"xgpsspeed.c", line 180: warning: implicit function declaration: malloc
"xgpsspeed.c", line 180: warning: improper pointer/integer combination: op "="
"xgpsspeed.c", line 184: warning: implicit function declaration: connectTCP
"xgpsspeed.c", line 185: warning: implicit function declaration: free
cc: acomp failed for xgpsspeed.c
*** Error code 2

Stop.
bmake: stopped in /work/pkgbuild/misc/gpsd/work/gpsd-1.07
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/misc/gpsd
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/misc/gpsd
BULK> gpsd-1.07 was marked as broken:
-rw-r--r--   1 root     other       9196 Jun 20 17:06 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for gpsd
BULK> Marking all packages which depend upon gpsd-1.07 as broken:
BULK> marking package that requires gpsd-1.07 as broken: gpsdrive-1.31nb5 (misc/gpsdrive)
BULK> Build for gpsd-1.07 was not successful, aborting.