Pierre Labastie wrote:
On 13/09/2015 21:51, Bruce Dubbs wrote:
FYI

I ran into a problem when generating the nochunks version of the book. The
xsltproc instruction in the Makefile was producing about 50 "errors"  like:

element a: validity error : ID version-check already defined

However the nochunks version was being produced properly.

I traced this down to:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766884

which led me to

https://bugzilla.gnome.org/show_bug.cgi?id=737840

At the end of that message is a commit that I have reduced to:

sed -i "/The id is/{N;
                     a if (ctxt != NULL)
                    }" valid.c

Rebuilding and checking the generation of the book seems to fix the problem.

It seems that the problem has been around for almost a year, yet the fix
wasn't made until 3 days ago.  We hadn't seen it because no one has been
building the nochunks version of the book and higgs had version 2.9.1 of
libxml.  A user on the lists had pointed out a minor problem in the normal
chunked version of the book that I traced to version 2.9.1, so I upgraded and
found this problem.

Hopefully everything is fixed for now (after I add the above sed), but please
keep an eye out for potential additional problems.

   -- Bruce
Actually, I saw that when making the pdf book, because I typed "make all". But
since I was not interested in the no-chunks book, I did not investigate.

Does it mean we should include this sed in the BLFS book?

Yes,  I'm test building the book now and will commit in a few minutes.

  -- Bruce


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

Reply via email to