Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Dec 2017 16:30:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 224486] Python Flavors for x11-toolkits/gtk20?
Message-ID:  <bug-224486-13@https.bugs.freebsd.org/bugzilla/>

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

            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@FreeBSD.org
          Reporter: owen94012@gmail.com

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

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

OPTIONS_DEFINE=3D         NLS
NLS_USES=3D               gettext
NLS_CONFIGURE_ENABLE=3D   gettext

INSTALLS_ICONS=3D         yes
GNU_CONFIGURE=3D          yes
USE_LDCONFIG=3D           yes

USE_GNOME=3D              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 >=3D 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?

--=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-224486-13>