Subject: OpenBSD + pkgsrc
To: None <tech-pkg@netbsd.org>
From: Paulo Aukar <pauloaukar@ig.com.br>
List: tech-pkg
Date: 02/04/2005 10:27:30
Hi friends,
 I'm exploring the possibilities of pkgsrc under an OpenBSD environment. This is my third experiment and 
until now the better succeeded.
 
 The following policy was adopted:

 - installation of OpenBSD 3.6 without XFree86 4.*;
 - pkgsrc downloaded from -current at february, 02;
 - smooth bootstraping;
 - building xorg from pkgsrc;
 - building other packages I intend to use (problems and good news).

The following problems were found:

a -  problems found when building xorg (/usr/pkgsrc/meta-pkgs/xorg)
a.1 - the building process asks for a non existent file named DragonFly.cf at:

 /usr/pkgsrc/x11/xorg-libs/work/xc/config/cf/

The same is valid for xorg-server, xorg-clients etc.
 The "solution" adopted has been to create an empty file DragonFly.cf at the mentioned directory. This, of course, doesn't seem to be a "true" solution but it "worked".

a.2 - the compilation of xorg-fonts* stoped for many hours (I gave up) when executing the following command:

                 /usr/pkg/xorg/bin/mkfontdir -x bdf .

obs: my machine is an old K6 II with almost 400Mb of RAM but I think it is not a problem derived from hardware limitation.

b - problems compiling other packages:

b1 - gv

log -

===> Checking for vulnerabilities in gv-3.6.1
=> Checksum OK for gv-3.6.1.tar.gz.
===> Extracting for gv-3.6.1
===> Required installed package {ghostscript-esp>=6.01,ghostscript-gnu>=6.01,ghostscript-gnu-x11>=6.01,ghostscript>=6.01}: ghostscript-gnu-7.07 found
===> Required installed package xorg-libs>=6.8.1nb2: xorg-libs-6.8.1nb5 found
===> Required installed package Xaw3d>=1.5: Xaw3d-1.5 found
===> Required installed package fontconfig>=2.2.96nb1: fontconfig-2.2.98 found
===> Required installed package zlib>=1.2.1nb3: zlib-1.2.2 found
===> Required installed package freetype2>=2.1.9nb1: freetype2-2.1.9nb1 found
===> Required installed package expat>=1.95.8nb2: expat-1.95.8nb2 found
===> Required installed package gmake>=3.78: gmake-3.80nb4 found
===> Patching for gv-3.6.1
===> Applying pkgsrc patches for gv-3.6.1
===> Overriding tools for gv-3.6.1
===> Creating toolchain wrappers for gv-3.6.1
===> Configuring for gv-3.6.1
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for gawk... /usr/bin/awk
checking whether gmake sets $(MAKE)... yes
checking for i386--openbsd-strip... no
checking for strip... strip
checking whether to enable maintainer-specific portions of Makefiles... no
checking for i386--openbsd-gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking for style of include used by gmake... GNU
checking dependency style of cc... gcc
checking for sqrt in -lm... yes
checking for yywrap in -lfl... yes
checking how to run the C preprocessor... cc -E
checking for X... libraries /usr/pkg/xorg/lib, headers /usr/pkg/xorg/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for XOpenDisplay in -lX11... yes
checking for main in -lICE... yes
checking for main in -lSM... yes
checking for main in -lXext... yes
checking for XtOpenDisplay in -lXt... yes
checking for main in -lXmu... yes
checking for main in -lXpm... yes
checking for XawInitializeWidgetSet in -lXaw3d... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/version.texi
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating src/ac_config.h
config.status: executing depfiles commands
===> Building for gv-3.6.1
 /bin/sh ./config.status
