Subject: bug#19332: atk fails to build

From: Mark H Weaver <[email-masked]>
Date: Tue, 09 Dec 2014 22:12:33 -0500

atk fails to build.  See:

  http://hydra.gnu.org/build/172242

The problem was introduced between 427476d (works) and 5a4753a (fails),
probably one of these two commits:

5a4753a * gnu: gobject-introspection: Define search path for typelib files.
6671724 * gnu: gobject-introspection: Update to 1.42.0 and add new patch.

Here's the relevant section of build output:

--8<---------------cut here---------------start------------->8---
  GISCAN   Atk-1.0.gir
atkdocument.c:212: Warning: Atk: GObject-Introspection specific GTK-Doc tag "Virtual" has been deprecated, please use annotations on the identifier instead:
 * Virtual: get_document_locale
   ^
atkdocument.c:246: Warning: Atk: GObject-Introspection specific GTK-Doc tag "Virtual" has been deprecated, please use annotations on the identifier instead:
 * Virtual: get_document_attributes
   ^
atkdocument.c:278: Warning: Atk: GObject-Introspection specific GTK-Doc tag "Virtual" has been deprecated, please use annotations on the identifier instead:
 * Virtual: get_document_attribute_value
   ^
atkdocument.c:312: Warning: Atk: GObject-Introspection specific GTK-Doc tag "Virtual" has been deprecated, please use annotations on the identifier instead:
 * Virtual: set_document_attribute
   ^
atkhyperlink.c:346: Error: Atk: invalid comment text:
a *
^
atktext.c:1093: Warning: Atk: GObject-Introspection specific GTK-Doc tag "Virtual" has been deprecated, please use annotations on the identifier instead:
 * Virtual: get_bounded_ranges
   ^
Traceback (most recent call last):
  File "/gnu/store/fk7cy8wyp4mk6vgmnz9hz15bp3q2m6lr-gobject-introspection-1.42.0/bin/g-ir-scanner", line 55, in <module>
    sys.exit(scanner_main(sys.argv))
  File "/gnu/store/fk7cy8wyp4mk6vgmnz9hz15bp3q2m6lr-gobject-introspection-1.42.0/lib/gobject-introspection/giscanner/scannermain.py", line 526, in scanner_main
    shlibs = create_binary(transformer, options, args)
  File "/gnu/store/fk7cy8wyp4mk6vgmnz9hz15bp3q2m6lr-gobject-introspection-1.42.0/lib/gobject-introspection/giscanner/scannermain.py", line 406, in create_binary
    gdump_parser.get_error_quark_functions())
  File "/gnu/store/fk7cy8wyp4mk6vgmnz9hz15bp3q2m6lr-gobject-introspection-1.42.0/lib/gobject-introspection/giscanner/dumper.py", line 338, in compile_introspection_binary
    return dc.run()
  File "/gnu/store/fk7cy8wyp4mk6vgmnz9hz15bp3q2m6lr-gobject-introspection-1.42.0/lib/gobject-introspection/giscanner/dumper.py", line 171, in run
    self._compile(o_path, c_path)
  File "/gnu/store/fk7cy8wyp4mk6vgmnz9hz15bp3q2m6lr-gobject-introspection-1.42.0/lib/gobject-introspection/giscanner/dumper.py", line 244, in _compile
    subprocess.check_call(args)
  File "/gnu/store/f03d4cpya3k5f5067zwm9nrdxi6p83ir-python-2.7.6/lib/python2.7/subprocess.py", line 535, in check_call
    retcode = call(*popenargs, **kwargs)
  File "/gnu/store/f03d4cpya3k5f5067zwm9nrdxi6p83ir-python-2.7.6/lib/python2.7/subprocess.py", line 522, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/gnu/store/f03d4cpya3k5f5067zwm9nrdxi6p83ir-python-2.7.6/lib/python2.7/subprocess.py", line 709, in __init__
    errread, errwrite)
  File "/gnu/store/f03d4cpya3k5f5067zwm9nrdxi6p83ir-python-2.7.6/lib/python2.7/subprocess.py", line 1326, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
/gnu/store/fk7cy8wyp4mk6vgmnz9hz15bp3q2m6lr-gobject-introspection-1.42.0/share/gobject-introspection-1.0/Makefile.introspection:153: recipe for target 'Atk-1.0.gir' failed
make[3]: *** [Atk-1.0.gir] Error 1
--8<---------------cut here---------------end--------------->8---

     Mark