Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Jan 2022 23:22:09 +0100
From:      David Marec <david@lapinbilly.eu>
To:        freebsd-ports@freebsd.org
Subject:   sysutils/tracker3 build failure, due to asciidoc xsl pages relocation
Message-ID:  <ce8fd336-afaa-6e71-2e4b-6774b25f3cf9@lapinbilly.eu>

next in thread | raw e-mail | index | archive | help
Since the last asciidoc upgrade, sysutils/trackers3 build raises the 
following error:

[  1% 11/232] /usr/local/bin/xsltproc --output 
docs/manpages/tracker3-endpoint.1 --stringparam 
man.authors.section.enabled 0 
/usr/local/etc/asciidoc/docbook-xsl/manpage.xsl 
docs/manpages/tracker3-endpoint.1.xml
FAILED: docs/manpages/tracker3-endpoint.1


xsltproc failed because the file 'manpage.xsl' is now located elsewhere:

david:~>cat 
/usr/ports/sysutils/tracker3/files/patch-docs_manpages_meson.build
--- docs/manpages/meson.build.orig    2021-06-11 22:30:57 UTC
+++ docs/manpages/meson.build
@@ -32,7 +32,7 @@ foreach m : manpages
      command: [xsltproc,
                '--output', '@OUTPUT@',
                '--stringparam', 'man.authors.section.enabled', '0',
-              '/etc/asciidoc/docbook-xsl/manpage.xsl', '@INPUT@'],
+ 
'/usr/local/lib/python3.8/site-packages/asciidoc/resources/docbook-xsl/manpage.xsl', 
'@INPUT@'],
      input: xml,
      output: manpage,
      install: true,

- The new asciidoc port miss the pkg-plist file.  -


Patching the port that way solved the issue.  But it sounds that this 
case also involves a more general problem.

How did the other ports that also call asciidoc against xsl files 
handled this problem ?


regards.

-- 

David Marec
http://wiki.fug-fr.org/doku.php?id=start

-- 
David Marec
http://wiki.fug-fr.org/doku.php?id=start




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ce8fd336-afaa-6e71-2e4b-6774b25f3cf9>