###
### Tue Aug 2 02:58:00 EDT 2005:
### /usr/pkg/bin/bmake bulk-package for xmlto-0.0.18
### Current pkg count:  15 installed packages: digest-20050323 gawk-3.1.4nb2 gettext-lib-0.11.5nb4 gmake-3.80nb4 libgcrypt-1.2.1 libgpg-error-1.0 libiconv-1.9.2nb1 libtool-base-1.5.18nb3 libxml2-2.6.19 libxslt-1.1.14 perl-5.8.6nb4 pkg_install-info-4.5nb3 xmlcatmgr-2.2 xmlstarlet-1.0.1 zlib-1.2.3
###
BULK> Full rebuild in progress...
BULK> Cleaning package xmlto-0.0.18 and pre-requisite packages
===> Cleaning for xmlto-0.0.18
===> Cleaning for getopt-1.1.3
===> Cleaning for gettext-lib-0.11.5nb4
===> Cleaning for libiconv-1.9.2nb1
===> Cleaning for libtool-base-1.5.18nb3
===> Cleaning for gmake-3.80nb4
===> Cleaning for pkg_install-info-4.5nb3
===> Cleaning for bash-3.0pl16nb1
===> Cleaning for gtexinfo-4.8
===> Cleaning for readline-5.0
===> Cleaning for docbook-xsl-1.68.1nb1
===> Cleaning for docbook-xml-4.2nb9
===> Cleaning for unzip-5.52nb1
===> Cleaning for zlib-1.2.3
===> Cleaning for xmlcatmgr-2.2
===> Cleaning for libxml2-2.6.19
===> Cleaning for libxslt-1.1.14
===> Cleaning for perl-5.8.6nb4
===> Cleaning for libgcrypt-1.2.1
===> Cleaning for libgpg-error-1.0
===> Cleaning for gawk-3.1.4nb2
BULK> Removing installed packages which are not needed to build xmlto-0.0.18
BULK> Keeping BULK_PREREQ: digest-20050323 (pkgtools/digest)
BULK> xmlto-0.0.18 requires installed package libiconv-1.9.2nb1 (converters/libiconv) to build.
BULK> xmlto-0.0.18 requires installed package gettext-lib-0.11.5nb4 (devel/gettext-lib) to build.
BULK> xmlto-0.0.18 requires installed package pkg_install-info-4.5nb3 (pkgtools/pkg_install-info) to build.
BULK> xmlto-0.0.18 requires installed package xmlcatmgr-2.2 (textproc/xmlcatmgr) to build.
BULK> xmlto-0.0.18 requires installed package libtool-base-1.5.18nb3 (devel/libtool-base) to build.
BULK> xmlto-0.0.18 requires installed package zlib-1.2.3 (devel/zlib) to build.
BULK> xmlto-0.0.18 requires installed package libxml2-2.6.19 (textproc/libxml2) to build.
BULK> xmlto-0.0.18 requires installed package gmake-3.80nb4 (devel/gmake) to build.
BULK> xmlto-0.0.18 requires installed package libgpg-error-1.0 (security/libgpg-error) to build.
BULK> xmlto-0.0.18 requires installed package libgcrypt-1.2.1 (security/libgcrypt) to build.
BULK> xmlto-0.0.18 requires installed package libxslt-1.1.14 (textproc/libxslt) to build.
BULK> xmlto-0.0.18 requires installed package perl-5.8.6nb4 (lang/perl58) to build.
BULK> xmlto-0.0.18 requires installed package gawk-3.1.4nb2 (lang/gawk) to build.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r xmlstarlet-1.0.1
BULK> Installing packages which are required to build xmlto-0.0.18.
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/getopt-1.1.3.tgz
BULK> Required package gettext-lib-0.11.5nb4 (devel/gettext-lib) is already installed
BULK> Required package libiconv-1.9.2nb1 (converters/libiconv) is already installed
BULK> Required package libtool-base-1.5.18nb3 (devel/libtool-base) is already installed
BULK> Required package gmake-3.80nb4 (devel/gmake) is already installed
BULK> Required package pkg_install-info-4.5nb3 (pkgtools/pkg_install-info) is already installed
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/bash-3.0pl16nb1.tgz
===> Updating /etc/shells
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/gtexinfo-4.8.tgz
BULK> Required package readline-5.0 (devel/readline) is already installed
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/docbook-xsl-1.68.1nb1.tgz
BULK> Required package docbook-xml-4.2nb9 (textproc/docbook-xml) is already installed
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/unzip-5.52nb1.tgz
BULK> Required package zlib-1.2.3 (devel/zlib) is already installed
BULK> Required package xmlcatmgr-2.2 (textproc/xmlcatmgr) is already installed
BULK> Required package libxml2-2.6.19 (textproc/libxml2) is already installed
BULK> Required package libxslt-1.1.14 (textproc/libxslt) is already installed
BULK> Required package perl-5.8.6nb4 (lang/perl58) is already installed
BULK> Required package libgcrypt-1.2.1 (security/libgcrypt) is already installed
BULK> Required package libgpg-error-1.0 (security/libgpg-error) is already installed
BULK> Required package gawk-3.1.4nb2 (lang/gawk) is already installed
BULK> Required package digest-20050323 (pkgtools/digest) is already installed
/usr/pkg/bin/bmake package (xmlto-0.0.18)
===> Checking for vulnerabilities in xmlto-0.0.18
=> Checksum SHA1 OK for xmlto-0.0.18.tar.bz2.
=> Checksum RMD160 OK for xmlto-0.0.18.tar.bz2.
work -> /pkgobj/textproc/xmlto/work
===> Extracting for xmlto-0.0.18
===> Required installed package getopt-[0-9]*: getopt-1.1.3 found
===> Required installed package bash-[0-9]*: bash-3.0pl16nb1 found
===> Required installed package docbook-xsl>=1.67.0nb1: docbook-xsl-1.68.1nb1 found
===> Required installed package libxml2>=2.6.15: libxml2-2.6.19 found
===> Required installed package libxslt>=1.1.10nb1: libxslt-1.1.14 found
===> Required installed package {perl>=5.0,perl-thread>=5.0}: perl-5.8.6nb4 found
===> Required installed package perl>=5.8.5nb6: perl-5.8.6nb4 found
===> Required installed package libgcrypt>=1.2.0nb3: libgcrypt-1.2.1 found
===> Required installed package libgpg-error>=0.6nb2: libgpg-error-1.0 found
===> Required installed package gettext-lib>=0.11.5nb4: gettext-lib-0.11.5nb4 found
===> Required installed package zlib>=1.2.3: zlib-1.2.3 found
===> Required installed package libiconv>=1.9.1nb4: libiconv-1.9.2nb1 found
===> Patching for xmlto-0.0.18
===> Overriding tools for xmlto-0.0.18
===> Creating toolchain wrappers for xmlto-0.0.18
===> Configuring for xmlto-0.0.18
=> Fixing locale directory references.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /usr/ucb/install -c -o root -g root
checking whether build environment is sane... yes
checking for gawk... /usr/bin/nawk
checking whether make sets $(MAKE)... yes
checking for sparc-sun-solaris2-strip... no
checking for strip... strip
checking for sparc-sun-solaris2-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... no
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of cc... none
checking whether cc understands -c and -o together... yes
checking for flex... no
checking for lex... lex
checking for yywrap in -lfl... no
checking for yywrap in -ll... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... no
checking for mktemp program... mktemp
checking for GNU find program... find
checking for bash... bash
checking for getopt program... /usr/pkg/bin/getopt
checking whether getopt handles long options... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating xmlto
config.status: creating xmlto.spec
config.status: creating config.h
config.status: executing depfiles commands
===> Building for xmlto-0.0.18
cd . && /bin/ksh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
/usr/pkg/bin/bmake  all-am
 /bin/ksh ./config.status
