Opened 5 years ago
Closed 5 years ago
#59758 closed defect (fixed)
ccache @3.7.6_0: build fails in xsltproc, needs docbook-xsl-nons
Reported by: | schallee (Ed Schaller) | Owned by: | neverpanic (Clemens Lang) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | neverpanic (Clemens Lang) | |
Port: | ccache ccache-devel asciidoc |
Description
Without docbook-xsl-nons installed the build of ccache fails converting MANUAL.xml with xsltproc because the xschema's needed are not available.
As the build command used, a2x from asciidoc @8.6.9_3, generates the error from an internal call to xsltproc this may be a dependency issue in the asciidoc package that only manifested itself for me in ccache.
Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ccache/ccache/work/ccache-3.7.6" && /usr/bin/make -w install DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ccache/ccache/work/destroot DEBUG: system: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ccache/ccache/work/ccache-3.7.6" && /usr/bin/make -w install DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ccache/ccache/work/destroot make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ccache/ccache/work/ccache-ccache-b540b90' A2X doc/ccache.1 a2x: ERROR: "xsltproc" --stringparam callout.graphics 0 --stringparam navig.graphics 0 --stringparam admon.textlabel 1 --stringparam admon.graphics 0 "/opt/local/etc/asciidoc/docbook-xsl/manpage.xsl" "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ccache/ccache/work/ccache-ccache-b540b90/doc/MANUAL.xml" returned non-zero exit status 5 make: *** [doc/ccache.1] Error 1
Running the xsltproc by hand results in:
"xsltproc" --stringparam callout.graphics 0 --stringparam navig.graphics 0 --stringparam admon.textlabel 1 --stringparam admon.graphics 0 "/opt/local/etc/asciidoc/docbook-xsl/manpage.xsl" "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ccache/ccache/work/ccache-ccache-b540b90/doc/MANUAL.xml" warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl" compilation error: file /opt/local/etc/asciidoc/docbook-xsl/manpage.xsl line 12 element import xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
After installing docbook-xsl-nons @1.79.2_0 the build successfuly generates ccache.1 and the install succeeds.
Thanks for all the work on macports!
Change History (3)
comment:1 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | neverpanic added |
---|---|
Keywords: | ccache xsltproc asciidoc docbook-xsl-nons removed |
Port: | ccache ccache-devel asciidoc added |
comment:2 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
This was also suggested in #53943.
comment:3 Changed 5 years ago by neverpanic (Clemens Lang)
Owner: | set to neverpanic |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Clemens, what do you think? Should a runtime dependency on docbook-xsl-nons be added to asciidoc, since it is the asciidoc file /opt/local/etc/asciidoc/docbook-xsl/manpage.xsl (and some of its other files as well) that references the docbook xsl files?