#66642 closed defect (fixed)

xrootd again broken, now due to python311: TypeError: dist must be a Distribution instance

Reported by: barracuda156 Owned by: cjones051073 (Chris Jones)
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: Cc:
Port: xrootd

Description

:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_xrootd/xrootd/work/build/src && /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_xrootd/xrootd/work/compwrap/cxx/opt/local/bin/g++-mp-12 -DHAVE_CRYPT -DHAVE_CURL_MULTI_WAIT -DHAVE_DH_PADDED -DHAVE_ET_COM_ERR_H -DHAVE_FSTATAT -DHAVE_GETIFADDRS -DHAVE_LIBZ -DHAVE_NAMEINFO -DHAVE_READLINE -DHAVE_SSL -DHAVE_STRLCPY -DHAVE_TLS -DHAVE_TLS1 -DHAVE_TLS11 -DHAVE_TLS12 -DHAVE_XML2 -DHAVE_XRDCRYPTO -DLT_MODULE_EXT=\".dylib\" -DXRDPLUGIN_SOVERSION=\"5\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_xrootd/xrootd/work/xrootd-5.5.1/src/.. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_xrootd/xrootd/work/xrootd-5.5.1/src/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_xrootd/xrootd/work/xrootd-5.5.1/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_xrootd/xrootd/work/build/src -I/usr/local/include -I/opt/local/libexec/openssl11/include -Os -std=c++14 -D_GLIBCXX_USE_CXX11_ABI=0 -Wall -Wextra -Wno-unused-parameter -Wno-deprecated-declarations -O3 -DNDEBUG -arch ppc -mmacosx-version-min=10.6 -std=gnu++14 -MD -MT src/CMakeFiles/cmsd.dir/XrdCms/XrdCmsClustID.cc.o -MF CMakeFiles/cmsd.dir/XrdCms/XrdCmsClustID.cc.o.d -o CMakeFiles/cmsd.dir/XrdCms/XrdCmsClustID.cc.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_xrootd/xrootd/work/xrootd-5.5.1/src/XrdCms/XrdCmsClustID.cc
:info:build XRootD library dir:     /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_xrootd/xrootd/work/build/src
:info:build XRootD src include dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_xrootd/xrootd/work/xrootd-5.5.1/src
:info:build XRootD bin include dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_xrootd/xrootd/work/build/src
:info:build Version:                5.5.1
:info:build Traceback (most recent call last):
:info:build   File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_xrootd/xrootd/work/build/bindings/python/setup.py", line 111, in <module>
:info:build     setup( name             = 'xrootd',
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup
:info:build     return run_commands(dist)
:info:build            ^^^^^^^^^^^^^^^^^^
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
:info:build     dist.run_commands()
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
:info:build     self.run_command(cmd)
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
:info:build     cmd_obj = self.get_command_obj(command)
:info:build               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 861, in get_command_obj
:info:build     cmd_obj = self.command_obj[command] = klass(self)
:info:build                                           ^^^^^^^^^^^
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/setuptools/__init__.py", line 158, in __init__
:info:build     super().__init__(dist)
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 61, in __init__
:info:build     raise TypeError("dist must be a Distribution instance")
:info:build TypeError: dist must be a Distribution instance
:info:build make[2]: *** [bindings/python/python_bindings] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_xrootd/xrootd/work/build'
:info:build make[1]: *** [bindings/python/CMakeFiles/python_target.dir/all] Error 2
:info:build make[1]: *** Waiting for unfinished jobs....

Attachments (1)

xrootd.txt (2.3 MB) - added by barracuda156 22 months ago.
Relevant log starts from 2204

Change History (2)

Changed 22 months ago by barracuda156

Attachment: xrootd.txt added

Relevant log starts from 2204

comment:1 Changed 21 months ago by cjones051073 (Chris Jones)

Resolution: fixed
Status: assignedclosed

Closing as latest versions build just fine.

Note: See TracTickets for help on using tickets.