something broke for py39-* updates
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 01 May 2023 21:23:41 UTC
Hello:
On a system runnoing:
FreeBSD 14.0-CURRENT #0 main-f0a15aafcb
Mon Oct 31 08:19:54 EDT 2022
amd64
something has gone wrong with python such that many - but not
all - ports fail to update/rebuild with:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.9/site-packages/setuptools/__init__.py", line 18, in <module>
from setuptools.dist import Distribution
File "/usr/local/lib/python3.9/site-packages/setuptools/dist.py", line 34, in <module>
from ._importlib import metadata
File "/usr/local/lib/python3.9/site-packages/setuptools/_importlib.py", line 39, in <module>
disable_importlib_metadata_finder(metadata)
File "/usr/local/lib/python3.9/site-packages/setuptools/_importlib.py", line 28, in disable_importlib_metadata_finder
to_remove = [
File "/usr/local/lib/python3.9/site-packages/setuptools/_importlib.py", line 31, in <listcomp>
if isinstance(ob, importlib_metadata.MetadataPathFinder)
AttributeError: module 'importlib_metadata' has no attribute 'MetadataPathFinder'
*** Error code 1
I'm sure it's my fault.
I'm even more sure I want to get this fixed.
What's broken, and how do I make it right?
("make.conf" is appended.)
Respectfully,
Robert Huff
#WITH_DEBUG=yes
SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2
#DEFAULT_VERSIONS+=linux=c6_64 samba=4.4 python=3.5 python3=3.5
DEFAULT_VERSIONS+=linux=c7
# Possible values: 2.7, 3.4, 3.5, 3.6
DEFAULT_VERSIONS+=python=3.9
# Possible values: 2.7
#DEFAULT_VERSIONS+=python2=2.7
# Possible values: 3.4, 3.5, 3.6, 3.9
DEFAULT_VERSIONS+=python3=3.9
DEFAULT_VERSIONS+=perl5=5.32
DEFAULT_VERSIONS+=php=8.1
DEFAULT_VERSIONS+=java=16
DEFAULT_VERSIONS+=samba=4.16
DEFAULT_VERSIONS+=llvm=15
DEFAULT_VERSIONS+=ruby=3.0
DEFAULT_VERSIONS+=bdb=18
DEFAULT_VERSIONS+=mysql=8.0
#DEFAULT_VERSIONS+=gtk=4
OPTIONS_SET+=LDAP
WITH_CCACHE_BUILD=yes
CCACHE_DIR=/data/ccache
#USES=gnome
#USE_GNOME=gtk40