rooting out old Python dependencies

Kubilay Kocak koobs at FreeBSD.org
Mon May 17 03:11:35 UTC 2021


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
> 


More information about the freebsd-python mailing list