Pierre Labastie wrote:
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,

I did a DESTDIR install and then manually copied the executables and library to /usr. I created the library symlinks by hand. I saved the old catalog first and then restored it. I just sent the old one.

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.

The problem with XML_CATALOG_FILES="" is that it needs to be done every time xmlcatalog is run. That means a change to the boot scripts and two docbook packages too. That's pretty invasive compared to a simple one-line sed.

  -- Bruce

--
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