###
### Wed Jul 7 06:56:00 CEST 2004:
### /usr/pkg/bin/bmake bulk-package for mapserver-4.0nb1
### Current pkg count:  3 installed packages: digest-20021220 gpsutils-0.4.0 patch-2.5.4nb2
###
BULK> Full rebuild in progress...
BULK> Cleaning package and its depends
NOTE: Couldn't lock the package database.
===> Cleaning for mapserver-4.0nb1
===> Cleaning for libiconv-1.9.1nb2
===> Cleaning for libtool-base-1.5.6nb1
===> Cleaning for patch-2.5.4nb2
===> Cleaning for zlib-1.2.1nb1
NOTE: Couldn't lock the package database.
===> Cleaning for gd-2.0.25
===> Cleaning for freetype2-2.1.8
===> Cleaning for grep-2.5.1nb2
===> Cleaning for pkg_install-info-4.5nb2
===> Cleaning for gettext-lib-0.11.5nb3
===> Cleaning for gettext-0.11.5nb4
===> Cleaning for gettext-m4-0.11.5
===> Cleaning for gtexinfo-4.6nb2
===> Cleaning for gmake-3.80nb3
===> Cleaning for jpeg-6bnb1
===> Cleaning for png-1.2.5nb5
===> Cleaning for x11-links-0.23
===> Cleaning for tiff-3.6.1nb2
BULK> Removing installed packages which are not needed to build mapserver-4.0nb1
BULK> Keeping BULK_PREREQ: digest-20021220 (pkgtools/digest)
BULK> mapserver-4.0nb1 requires installed package patch-2.5.4nb2 (devel/patch) to build.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r gpsutils-0.4.0
BULK> Installing packages which are required to build mapserver-4.0nb1.
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/All/libiconv-1.9.1nb2.tgz

