pkgsrc-Users archive

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

pkgsrc-2019Q3 devel/glib2 build failure


I am trying to build glib2 on pkgsrc-2019Q3 on NetBSD amd64 (as a
dependency of something else, obviously), and it fails to find the
expat module:

ninja: Entering directory `output'
[1/526] Generating xdp-dbus with a custom command.
FAILED: gio/xdp-dbus.h gio/xdp-dbus.c
/usr/pkg/bin/python3 gio/gdbus-2.0/codegen/gdbus-codegen
--interface-prefix org.freedesktop.portal. --output-directory gio
-c-code xdp-dbus --c-namespace GXdp --annotate
'org.freedesktop.portal.Documents.Add()' org.gtk.GDBus.C.UnixFD true
--annotate 'org.$
reedesktop.portal.Documents.AddNamed()' org.gtk.GDBus.C.UnixFD true
--annotate 'org.freedesktop.portal.Documents.AddFull()' org.gtk.G
DBus.C.UnixFD true --annotate
'org.freedesktop.portal.OpenURI.OpenFile()' org.gtk.GDBus.C.UnixFD
true --annotate 'org.freedesktop.por
tal.Trash.TrashFile()' org.gtk.GDBus.C.UnixFD true
xml ../gio/org.freedesktop.portal.ProxyResolver.xml
Traceback (most recent call last):
  File "gio/gdbus-2.0/codegen/gdbus-codegen", line 53, in <module>
    from codegen import codegen_main
  File "/home/bsiegert/pkgsrc-stable/devel/glib2/work/glib-2.60.6/output/gio/gdbus-2.0/codegen/",
line 30, in <module>
    from . import parser
  File "/home/bsiegert/pkgsrc-stable/devel/glib2/work/glib-2.60.6/output/gio/gdbus-2.0/codegen/",
line 23, in <module>
    import xml.parsers.expat
  File "/usr/pkg/lib/python3.7/xml/parsers/", line 4, in <module>
    from pyexpat import *
ModuleNotFoundError: No module named 'pyexpat'
ninja: build stopped: subcommand failed.
*** Error code 1

bmake[3]: stopped in /home/bsiegert/pkgsrc-stable/devel/glib2
*** Error code 1

However, I do have py37-expat installed:

$ /home/bsiegert/2019Q3/sbin/pkg_info | grep expat
py37-expat-3.7.4    Python interface to expat

Any ideas?



Home | Main Index | Thread Index | Old Index