pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/41234: textproc/xmlto fails to build



>Number:         41234
>Category:       pkg
>Synopsis:       textproc/xmlto fails to build
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 16 19:55:00 +0000 2009
>Originator:     Oliver V. Gould
>Release:        NetBSD 4.99.64
>Organization:
NetBSD
>Environment:
System: NetBSD gray.olix0r.net 4.99.64 NetBSD 4.99.64 (GENERIC) #0: Tue Jun 3 
15:09:02 PDT 2008 
root%isla.olix0r.net@localhost:/usr/src/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
textproc/xmlto is needed to build e.g. meta-pkgs/netbsd-www

=> Bootstrap dependency digest>=20010302: found digest-20070803
===> Checking for vulnerabilities in xmlto-0.0.21nb1
=> Checksum SHA1 OK for xmlto-0.0.21.tar.bz2
=> Checksum RMD160 OK for xmlto-0.0.21.tar.bz2
===> Installing dependencies for xmlto-0.0.21nb1
=> Full dependency getopt-[0-9]*: found getopt-1.1.4
=> Full dependency docbook-xsl>=1.67.0nb1: found docbook-xsl-1.74.0nb1
=> Full dependency libxml2>=2.6.2: found libxml2-2.6.30
=> Full dependency bash-[0-9]*: found bash-3.2.33
=> Full dependency libxslt>=1.1.15nb1: found libxslt-1.1.24nb1
===> Overriding tools for xmlto-0.0.21nb1
===> Extracting for xmlto-0.0.21nb1
===> Patching for xmlto-0.0.21nb1
=> Applying pkgsrc patches for xmlto-0.0.21nb1
===> Creating toolchain wrappers for xmlto-0.0.21nb1
===> Configuring for xmlto-0.0.21nb1
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Replacing bash interpreter in xmlif/test/run-test.
=> 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/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking for i386--netbsdelf-strip... no
checking for strip... strip
checking for i386--netbsdelf-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 ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking whether cc understands -c and -o together... yes
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for mktemp program... mktemp
checking for GNU find program... find
checking for bash... /usr/pkg/bin/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: WARNING:  xmlto.in seems to ignore the --datarootdir setting
config.status: creating xmlto.spec
config.status: creating config.h
config.status: executing depfiles commands
===> Building for xmlto-0.0.21nb1
/usr/bin/make  all-am
depbase=`echo xmlif/xmlif.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc 
-DHAVE_CONFIG_H -I.    -I/usr/pkg/include -I/usr/include  -O2 
-I/usr/pkg/include -I/usr/include -MT xmlif/xmlif.o -MD -MP -MF $depbase.Tpo -c 
-o xmlif/xmlif.o xmlif/xmlif.c && mv -f $depbase.Tpo $depbase.Po
cc  -O2 -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  
for xml in xmlif.xml xmlto.xml; do  FORMAT_DIR=./format  /usr/pkg/bin/bash 
./xmlto -o man/man1 man ./doc/$xml ;  done || ( RC=$?; cat ./FAQ; exit $RC )
warning: failed to load external entity 
"http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl";
compilation error: file /tmp/xmlto-xsl.27703a line 4 element import
xsl:import : unable to load 
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
warning: failed to load external entity 
"http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl";
compilation error: file /tmp/xmlto-xsl.15726a line 4 element import
xsl:import : unable to load 
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl

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 <http://fedoraproject.org>.
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/textproc/xmlto/work/xmlto-0.0.21
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/textproc/xmlto/work/xmlto-0.0.21
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/textproc/xmlto
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/textproc/xmlto
>How-To-Repeat:
cd /usr/pkgsrc/textproc && make
>Fix:



Home | Main Index | Thread Index | Old Index