pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-cElementTree ?



I see

  CCLD     gdk-pixbuf-csource
  GISCAN   GdkPixbuf-2.0.gir
Traceback (most recent call last):
  File "/usr/pkg/lib/python3.7/xml/etree/ElementTree.py", line 1454, in __init__
    from xml.parsers import expat
  File "/usr/pkg/lib/python3.7/xml/parsers/expat.py", line 4, in <module>
    from pyexpat import *
ModuleNotFoundError: No module named 'pyexpat'

when building gdk-pixbuf2 in pbulk, but not "by hand".

I assume this has something to do with my gobject-introspection update.
I am puzzled as gobject-introspection imports xml.etree.cElementTree.
The only reference I can find to ElementTree is in its tests. Nowhere
do I see a reference to expat.

$ egrep -r '(expat|lementTree)' /usr/pkg/lib/girepository-1.0 /usr/pkg/lib/gobject-introspection/ /usr/pkg/bin/g-ir*
/usr/pkg/lib/gobject-introspection/giscanner/gdumpparser.py:from xml.etree.cElementTree import parse
/usr/pkg/lib/gobject-introspection/giscanner/girparser.py:from xml.etree.cElementTree import parse
Binary file /usr/pkg/lib/gobject-introspection/giscanner/__pycache__/gdumpparser.cpython-37.pyc matches
Binary file /usr/pkg/lib/gobject-introspection/giscanner/__pycache__/girparser.cpython-37.pyc matches

Any ideas?


Cheers,

Patrick


Home | Main Index | Thread Index | Old Index