[Bug 224486] Python Flavors for x11-toolkits/gtk20?

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Dec 20 16:30:14 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224486

            Bug ID: 224486
           Summary: Python Flavors for x11-toolkits/gtk20?
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: owen94012 at gmail.com

I'm porting some software that relies on gtk and python 3.2+ 

relevant Makefile parts:
USES=           autoreconf gmake        \
                libtool pkgconfig       \
                python:3.2+

OPTIONS_DEFINE=         NLS
NLS_USES=               gettext
NLS_CONFIGURE_ENABLE=   gettext

INSTALLS_ICONS=         yes
GNU_CONFIGURE=          yes
USE_LDCONFIG=           yes

USE_GNOME=              introspection:run py3gobject3 intltool

I tracked the issue down to gtk-update-icon-cache from x11-toolkits/gtk20.

gtk-update-icon-cache pulls in python2.7 even though python 3.6 was already
installed earlier in the process.

Later when the configure script runs, it finds the wrong python version and
fails with the error:
checking for a Python interpreter with version >= 3.2.3... none
configure: error: no suitable Python interpreter found

Is there a way to build this port w/o pulling in python 2.7?

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


More information about the freebsd-ports-bugs mailing list