config.status: creating Makefile
config.status: creating doc/version.texi
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating src/ac_config.h
config.status: src/ac_config.h is unchanged
config.status: executing depfiles commands
Making all in src
gmake[1]: Entering directory `/usr/pkgsrc/print/gv/work/gv-3.6.1/src'
creating gv_intern_res_unix.dat
creating gv_intern_res_unix.h
creating gv_make_res.dat
creating gv_class.ad
cp ./gv_copyright.dat ./gv_class.ad
creating gv_class.h
/usr/pkg/bin/gmake  all-am
gmake[2]: Entering directory `/usr/pkgsrc/print/gv/work/gv-3.6.1/src'
source='Aaa.c' object='Aaa.o' libtool=no \
depfile='.deps/Aaa.Po' tmpdepfile='.deps/Aaa.TPo' \
depmode=gcc /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.  -DNON_BLOCKING_IO -DGV_CODE -DGV_CODE -DGV_LIBDIR=\"/usr/pkg/lib/gv\" -I/usr/pkg/include -I/usr/pkg/include/freetype2  -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c Aaa.c
source='Aaa_bison.c' object='Aaa_bison.o' libtool=no \
depfile='.deps/Aaa_bison.Po' tmpdepfile='.deps/Aaa_bison.TPo' \
depmode=gcc /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.  -DNON_BLOCKING_IO -DGV_CODE -DGV_CODE -DGV_LIBDIR=\"/usr/pkg/lib/gv\" -I/usr/pkg/include -I/usr/pkg/include/freetype2  -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c Aaa_bison.c
source='Aaa_lex.c' object='Aaa_lex.o' libtool=no \
depfile='.deps/Aaa_lex.Po' tmpdepfile='.deps/Aaa_lex.TPo' \
depmode=gcc /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.  -DNON_BLOCKING_IO -DGV_CODE -DGV_CODE -DGV_LIBDIR=\"/usr/pkg/lib/gv\" -I/usr/pkg/include -I/usr/pkg/include/freetype2  -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c Aaa_lex.c
source='Button.c' object='Button.o' libtool=no \
depfile='.deps/Button.Po' tmpdepfile='.deps/Button.TPo' \
depmode=gcc /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.  -DNON_BLOCKING_IO -DGV_CODE -DGV_CODE -DGV_LIBDIR=\"/usr/pkg/lib/gv\" -I/usr/pkg/include -I/usr/pkg/include/freetype2  -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c Button.c
source='Clip.c' object='Clip.o' libtool=no \
depfile='.deps/Clip.Po' tmpdepfile='.deps/Clip.TPo' \
depmode=gcc /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.  -DNON_BLOCKING_IO -DGV_CODE -DGV_CODE -DGV_LIBDIR=\"/usr/pkg/lib/gv\" -I/usr/pkg/include -I/usr/pkg/include/freetype2  -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c Clip.c
source='FileSel.c' object='FileSel.o' libtool=no \
depfile='.deps/FileSel.Po' tmpdepfile='.deps/FileSel.TPo' \
depmode=gcc /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.  -DNON_BLOCKING_IO -DGV_CODE -DGV_CODE -DGV_LIBDIR=\"/usr/pkg/lib/gv\" -I/usr/pkg/include -I/usr/pkg/include/freetype2  -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c FileSel.c
source='Frame.c' object='Frame.o' libtool=no \
depfile='.deps/Frame.Po' tmpdepfile='.deps/Frame.TPo' \
depmode=gcc /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.  -DNON_BLOCKING_IO -DGV_CODE -DGV_CODE -DGV_LIBDIR=\"/usr/pkg/lib/gv\" -I/usr/pkg/include -I/usr/pkg/include/freetype2  -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c Frame.c
source='Ghostview.c' object='Ghostview.o' libtool=no \
depfile='.deps/Ghostview.Po' tmpdepfile='.deps/Ghostview.TPo' \
depmode=gcc /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.  -DNON_BLOCKING_IO -DGV_CODE -DGV_CODE -DGV_LIBDIR=\"/usr/pkg/lib/gv\" -I/usr/pkg/include -I/usr/pkg/include/freetype2  -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c Ghostview.c
source='MButton.c' object='MButton.o' libtool=no \
depfile='.deps/MButton.Po' tmpdepfile='.deps/MButton.TPo' \
depmode=gcc /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.  -DNON_BLOCKING_IO -DGV_CODE -DGV_CODE -DGV_LIBDIR=\"/usr/pkg/lib/gv\" -I/usr/pkg/include -I/usr/pkg/include/freetype2  -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c MButton.c
source='Switch.c' object='Switch.o' libtool=no \
depfile='.deps/Switch.Po' tmpdepfile='.deps/Switch.TPo' \
depmode=gcc /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.  -DNON_BLOCKING_IO -DGV_CODE -DGV_CODE -DGV_LIBDIR=\"/usr/pkg/lib/gv\" -I/usr/pkg/include -I/usr/pkg/include/freetype2  -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c Switch.c
source='Vlist.c' object='Vlist.o' libtool=no \
depfile='.deps/Vlist.Po' tmpdepfile='.deps/Vlist.TPo' \
depmode=gcc /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.  -DNON_BLOCKING_IO -DGV_CODE -DGV_CODE -DGV_LIBDIR=\"/usr/pkg/lib/gv\" -I/usr/pkg/include -I/usr/pkg/include/freetype2  -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c Vlist.c
source='actions.c' object='actions.o' libtool=no \
depfile='.deps/actions.Po' tmpdepfile='.deps/actions.TPo' \
depmode=gcc /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.  -DNON_BLOCKING_IO -DGV_CODE -DGV_CODE -DGV_LIBDIR=\"/usr/pkg/lib/gv\" -I/usr/pkg/include -I/usr/pkg/include/freetype2  -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c actions.c
source='callbacks.c' object='callbacks.o' libtool=no \
depfile='.deps/callbacks.Po' tmpdepfile='.deps/callbacks.TPo' \
depmode=gcc /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.  -DNON_BLOCKING_IO -DGV_CODE -DGV_CODE -DGV_LIBDIR=\"/usr/pkg/lib/gv\" -I/usr/pkg/include -I/usr/pkg/include/freetype2  -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c callbacks.c
source='confirm.c' object='confirm.o' libtool=no \
depfile='.deps/confirm.Po' tmpdepfile='.deps/confirm.TPo' \
depmode=gcc /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.  -DNON_BLOCKING_IO -DGV_CODE -DGV_CODE -DGV_LIBDIR=\"/usr/pkg/lib/gv\" -I/usr/pkg/include -I/usr/pkg/include/freetype2  -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c confirm.c
source='dialog.c' object='dialog.o' libtool=no \
depfile='.deps/dialog.Po' tmpdepfile='.deps/dialog.TPo' \
depmode=gcc /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.  -DNON_BLOCKING_IO -DGV_CODE -DGV_CODE -DGV_LIBDIR=\"/usr/pkg/lib/gv\" -I/usr/pkg/include -I/usr/pkg/include/freetype2  -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c dialog.c
source='doc_misc.c' object='doc_misc.o' libtool=no \
depfile='.deps/doc_misc.Po' tmpdepfile='.deps/doc_misc.TPo' \
depmode=gcc /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.  -DNON_BLOCKING_IO -DGV_CODE -DGV_CODE -DGV_LIBDIR=\"/usr/pkg/lib/gv\" -I/usr/pkg/include -I/usr/pkg/include/freetype2  -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c doc_misc.c
source='error.c' object='error.o' libtool=no \
depfile='.deps/error.Po' tmpdepfile='.deps/error.TPo' \
depmode=gcc /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.  -DNON_BLOCKING_IO -DGV_CODE -DGV_CODE -DGV_LIBDIR=\"/usr/pkg/lib/gv\" -I/usr/pkg/include -I/usr/pkg/include/freetype2  -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c error.c
source='file.c' object='file.o' libtool=no \
depfile='.deps/file.Po' tmpdepfile='.deps/file.TPo' \
depmode=gcc /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.  -DNON_BLOCKING_IO -DGV_CODE -DGV_CODE -DGV_LIBDIR=\"/usr/pkg/lib/gv\" -I/usr/pkg/include -I/usr/pkg/include/freetype2  -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c file.c
gmake[2]: Leaving directory `/usr/pkgsrc/print/gv/work/gv-3.6.1/src'
gmake[1]: Leaving directory `/usr/pkgsrc/print/gv/work/gv-3.6.1/src'
*** Error code 2

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

