On Mon, Oct 23, 2017 at 09:19:21PM +0200, Michael Ströder wrote:
Jakub Hrozek wrote:
On Mon, Oct 23, 2017 at 08:46:08PM +0200, Michael Ströder wrote:
Has anything changed with building the man pages?
I'm asking because I now get formatting markup in the output of man (see below).
No, not that I'm aware of. You render the man pages locally, right, because the tarball only contains the XML sources?
I'm looking at the man pages generated by the RPM build on openSUSE build server which IIRC used to work up to sssd release 1.15.2:
https://build.opensuse.org/package/view_file/home:stroeder:branches:network:...
Ciao, Michael.
Nothing changed there for a long time.. If you build the last-known-good (so, 1.15.2) tarball in exactly the same build root, the man pages are rendered fine?
Jakub Hrozek wrote:
On Mon, Oct 23, 2017 at 09:19:21PM +0200, Michael Ströder wrote:
Jakub Hrozek wrote:
On Mon, Oct 23, 2017 at 08:46:08PM +0200, Michael Ströder wrote:
Has anything changed with building the man pages?
I'm asking because I now get formatting markup in the output of man (see below).
No, not that I'm aware of. You render the man pages locally, right, because the tarball only contains the XML sources?
I'm looking at the man pages generated by the RPM build on openSUSE build server which IIRC used to work up to sssd release 1.15.2:
https://build.opensuse.org/package/view_file/home:stroeder:branches:network:...
Nothing changed there for a long time.. If you build the last-known-good (so, 1.15.2) tarball in exactly the same build root, the man pages are rendered fine?
Ummpf! It seems that the man pages were broken recently even for the 1.15.2 builds.
Any hints which man build tools to check? Related build dependencies seem to be:
BuildRequires: docbook-xsl-stylesheets BuildRequires: libxml2-tools BuildRequires: libxslt-tools
Ciao, Michael.
On Mon, Oct 23, 2017 at 09:33:11PM +0200, Michael Ströder wrote:
Jakub Hrozek wrote:
On Mon, Oct 23, 2017 at 09:19:21PM +0200, Michael Ströder wrote:
Jakub Hrozek wrote:
On Mon, Oct 23, 2017 at 08:46:08PM +0200, Michael Ströder wrote:
Has anything changed with building the man pages?
I'm asking because I now get formatting markup in the output of man (see below).
No, not that I'm aware of. You render the man pages locally, right, because the tarball only contains the XML sources?
I'm looking at the man pages generated by the RPM build on openSUSE build server which IIRC used to work up to sssd release 1.15.2:
https://build.opensuse.org/package/view_file/home:stroeder:branches:network:...
Nothing changed there for a long time.. If you build the last-known-good (so, 1.15.2) tarball in exactly the same build root, the man pages are rendered fine?
Ummpf! It seems that the man pages were broken recently even for the 1.15.2 builds.
Any hints which man build tools to check? Related build dependencies seem to be:
BuildRequires: docbook-xsl-stylesheets BuildRequires: libxml2-tools BuildRequires: libxslt-tools
Right, you should be able to build the man page from the command line by calling e.g.:
/usr/bin/xsltproc -o sssd.8 --catalogs --xinclude --nonet --stringparam profile.condition "with_false;with_sudo;with_autofs;with_ssh;with_pac_responder;with_ifp;gpo_default_enforcing;with_secrets;have_systemd;no_enable_files_domain;with_kcm" http://docbook.sourceforge.net/release/xsl/current/manpages/profile-docbook.... /home/remote/jhrozek/devel/sssd/src/man/sssd.8.xml
(Sorry for the super-long line, I just copied it from buildroot on my laptop..)
I'd try if going back to either an older OpenSuse buildroot or an older sssd tarball makes any difference..
(limited this to sssd-devel)
Jakub Hrozek wrote:
On Mon, Oct 23, 2017 at 09:33:11PM +0200, Michael Ströder wrote:
Jakub Hrozek wrote:
On Mon, Oct 23, 2017 at 09:19:21PM +0200, Michael Ströder wrote:
BuildRequires: docbook-xsl-stylesheets BuildRequires: libxml2-tools BuildRequires: libxslt-tools
Right, you should be able to build the man page from the command line by calling e.g.:
/usr/bin/xsltproc -o sssd.8 --catalogs --xinclude --nonet --stringparam profile.condition "with_false;with_sudo;with_autofs;with_ssh;with_pac_responder;with_ifp;gpo_default_enforcing;with_secrets;have_systemd;no_enable_files_domain;with_kcm" http://docbook.sourceforge.net/release/xsl/current/manpages/profile-docbook.... /home/remote/jhrozek/devel/sssd/src/man/sssd.8.xml
(Sorry for the super-long line, I just copied it from buildroot on my laptop..)
I'd try if going back to either an older OpenSuse buildroot or an older sssd tarball makes any difference..
This shows that there is something wrong with docbook-xsl-1.79.2 even with two openSUSE patch files disabled in my local builds.
Which versions of XML/XSLT/docbook packages are you using?
Ciao, Michael.
On (25/10/17 13:07), Michael Ströder wrote:
(limited this to sssd-devel)
Jakub Hrozek wrote:
On Mon, Oct 23, 2017 at 09:33:11PM +0200, Michael Ströder wrote:
Jakub Hrozek wrote:
On Mon, Oct 23, 2017 at 09:19:21PM +0200, Michael Ströder wrote:
BuildRequires: docbook-xsl-stylesheets BuildRequires: libxml2-tools BuildRequires: libxslt-tools
Right, you should be able to build the man page from the command line by calling e.g.:
/usr/bin/xsltproc -o sssd.8 --catalogs --xinclude --nonet --stringparam profile.condition "with_false;with_sudo;with_autofs;with_ssh;with_pac_responder;with_ifp;gpo_default_enforcing;with_secrets;have_systemd;no_enable_files_domain;with_kcm" http://docbook.sourceforge.net/release/xsl/current/manpages/profile-docbook.... /home/remote/jhrozek/devel/sssd/src/man/sssd.8.xml
(Sorry for the super-long line, I just copied it from buildroot on my laptop..)
I'd try if going back to either an older OpenSuse buildroot or an older sssd tarball makes any difference..
This shows that there is something wrong with docbook-xsl-1.79.2 even with two openSUSE patch files disabled in my local builds.
Which versions of XML/XSLT/docbook packages are you using?
docbook-style-xsl-1.79.2-5
But it might work on fedora due to following patch https://src.fedoraproject.org/rpms/docbook-style-xsl/c/6391185bf3cb096561d8f...
But build would fail based on https://bugzilla.redhat.com/show_bug.cgi?id=1409587
LS
Lukas Slebodnik wrote:
On (25/10/17 13:07), Michael Ströder wrote:
Which versions of XML/XSLT/docbook packages are you using?
docbook-style-xsl-1.79.2-5
But it might work on fedora due to following patch https://src.fedoraproject.org/rpms/docbook-style-xsl/c/6391185bf3cb096561d8f...
I will check that.
But build would fail based on https://bugzilla.redhat.com/show_bug.cgi?id=1409587
Hmm, man page build seems to work (see generated result attached).
But I forgot to mention these two messages in the build output:
Variable $SGML_CATALOG_FILES not set Note: namesp. add : added namespace before processing SSSD Manual pages
Does that ring any bell? (I have to admit I know next to nothing in this field.)
Ciao, Michael.
On Wed, Oct 25, 2017 at 02:06:08PM +0200, Michael Ströder wrote:
Lukas Slebodnik wrote:
On (25/10/17 13:07), Michael Ströder wrote:
Which versions of XML/XSLT/docbook packages are you using?
docbook-style-xsl-1.79.2-5
But it might work on fedora due to following patch https://src.fedoraproject.org/rpms/docbook-style-xsl/c/6391185bf3cb096561d8f...
I will check that.
But build would fail based on https://bugzilla.redhat.com/show_bug.cgi?id=1409587
Hmm, man page build seems to work (see generated result attached).
But I forgot to mention these two messages in the build output:
Variable $SGML_CATALOG_FILES not set Note: namesp. add : added namespace before processing SSSD Manual pages
Does that ring any bell? (I have to admit I know next to nothing in this field.)
It's been literally years since I was poking at this part of the build system, but we seem to be exporting the SGML_CATALOG_FILES explicitly in the man Makefile.am: 53 export SGML_CATALOG_FILES
And we always substitute this variable for either the value passed with "--with-xml-catalog-path=PATH" during configure or, if that is unset, we pass /etc/xml/catalog as a sensible default.
So I'm actually not sure how can the variable be unset..
But IIRC the docbook tools are smart enough to find the catalog on their own.
On (23/10/17 21:33), Michael Ströder wrote:
Jakub Hrozek wrote:
On Mon, Oct 23, 2017 at 09:19:21PM +0200, Michael Ströder wrote:
Jakub Hrozek wrote:
On Mon, Oct 23, 2017 at 08:46:08PM +0200, Michael Ströder wrote:
Has anything changed with building the man pages?
I'm asking because I now get formatting markup in the output of man (see below).
No, not that I'm aware of. You render the man pages locally, right, because the tarball only contains the XML sources?
I'm looking at the man pages generated by the RPM build on openSUSE build server which IIRC used to work up to sssd release 1.15.2:
https://build.opensuse.org/package/view_file/home:stroeder:branches:network:...
Nothing changed there for a long time.. If you build the last-known-good (so, 1.15.2) tarball in exactly the same build root, the man pages are rendered fine?
Ummpf! It seems that the man pages were broken recently even for the 1.15.2 builds.
Any hints which man build tools to check? Related build dependencies seem to be:
BuildRequires: docbook-xsl-stylesheets BuildRequires: libxml2-tools BuildRequires: libxslt-tools
Hello,
have you found the bug? Because I've just tried with latest openSUSE Tumbleweed and it is still broken.
Does it work on openSUSE Leap?
LS
sssd-devel@lists.fedorahosted.org