Re: Bug in docbook-xsl-nons-1.79.2

"Pierre Labastie" ([email protected] via alfs-discuss Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.automated
Message-ID <[email protected]>
Le 08/04/2024 à 21:35, "Dungeonseeker" ([email protected] via alfs-discuss
Mailing List) a écrit :
> Hi, just discovered a small oversight in docbook-xsl-nons-1.79.2 specifically
> through ALFS.
> 
> At the end of the configure section it includes an optional section to cover
> old versions but it specifically states this should only be done when
> installing older versions of the package.
> 
> Since the BLFS book only contains docbook-xsl-nons-1.79.2 those instructions
> should be ignored unless deviating from the book however ALFS runs the script
> anyway and leaves docbook-xsl very broken.
> 
> Luckily the manual fix is also easy, just nuke out /etc/xml/docbook and /etc/
> xml/catalog then recreate them using the instructions from  docbook-xsl-nons
> and docbook-xml-4.5..
> 
> Just thought I'd pass it on, ALFS should ignore the following section...
> "xmlcatalog --noout --add "rewriteSystem" \
>            "http://docbook.sourceforge.net/release/xsl/<version>" \
>            "/usr/share/xml/docbook/xsl-stylesheets-<version>" \
>     /etc/xml/catalog &&
> 
> xmlcatalog --noout --add "rewriteURI" \
>            "http://docbook.sourceforge.net/release/xsl/<version>" \
>            "/usr/share/xml/docbook/xsl-stylesheets-<version>" \
>     /etc/xml/catalog"
> 
> from the following page -
> https://www.linuxfromscratch.org/blfs/view/svn/pst/docbook-xsl.html
> 
> Have a great day :)
> 
> 

I think you are wrong: Those instructions are marked "nodump" in the xml, so
they shouldn't be generated in the alfs script... I'll check and come back.

Pierre

-- 
http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.