===> Installing configuration/support files for libiconv-1.9.1nb2

	/usr/pkg/lib/charset.alias
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/All/libtool-base-1.5.6nb1.tgz
BULK> Required package patch-2.5.4nb2 (devel/patch) is already installed
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/All/zlib-1.2.1nb1.tgz
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/All/gd-2.0.25.tgz
BULK> Required package freetype2-2.1.8 (graphics/freetype2) is already installed
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/All/grep-2.5.1nb2.tgz
BULK> Required package pkg_install-info-4.5nb2 (pkgtools/pkg_install-info) is already installed
BULK> Required package gettext-lib-0.11.5nb3 (devel/gettext-lib) is already installed
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/All/gettext-0.11.5nb4.tgz
BULK> Required package gettext-m4-0.11.5 (devel/gettext-m4) is already installed
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/All/gtexinfo-4.6nb2.tgz
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/All/gmake-3.80nb3.tgz
BULK> Required package jpeg-6bnb1 (graphics/jpeg) is already installed
BULK> Required package png-1.2.5nb5 (graphics/png) is already installed
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/All/x11-links-0.23.tgz
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/All/tiff-3.6.1nb2.tgz
mv: cannot rename /usr/openwin/lib/libtiff.so.3 to /usr/openwin/lib/libtiff.so.3.openwin: Read-only file system
ln: cannot create /usr/openwin/lib/libtiff.so.3: Read-only file system
mv: cannot rename /usr/openwin/lib/libtiff.so to /usr/openwin/lib/libtiff.so.openwin: Read-only file system
ln: cannot create /usr/openwin/lib/libtiff.so: Read-only file system
BULK> Required package digest-20021220 (pkgtools/digest) is already installed
/usr/pkg/bin/bmake package (mapserver-4.0nb1)
NOTE: Couldn't lock the package database.
NOTE: Couldn't lock the package database.
===> Checking for vulnerabilities in mapserver-4.0nb1
NOTE: Couldn't lock the package database.
=> mapserver-4.0.tar.gz doesn't seem to exist on this system.
=> Attempting to fetch mapserver-4.0.tar.gz from ftp://ftp.cz.NetBSD.org/pub/NetBSD/packages/distfiles/.
=> [857870 bytes]
=> Checksum OK for mapserver-4.0.tar.gz.
work -> /pkgbuild/geography/mapserver/work
NOTE: Couldn't lock the package database.
===> Extracting for mapserver-4.0nb1
===> Required installed package libiconv>=1.9.1: libiconv-1.9.1nb2 found
===> Required installed package gd>=2.0.15: gd-2.0.25 found
===> Required installed package freetype2>=2.1.8: freetype2-2.1.8 found
===> Required installed package png>=1.2.4: png-1.2.5nb5 found
===> Required installed package tiff>=3.6.1: tiff-3.6.1nb2 found
===> Required installed package zlib>=1.2.1: zlib-1.2.1nb1 found
===> Required installed package jpeg>=6b: jpeg-6bnb1 found
===> Required installed package patch>=2.2: patch-2.5.4nb2 found
===> Required installed package x11-links>=0.23: x11-links-0.23 found
NOTE: Couldn't lock the package database.
===> Patching for mapserver-4.0nb1
===> Applying pkgsrc patches for mapserver-4.0nb1
NOTE: Couldn't lock the package database.
===> Overriding tools for mapserver-4.0nb1
NOTE: Couldn't lock the package database.
===> Buildlinking for mapserver-4.0nb1
===> Configuring for mapserver-4.0nb1
=> 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/openwin/include -L/usr/pkg/lib -R/usr/pkg/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/openwin/include -L/usr/pkg/lib -R/usr/pkg/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/openwin/include -L/usr/pkg/lib -R/usr/pkg/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/openwin/include -L/usr/pkg/lib -R/usr/pkg/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... yacc
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... no
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... no
        using GD ( -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT) 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.0nb1
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/openwin/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT           -I/usr/pkg/include                  maptemplate.c -o maptemplate.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/openwin/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT           -I/usr/pkg/include                  mapbits.c -o mapbits.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/openwin/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT           -I/usr/pkg/include                  maphash.c -o maphash.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/openwin/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT           -I/usr/pkg/include                  mapshape.c -o mapshape.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/openwin/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT           -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/openwin/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT           -I/usr/pkg/include                  mapparser.c -o mapparser.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/openwin/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT           -I/usr/pkg/include                  maplexer.c -o maplexer.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/openwin/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT           -I/usr/pkg/include                  maptree.c -o maptree.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/openwin/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT           -I/usr/pkg/include                  mapsearch.c -o mapsearch.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/openwin/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT           -I/usr/pkg/include                  mapstring.c -o mapstring.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/openwin/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT           -I/usr/pkg/include                  mapsymbol.c -o mapsymbol.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/openwin/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT           -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/openwin/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT           -I/usr/pkg/include                  maplegend.c -o maplegend.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/openwin/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT           -I/usr/pkg/include                  maputil.c -o maputil.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/openwin/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT           -I/usr/pkg/include                  mapscale.c -o mapscale.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/openwin/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT           -I/usr/pkg/include                  mapquery.c -o mapquery.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/openwin/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT           -I/usr/pkg/include                  maplabel.c -o maplabel.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/openwin/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT           -I/usr/pkg/include                  maperror.c -o maperror.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/openwin/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT           -I/usr/pkg/include                  mapprimitive.c -o mapprimitive.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/openwin/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT           -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/openwin/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT           -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 : "/pkgbuild/geography/mapserver/work/.buildlink/include/tiffio.h", line 392
	argument : pointer to short
"mapraster.c", line 304: warning: argument #1 is incompatible with prototype:
	prototype: pointer to unsigned long : "/pkgbuild/geography/mapserver/work/.buildlink/include/tiffio.h", line 393
	argument : pointer to long