Stop.
bmake: stopped in /usr/pkgsrc/print/gv

____________

b2 - pkgsrc/mail/metamail

log - 

===> Checking for vulnerabilities in metamail-2.7nb6
===> Building for metamail-2.7nb6
(cd metamail ; /usr/pkg/bin/bmake  CONFIGDIR=../.  CFLAGS="-O2 -DPKG_SYSCONFDIR='\"/usr/pkg/etc\"' -I.  " CC="cc"  LDLIBS="")
rm -f metamail
cc -I../. -O2 -DPKG_SYSCONFDIR='"/usr/pkg/etc"' -I.   -o metamail  metamail.o  putenv.o codes.o uue.o shared.o 
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/mail/metamail/work/mm2.7/src/metamail
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/mail/metamail/work/mm2.7/src
*** Error code 1

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

Stop.
bmake: stopped in /usr/pkgsrc/mail/metamail

b3 - pkgsrc/print/gv

log -

===> Checking for vulnerabilities in gv-3.6.1
=> Checksum OK for gv-3.6.1.tar.gz.
===> Extracting for gv-3.6.1
===> Required installed package {ghostscript-esp>=6.01,ghostscript-gnu>=6.01,ghostscript-gnu-x11>=6.01,ghostscript>=6.01}: ghostscript-gnu-7.07 found
===> Required installed package xorg-libs>=6.8.1nb2: xorg-libs-6.8.1nb5 found
===> Required installed package Xaw3d>=1.5: Xaw3d-1.5 found
===> Required installed package fontconfig>=2.2.96nb1: fontconfig-2.2.98 found
===> Required installed package zlib>=1.2.1nb3: zlib-1.2.2 found
===> Required installed package freetype2>=2.1.9nb1: freetype2-2.1.9nb1 found
===> Required installed package expat>=1.95.8nb2: expat-1.95.8nb2 found
===> Required installed package gmake>=3.78: gmake-3.80nb4 found
===> Patching for gv-3.6.1
===> Applying pkgsrc patches for gv-3.6.1
===> Overriding tools for gv-3.6.1
===> Creating toolchain wrappers for gv-3.6.1
===> Configuring for gv-3.6.1
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for gawk... /usr/bin/awk
checking whether gmake sets $(MAKE)... yes
checking for i386--openbsd-strip... no
checking for strip... strip
checking whether to enable maintainer-specific portions of Makefiles... no
checking for i386--openbsd-gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking for style of include used by gmake... GNU
checking dependency style of cc... gcc
checking for sqrt in -lm... yes
checking for yywrap in -lfl... yes
checking how to run the C preprocessor... cc -E
checking for X... libraries /usr/pkg/xorg/lib, headers /usr/pkg/xorg/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for XOpenDisplay in -lX11... yes
checking for main in -lICE... yes
checking for main in -lSM... yes
checking for main in -lXext... yes
checking for XtOpenDisplay in -lXt... yes
checking for main in -lXmu... yes
checking for main in -lXpm... yes
checking for XawInitializeWidgetSet in -lXaw3d... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/version.texi
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating src/ac_config.h
config.status: executing depfiles commands
===> Building for gv-3.6.1
 /bin/sh ./config.status
