New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #27387 (closed defect: duplicate)

Opened 3 years ago

Last modified 2 years ago

xmlto install failure

Reported by: turk@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: jabronson@…, erik@…
Port: xmlto

Description (last modified by macsforever2000@…) (diff)

  • To Reproduce: 1 sudo port install texlive-luatex
  • Result:
    Error: Target org.macports.build returned: shell command failed (see log for details)
    Error: Failed to install xmlto
    Log for xmlto is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xmlto/main.log
    Error: The following dependencies were not installed: texlive-basic texlive-bin libzzip xmlto openmotif xbitmaps xorg-libXp xorg-printproto poppler openjpeg poppler-data t1lib texlive-common xz texlive-documentation-base
    Error: Status 1 encountered during processing.
    To report a bug, see <http://guide.macports.org/#project.tickets>
    

*Log:

:msg:configure --->  Building xmlto
:debug:build build phase started at Fri Nov 19 11:26:57 PST 2010
:debug:build Executing org.macports.build (xmlto)
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xmlto/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6' XML_CATALOG_FILES='/opt/local/etc/xml/catalog'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xmlto/work/xmlto-0.0.23" && /usr/bin/make -j2 all'
:info:build /usr/bin/make  all-am
:info:build for xml in xmlif.xml xmlto.xml; do \
:info:build 	  FORMAT_DIR=./format \
:info:build 	   /bin/sh ./xmlto -o man/man1 man ./doc/$xml ; \
:info:build 	done || ( RC=$?; exit $RC )
:info:build for xml in xmlif.xml xmlto.xml; do \
:info:build 	  FORMAT_DIR=./format \
:info:build 	   /bin/sh ./xmlto -o man/man1 man ./doc/$xml ; \
:info:build 	done || ( RC=$?; exit $RC )
:info:build I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
:info:build warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
:info:build compilation error: file /tmp/xmlto-xsl.3UR4Vz line 4 element import
:info:build xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
:info:build I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
:info:build warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
:info:build compilation error: file /tmp/xmlto-xsl.MrmYKt line 4 element import
:info:build xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
:info:build I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
:info:build warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
:info:build compilation error: file /tmp/xmlto-xsl.WMhBM9 line 4 element import
:info:build xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
:info:build I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
:info:build warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
:info:build compilation error: file /tmp/xmlto-xsl.L8FyiH line 4 element import
:info:build xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
:info:build make[1]: *** [man/man1/xmlto.1] Error 1
:info:build make[1]: *** Waiting for unfinished jobs....
:info:build make[1]: *** [man/man1/xmlif.1] Error 1
:info:build make: *** [all] Error 2
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xmlto/work/xmlto-0.0.23" && /usr/bin/make -j2 all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for xmlto): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:error:build Failed to install xmlto
:notice:build Log for xmlto is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xmlto/main.log

Attachments

main.log (11.3 KB) - added by turk@… 3 years ago.

Change History

Changed 3 years ago by turk@…

comment:1 Changed 3 years ago by macsforever2000@…

  • Port set to xmlto
  • Description modified (diff)

comment:2 Changed 3 years ago by jmr@…

  • Status changed from new to closed
  • Resolution set to duplicate

Essentially the same as #26151. A port should not be attempting to download anything in the build phase.

comment:3 Changed 2 years ago by jabronson@…

In #26151, the problem turned out to have nothing to do with the port's trying to download something during the build phase; the "I/O error : Attempt to load network entity..." message was triggered by xmlto mistakenly thinking xmlif.xml and xmlto.xml were invalid (see the line

:info:build xmlto: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xmlto/work/xmlto-0.0.23/./doc/xmlif.xml does not validate (status 3)

in 26151#comment:9). The log above does not contain this before it produces the same error message, but the message may again be bogus nonetheless.

comment:4 Changed 2 years ago by jabronson@…

  • Cc jabronson@… added

Cc Me!

comment:5 Changed 2 years ago by erik@…

  • Cc erik@… added

Cc Me!

Note: See TracTickets for help on using tickets.