"mapraster.c", line 308: warning: argument #1 is incompatible with prototype:
	prototype: pointer to unsigned long : "/pkgbuild/geography/mapserver/work/.buildlink/include/tiffio.h", line 393
	argument : pointer to long
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/openwin/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT           -I/usr/pkg/include                  mapsde.c -o mapsde.o
CC -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/openwin/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT           -I/usr/pkg/include                  mapogr.cpp -o mapogr.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/openwin/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT           -I/usr/pkg/include                  mappostgis.c -o mappostgis.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/openwin/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT           -I/usr/pkg/include                  mapmygis.c -o mapmygis.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/openwin/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT           -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/openwin/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT           -I/usr/pkg/include                  mapresample.c -o mapresample.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/openwin/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT           -I/usr/pkg/include                  mapwms.c -o mapwms.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/openwin/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT           -I/usr/pkg/include                  mapwmslayer.c -o mapwmslayer.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/openwin/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT           -I/usr/pkg/include                  maporaclespatial.c -o maporaclespatial.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/openwin/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT           -I/usr/pkg/include                  mapgml.c -o mapgml.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/openwin/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT           -I/usr/pkg/include                  mapprojhack.c -o mapprojhack.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/openwin/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT           -I/usr/pkg/include                  mapthread.c -o mapthread.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/openwin/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT           -I/usr/pkg/include                  mapdraw.c -o mapdraw.o
cc -c -O -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/openwin/include    -DIGNORE_MISSING_DATA  -DUSE_EPPL      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT           -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 : "/pkgbuild/geography/mapserver/work/.buildlink/include/gd.h", line 341
	argument : pointer to char
"mapgd.c", line 2155: warning: argument #5 is incompatible with prototype:
	prototype: pointer to unsigned char : "/pkgbuild/geography/mapserver/work/.buildlink/include/gd.h", line 341
	argument : pointer to char
"mapgd.c", line 2156: warning: argument #5 is incompatible with prototype:
	prototype: pointer to unsigned char : "/pkgbuild/geography/mapserver/work/.buildlink/include/gd.h", line 341
	argument : pointer to char
"mapgd.c", line 2157: warning: argument #5 is incompatible with prototype:
	prototype: pointer to unsigned char : "/pkgbuild/geography/mapserver/work/.buildlink/include/gd.h", line 341
	argument : pointer to char
"mapgd.c", line 2161: warning: argument #5 is incompatible with prototype:
	prototype: pointer to unsigned char : "/pkgbuild/geography/mapserver/work/.buildlink/include/gd.h", line 341
	argument : pointer to char
"mapgd.c", line 2163: warning: argument #5 is incompatible with prototype:
	prototype: pointer to unsigned char : "/pkgbuild/geography/mapserver/work/.buildlink/include/gd.h", line 341
	argument : pointer to char
"mapgd.c", line 2173: warning: argument #5 is incompatible with prototype:
	prototype: pointer to unsigned char : "/pkgbuild/geography/mapserver/work/.buildlink/include/gd.h", line 341
	argument : pointer to char
"mapgd.c", line 2174: warning: argument #5 is incompatible with prototype:
	prototype: pointer to unsigned char : "/pkgbuild/geography/mapserver/work/.buildlink/include/gd.h", line 341
	argument : pointer to char
"mapgd.c", line 2175: warning: argument #5 is incompatible with prototype:
	prototype: pointer to unsigned char : "/pkgbuild/geography/mapserver/work/.buildlink/include/gd.h", line 341
	argument : pointer to char
"mapgd.c", line 2176: warning: argument #5 is incompatible with prototype:
	prototype: pointer to unsigned char : "/pkgbuild/geography/mapserver/work/.buildlink/include/gd.h", line 341
	argument : pointer to char
"mapgd.c", line 2180: warning: argument #5 is incompatible with prototype:
	prototype: pointer to unsigned char : "/pkgbuild/geography/mapserver/work/.buildlink/include/gd.h", line 341
	argument : pointer to char
"mapgd.c", line 2182: warning: argument #5 is incompatible with prototype:
	prototype: pointer to unsigned char : "/pkgbuild/geography/mapserver/work/.buildlink/include/gd.h", line 341
	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 /pkgbuild/geography/mapserver/work/mapserver-4.0
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/geography/mapserver
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/geography/mapserver
BULK> mapserver-4.0nb1 was marked as broken:
-rw-r--r--   1 root     other      23089 Jul  7 07:00 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for mapserver
BULK> Marking all packages which depend upon mapserver-4.0nb1 as broken:
BULK> Build for mapserver-4.0nb1 was not successful, aborting.