###
### Sun Jul 3 20:04:02 EDT 2005:
### /usr/pkg/bin/bmake bulk-package for mapserver-4.0nb3
### Current pkg count:  2 installed packages: digest-20050323 gpsutils-0.4.0
###
BULK> Full rebuild in progress...
BULK> Cleaning package mapserver-4.0nb3 and pre-requisite packages
===> Cleaning for mapserver-4.0nb3
===> Cleaning for libiconv-1.9.2nb1
===> Cleaning for libtool-base-1.5.18nb3
===> Cleaning for zlib-1.2.2
===> Cleaning for gd-2.0.33nb1
===> Cleaning for freetype2-2.1.9nb1
===> Cleaning for gmake-3.80nb4
===> Cleaning for gettext-lib-0.11.5nb4
===> Cleaning for pkg_install-info-4.5nb3
===> Cleaning for jpeg-6bnb3
===> Cleaning for png-1.2.8
===> Cleaning for tiff-3.7.2nb1
===> Cleaning for xpm-3.4knb4
===> Cleaning for x11-links-0.25
===> Cleaning for xpkgwedge-1.14
BULK> Removing installed packages which are not needed to build mapserver-4.0nb3
BULK> Keeping BULK_PREREQ: digest-20050323 (pkgtools/digest)
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r gpsutils-0.4.0
BULK> Installing packages which are required to build mapserver-4.0nb3.
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/libiconv-1.9.2nb1.tgz
===========================================================================
Installing files needed by libiconv-1.9.2nb1:

	/usr/pkg/lib/charset.alias
	    [/usr/pkg/share/examples/libiconv/charset.alias]

===========================================================================
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/libtool-base-1.5.18nb3.tgz
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/zlib-1.2.2.tgz
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/gd-2.0.33nb1.tgz
BULK> Required package freetype2-2.1.9nb1 (graphics/freetype2) is already installed
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/gmake-3.80nb4.tgz
BULK> Required package gettext-lib-0.11.5nb4 (devel/gettext-lib) is already installed
BULK> Required package pkg_install-info-4.5nb3 (pkgtools/pkg_install-info) is already installed
BULK> Required package jpeg-6bnb3 (graphics/jpeg) is already installed
BULK> Required package png-1.2.8 (graphics/png) is already installed
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/tiff-3.7.2nb1.tgz
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/xpm-3.4knb4.tgz
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/x11-links-0.25.tgz
BULK> Required package digest-20050323 (pkgtools/digest) is already installed
/usr/pkg/bin/bmake package (mapserver-4.0nb3)
===> Checking for vulnerabilities in mapserver-4.0nb3
=> Checksum SHA1 OK for mapserver-4.0.tar.gz.
=> Checksum RMD160 OK for mapserver-4.0.tar.gz.
work -> /pkgobj/geography/mapserver/work
===> Extracting for mapserver-4.0nb3
===> Required installed package libiconv>=1.9.1nb4: libiconv-1.9.2nb1 found
===> Required installed package gd>=2.0.28nb1: gd-2.0.33nb1 found
===> Required installed package freetype2>=2.1.9nb1: freetype2-2.1.9nb1 found
===> Required installed package png>=1.2.6nb1: png-1.2.8 found
===> Required installed package tiff>=3.7.2nb1: tiff-3.7.2nb1 found
===> Required installed package zlib>=1.2.1nb3: zlib-1.2.2 found
===> Required installed package jpeg>=6bnb2: jpeg-6bnb3 found
===> Required installed package xpm>=3.4knb4: xpm-3.4knb4 found
===> Required installed package x11-links>=0.25: x11-links-0.25 found
===> Patching for mapserver-4.0nb3
===> Applying pkgsrc patches for mapserver-4.0nb3
===> Overriding tools for mapserver-4.0nb3
===> Creating toolchain wrappers for mapserver-4.0nb3
===> Configuring for mapserver-4.0nb3
=> Fixing locale directory references.
creating cache ./config.cache
checking for gcc... cc
checking whether the C compiler (cc -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include -L/usr/pkg/lib -R/usr/pkg/lib -L/usr/lib -R/usr/lib -L/usr/openwin/lib -R/usr/openwin/lib) works... yes
checking whether the C compiler (cc -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include -L/usr/pkg/lib -R/usr/pkg/lib -L/usr/lib -R/usr/lib -L/usr/openwin/lib -R/usr/openwin/lib) is a cross-compiler... no
checking whether we are using GNU C... no
checking whether cc accepts -g... yes
checking for c++... CC
checking whether the C++ compiler (CC -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include -L/usr/pkg/lib -R/usr/pkg/lib -L/usr/lib -R/usr/lib -L/usr/openwin/lib -R/usr/openwin/lib) works... yes
checking whether the C++ compiler (CC -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include -L/usr/pkg/lib -R/usr/pkg/lib -L/usr/lib -R/usr/lib -L/usr/openwin/lib -R/usr/openwin/lib) is a cross-compiler... no
checking whether we are using GNU C++... no
checking whether CC accepts -g... yes
checking for ranlib... ranlib
checking for flex... lex
checking for yywrap in -ll... yes
checking for bison... no
checking for byacc... no
checking if compiler supports -R... yes
checking for exp in -lm... yes
checking for __gxx_personality_v0 in -lstdc++... no
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strdup... yes
checking whether we should include JPEG support...
checking for jpeg_read_header in -ljpeg... yes
        using libjpeg from system libs.
