From owner-freebsd-python@freebsd.org Wed Nov 8 06:15:31 2017 Return-Path: Delivered-To: freebsd-python@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 98412E6F029 for ; Wed, 8 Nov 2017 06:15:31 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from lb2-smtp-cloud8.xs4all.net (lb2-smtp-cloud8.xs4all.net [194.109.24.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.xs4all.net", Issuer "RapidSSL SHA256 CA - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3750D6C752 for ; Wed, 8 Nov 2017 06:15:30 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.erewhon.home ([83.162.243.5]) by smtp-cloud8.xs4all.net with ESMTPA id CJcxeo6qDg5cRCJcyee3pZ; Wed, 08 Nov 2017 07:14:21 +0100 Received: from rsmith (uid 1001) (envelope-from rsmith@xs4all.nl) id 1234f by slackbox.erewhon.home (DragonFly Mail Agent v0.11+); Wed, 08 Nov 2017 07:14:17 +0100 Date: Wed, 8 Nov 2017 07:14:17 +0100 From: Roland Smith To: blubee blubeeme Cc: freebsd-python@freebsd.org Subject: Re: ports depending on python modules Message-ID: <20171108061417.GA18803@slackbox.erewhon.home> Mail-Followup-To: blubee blubeeme , freebsd-python@freebsd.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.1 (2017-09-22) X-CMAE-Envelope: MS4wfCf3uzR5UHGqDKF/afmfFcCX//nJscdXB0wEmoDOqqNLgVCFuLBFnlN3pZWhXd6Z1CR5GiPbtCeqFDZ9tp+Li4lKtbSAXxDCxwVRP+y3xu7d+1YUiya3 QXCMZGdwuoGMXvwAtkPc2lQHEpU+pBYaeqDsG6MscTc9T7Edw9LSqo7+XVy7gM/SFRl5oT85KSI5zA== X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Nov 2017 06:15:31 -0000 On Wed, Nov 08, 2017 at 01:54:36AM +0800, blubee blubeeme wrote: > I am having some real tough time building this port that requires python > modules. > > Is there anyone in here willing to help me debug this issue? > > Whenever I add: > USE_GNOME py3gobject3 > > to my port it tries to build lib-mesa with python2 instead of python3 so > the build fails. > > I need those py3gobject3 introspection bindings though. > > Anyone have some time to assist me with this? At this moment, the ports tree is not set up to handle Python 3 as the default Python. Work is being done in the ports tree to support different (Python) “flavors” (i.e. Python2 and Python 3) without separate py3-* ports. See e.g. https://wiki.freebsd.org/Ports/FlavorsAndSubPackages Ports that don't behave with flavors are being fixed: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223071 I think you should wait until that work has been completed and released. Otherwise, you'd have do make duplicate Python 3 based ports of everything required for py3gobject3. Roland -- R.F.Smith http://rsmith.home.xs4all.nl/ [plain text email much appreciated]