[blfs-dev] itstool

Bruce Dubbs bruce.dubbs at gmail.com
Sun Dec 3 07:58:28 PST 2017

Pierre Labastie wrote:
> On 03/12/2017 02:30, Bruce Dubbs wrote:
>> I think we have a problem with itstool.  I was trying to build gnumeric
>> and itstool gives a segfault.  I can work around the problem by
>> disabling the generation of non-english docs:
>> sed -i '/^HELP_LINGUAS/d' docs/Makefile.in
>> but that is a hack to gnumeric for a problem with itstool.   A program
>> should never segfault no matter what the input is.  I'll note that we
>> have had problems with itstool before.
>> My question is whether we should revert to an earlier version of itstool
>> and if so, which one.  It could be the latest before the 2.x versions,
>> itstool-1.2.0.  Or perhaps version 2.0.2 that still uses python2.
>> Or I can add my hack to the gnumeric page.
>> Which way should we go?
> There are (were) two reasons for the segfault in itstool when building
> gnumeric: one in itstool itself, which was fixed by the patch on itstool
> page, and another one in libxml2, fixed by the patch now on the libxml2
> page... Have you recompiled libxml2 with the patch?
> See
> http://lists.linuxfromscratch.org/pipermail/blfs-dev/2017-November/033713.html

Thank you!  I did have the patch to itstool, but I had not updated libxml2 
to version 2.9.7 and did not have the patch for that.  Rebuilding solved 
the gnumeric problem.

   -- Bruce

More information about the blfs-dev mailing list