[Bug 269545] devel/py-setuptools: AttributeError: module 'importlib_metadata' has no attribute 'MetadataPathFinder'
Date: Sun, 19 Feb 2023 16:43:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269545
--- Comment #2 from Christos Chatzaras <chris@cretaforce.gr> ---
yes | portmaster --no-confirm -y libimagequant-4.1.0
===>>> Currently installed version: libimagequant-4.1.0
===>>> Port directory: /usr/ports/graphics/libimagequant
===>>> Launching 'make checksum' for graphics/libimagequant in background
===>>> Gathering dependency list for graphics/libimagequant from ports
===>>> Launching child to install devel/cargo-c
===>>> libimagequant-4.1.0 >> devel/cargo-c (1/1)
===>>> Port directory: /usr/ports/devel/cargo-c
===>>> Launching 'make checksum' for devel/cargo-c in background
===>>> Gathering dependency list for devel/cargo-c from ports
===>>> Launching child to install devel/libgit2
===>>> libimagequant-4.1.0 >> devel/cargo-c >> devel/libgit2 (2/2)
===>>> Port directory: /usr/ports/devel/libgit2
===>>> Launching 'make checksum' for devel/libgit2 in background
===>>> Gathering dependency list for devel/libgit2 from ports
===>>> Launching child to install devel/cmake-core
===>>> libimagequant-4.1.0 >> devel/cargo-c >> devel/libgit2 >>
devel/cmake-core (3/3)
===>>> Port directory: /usr/ports/devel/cmake-core
===>>> Launching 'make checksum' for devel/cmake-core in background
===>>> Gathering dependency list for devel/cmake-core from ports
===>>> Launching child to install devel/jsoncpp
===>>> libimagequant-4.1.0 >> devel/cargo-c >> devel/libgit2 >>
devel/cmake-core >> devel/jsoncpp (4/4)
===>>> Port directory: /usr/ports/devel/jsoncpp
===>>> Launching 'make checksum' for devel/jsoncpp in background
===>>> Gathering dependency list for devel/jsoncpp from ports
===>>> Launching child to install devel/meson
===>>> libimagequant-4.1.0 >> devel/cargo-c >> devel/libgit2 >>
devel/cmake-core >> devel/jsoncpp >> devel/meson (5/5)
===>>> Port directory: /usr/ports/devel/meson
===>>> Launching 'make checksum' for devel/meson in background
===>>> Gathering dependency list for devel/meson from ports
===>>> Launching child to install devel/ninja
===>>> libimagequant-4.1.0 >> devel/cargo-c >> devel/libgit2 >>
devel/cmake-core >> devel/jsoncpp >> devel/meson >> devel/ninja (6/6)
===>>> Port directory: /usr/ports/devel/ninja
===>>> Launching 'make checksum' for devel/ninja in background
===>>> Gathering dependency list for devel/ninja from ports
===>>> Initial dependency check complete for devel/ninja
===>>> Continuing initial dependency check for devel/meson
===>>> Launching child to install devel/py-setuptools@py39
===>>> libimagequant-4.1.0 >> devel/cargo-c >> devel/libgit2 >>
devel/cmake-core >> devel/jsoncpp >> devel/meson >> devel/py-setuptools@py39
(7/7)
===>>> Port directory: /usr/ports/devel/py-setuptools@py39
===>>> Launching 'make checksum' for devel/py-setuptools@py39 in background
===>>> Gathering dependency list for devel/py-setuptools@py39 from ports
===>>> Initial dependency check complete for devel/py-setuptools@py39
===>>> Continuing initial dependency check for devel/meson
===>>> Initial dependency check complete for devel/meson
===>>> Continuing initial dependency check for devel/jsoncpp
===>>> Initial dependency check complete for devel/jsoncpp
===>>> Continuing initial dependency check for devel/cmake-core
===>>> Launching child to install security/rhash
===>>> libimagequant-4.1.0 >> devel/cargo-c >> devel/libgit2 >>
devel/cmake-core >> security/rhash (8/8)
===>>> Port directory: /usr/ports/security/rhash
===>>> Launching 'make checksum' for security/rhash in background
===>>> Gathering dependency list for security/rhash from ports
===>>> Initial dependency check complete for security/rhash
===>>> Continuing initial dependency check for devel/cmake-core
===>>> Initial dependency check complete for devel/cmake-core
===>>> Continuing initial dependency check for devel/libgit2
===>>> Launching child to install security/libssh2
===>>> libimagequant-4.1.0 >> devel/cargo-c >> devel/libgit2 >>
security/libssh2 (9/9)
===>>> Port directory: /usr/ports/security/libssh2
===>>> Launching 'make checksum' for security/libssh2 in background
===>>> Gathering dependency list for security/libssh2 from ports
===>>> Initial dependency check complete for security/libssh2
===>>> Continuing initial dependency check for devel/libgit2
===>>> Launching child to install www/http-parser
===>>> libimagequant-4.1.0 >> devel/cargo-c >> devel/libgit2 >> www/http-parser
(10/10)
===>>> Port directory: /usr/ports/www/http-parser
===>>> Launching 'make checksum' for www/http-parser in background
===>>> Gathering dependency list for www/http-parser from ports
===>>> Initial dependency check complete for www/http-parser
===>>> Continuing initial dependency check for devel/libgit2
===>>> Initial dependency check complete for devel/libgit2
===>>> Continuing initial dependency check for devel/cargo-c
===>>> Launching child to install lang/rust
===>>> libimagequant-4.1.0 >> devel/cargo-c >> lang/rust (11/11)
===>>> Port directory: /usr/ports/lang/rust
===>>> Launching 'make checksum' for lang/rust in background
===>>> Gathering dependency list for lang/rust from ports
===>>> Initial dependency check complete for lang/rust
===>>> Continuing initial dependency check for devel/cargo-c
===>>> Initial dependency check complete for devel/cargo-c
===>>> Continuing initial dependency check for graphics/libimagequant
===>>> Initial dependency check complete for graphics/libimagequant
===>>> libimagequant-4.1.0 >> (11)
===>>> Starting build for graphics/libimagequant <<<===
===>>> Starting check for build dependencies
===>>> Gathering dependency list for graphics/libimagequant from ports
===>>> Launching child to install devel/cargo-c
===>>> libimagequant-4.1.0 >> devel/cargo-c (1/11)
===>>> Port directory: /usr/ports/devel/cargo-c
===>>> Starting check for build dependencies
===>>> Gathering dependency list for devel/cargo-c from ports
===>>> Launching child to install devel/libgit2
===>>> libimagequant-4.1.0 >> devel/cargo-c >> devel/libgit2 (2/11)
===>>> Port directory: /usr/ports/devel/libgit2
===>>> Starting check for build dependencies
===>>> Gathering dependency list for devel/libgit2 from ports
===>>> Launching child to install devel/cmake-core
===>>> libimagequant-4.1.0 >> devel/cargo-c >> devel/libgit2 >>
devel/cmake-core (3/11)
===>>> Port directory: /usr/ports/devel/cmake-core
===>>> Starting check for build dependencies
===>>> Gathering dependency list for devel/cmake-core from ports
===>>> Launching child to install devel/jsoncpp
===>>> libimagequant-4.1.0 >> devel/cargo-c >> devel/libgit2 >>
devel/cmake-core >> devel/jsoncpp (4/11)
===>>> Port directory: /usr/ports/devel/jsoncpp
===>>> Starting check for build dependencies
===>>> Gathering dependency list for devel/jsoncpp from ports
===>>> Launching child to install devel/meson
===>>> libimagequant-4.1.0 >> devel/cargo-c >> devel/libgit2 >>
devel/cmake-core >> devel/jsoncpp >> devel/meson (5/11)
===>>> Port directory: /usr/ports/devel/meson
===>>> Starting check for build dependencies
===>>> Gathering dependency list for devel/meson from ports
===>>> Launching child to install devel/py-setuptools@py39
===>>> libimagequant-4.1.0 >> devel/cargo-c >> devel/libgit2 >>
devel/cmake-core >> devel/jsoncpp >> devel/meson >> devel/py-setuptools@py39
(6/11)
===>>> Port directory: /usr/ports/devel/py-setuptools@py39
===>>> Starting check for build dependencies
===>>> Gathering dependency list for devel/py-setuptools@py39 from ports
===>>> Dependency check complete for devel/py-setuptools@py39
===>>> libimagequant-4.1.0 >> devel/cargo-c >> devel/libgit2 >>
devel/cmake-core >> devel/jsoncpp >> devel/meson >> devel/py-setuptools@py39
(6/11)
===> Cleaning for py39-setuptools-63.1.0
===> License MIT accepted by the user
===> py39-setuptools-63.1.0 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by py39-setuptools-63.1.0 for building
===> Extracting for py39-setuptools-63.1.0
=> SHA256 Checksum OK for python/setuptools-63.1.0.tar.gz.
===> Patching for py39-setuptools-63.1.0
===> py39-setuptools-63.1.0 depends on file: /usr/local/bin/python3.9 - found
===> Configuring for py39-setuptools-63.1.0
Traceback (most recent call last):
File "/usr/ports/devel/py-setuptools/work-py39/setuptools-63.1.0/setup.py",
line 7, in <module>
import setuptools
File
"/usr/ports/devel/py-setuptools/work-py39/setuptools-63.1.0/setuptools/__init__.py",
line 18, in <module>
from setuptools.dist import Distribution
File
"/usr/ports/devel/py-setuptools/work-py39/setuptools-63.1.0/setuptools/dist.py",
line 34, in <module>
from ._importlib import metadata
File
"/usr/ports/devel/py-setuptools/work-py39/setuptools-63.1.0/setuptools/_importlib.py",
line 39, in <module>
disable_importlib_metadata_finder(metadata)
File
"/usr/ports/devel/py-setuptools/work-py39/setuptools-63.1.0/setuptools/_importlib.py",
line 28, in disable_importlib_metadata_finder
to_remove = [
File
"/usr/ports/devel/py-setuptools/work-py39/setuptools-63.1.0/setuptools/_importlib.py",
line 31, in <listcomp>
if isinstance(ob, importlib_metadata.MetadataPathFinder)
AttributeError: module 'importlib_metadata' has no attribute
'MetadataPathFinder'
*** Error code 1
Stop.
make: stopped in /usr/ports/devel/py-setuptools
===>>> make build failed for devel/py-setuptools@py39
===>>> Aborting update
===>>> Update for devel/py-setuptools@py39 failed
===>>> Aborting update
===>>> Update for devel/meson failed
===>>> Aborting update
===>>> Update for devel/jsoncpp failed
===>>> Aborting update
===>>> Update for devel/cmake-core failed
===>>> Aborting update
===>>> Update for devel/libgit2 failed
===>>> Aborting update
===>>> Update for devel/cargo-c failed
===>>> Aborting update
===>>> You can restart from the point of failure with this command line:
portmaster <flags> graphics/libimagequant devel/cargo-c devel/libgit2
devel/cmake-core devel/jsoncpp devel/meson devel/ninja devel/py-setuptools@py39
security/rhash security/libssh2 www/http-parser lang/rust
This command has been saved to ~/portmasterfail.txt
--
You are receiving this mail because:
You are the assignee for the bug.