Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 May 2021 13:11:28 +1000
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        Robert Huff <roberthuff@rcn.com>, python@freebsd.org
Subject:   Re: rooting out old Python dependencies
Message-ID:  <41a500d8-0b5f-6998-6a07-b4c591a200e8@FreeBSD.org>
In-Reply-To: <24735.60197.203354.978727@jerusalem.litteratus.org>
References:  <24735.60197.203354.978727@jerusalem.litteratus.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 16/05/2021 1:39 am, Robert Huff wrote:
> graphite2.h 
> /data/port-work/usr/ports/print/harfbuzz/work/harfbuzz-2.8.1/_build/../src/hb-glib.h
> --- stderr ---
> env: /usr/local/bin/python3.7: No such file or directory
> 
> ninja: build stopped: subcommand failed.
> *** Error code 1
> 
> 	This has also happened with rebuilding a couple of other ports.
> 	What is the correct way to fix this?  And is there a way to go
> looking for such cases before they find me?
> 	(make.conf is appended)


All else being equal its a port bug, using 'python3.7' when it should be 
using PYTHON_VER, which below, is set to 3.9

> 
> # Possible values: 2.7, 3.4, 3.5, 3.6
> DEFAULT_VERSIONS+=python=3.9

---------------------------^

Built with python 3.9, so 3.7 isn't available.
> 
> # Possible values: 2.7
> #DEFAULT_VERSIONS+=python2=2.7
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41a500d8-0b5f-6998-6a07-b4c591a200e8>