[MacPorts] #71745: glib2 @2.78.4_1: build error: ModuleNotFoundError: No module named 'packaging'

MacPorts noreply at macports.org
Sat Jan 4 17:12:53 UTC 2025


#71745: glib2 @2.78.4_1: build error: ModuleNotFoundError: No module named
'packaging'
---------------------+--------------------
  Reporter:  kencu   |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  glib2   |
---------------------+--------------------

Comment (by kencu):

 here:

 {{{
 # Generate xdp-dbus.{c,h}
 xdp_dbus_generated = custom_target('xdp-dbus',
     input : ['org.freedesktop.portal.Documents.xml',
              'org.freedesktop.portal.OpenURI.xml',
              'org.freedesktop.portal.ProxyResolver.xml',
              'org.freedesktop.portal.Trash.xml'],
     output : ['xdp-dbus.h', 'xdp-dbus.c'],
     depend_files : gdbus_codegen_built_files,
     command : [python, gdbus_codegen,
                '--interface-prefix', 'org.freedesktop.portal.',
                '--output-directory', '@OUTDIR@',
                '--generate-c-code', 'xdp-dbus',
                '--c-namespace', 'GXdp',
                '@INPUT@'])
 }}}


 in here:

 gio/meson.build

 there look to be other loose references to "python3" that aren't spec'd
 out in the glib2 build tree as well, but they are in the tests and don't
 generate errors.

-- 
Ticket URL: <https://trac.macports.org/ticket/71745#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list