docbook.xsl not found during xmlto install

markd at macports.org markd at macports.org
Wed Nov 14 13:47:13 PST 2007


I think there is a problem with one of xmlto's docbook dependencies, but
I'm not sure what it is.  I retitled the message in hopes someone else
will know the problem.

Mark

Joe Schnide <jschnide at umn.edu> writes:
>I've been trying for many weeks to get a clean port upgrade installed to
>run but there were errors upgrading xmlto.  It was the same running under
>tiger or leopard.  Now I am getting errors when gettext is trying to be
>updated.  I'm not certain what all information is needed to assist in
>troubleshooting the issue.  I've searched the mailing list and FAQs &
>not found anything that seemd to be the same issue.  Below is the most
>recent output from the port upgrade installed command:
>
>--->  Staging xmlto into destroot
>Error: Target org.macports.destroot returned: shell command " cd 
>"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xmlto/work/xmlto-0.0.18"
>
>&& make install XML_CATALOG_FILES=/opt/local/etc/xml/catalog 
>DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xmlto/work/destroot
>
>" returned error 2
>Command output: cannot parse 
>http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
>Variable $SGML_CATALOG_FILES not set
>I/O error : Attempt to load network entity 
>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"
>cannot parse 
>http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
>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 )
>I/O error : Attempt to load network entity 
>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"
>cannot parse 
>http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
>Variable $SGML_CATALOG_FILES not set
>I/O error : Attempt to load network entity 
>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"
>cannot parse 
>http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
>I/O error : Attempt to load network entity 
>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"
>cannot parse 
>http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
>Variable $SGML_CATALOG_FILES not set
>I/O error : Attempt to load network entity 
>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"
>cannot parse 
>http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
>mkdir -p -- . 
>/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xmlto/work/destroot/opt/local/share/man/man1
>  /usr/bin/install -c -m 644 man/man1/xmlto.1 
>/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xmlto/work/destroot/opt/local/share/man/man1/xmlto.1
>install: man/man1/xmlto.1: No such file or directory
>  /usr/bin/install -c -m 644 man/man1/xmlif.1 
>/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xmlto/work/destroot/opt/local/share/man/man1/xmlif.1
>install: man/man1/xmlif.1: No such file or directory
>make[1]: *** [install-man1] Error 71
>make: *** [install-am] Error 2
>
>--->  Building gettext with target all
>Error: Target org.macports.build returned: shell command " cd 
>"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gettext/work/gettext-0.17"
>
>&& make all " returned error 2
>Command output: Making all in tests
>make[3]: Nothing to be done for `all'.
>make[3]: Nothing to be done for `all-am'.
>Making all in gettext-tools
>make  all-recursive
>Making all in doc
>make[3]: Nothing to be done for `all'.
>Making all in intl
>make[3]: Nothing to be done for `all'.
>Making all in gnulib-lib
>make  all-am
>/bin/sh ../libtool --tag=CC   --mode=link gcc -std=gnu99  -O2 
>-release 0.17 ../intl/libintl.la -L/opt/local/lib -liconv 
>-R/opt/local/lib  -Wl,-framework -Wl,CoreFoundation -L/opt/local/lib 
>-liconv -R/opt/local/lib  -lc   -L/opt/local/lib -lglib-2.0 
>-L/opt/local/lib -lintl -L/opt/local/lib -liconv -lc -R/opt/local/lib 
>-L/opt/local/lib -lxml2 -lpthread -L/opt/local/lib -lz 
>-L/opt/local/lib -liconv -lm -R/opt/local/lib -L/opt/local/lib 
>-liconv -R/opt/local/lib -L/opt/local/lib -liconv -R/opt/local/lib 
>-L/opt/local/lib -lncurses -R/opt/local/lib -L/opt/local/lib -o 
>libgettextlib.la -rpath /opt/local/lib areadlink.lo gl_array_list.lo 
>backupfile.lo addext.lo basename.lo c-ctype.lo c-strcasecmp.lo 
>c-strncasecmp.lo c-strcasestr.lo c-strstr.lo classpath.lo 
>clean-temp.lo closeout.lo copy-file.lo csharpcomp.lo csharpexec.lo 
>error-progname.lo execute.lo exitfail.lo fatal-signal.lo 
>fd-ostream.lo file-ostream.lo concat-filename.lo findprog.lo 
>fstrcmp.lo full-write.lo fwriteerror.lo gcd.lo  hash.lo 
>html-ostream.lo html-styled-ostream.lo  javacomp.lo javaexec.lo 
>javaversion.lo linebreak.lo gl_linkedhash_list.lo gl_list.lo 
>localcharset.lo localename.lo lock.lo malloca.lo mbchar.lo mbslen.lo 
>mbsstr.lo mbswidth.lo ostream.lo pipe.lo progname.lo propername.lo 
>quote.lo quotearg.lo sh-quote.lo striconv.lo strnlen1.lo 
>styled-ostream.lo term-ostream.lo term-styled-ostream.lo  tls.lo 
>tmpdir.lo uniname/uniname.lo unistr/u16-mbtouc.lo 
>unistr/u16-mbtouc-aux.lo unistr/u16-mbtouc-unsafe.lo 
>unistr/u16-mbtouc-unsafe-aux.lo unistr/u8-mbtouc.lo 
>unistr/u8-mbtouc-aux.lo unistr/u8-mbtouc-unsafe.lo 
>unistr/u8-mbtouc-unsafe-aux.lo unistr/u8-uctomb.lo 
>unistr/u8-uctomb-aux.lo uniwidth/width.lo wait-process.lo xmalloc.lo 
>xstrdup.lo xerror.lo xmalloca.lo xreadlink.lo xsetenv.lo xstriconv.lo 
>xvasprintf.lo xasprintf.lo acl.lo acl_entries.lo argmatch.lo 
>asnprintf.lo canonicalize-lgpl.lo error.lo file-has-acl.lo 
>getdelim.lo getline.lo getopt.lo getopt1.lo obstack.lo printf-args.lo 
>printf-parse.lo safe-read.lo safe-write.lo stpncpy.lo strnlen.lo 
>tempname.lo vasnprintf.lo wcwidth.lo libcroco_rpl.la
>rm -fr  .libs/libgettextlib.lax
>rm -fr .libs/libgettextlib.lax
>mkdir .libs/libgettextlib.lax
>rm -fr .libs/libgettextlib.lax/libcroco_rpl.a
>mkdir .libs/libgettextlib.lax/libcroco_rpl.a
>Extracting 
>/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gettext/work/gettext-0.17/gettext-tools/gnulib-lib/./.libs/libcroco_rpl.a
>(cd .libs/libgettextlib.lax/libcroco_rpl.a && ar x 
>/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gettext/work/gettext-0.17/gettext-tools/gnulib-lib/./.libs/libcroco_rpl.a)
>gcc -std=gnu99 -dynamiclib ${wl}-flat_namespace ${wl}-undefined 
>${wl}suppress -o .libs/libgettextlib-0.17.dylib  .libs/areadlink.o 
>.libs/gl_array_list.o .libs/backupfile.o .libs/addext.o 
>.libs/basename.o .libs/c-ctype.o .libs/c-strcasecmp.o 
>.libs/c-strncasecmp.o .libs/c-strcasestr.o .libs/c-strstr.o 
>.libs/classpath.o .libs/clean-temp.o .libs/closeout.o 
>.libs/copy-file.o .libs/csharpcomp.o .libs/csharpexec.o 
>.libs/error-progname.o .libs/execute.o .libs/exitfail.o 
>.libs/fatal-signal.o .libs/fd-ostream.o .libs/file-ostream.o 
>.libs/concat-filename.o .libs/findprog.o .libs/fstrcmp.o 
>.libs/full-write.o .libs/fwriteerror.o .libs/gcd.o .libs/hash.o 
>.libs/html-ostream.o .libs/html-styled-ostream.o .libs/javacomp.o 
>.libs/javaexec.o .libs/javaversion.o .libs/linebreak.o 
>.libs/gl_linkedhash_list.o .libs/gl_list.o .libs/localcharset.o 
>.libs/localename.o .libs/lock.o .libs/malloca.o .libs/mbchar.o 
>.libs/mbslen.o .libs/mbsstr.o .libs/mbswidth.o .libs/ostream.o 
>.libs/pipe.o .libs/progname.o .libs/propername.o .libs/quote.o 
>.libs/quotearg.o .libs/sh-quote.o .libs/striconv.o .libs/strnlen1.o 
>.libs/styled-ostream.o .libs/term-ostream.o 
>.libs/term-styled-ostream.o .libs/tls.o .libs/tmpdir.o 
>uniname/.libs/uniname.o unistr/.libs/u16-mbtouc.o 
>unistr/.libs/u16-mbtouc-aux.o unistr/.libs/u16-mbtouc-unsafe.o 
>unistr/.libs/u16-mbtouc-unsafe-aux.o unistr/.libs/u8-mbtouc.o 
>unistr/.libs/u8-mbtouc-aux.o unistr/.libs/u8-mbtouc-unsafe.o 
>unistr/.libs/u8-mbtouc-unsafe-aux.o unistr/.libs/u8-uctomb.o 
>unistr/.libs/u8-uctomb-aux.o uniwidth/.libs/width.o 
>.libs/wait-process.o .libs/xmalloc.o .libs/xstrdup.o .libs/xerror.o 
>.libs/xmalloca.o .libs/xreadlink.o .libs/xsetenv.o .libs/xstriconv.o 
>.libs/xvasprintf.o .libs/xasprintf.o .libs/acl.o .libs/acl_entries.o 
>.libs/argmatch.o .libs/asnprintf.o .libs/canonicalize-lgpl.o 
>.libs/error.o .libs/file-has-acl.o .libs/getdelim.o .libs/getline.o 
>.libs/getopt.o .libs/getopt1.o .libs/obstack.o .libs/printf-args.o 
>.libs/printf-parse.o .libs/safe-read.o .libs/safe-write.o 
>.libs/stpncpy.o .libs/strnlen.o .libs/tempname.o .libs/vasnprintf.o 
>.libs/wcwidth.o 
>.libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-additional-sel.o
>
>.libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-attr-sel.o 
>.libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-cascade.o 
>.libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-declaration.o 
>.libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-doc-handler.o 
>.libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-enc-handler.o 
>.libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-fonts.o 
>.libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-input.o 
>.libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-num.o 
>.libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-om-parser.o 
>.libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-parser.o 
>.libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-parsing-location.o
>
>.libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-prop-list.o 
>.libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-pseudo.o 
>.libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-rgb.o 
>.libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-sel-eng.o 
>.libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-selector.o 
>.libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-simple-sel.o 
>.libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-statement.o 
>.libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-string.o 
>.libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-style.o 
>.libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-stylesheet.o 
>.libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-term.o 
>.libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-tknzr.o 
>.libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-token.o 
>.libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-utils.o 
>../intl/.libs/libintl.dylib -L/opt/local/lib 
>/opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib -lc 
>/opt/local/lib/libxml2.dylib /opt/local/lib/libz.dylib -lpthread -lz 
>-lm /opt/local/lib/libiconv.dylib -lncurses  -Wl,-framework 
>-Wl,CoreFoundation -install_name 
>/opt/local/lib/libgettextlib-0.17.dylib
>ld: warning, duplicate dylib /opt/local/lib/libxml2.2.dylib
>ld: warning, duplicate dylib /opt/local/lib/libz.1.dylib
>ld: duplicate symbol _g_bit_nth_lsf in 
>.libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-additional-sel.o
>
>and .libs/term-styled-ostream.o
>
>collect2: ld returned 1 exit status
>make[4]: *** [libgettextlib.la] Error 1
>make[3]: *** [all] Error 2
>make[2]: *** [all-recursive] Error 1
>make[1]: *** [all] Error 2
>make: *** [all-recursive] Error 1
>
>Error: Unable to upgrade port: 1
>
>Please let me know if I can provide further information.




More information about the macports-users mailing list