[MacPorts] #72209: py-gobject3 is built as wheel so the file pygobject-3.0.pc is missing. avahi cannot find the package when configuring.
MacPorts
noreply at macports.org
Mon Mar 17 17:39:20 UTC 2025
#72209: py-gobject3 is built as wheel so the file pygobject-3.0.pc is missing.
avahi cannot find the package when configuring.
--------------------+-------------------------------
Reporter: dblark | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: avahi py-gobject3
--------------------+-------------------------------
avahi config.log:
{{{
configure:23936: checking for PYGOBJECT
configure:23943: $PKG_CONFIG --exists --print-errors "pygobject-3.0"
Package pygobject-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `pygobject-3.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'pygobject-3.0' found
configure:23946: $? = 1
configure:23960: $PKG_CONFIG --exists --print-errors "pygobject-3.0"
Package pygobject-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `pygobject-3.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'pygobject-3.0' found
configure:23963: $? = 1
configure:23977: result: no
No package 'pygobject-3.0' found
configure:23993: error: Could not find Python GObject
}}}
a clip from meson.build (pygobject):
{{{
for_wheel = get_option('wheel')
if not for_wheel
pkg_install_dir = '@0@/pkgconfig'.format(get_option('libdir'))
configure_file(input : 'pygobject- at 0@.pc.in'.format(platform_version),
output : 'pygobject- at 0@.pc'.format(platform_version),
configuration : pkgconf,
install_dir : pkg_install_dir)
if pygobject_version_minor.is_odd()
py_version = '@0 at .dev0'.format(pygobject_version)
else
py_version = pygobject_version
endif
pkginfo_conf = configuration_data()
pkginfo_conf.set('VERSION', py_version)
configure_file(input : 'METADATA.in',
output : 'METADATA',
configuration : pkginfo_conf,
install_dir : python.get_install_dir(pure : false) / 'PyGObject- at 0
@.dist-info'.format(py_version))
endif
}}}
--
Ticket URL: <https://trac.macports.org/ticket/72209>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list