checking where FreeType 2.x is installed...
checking for FT_Init_FreeType in -lfreetype... yes
        using libfreetype -lfreetype from system libs.
checking where Zlib is installed...
        using libz from -L/usr/pkg/lib -lz
checking where PNG is installed...
checking for png_init_io in -lpng... yes
        using libpng from system libs.
checking where libXpm is installed...
checking for XpmFreeXpmImage in -lXpm... yes
        using libXpm from system libs.
checking where libiconv is installed...
        using libiconv from -L/usr/pkg/lib -liconv
checking for GD 2.0.12 or higher...
checking for gdImageSetAntiAliased in -lgd... yes
        using libgd 2.0.12 (or higher) from -L/usr/pkg/lib -lgd -ljpeg -lfreetype -lpng -L/usr/pkg/lib -lz -lXpm -lX11 
checking for gdImageGif in -lc... yes
checking for gdImagePng in -lc... yes
checking for gdImageJpeg in -lc... yes
checking for gdImageWBMP in -lc... yes
checking for gdImageStringFT in -lc... yes
checking for gdImageGifPtr in -lc... yes
        using GD ( -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR) from /usr/pkg.
checking whether we should include PDF support...
checking for PDF_setlinewidth in -lpdf... no
checking for PDF_setrgbcolor in -lpdf... no
checking for PDF_moveto in -lpdf... no
checking for PDF_curveto in -lpdf... no
checking for PDF_show_xy in -lpdf... no
        libpdf not found... PDF support not included.
checking whether we should include TIFF support...
checking for TIFFOpen in -ltiff... yes
        using libtiff from system libs.
checking whether we should include EPPL7 support...
        including EPPL7 support.
checking whether we should include PROJ.4 support...
        PROJ.4 support not requested.
checking whether we should include thread safe support...
        thread safe support disabled.
checking whether we should include ESRI SDE support...
        ESRI SDE support not requested.
checking whether we should compile in MPATROL support...
        MPATROL support not requested.
checking whether we should include OGR support...
        OGR support not requested.
checking if GDAL support requested... no
checking if PostGIS support requested... no
checking if MyGIS support requested... no
checking if OracleSpatial support requested... no
checking if MING/Flash support requested... no
checking whether we should include WMS Server support...
        OGC WMS Compatibility not enabled (PROJ.4 is required for WMS).
checking whether we should include WFS Server support...
        OGC WFS Server support not requested.
