Opened 8 years ago
Closed 5 years ago
#53943 closed defect (fixed)
cvs-fast-export & asciidoc: build error due to missing DTDs
Reported by: | mojca (Mojca Miklavec) | Owned by: | neverpanic (Clemens Lang) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | cvs-fast-export asciidoc |
Description
See build logs:
/opt/local/bin/a2x --doctype manpage --format manpage cvs-fast-export.asc 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_bblocal_var_buildworker_ports_build_ports_devel_cvs-fast-export/cvs-fast-export/work/cvs-fast-export-1.43/cvs-fast-export.xml" returned non-zero exit status 5
It builds fine for me, but probably because I have more packages installed.
See some upstream report:
And many other similar issues all around the web:
- https://github.com/mawww/kakoune/issues/939
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=642717
The upstream report says:
I think your main problem is that the DocBook DTDs aren't installed on your system.
I suspect I saw this error earlier and most probably has to do with one DocBook DTD being installed and later removed. I forgot the details, but I believe an entry with previously installed files stays in some configuration file and then fails.
While I could add more build dependencies to cvs-fast-export, it seems strange to have a defunct a2x
on the server. Either asciidoc needs more dependencies or we need a more careful cleanup after a package gets removed.
I can try to figure out more details later, but I wanted to open this ticket before I forget about it (and get bitten again at next update).
Change History (6)
comment:1 Changed 8 years ago by mojca (Mojca Miklavec)
Summary: | cvs-fast-export & asciidoc: build error → cvs-fast-export & asciidoc: build error due to missing DTDs |
---|
comment:2 Changed 8 years ago by neverpanic (Clemens Lang)
comment:3 Changed 8 years ago by mojca (Mojca Miklavec)
comment:4 Changed 8 years ago by mojca (Mojca Miklavec)
I have a problem reliably reproducing this on my machine (short of deactivating everything), so I blindly added another build dependency, let's see what happens.
comment:5 Changed 8 years ago by mojca (Mojca Miklavec)
Apparently the package was built successfully after adding a build dependency on docbook-xsl
. Note that the build worked on 10.5 and 10.8 for example (#52388). I suspect that was because another package has never been activated previously.
But it makes more sense to change asciidoc than cvs-fast-export.
comment:6 Changed 5 years ago by neverpanic (Clemens Lang)
Resolution: | → fixed |
---|---|
Status: | new → closed |
asciidoc would probably have to depend on the docbook-* ports, in particular docbook-xsl, for this to disappear. Can you try whether installing docbook-xsl solves this?