maintainer-feedback requested: [Bug 207809] devel/pygobject3-common fails to build with DEFAULT_VERSIONS=python=3.5
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Mar 8 15:08:42 UTC 2016
hiroo.ono+freebsd at gmail.com has reassigned Bugzilla Automation
<bugzilla at FreeBSD.org>'s request for maintainer-feedback to gnome at FreeBSD.org:
Bug 207809: devel/pygobject3-common fails to build with
DEFAULT_VERSIONS=python=3.5
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207809
--- Description ---
Created attachment 167856
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=167856&action=edit
see PYTHON_MAJOR_VER and depend on py-cairo or py3-cairo respectively.
When I try to build devel/py3-gobject3 with
DEFAULT_VERSIONS= python=3.5
in poudriere.d/make.conf, poudriere fails to build the dependent port
devel/pygobject3-common.
---- log ----
configure: error: Package requirements (py3cairo >= 1.10.0
) were not met:
Package py3cairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `py3cairo.pc'
to the PKG_CONFIG_PATH environment variable
Package 'py3cairo', required by 'world', not found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables PYCAIRO_CFLAGS
and PYCAIRO_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
===> Script "configure" failed unexpectedly.
---- log ----
It seems to be caused by pygobject3-common itself depends only on
graphics/py-cairo which depends on python2.
Attached patch checks if PYTHON_MAJOR_VER is 2 or 3, and depends on
py-cairo or py3-cairo respectively.
It went well for me.
More information about the freebsd-gnome
mailing list