Date: Tue, 08 Mar 2016 15:08:42 +0000 From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: maintainer-feedback requested: [Bug 207809] devel/pygobject3-common fails to build with DEFAULT_VERSIONS=python=3.5 Message-ID: <bug-207809-6497-5f0PmSZmMC@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-207809-6497@https.bugs.freebsd.org/bugzilla/> References: <bug-207809-6497@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
hiroo.ono+freebsd@gmail.com has reassigned Bugzilla Automation <bugzilla@FreeBSD.org>'s request for maintainer-feedback to gnome@FreeBSD.o= rg: Bug 207809: devel/pygobject3-common fails to build with DEFAULT_VERSIONS=3Dpython=3D3.5 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207809 --- Description --- Created attachment 167856 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D167856&action= =3Dedit see PYTHON_MAJOR_VER and depend on py-cairo or py3-cairo respectively. When I try to build devel/py3-gobject3 with DEFAULT_VERSIONS=3D python=3D3.5 in poudriere.d/make.conf, poudriere fails to build the dependent port devel/pygobject3-common. ---- log ---- configure: error: Package requirements (py3cairo >=3D 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. =3D=3D=3D> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-207809-6497-5f0PmSZmMC>