checking whether we should include WMS Client Connections support...
        OGC WMS Client Connections not enabled (PROJ.4 and libcurl required).
checking whether we should include WFS Client Connections support...
        OGC WFS Client Connections not enabled (PROJ.4, libcurl and OGR required).
checking for curl-config
Compiling with -DIGNORE_MISSING_DATA.
checking whether we should enable debug features...
checking for PHP/MapScript module options...
        PHP/MapScript module not configured.
updating cache ./config.cache
creating ./config.status
creating Makefile
===> Building for mapserver-4.0nb3
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR           -I/usr/pkg/include                  maptemplate.c -o maptemplate.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR           -I/usr/pkg/include                  mapbits.c -o mapbits.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR           -I/usr/pkg/include                  maphash.c -o maphash.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR           -I/usr/pkg/include                  mapshape.c -o mapshape.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR           -I/usr/pkg/include                  mapxbase.c -o mapxbase.o
"mapxbase.c", line 477: warning: argument #2 is incompatible with prototype:
	prototype: pointer to const char : "/usr/include/iso/string_iso.h", line 73
	argument : pointer to unsigned char
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR           -I/usr/pkg/include                  mapparser.c -o mapparser.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR           -I/usr/pkg/include                  maplexer.c -o maplexer.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR           -I/usr/pkg/include                  maptree.c -o maptree.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR           -I/usr/pkg/include                  mapsearch.c -o mapsearch.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR           -I/usr/pkg/include                  mapstring.c -o mapstring.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR           -I/usr/pkg/include                  mapsymbol.c -o mapsymbol.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR           -I/usr/pkg/include                  mapfile.c -o mapfile.o
"mapfile.c", line 1398: warning: statement not reached
"mapfile.c", line 4448: warning: statement not reached
"mapfile.c", line 4485: warning: statement not reached
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR           -I/usr/pkg/include                  maplegend.c -o maplegend.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR           -I/usr/pkg/include                  maputil.c -o maputil.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR           -I/usr/pkg/include                  mapscale.c -o mapscale.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR           -I/usr/pkg/include                  mapquery.c -o mapquery.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR           -I/usr/pkg/include                  maplabel.c -o maplabel.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR           -I/usr/pkg/include                  maperror.c -o maperror.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR           -I/usr/pkg/include                  mapprimitive.c -o mapprimitive.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR           -I/usr/pkg/include                  mapproject.c -o mapproject.o
"mapproject.c", line 429: warning: improper pointer/integer combination: op "="
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR           -I/usr/pkg/include                  mapraster.c -o mapraster.o
"mapraster.c", line 297: warning: argument #1 is incompatible with prototype:
	prototype: pointer to unsigned short : "/pkgobj/geography/mapserver/work/.buildlink/include/tiffio.h", line 400
	argument : pointer to short
"mapraster.c", line 304: warning: argument #1 is incompatible with prototype:
	prototype: pointer to unsigned long : "/pkgobj/geography/mapserver/work/.buildlink/include/tiffio.h", line 401
	argument : pointer to long
"mapraster.c", line 308: warning: argument #1 is incompatible with prototype:
	prototype: pointer to unsigned long : "/pkgobj/geography/mapserver/work/.buildlink/include/tiffio.h", line 401
	argument : pointer to long
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR           -I/usr/pkg/include                  mapsde.c -o mapsde.o
CC -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR           -I/usr/pkg/include                  mapogr.cpp -o mapogr.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR           -I/usr/pkg/include                  mappostgis.c -o mappostgis.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR           -I/usr/pkg/include                  mapmygis.c -o mapmygis.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR           -I/usr/pkg/include                  maplayer.c -o maplayer.o
"maplayer.c", line 854: warning: statement not reached
"maplayer.c", line 886: warning: statement not reached
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR           -I/usr/pkg/include                  mapresample.c -o mapresample.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR           -I/usr/pkg/include                  mapwms.c -o mapwms.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR           -I/usr/pkg/include                  mapwmslayer.c -o mapwmslayer.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR           -I/usr/pkg/include                  maporaclespatial.c -o maporaclespatial.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR           -I/usr/pkg/include                  mapgml.c -o mapgml.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR           -I/usr/pkg/include                  mapprojhack.c -o mapprojhack.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR           -I/usr/pkg/include                  mapthread.c -o mapthread.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR           -I/usr/pkg/include                  mapdraw.c -o mapdraw.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR           -I/usr/pkg/include                  mapgd.c -o mapgd.o
"mapgd.c", line 2154: warning: argument #5 is incompatible with prototype:
	prototype: pointer to unsigned char : "/pkgobj/geography/mapserver/work/.buildlink/include/gd.h", line 351
	argument : pointer to char