config.status: creating Makefile
config.status: creating doc/version.texi
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating src/ac_config.h
config.status: src/ac_config.h is unchanged
config.status: executing depfiles commands
Making all in src
gmake[1]: Entering directory `/usr/pkgsrc/print/gv/work/gv-3.6.1/src'
creating gv_intern_res_unix.dat
creating gv_intern_res_unix.h
creating gv_make_res.dat
creating gv_class.ad
cp ./gv_copyright.dat ./gv_class.ad
creating gv_class.h
/usr/pkg/bin/gmake  all-am
gmake[2]: Entering directory `/usr/pkgsrc/print/gv/work/gv-3.6.1/src'
source='Aaa.c' object='Aaa.o' libtool=no \
depfile='.deps/Aaa.Po' tmpdepfile='.deps/Aaa.TPo' \
depmode=gcc /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.  -DNON_BLOCKING_IO -DGV_CODE -DGV_CODE -DGV_LIBDIR=\"/usr/pkg/lib/gv\" -I/usr/pkg/include -I/usr/pkg/include/freetype2  -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c Aaa.c
source='Aaa_bison.c' object='Aaa_bison.o' libtool=no \
depfile='.deps/Aaa_bison.Po' tmpdepfile='.deps/Aaa_bison.TPo' \
depmode=gcc /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.  -DNON_BLOCKING_IO -DGV_CODE -DGV_CODE -DGV_LIBDIR=\"/usr/pkg/lib/gv\" -I/usr/pkg/include -I/usr/pkg/include/freetype2  -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c Aaa_bison.c
source='Aaa_lex.c' object='Aaa_lex.o' libtool=no \
depfile='.deps/Aaa_lex.Po' tmpdepfile='.deps/Aaa_lex.TPo' \
depmode=gcc /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.  -DNON_BLOCKING_IO -DGV_CODE -DGV_CODE -DGV_LIBDIR=\"/usr/pkg/lib/gv\" -I/usr/pkg/include -I/usr/pkg/include/freetype2  -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c Aaa_lex.c
source='Button.c' object='Button.o' libtool=no \
depfile='.deps/Button.Po' tmpdepfile='.deps/Button.TPo' \
depmode=gcc /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.  -DNON_BLOCKING_IO -DGV_CODE -DGV_CODE -DGV_LIBDIR=\"/usr/pkg/lib/gv\" -I/usr/pkg/include -I/usr/pkg/include/freetype2  -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c Button.c
source='Clip.c' object='Clip.o' libtool=no \
depfile='.deps/Clip.Po' tmpdepfile='.deps/Clip.TPo' \
depmode=gcc /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.  -DNON_BLOCKING_IO -DGV_CODE -DGV_CODE -DGV_LIBDIR=\"/usr/pkg/lib/gv\" -I/usr/pkg/include -I/usr/pkg/include/freetype2  -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c Clip.c
source='FileSel.c' object='FileSel.o' libtool=no \
depfile='.deps/FileSel.Po' tmpdepfile='.deps/FileSel.TPo' \
depmode=gcc /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.  -DNON_BLOCKING_IO -DGV_CODE -DGV_CODE -DGV_LIBDIR=\"/usr/pkg/lib/gv\" -I/usr/pkg/include -I/usr/pkg/include/freetype2  -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c FileSel.c
source='Frame.c' object='Frame.o' libtool=no \
depfile='.deps/Frame.Po' tmpdepfile='.deps/Frame.TPo' \
depmode=gcc /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.  -DNON_BLOCKING_IO -DGV_CODE -DGV_CODE -DGV_LIBDIR=\"/usr/pkg/lib/gv\" -I/usr/pkg/include -I/usr/pkg/include/freetype2  -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c Frame.c
source='Ghostview.c' object='Ghostview.o' libtool=no \
depfile='.deps/Ghostview.Po' tmpdepfile='.deps/Ghostview.TPo' \
depmode=gcc /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.  -DNON_BLOCKING_IO -DGV_CODE -DGV_CODE -DGV_LIBDIR=\"/usr/pkg/lib/gv\" -I/usr/pkg/include -I/usr/pkg/include/freetype2  -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c Ghostview.c
source='MButton.c' object='MButton.o' libtool=no \
depfile='.deps/MButton.Po' tmpdepfile='.deps/MButton.TPo' \
depmode=gcc /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.  -DNON_BLOCKING_IO -DGV_CODE -DGV_CODE -DGV_LIBDIR=\"/usr/pkg/lib/gv\" -I/usr/pkg/include -I/usr/pkg/include/freetype2  -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c MButton.c
source='Switch.c' object='Switch.o' libtool=no \
depfile='.deps/Switch.Po' tmpdepfile='.deps/Switch.TPo' \
depmode=gcc /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.  -DNON_BLOCKING_IO -DGV_CODE -DGV_CODE -DGV_LIBDIR=\"/usr/pkg/lib/gv\" -I/usr/pkg/include -I/usr/pkg/include/freetype2  -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c Switch.c
source='Vlist.c' object='Vlist.o' libtool=no \
depfile='.deps/Vlist.Po' tmpdepfile='.deps/Vlist.TPo' \
depmode=gcc /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.  -DNON_BLOCKING_IO -DGV_CODE -DGV_CODE -DGV_LIBDIR=\"/usr/pkg/lib/gv\" -I/usr/pkg/include -I/usr/pkg/include/freetype2  -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c Vlist.c
source='actions.c' object='actions.o' libtool=no \
depfile='.deps/actions.Po' tmpdepfile='.deps/actions.TPo' \
depmode=gcc /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.  -DNON_BLOCKING_IO -DGV_CODE -DGV_CODE -DGV_LIBDIR=\"/usr/pkg/lib/gv\" -I/usr/pkg/include -I/usr/pkg/include/freetype2  -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c actions.c
source='callbacks.c' object='callbacks.o' libtool=no \
depfile='.deps/callbacks.Po' tmpdepfile='.deps/callbacks.TPo' \
depmode=gcc /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.  -DNON_BLOCKING_IO -DGV_CODE -DGV_CODE -DGV_LIBDIR=\"/usr/pkg/lib/gv\" -I/usr/pkg/include -I/usr/pkg/include/freetype2  -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c callbacks.c
source='confirm.c' object='confirm.o' libtool=no \
depfile='.deps/confirm.Po' tmpdepfile='.deps/confirm.TPo' \
depmode=gcc /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.  -DNON_BLOCKING_IO -DGV_CODE -DGV_CODE -DGV_LIBDIR=\"/usr/pkg/lib/gv\" -I/usr/pkg/include -I/usr/pkg/include/freetype2  -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c confirm.c
source='dialog.c' object='dialog.o' libtool=no \
depfile='.deps/dialog.Po' tmpdepfile='.deps/dialog.TPo' \
depmode=gcc /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.  -DNON_BLOCKING_IO -DGV_CODE -DGV_CODE -DGV_LIBDIR=\"/usr/pkg/lib/gv\" -I/usr/pkg/include -I/usr/pkg/include/freetype2  -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c dialog.c
source='doc_misc.c' object='doc_misc.o' libtool=no \
depfile='.deps/doc_misc.Po' tmpdepfile='.deps/doc_misc.TPo' \
depmode=gcc /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.  -DNON_BLOCKING_IO -DGV_CODE -DGV_CODE -DGV_LIBDIR=\"/usr/pkg/lib/gv\" -I/usr/pkg/include -I/usr/pkg/include/freetype2  -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c doc_misc.c
source='error.c' object='error.o' libtool=no \
depfile='.deps/error.Po' tmpdepfile='.deps/error.TPo' \
depmode=gcc /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.  -DNON_BLOCKING_IO -DGV_CODE -DGV_CODE -DGV_LIBDIR=\"/usr/pkg/lib/gv\" -I/usr/pkg/include -I/usr/pkg/include/freetype2  -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c error.c
source='file.c' object='file.o' libtool=no \
depfile='.deps/file.Po' tmpdepfile='.deps/file.TPo' \
depmode=gcc /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.  -DNON_BLOCKING_IO -DGV_CODE -DGV_CODE -DGV_LIBDIR=\"/usr/pkg/lib/gv\" -I/usr/pkg/include -I/usr/pkg/include/freetype2  -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c file.c
gmake[2]: Leaving directory `/usr/pkgsrc/print/gv/work/gv-3.6.1/src'
gmake[1]: Leaving directory `/usr/pkgsrc/print/gv/work/gv-3.6.1/src'
*** Error code 2

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

