[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
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207809
Bug ID: 207809
Summary: devel/pygobject3-common fails to build with
DEFAULT_VERSIONS=python=3.5
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: gnome at FreeBSD.org
Reporter: hiroo.ono+freebsd at gmail.com
Flags: maintainer-feedback?(gnome at FreeBSD.org)
Assignee: gnome at FreeBSD.org
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.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list