###
### Wed Aug 10 06:18:47 EDT 2005:
### /usr/pkg/bin/bmake bulk-package for xmlto-0.0.18
### Current pkg count:  11 installed packages: bison-2.0 digest-20050323 flex-2.5.4a gettext-0.11.5nb5 gettext-lib-0.11.5nb4 gettext-m4-0.11.5 gtexinfo-4.8 libiconv-1.9.2nb1 libtool-base-1.5.18nb3 m4-1.4.3 pkg_install-info-4.5nb3
###
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.52nb2
===> 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.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r flex-2.5.4a
BULK> xmlto-0.0.18 requires installed package libtool-base-1.5.18nb3 (devel/libtool-base) to build.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r m4-1.4.3
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r gettext-m4-0.11.5
Executing `/usr/bin/rmdir /usr/pkg/share/gettext 2>/dev/null || /usr/bin/true'
BULK> xmlto-0.0.18 requires installed package gtexinfo-4.8 (devel/gtexinfo) to build.
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>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/gmake-3.80nb4.tgz
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> Required package gtexinfo-4.8 (devel/gtexinfo) is already installed
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
===========================================================================
Installing files needed by xmlcatmgr-2.2:

	/usr/pkg/etc/sgml/catalog
	    [/usr/pkg/share/examples/xmlcatmgr/catalog.etc.sgml]

	/usr/pkg/etc/xml/catalog
	    [/usr/pkg/share/examples/xmlcatmgr/catalog.etc.xml]

	/usr/pkg/share/sgml/catalog
	    [/usr/pkg/share/examples/xmlcatmgr/catalog.share.sgml]

	/usr/pkg/share/xml/catalog
	    [/usr/pkg/share/examples/xmlcatmgr/catalog.share.xml]

===========================================================================

===========================================================================
$NetBSD: MESSAGE,v 1.5 2004/01/23 17:12:16 jmmv Exp $

The following catalogs have been installed:

	* /usr/pkg/etc/sgml/catalog
	  System wide SGML catalog.  Can be edited by the administrator and
	  is not changed by packages.  This is the *default* catalog when
	  working in SGML mode.

	* /usr/pkg/etc/xml/catalog
	  System wide XML catalog.  Can be edited by the administrator and
	  is not changed by packages.  This is the *default* catalog when
	  working in XML mode.

	* /usr/pkg/share/sgml/catalog
	  Handles SGML stuff installed under /usr/pkg/share/sgml.
	  Automatically handled by packages.

	* /usr/pkg/share/xml/catalog
	  Handles XML stuff installed under /usr/pkg/share/xml.
	  Automatically handled by packages.

===========================================================================

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.52nb2.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>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/libxml2-2.6.19.tgz
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/libxslt-1.1.14.tgz
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/perl-5.8.6nb4.tgz

===========================================================================
$NetBSD: MESSAGE,v 1.1 2004/01/08 19:18:00 jlam Exp $

perl-5.8.6nb4 will use the following directory as the default
location of the site-specific Perl modules:

	/usr/pkg/lib/perl5/site_perl/5.8.6

===========================================================================

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>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/gawk-3.1.4nb2.tgz
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      11253 Aug 10 06:22 .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.