Stop.
bmake: stopped in /usr/pkgsrc/print/gv

c - good news:

The following packages were built without any problem:

log-

digest-20021220     Message digest wrapper utility
xorg-dirs-1.1       Shared X.org directories
xorg-imake-6.8.1nb1 Imake and other utilities from X.org
libtool-base-1.5.10nb9 Generic shared library support script (the script itself)
git-4.3.17nb1       GNU Interactive Tools - a file system browser for UNIX systems
audit-packages-1.32 Tools to show vulnerabilities in installed packages
libiconv-1.9.2nb1   Character set conversion library
gettext-lib-0.11.5nb4 Internationalized Message Handling Library (libintl)
gmake-3.80nb4       GNU version of 'make' utility
bzip2-1.0.2nb2      Block-sorting file compressor
freetype2-2.1.9nb1  Font rendering engine and library API
expat-1.95.8nb2     XML parser library written in C
fontconfig-2.2.98   Library for configuring and customizing font access
perl-5.8.6nb2       Practical Extraction and Report Language
adjustkernel-1.6    Generate a NetBSD kernel config
xorg-libs-6.8.1nb5  X.org Libraries
unzip-5.51nb1       List, test and extract compressed files in a ZIP archive
ysm-2.8.1nb1        The 'You Sick Me' terminal based ICQ client
gettext-m4-0.11.5   Autoconf/automake m4 files for GNU NLS library
xorg-server-6.8.1nb2 X.org X server and related programs
gettext-0.11.5nb5   Tools for providing messages in different languages
zlib-1.2.2          General purpose data compression library
wget-1.9.1nb4       Retrieve files from the 'net via HTTP and FTP
pkgconfig-0.15.0nb2 System for managing library compile/link flags
render-0.8          Headers for X11 render extension
Xrender-0.8.4nb1    Client library for the X Rendering Extension protocol
Xft2-2.1.6nb1       Library for configuring and customizing font access
png-1.2.8           Library for manipulating PNG images
randrext-1.0        X RandR extension (Headers and documentation files)
Xrandr-1.0.2nb1     X RandR extension (Library)
xcursor-1.1.1nb2    Client-side cursor loading library for X
fixesext-2.0.1      X Fixes extension headers and specification
tcsh-6.13.00        Extended C-shell with many useful features
xorg-clients-6.8.1nb3 X.org client programs and related files
xorg-fontsEncodings-6.8.1 X.org Encoding fonts
p5-Curses-1.05nb3   Perl5 module for terminal screen handling and optimization
p5-Compress-Zlib-1.33nb2 Perl5 module interface to the zlib compression library
bash-3.0nb1         The GNU Bourne Again Shell
p5-Event-0.83nb1    Event library for Perl
p5-IO-tty-1.02nb1   Another Perl class for I/O on tty and pseudo-tty devices
p5-Socket6-0.17nb1  Perl5 module to support getaddrinfo() and getnameinfo()
p5-Term-ReadKey-2.21nb1 Change terminal modes and perform non-blocking reads
p5-Time-HiRes-1.66  Perl5 module for high resolution time, sleep, and alarm
p5-MIME-Base64-3.05nb1 Perl5 module for Base64 and Quoted-Printable encodings
evilwm-0.99.17      Minimalist Window Manager for X
p5-URI-1.30nb1      Perl5 Uniform Resource Identifiers class (URI, RFC 2396)
p5-Digest-1.10nb1   Perl5 base class for Digest:: modules
jpeg-6bnb3          IJG's jpeg compression utilities
p5-Digest-MD5-2.33nb1 Perl5 extension interface for MD5 algorithm
p5-Net-1.19nb1      Perl5 modules to access and use network protocols
p5-HTML-Tagset-3.03nb1 Perl5 module of data tables useful in parsing HTML
glib-1.2.10nb8      Some useful routines for C programming (glib1)
xpkgwedge-1.12      Allows X11 pkgs to be built and used outside of ${X11BASE}
p5-HTML-Parser-3.42nb1 Perl5 module to parse HTML text documents
p5-Net-SSLeay-1.25nb4 Perl5 module for using OpenSSL
p5-IO-Socket-SSL-0.95nb2 Perl5 SSL socket interface class
p5-libwww-5.76nb2   Perl5 library for WWW access
p5-POE-0.29nb1      Perl Object Environment
tiff-3.7.1nb3       Library and tools for reading and writing TIFF data files
msnre-0.91          Console-based MSN Instant Messenger clone
gtk+-1.2.10nb8      GIMP Toolkit v1 - libraries for building X11 user interfaces
libslang-1.4.9nb2   Routines for rapid alpha-numeric terminal applications development
grun-0.9.2nb3       GTK+ based Run dialog
links-gui-2.1.0.15nb2 Lynx-like text and graphics WWW browser
xjed-0.99.16        Extensible folding editor with Emacs/WordStar/EDT emulations, X11 version
dillo-0.8.4         Very small and fast graphical web-browser
ghostscript-fonts-6.0 Postscript fonts for Aladdin Ghostscript
ghostscript-gnu-7.07 GNU Postscript interpreter
Xaw3d-1.5           3-D widgets based on the Athena Widget set

Any hint or help will be welcome.

Paulo