On 23/03/2019 08:10, Armin K. via blfs-dev wrote:
> On 22.3.2019. 00:04, Douglas R. Reno via blfs-dev wrote:
>>
>> On 3/21/19 5:59 PM, Ken Moffat via blfs-dev wrote:
>>> colord reports:
>>>
>>> Program xsltproc found: YES (/usr/bin/xsltproc)
>>>
>>> man/meson.build:6:2: ERROR: Problem encountered: Cannot build man
>>> pages without docbook-xsl-ns
>>>
>>> But I have ALL of the docbook packages (and they haven't changed
>>> since 8.4, have they ?).
>>>
>>> For the moment, going with the book's -Dman=false, but thinking
>>> seriously about giving up.
>>>
>>> ĸen
>>
>> It's looking for Namespaced versions, and we install non-namespaced
>> versions now. I'd just use -Dman=false ...
>>
>> I'll go expand the command explanation
>>
> 
> Ran into it yesterday, fix is quite simple:
> 
> In the following paragraph
> 
> xmlcatalog --noout --add "rewriteSystem" \
>            "https://cdn.docbook.org/release/xsl-nons/current"; \
>            "/usr/share/xml/docbook/xsl-stylesheets-nons-1.79.2" \
>     /etc/xml/catalog &&
> 
> xmlcatalog --noout --add "rewriteURI" \
>            "https://cdn.docbook.org/release/xsl-nons/current"; \
>            "/usr/share/xml/docbook/xsl-stylesheets-nons-1.79.2" \
>     /etc/xml/catalog &&
> 
> Replace xsl-nons in two urls with xsl-ns. The xsl/current points to
> no-ns version since forever, so you should have xsl-ns/current for
> namespaced.

Hmm, you sure?
I tried accessing https://cdn.docbook.org/release/xsl-ns/current, and I got
"page not found". While https://cdn.docbook.org/release/xsl-nons/current finds
something.

I think they changed that between 1.79.1 and 1.79.2... Note that what you say
is true for http://docbook.sourceforge.net/release/, but it has only 1.79.1
and lower. This is what colord seeks.

We now do have the non namespaced version in BLFS. I'm not sure we can fake
having the namespaced one, by adding some liar entries in the xml catalog...

Maybe, we could just remove the --nonet from the xsltproc commands in
man/meson.build. Then man page generation would entail some network access,
but my guess is that it would build (not tried).

We could also install the namespaced versions, with the appropriate xml
catalog entries... Depends on how many packages need the namespaces, but this
number is likely to increase in the future.

Pierre
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to