Bug 47905 - Crash when building aisleriot 3.4.0
Summary: Crash when building aisleriot 3.4.0
Status: NEW
Alias: None
Product: ITS Tool
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Shaun McCance
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-26 08:10 UTC by Vincent Untz
Modified: 2012-03-26 09:31 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Vincent Untz 2012-03-26 08:10:09 UTC
I'm building aisleriot 3.4.0 (from the tarball), with itstool 1.1.2, and the build ends with:

make[2]: Entering directory `/home/abuild/rpmbuild/BUILD/aisleriot-3.4.0/help'
  GEN    ca/ca.po
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[2]: *** [ca/ca.po] Error 1
make[2]: Leaving directory `/home/abuild/rpmbuild/BUILD/aisleriot-3.4.0/help'
Comment 1 Vincent Untz 2012-03-26 08:12:34 UTC
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...
Comment 2 Vincent Untz 2012-03-26 08:13:08 UTC
Christian: you might want to roll a new tarball :/
Comment 3 Shaun McCance 2012-03-26 09:07:45 UTC
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.
Comment 4 Christian Persch (GNOME) 2012-03-26 09:15:41 UTC
Yes, it's a yelp-tools bug. (And I'm not going to make new tarballs until that's fixed :-) )
Comment 5 Vincent Untz 2012-03-26 09:31:12 UTC
(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 ;-)


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.