Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Mar 2016 15:08:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 207809] devel/pygobject3-common fails to build with DEFAULT_VERSIONS=python=3.5
Message-ID:  <bug-207809-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207809

            Bug ID: 207809
           Summary: devel/pygobject3-common fails to build with
                    DEFAULT_VERSIONS=3Dpython=3D3.5
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: gnome@FreeBSD.org
          Reporter: hiroo.ono+freebsd@gmail.com
             Flags: maintainer-feedback?(gnome@FreeBSD.org)
          Assignee: gnome@FreeBSD.org

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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-207809-13>