Date: Sun, 19 Feb 2023 16:43:12 +0000 From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 269545] devel/py-setuptools: AttributeError: module 'importlib_metadata' has no attribute 'MetadataPathFinder' Message-ID: <bug-269545-21822-zhxu4utV3m@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-269545-21822@https.bugs.freebsd.org/bugzilla/> References: <bug-269545-21822@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269545 --- Comment #2 from Christos Chatzaras <chris@cretaforce.gr> --- yes | portmaster --no-confirm -y libimagequant-4.1.0 =3D=3D=3D>>> Currently installed version: libimagequant-4.1.0 =3D=3D=3D>>> Port directory: /usr/ports/graphics/libimagequant =3D=3D=3D>>> Launching 'make checksum' for graphics/libimagequant in backgr= ound =3D=3D=3D>>> Gathering dependency list for graphics/libimagequant from ports =3D=3D=3D>>> Launching child to install devel/cargo-c =3D=3D=3D>>> libimagequant-4.1.0 >> devel/cargo-c (1/1) =3D=3D=3D>>> Port directory: /usr/ports/devel/cargo-c =3D=3D=3D>>> Launching 'make checksum' for devel/cargo-c in background =3D=3D=3D>>> Gathering dependency list for devel/cargo-c from ports =3D=3D=3D>>> Launching child to install devel/libgit2 =3D=3D=3D>>> libimagequant-4.1.0 >> devel/cargo-c >> devel/libgit2 (2/2) =3D=3D=3D>>> Port directory: /usr/ports/devel/libgit2 =3D=3D=3D>>> Launching 'make checksum' for devel/libgit2 in background =3D=3D=3D>>> Gathering dependency list for devel/libgit2 from ports =3D=3D=3D>>> Launching child to install devel/cmake-core =3D=3D=3D>>> libimagequant-4.1.0 >> devel/cargo-c >> devel/libgit2 >> devel/cmake-core (3/3) =3D=3D=3D>>> Port directory: /usr/ports/devel/cmake-core =3D=3D=3D>>> Launching 'make checksum' for devel/cmake-core in background =3D=3D=3D>>> Gathering dependency list for devel/cmake-core from ports =3D=3D=3D>>> Launching child to install devel/jsoncpp =3D=3D=3D>>> libimagequant-4.1.0 >> devel/cargo-c >> devel/libgit2 >> devel/cmake-core >> devel/jsoncpp (4/4) =3D=3D=3D>>> Port directory: /usr/ports/devel/jsoncpp =3D=3D=3D>>> Launching 'make checksum' for devel/jsoncpp in background =3D=3D=3D>>> Gathering dependency list for devel/jsoncpp from ports =3D=3D=3D>>> Launching child to install devel/meson =3D=3D=3D>>> libimagequant-4.1.0 >> devel/cargo-c >> devel/libgit2 >> devel/cmake-core >> devel/jsoncpp >> devel/meson (5/5) =3D=3D=3D>>> Port directory: /usr/ports/devel/meson =3D=3D=3D>>> Launching 'make checksum' for devel/meson in background =3D=3D=3D>>> Gathering dependency list for devel/meson from ports =3D=3D=3D>>> Launching child to install devel/ninja =3D=3D=3D>>> libimagequant-4.1.0 >> devel/cargo-c >> devel/libgit2 >> devel/cmake-core >> devel/jsoncpp >> devel/meson >> devel/ninja (6/6) =3D=3D=3D>>> Port directory: /usr/ports/devel/ninja =3D=3D=3D>>> Launching 'make checksum' for devel/ninja in background =3D=3D=3D>>> Gathering dependency list for devel/ninja from ports =3D=3D=3D>>> Initial dependency check complete for devel/ninja =3D=3D=3D>>> Continuing initial dependency check for devel/meson =3D=3D=3D>>> Launching child to install devel/py-setuptools@py39 =3D=3D=3D>>> libimagequant-4.1.0 >> devel/cargo-c >> devel/libgit2 >> devel/cmake-core >> devel/jsoncpp >> devel/meson >> devel/py-setuptools@py39 (7/7) =3D=3D=3D>>> Port directory: /usr/ports/devel/py-setuptools@py39 =3D=3D=3D>>> Launching 'make checksum' for devel/py-setuptools@py39 in back= ground =3D=3D=3D>>> Gathering dependency list for devel/py-setuptools@py39 from po= rts =3D=3D=3D>>> Initial dependency check complete for devel/py-setuptools@py39 =3D=3D=3D>>> Continuing initial dependency check for devel/meson =3D=3D=3D>>> Initial dependency check complete for devel/meson =3D=3D=3D>>> Continuing initial dependency check for devel/jsoncpp =3D=3D=3D>>> Initial dependency check complete for devel/jsoncpp =3D=3D=3D>>> Continuing initial dependency check for devel/cmake-core =3D=3D=3D>>> Launching child to install security/rhash =3D=3D=3D>>> libimagequant-4.1.0 >> devel/cargo-c >> devel/libgit2 >> devel/cmake-core >> security/rhash (8/8) =3D=3D=3D>>> Port directory: /usr/ports/security/rhash =3D=3D=3D>>> Launching 'make checksum' for security/rhash in background =3D=3D=3D>>> Gathering dependency list for security/rhash from ports =3D=3D=3D>>> Initial dependency check complete for security/rhash =3D=3D=3D>>> Continuing initial dependency check for devel/cmake-core =3D=3D=3D>>> Initial dependency check complete for devel/cmake-core =3D=3D=3D>>> Continuing initial dependency check for devel/libgit2 =3D=3D=3D>>> Launching child to install security/libssh2 =3D=3D=3D>>> libimagequant-4.1.0 >> devel/cargo-c >> devel/libgit2 >> security/libssh2 (9/9) =3D=3D=3D>>> Port directory: /usr/ports/security/libssh2 =3D=3D=3D>>> Launching 'make checksum' for security/libssh2 in background =3D=3D=3D>>> Gathering dependency list for security/libssh2 from ports =3D=3D=3D>>> Initial dependency check complete for security/libssh2 =3D=3D=3D>>> Continuing initial dependency check for devel/libgit2 =3D=3D=3D>>> Launching child to install www/http-parser =3D=3D=3D>>> libimagequant-4.1.0 >> devel/cargo-c >> devel/libgit2 >> www/h= ttp-parser (10/10) =3D=3D=3D>>> Port directory: /usr/ports/www/http-parser =3D=3D=3D>>> Launching 'make checksum' for www/http-parser in background =3D=3D=3D>>> Gathering dependency list for www/http-parser from ports =3D=3D=3D>>> Initial dependency check complete for www/http-parser =3D=3D=3D>>> Continuing initial dependency check for devel/libgit2 =3D=3D=3D>>> Initial dependency check complete for devel/libgit2 =3D=3D=3D>>> Continuing initial dependency check for devel/cargo-c =3D=3D=3D>>> Launching child to install lang/rust =3D=3D=3D>>> libimagequant-4.1.0 >> devel/cargo-c >> lang/rust (11/11) =3D=3D=3D>>> Port directory: /usr/ports/lang/rust =3D=3D=3D>>> Launching 'make checksum' for lang/rust in background =3D=3D=3D>>> Gathering dependency list for lang/rust from ports =3D=3D=3D>>> Initial dependency check complete for lang/rust =3D=3D=3D>>> Continuing initial dependency check for devel/cargo-c =3D=3D=3D>>> Initial dependency check complete for devel/cargo-c =3D=3D=3D>>> Continuing initial dependency check for graphics/libimagequant =3D=3D=3D>>> Initial dependency check complete for graphics/libimagequant =3D=3D=3D>>> libimagequant-4.1.0 >> (11) =3D=3D=3D>>> Starting build for graphics/libimagequant <<<=3D=3D=3D =3D=3D=3D>>> Starting check for build dependencies =3D=3D=3D>>> Gathering dependency list for graphics/libimagequant from ports =3D=3D=3D>>> Launching child to install devel/cargo-c =3D=3D=3D>>> libimagequant-4.1.0 >> devel/cargo-c (1/11) =3D=3D=3D>>> Port directory: /usr/ports/devel/cargo-c =3D=3D=3D>>> Starting check for build dependencies =3D=3D=3D>>> Gathering dependency list for devel/cargo-c from ports =3D=3D=3D>>> Launching child to install devel/libgit2 =3D=3D=3D>>> libimagequant-4.1.0 >> devel/cargo-c >> devel/libgit2 (2/11) =3D=3D=3D>>> Port directory: /usr/ports/devel/libgit2 =3D=3D=3D>>> Starting check for build dependencies =3D=3D=3D>>> Gathering dependency list for devel/libgit2 from ports =3D=3D=3D>>> Launching child to install devel/cmake-core =3D=3D=3D>>> libimagequant-4.1.0 >> devel/cargo-c >> devel/libgit2 >> devel/cmake-core (3/11) =3D=3D=3D>>> Port directory: /usr/ports/devel/cmake-core =3D=3D=3D>>> Starting check for build dependencies =3D=3D=3D>>> Gathering dependency list for devel/cmake-core from ports =3D=3D=3D>>> Launching child to install devel/jsoncpp =3D=3D=3D>>> libimagequant-4.1.0 >> devel/cargo-c >> devel/libgit2 >> devel/cmake-core >> devel/jsoncpp (4/11) =3D=3D=3D>>> Port directory: /usr/ports/devel/jsoncpp =3D=3D=3D>>> Starting check for build dependencies =3D=3D=3D>>> Gathering dependency list for devel/jsoncpp from ports =3D=3D=3D>>> Launching child to install devel/meson =3D=3D=3D>>> libimagequant-4.1.0 >> devel/cargo-c >> devel/libgit2 >> devel/cmake-core >> devel/jsoncpp >> devel/meson (5/11) =3D=3D=3D>>> Port directory: /usr/ports/devel/meson =3D=3D=3D>>> Starting check for build dependencies =3D=3D=3D>>> Gathering dependency list for devel/meson from ports =3D=3D=3D>>> Launching child to install devel/py-setuptools@py39 =3D=3D=3D>>> libimagequant-4.1.0 >> devel/cargo-c >> devel/libgit2 >> devel/cmake-core >> devel/jsoncpp >> devel/meson >> devel/py-setuptools@py39 (6/11) =3D=3D=3D>>> Port directory: /usr/ports/devel/py-setuptools@py39 =3D=3D=3D>>> Starting check for build dependencies =3D=3D=3D>>> Gathering dependency list for devel/py-setuptools@py39 from po= rts =3D=3D=3D>>> Dependency check complete for devel/py-setuptools@py39 =3D=3D=3D>>> libimagequant-4.1.0 >> devel/cargo-c >> devel/libgit2 >> devel/cmake-core >> devel/jsoncpp >> devel/meson >> devel/py-setuptools@py39 (6/11) =3D=3D=3D> Cleaning for py39-setuptools-63.1.0 =3D=3D=3D> License MIT accepted by the user =3D=3D=3D> py39-setuptools-63.1.0 depends on file: /usr/local/sbin/pkg - = found =3D=3D=3D> Fetching all distfiles required by py39-setuptools-63.1.0 for bu= ilding =3D=3D=3D> Extracting for py39-setuptools-63.1.0 =3D> SHA256 Checksum OK for python/setuptools-63.1.0.tar.gz. =3D=3D=3D> Patching for py39-setuptools-63.1.0 =3D=3D=3D> py39-setuptools-63.1.0 depends on file: /usr/local/bin/python3= .9 - found =3D=3D=3D> 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/__in= it__.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/_imp= ortlib.py", line 39, in <module> disable_importlib_metadata_finder(metadata) File "/usr/ports/devel/py-setuptools/work-py39/setuptools-63.1.0/setuptools/_imp= ortlib.py", line 28, in disable_importlib_metadata_finder to_remove =3D [ File "/usr/ports/devel/py-setuptools/work-py39/setuptools-63.1.0/setuptools/_imp= ortlib.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 =3D=3D=3D>>> make build failed for devel/py-setuptools@py39 =3D=3D=3D>>> Aborting update =3D=3D=3D>>> Update for devel/py-setuptools@py39 failed =3D=3D=3D>>> Aborting update =3D=3D=3D>>> Update for devel/meson failed =3D=3D=3D>>> Aborting update =3D=3D=3D>>> Update for devel/jsoncpp failed =3D=3D=3D>>> Aborting update =3D=3D=3D>>> Update for devel/cmake-core failed =3D=3D=3D>>> Aborting update =3D=3D=3D>>> Update for devel/libgit2 failed =3D=3D=3D>>> Aborting update =3D=3D=3D>>> Update for devel/cargo-c failed =3D=3D=3D>>> Aborting update =3D=3D=3D>>> You can restart from the point of failure with this command li= ne: 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 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269545-21822-zhxu4utV3m>