On 14/07/10 14:31, Ariel Ben Yehuda wrote:
> Update Gobject-Introspection to 0.9.2 and add this patch that allows it 
> to compile with Python 2.7. Fixes http://bugs.python.org/issue9259.
> 

Cheers. Just so that google can link the error to the patch, the error looks 
like this

  GICOMP xlib-2.0.gir
  GICOMP xfixes-4.0.gir
  GICOMP xrandr-1.3.gir
Traceback (most recent call last):
  File "../tools/g-ir-scanner", line 36, in <module>
    from giscanner.scannermain import scanner_main
  File "/tmp/gobject-introspection-0.9.0/giscanner/scannermain.py", line 31, in 
<module>
    from giscanner.dumper import compile_introspection_binary
  File "/tmp/gobject-introspection-0.9.0/giscanner/dumper.py", line 26, in 
<module>
    from .glibtransformer import IntrospectionBinary
  File "/tmp/gobject-introspection-0.9.0/giscanner/glibtransformer.py", line 
34, in <module>
    from .transformer import Names
  File "/tmp/gobject-introspection-0.9.0/giscanner/transformer.py", line 31, in 
<module>
    from .girparser import GIRParser
  File "/tmp/gobject-introspection-0.9.0/giscanner/girparser.py", line 32, in 
<module>
    from .girwriter import COMPATIBLE_GIR_VERSION
  File "/tmp/gobject-introspection-0.9.0/giscanner/girwriter.py", line 30, in 
<module>
    from .xmlwriter import XMLWriter
  File "/tmp/gobject-introspection-0.9.0/giscanner/xmlwriter.py", line 70, in 
<module>
    with LibtoolImporter:
AttributeError: __exit__
make[2]: *** [GLib-2.0.gir] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/tmp/gobject-introspection-0.9.0/gir'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/gobject-introspection-0.9.0'
make: *** [all] Error 2

Personally I found that the easist solution was to pass 
--disable-introspection to udev and polkit. 
Nothing of value was lost.

Andy
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to