"mapgd.c", line 2155: warning: argument #5 is incompatible with prototype:
	prototype: pointer to unsigned char : "/pkgobj/geography/mapserver/work/.buildlink/include/gd.h", line 351
	argument : pointer to char
"mapgd.c", line 2156: warning: argument #5 is incompatible with prototype:
	prototype: pointer to unsigned char : "/pkgobj/geography/mapserver/work/.buildlink/include/gd.h", line 351
	argument : pointer to char
"mapgd.c", line 2157: warning: argument #5 is incompatible with prototype:
	prototype: pointer to unsigned char : "/pkgobj/geography/mapserver/work/.buildlink/include/gd.h", line 351
	argument : pointer to char
"mapgd.c", line 2161: warning: argument #5 is incompatible with prototype:
	prototype: pointer to unsigned char : "/pkgobj/geography/mapserver/work/.buildlink/include/gd.h", line 351
	argument : pointer to char
"mapgd.c", line 2163: warning: argument #5 is incompatible with prototype:
	prototype: pointer to unsigned char : "/pkgobj/geography/mapserver/work/.buildlink/include/gd.h", line 351
	argument : pointer to char
"mapgd.c", line 2173: warning: argument #5 is incompatible with prototype:
	prototype: pointer to unsigned char : "/pkgobj/geography/mapserver/work/.buildlink/include/gd.h", line 351
	argument : pointer to char
"mapgd.c", line 2174: warning: argument #5 is incompatible with prototype:
	prototype: pointer to unsigned char : "/pkgobj/geography/mapserver/work/.buildlink/include/gd.h", line 351
	argument : pointer to char
"mapgd.c", line 2175: warning: argument #5 is incompatible with prototype:
	prototype: pointer to unsigned char : "/pkgobj/geography/mapserver/work/.buildlink/include/gd.h", line 351
	argument : pointer to char
"mapgd.c", line 2176: warning: argument #5 is incompatible with prototype:
	prototype: pointer to unsigned char : "/pkgobj/geography/mapserver/work/.buildlink/include/gd.h", line 351
	argument : pointer to char
"mapgd.c", line 2180: warning: argument #5 is incompatible with prototype:
	prototype: pointer to unsigned char : "/pkgobj/geography/mapserver/work/.buildlink/include/gd.h", line 351
	argument : pointer to char
"mapgd.c", line 2182: warning: argument #5 is incompatible with prototype:
	prototype: pointer to unsigned char : "/pkgobj/geography/mapserver/work/.buildlink/include/gd.h", line 351
	argument : pointer to char
"mapgd.c", line 2522: void function cannot return value
"mapgd.c", line 2557: void function cannot return value
cc: acomp failed for mapgd.c
*** Error code 2

Stop.
bmake: stopped in /pkgobj/geography/mapserver/work/mapserver-4.0
*** Error code 1

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

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

Please view the work log for mapserver-4.0nb3


BULK> mapserver-4.0nb3 was marked as broken:
-rw-r--r--   1 root     other      23467 Jul  3 20:08 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for mapserver
BULK> Marking all packages which depend upon mapserver-4.0nb3 as broken:
BULK> Build for mapserver-4.0nb3 was not successful, aborting.