From owner-freebsd-ports-bugs@freebsd.org  Wed Dec 20 16:30:14 2017
Return-Path: <owner-freebsd-ports-bugs@freebsd.org>
Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id C604EE933DD
 for <freebsd-ports-bugs@mailman.ysv.freebsd.org>;
 Wed, 20 Dec 2017 16:30:14 +0000 (UTC)
 (envelope-from bugzilla-noreply@freebsd.org)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id B421475CE4
 for <freebsd-ports-bugs@FreeBSD.org>; Wed, 20 Dec 2017 16:30:14 +0000 (UTC)
 (envelope-from bugzilla-noreply@freebsd.org)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vBKGUEeO008328
 for <freebsd-ports-bugs@FreeBSD.org>; Wed, 20 Dec 2017 16:30:14 GMT
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-ports-bugs@FreeBSD.org
Subject: [Bug 224486] Python Flavors for x11-toolkits/gtk20?
Date: Wed, 20 Dec 2017 16:30:14 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Ports & Packages
X-Bugzilla-Component: Individual Port(s)
X-Bugzilla-Version: Latest
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: owen94012@gmail.com
X-Bugzilla-Status: New
X-Bugzilla-Resolution: 
X-Bugzilla-Priority: ---
X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform
 op_sys bug_status bug_severity priority component assigned_to reporter
Message-ID: <bug-224486-13@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-ports-bugs@freebsd.org
X-Mailman-Version: 2.1.25
Precedence: list
List-Id: Ports bug reports <freebsd-ports-bugs.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-ports-bugs>, 
 <mailto:freebsd-ports-bugs-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports-bugs/>
List-Post: <mailto:freebsd-ports-bugs@freebsd.org>
List-Help: <mailto:freebsd-ports-bugs-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs>, 
 <mailto:freebsd-ports-bugs-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Dec 2017 16:30:14 -0000

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.=