Created attachment 196609 [details] patch expat2 configure fails with the following error: checking for docbook2x-man... no checking for db2x_docbook2man... no checking for docbook2man... docbook2man configure: error: Your local docbook2man was found to work with SGML rather than XML. Please install docbook2X and use variable DOCBOOK_TO_MAN to point configure to command docbook2x-man of docbook2X. Or use DOCBOOK_TO_MAN="xmlto man --skip-validation" if you have xmlto around. You can also configure using --without-docbook if you can do without a man page for xmlwf. ===> Script "configure" failed unexpectedly. Please report the problem to svysh.fbsd@gmail.com [maintainer] and attach the "/usr/ports/textproc/expat2/work/expat-2.2.6/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** Error code 1 Attached trivial patch to skip XML to man page compilation.
Thank you Carlos for reporting this. But the way you suggest, that is using "--without-docbook" approach, looks like an overkill for me. Please let me think it over. Will be back as soon as possible. Regards, Sergei
By default, expat2 checks if docbook2man is installed. expat2 needs textproc/docbook2X dependency to configure "--with-docbook" but currently textproc/docbook2X register a conflict with textproc/docbook-utils. In this case, you can add a new option for the port to enable it.
Note that the xmlwf (1) manpage is included in the tarball.
Ok, I see. Let us go with "--without-docbook" for now, to cancel the conflict, discovered by yourself. Will investigate "new option" idea or other improvements later, in a more calm environment.
A commit references this bug: Author: cpm Date: Mon Aug 27 23:45:15 UTC 2018 New revision: 478260 URL: https://svnweb.freebsd.org/changeset/ports/478260 Log: textproc/expat2: configure fails when texproc/docbook-utils has been installed - Build --without-docbook to skip XML to man page compilation - Bump PORTREVISION PR: 230957 Submitted by: cpm Approved by: Sergei Vyshenski <svysh.fbsd@gmail.com> (maintainer) Changes: head/textproc/expat2/Makefile
Committed, thanks!