I'm building aisleriot 3.4.0 (from the tarball), with itstool 1.1.2, and the build ends with:
make: Entering directory `/home/abuild/rpmbuild/BUILD/aisleriot-3.4.0/help'
Traceback (most recent call last):
File "/usr/bin/itstool", line 949, in <module>
doc = Document(filename, messages)
File "/usr/bin/itstool", line 298, in __init__
ctxt = libxml2.createFileParserCtxt(filename)
File "/usr/lib/python2.7/site-packages/libxml2.py", line 1416, in createFileParserCtxt
if ret is None:raise parserError('xmlCreateFileParserCtxt() failed')
libxml2.parserError: xmlCreateFileParserCtxt() failed
make: *** [ca/ca.po] Error 1
make: Leaving directory `/home/abuild/rpmbuild/BUILD/aisleriot-3.4.0/help'
Hrm, actually, this is related to https://bugzilla.gnome.org/show_bug.cgi?id=669572
The tarball doesn't contain the .po files, but just the xml files...
Christian: you might want to roll a new tarball :/
So not a bug in itstool, right? Arguably it should give a helpful error message and return a non-zero exit status, instead of crash with a trace. But itstool can't do much when the po file you reference doesn't exist.
Yes, it's a yelp-tools bug. (And I'm not going to make new tarballs until that's fixed :-) )
(In reply to comment #3)
> So not a bug in itstool, right? Arguably it should give a helpful error message
> and return a non-zero exit status, instead of crash with a trace. But itstool
> can't do much when the po file you reference doesn't exist.
Well, not crashing would be a good first step, yes.
I can file the yelp-tools bug if you want, but I was being lazy since you'd be the one receiving it ;-)