config.status: creating Makefile
config.status: creating xmlto
config.status: creating xmlto.spec
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
source='xmlif/xmlif.c' object='xmlif/xmlif.o' libtool=no  depfile='xmlif/.deps/xmlif.Po' tmpdepfile='xmlif/.deps/xmlif.TPo'  depmode=none /bin/ksh ./depcomp  cc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/pkg/include -I/usr/include  -O -I/usr/pkg/include -I/usr/include -c -o xmlif/xmlif.o `test -f 'xmlif/xmlif.c' || echo './'`xmlif/xmlif.c
"xmlif/xmlif.l", line 33: warning: no explicit type given
"xmlif/xmlif.l", line 220: warning: syntax error:  empty declaration
"xmlif/xmlif.l", line 223: warning: old-style declaration or incorrect type for: main
cc  -O -I/usr/pkg/include -I/usr/include  -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o xmlif/xmlif  xmlif/xmlif.o  -lintl -liconv
for xml in xmlif.xml xmlto.xml; do  FORMAT_DIR=./format XSL_DIR=./xsl  bash ./xmlto -o man/man1 man ./doc/$xml ;  done || ( RC=$?; cat ./FAQ; exit $RC )
./xmlto: line 130: mktemp: command not found
./xmlto: line 133: : No such file or directory
./xmlto: line 290: mktemp: command not found
./xmlto: line 130: mktemp: command not found
./xmlto: line 133: : No such file or directory
./xmlto: line 290: mktemp: command not found

Q: I'm trying to build xmlto on my Debian box, but it doesn't work.

A: If you get `Attempt to load network entity' errors when building
   xmlto, your system does not have the required support for XML
   Catalogs
   (http://www.oasis-open.org/committees/entity/spec-2001-08-06.html).
   In particular, Debian has no support for these.  Try the Fedora
   Project .
*** Error code 1

Stop.
bmake: stopped in /pkgobj/textproc/xmlto/work/xmlto-0.0.18
*** Error code 1

Stop.
bmake: stopped in /pkgobj/textproc/xmlto/work/xmlto-0.0.18
*** Error code 1

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

Stop.
bmake: stopped in /usr/pkgsrc/textproc/xmlto

Please view the work log for xmlto-0.0.18


BULK> xmlto-0.0.18 was marked as broken:
-rw-r--r--   1 root     other       9974 Aug  2 03:00 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for xmlto
BULK> Marking all packages which depend upon xmlto-0.0.18 as broken:
BULK> Build for xmlto-0.0.18 was not successful, aborting.