###
### Mon Aug 8 13:14:22 EDT 2005:
### /usr/pkg/bin/bmake bulk-package for gpsd-1.07
### Current pkg count:  1 installed packages: digest-20050323
###
BULK> Full rebuild in progress...
BULK> Cleaning package gpsd-1.07 and pre-requisite packages
===> Cleaning for gpsd-1.07
BULK> Removing installed packages which are not needed to build gpsd-1.07
BULK> Keeping BULK_PREREQ: digest-20050323 (pkgtools/digest)
BULK> Installing packages which are required to build gpsd-1.07.
BULK> Required package digest-20050323 (pkgtools/digest) is already installed
/usr/pkg/bin/bmake package (gpsd-1.07)
===> Checking for vulnerabilities in gpsd-1.07
=> Checksum SHA1 OK for gpsd-1.07.tar.gz.
=> Checksum RMD160 OK for gpsd-1.07.tar.gz.
work -> /pkgobj/geography/gpsd/work
===> Extracting for gpsd-1.07
===> Patching for gpsd-1.07
===> Applying pkgsrc patches for gpsd-1.07
===> Overriding tools for gpsd-1.07
===> Creating toolchain wrappers 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) works... yes
checking whether the C compiler (cc -O -Wl,-R/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 
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 in default path, headers in default path
checking for Athena... libraries in default path, headers in default path
checking for Xpm... libraries in default path, headers in default path
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... no
checking for XpSelectInput in -lXp... no
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.  -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.  -o netlib.o netlib.c
cc  -DHAVE_CONFIG_H -O -c -I.  -o nmea_parse.o nmea_parse.c
cc  -DHAVE_CONFIG_H -O -c -I.  -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.  -o tm.o tm.c
"tm.c", line 90: warning: implicit function declaration: do_eminit
cc  -DHAVE_CONFIG_H -O -c -I.  -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.  -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 -o gpsd gpsd.o -L. -lgpsd -lnsl -lsocket -lm -lc
cc  -DHAVE_CONFIG_H -O -c -I.  -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/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 -o gps gps.o -L. -lgpsd  -lXm   -lXext  -lXt -lSM -lICE -lX11 -lsocket  -lnsl -lgen -lm -lc
cc  -DHAVE_CONFIG_H -O -c -I.  -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/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 /pkgobj/geography/gpsd/work/gpsd-1.07
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/geography/gpsd
===> 
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /pkgobj/geography/gpsd/work/.work.log
===> 
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/geography/gpsd

Please view the work log for gpsd-1.07


BULK> gpsd-1.07 was marked as broken:
-rw-r--r--   1 root     other       8610 Aug  8 13:15 .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.31nb7 (geography/gpsdrive)
BULK> Build for gpsd-1.07 was not successful, aborting.