pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkgsrc-2019Q3 devel/glib2 build failure
Hi!
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
--generat$
-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
../gio/org.freedesktop.portal.Documents.xml
../gio/org.freedesktop.portal.OpenURI.
xml ../gio/org.freedesktop.portal.ProxyResolver.xml
../gio/org.freedesktop.portal.Trash.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/codegen_main.py",
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/parser.py",
line 23, in <module>
import xml.parsers.expat
File "/usr/pkg/lib/python3.7/xml/parsers/expat.py", line 4, in <module>
from pyexpat import *
ModuleNotFoundError: No module named 'pyexpat'
ninja: build stopped: subcommand failed.
*** Error code 1
Stop.
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?
--
Benny
--
Benny
Home |
Main Index |
Thread Index |
Old Index