It's broken again

A new git ( arrived and I thought I should create RPM’s for this again.

This turned out to be rather tedious and frustrating.


rpmbuild -ba git.spec

as usual gave me this error

I/O error : Attempt to load network entity
/home/tonk/rpmbuild/BUILD/git- warning:     \
failed to load external entity ""

Hmm, never seen that one before. Digging around in the Makefile and adding a lot of echos to display some debugging info, I found it.

I recently upgraded to CentOS 5.4 and now it turns out that CentOS breaks things. In the file /etc/asciidoc/docbook.conf it says:

<!DOCTYPE {doctype-article?article}{doctype-book?book}{doctype-manpage?refentry} PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "">

… and that’s wrong. There is no file for version 4.5. I didn’t feel like finding out how to repair all these packages and the “dependency hell” involved. I just didn’t have the stomach for it, right now (not at 01:30 AM).

So, no nice repairs, but I just changed the above line to:

<!DOCTYPE {doctype-article?article}{doctype-book?book}{doctype-manpage?refentry} PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "">

(See the subtle difference between the two, 4.5 versus 4.2)

Now it all works, although I still do not know which package really breaks things.

If I ever find out I will let you know.


See also