FS#62151 - [mkvtoolnix-cli] broken man pages
Attached to Project:
Arch Linux
Opened by Adam Fontenot (amfontenot) - Wednesday, 27 March 2019, 01:21 GMT
Last edited by Maxime Gauduin (Alucryd) - Saturday, 18 January 2020, 14:04 GMT
Opened by Adam Fontenot (amfontenot) - Wednesday, 27 March 2019, 01:21 GMT
Last edited by Maxime Gauduin (Alucryd) - Saturday, 18 January 2020, 14:04 GMT
|
Details
Description:
Mkvtoolnix builds its man pages from the older Docbook 4.5 format instead of 5.0. xsltproc is building the manpages using the regular docbook.xsl, but it needs to use the -nons docbook.xsl from the docbook-xsl package instead. Additional info: * mkvtoolnix-cli 32.0.0-1 * docbook-xsl 1.79.2-5 Steps to reproduce: Try `man mkvmerge` on a system with mkvtoolnix-cli installed and observe that it isn't processed correctly - macros are left visible, etc. Rebuilding with this addition to ./configure solves the problem for me: --with-docbook-xsl-root=$(ls -d /usr/share/xml/docbook/xsl-stylesheets-*-nons) Incidentally I can't build the package with gtest installed, but I assume that's an upstream problem with the tests not building properly. |
This task depends upon
Closed by Maxime Gauduin (Alucryd)
Saturday, 18 January 2020, 14:04 GMT
Reason for closing: Fixed
Additional comments about closing: 42.0.0-2
Saturday, 18 January 2020, 14:04 GMT
Reason for closing: Fixed
Additional comments about closing: 42.0.0-2
> Incidentally I can't build the package with gtest installed, but I assume that's an upstream problem with the tests not building properly.
My primary development platform is Arch, and I do have gtest installed all the time — MKVToolNix builds just fine with it. However, this isn't the right place to discuss this particular build error. Would you mind opening an issue for that over on Gitlab[1]? Please include configure.log, the output of "grep -i test build-config" and the actual error. Thanks!
[1] https://gitlab.com/mbunkus/mkvtoolnix/issues/
I'll see that configure auto-detects and prioritizes the -nons variant. Until then adding the configure parameter as suggested is the proper workaround.
Even more important is that the need for two `configure` runs (one with Qt enabled, one with it disabled) isn't there anymore. Nowadays MKVToolNix' CLI programs are always built without linking against Qt, even if Qt is enabled in general and the GUI is built. That's been the case since mkvinfo's GUI component was moved over to MKVToolNix GUI.
I'll attach a new PKGBUILD that does a single `configure` & `rake` run, leaving the two installation functions to do the work required for separating the files into the corresponding packages. The file builds fine for both Adam and me.
[1] https://gitlab.com/mbunkus/mkvtoolnix/issues/2540
• `build()` only runs `configure` and `rake` once, with Qt enabled
• `package_mkvtoolnix-cli()` doesn't have to handle mkvinfo specially anymore.
Yes it's expected because @alucryd and @voidnull haven't fixed the PKGBUILD yet.
Edit: sorry, you're referring to the man issue, not the other one that got worked on in this bug report. I'm not sure what's going on. I'll look into it.
Basically the only thing the package maintainers should need to do in order to fix this issue is bump to MKVToolNix v34.