Le 19/10/2014 09:35, Pierre Labastie a écrit :
> Le 18/10/2014 23:12, Bruce Dubbs a écrit :
> 
>> Pierre,
>>   Can you post your bad copies of /etc/xml/{docbook,catalog} please. I've 
>> been
>> doing some initial checking and the packages that would be affected would be
>> docbook-xml-4.5 and docbook-xsl-1.78.1.
>>
>> I'd like to compare your files to my good ones.  I'll also step through the
>> xmlcatalog commands one at a time to see where the new version and old one
>> differ.  They really shouldn't differ at all.
>>
>> I am attaching my good files for comparison.
>>
>>   -- Bruce
>>
> 
> I do not know how you did the upgrade, but maybe you have hit what I have hit
> when downgrading from 2.9.2 to 2.9.1: the /usr/lib/libxml2.so.2 symink was not
> updated to point to the new version of the library (/usr/lib/libxml2.so.2.9.1
> in my case, and /usr/lib/libxml2.so.2.9.2 in your case).
> 
> I caught sight of that by running xmllint --version.
> 
> But now that Armin has found the faulty commit, I know I was not wrong.
> 
> Instead of applying the patch, another fix is to export XML_CATALOG_FILES=""
> before running xmlcatalog. I prefer that, because even if the libxml2 gets
> fixed, it does not hurt and can remain in the book.
> 
> Pierre
> 

Sigh,

Found another regression with libxml2-2.9.2: try for example, inside the book
sources:
xmllint --noent general/graphlib/freetype2.xml | tee test
and "grep \>tar test". You'll get (one line output):
<screen><userinput>tar -xf ../freetype-doc-.tar.bz2 --strip-components=2 -C
docs</userinput></screen>
instead of the correct:
<screen><userinput>tar -xf ../freetype-doc-2.5.3.tar.bz2 --strip-components=2
-C docs</userinput></screen>

So the entity freetype-doc-version is not understood on this line (it is
understood elsewhere in the file). This comes out OK with libxml2-2.9.1. And
the patch found by Armin does not help.

I'll try to make a simpler test-case and to ask upstream. But I really think
we should revert the libxml2-2.9.2 commit. It looks rather buggy. (leading
edge, not bleeding edge).

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