Dear all,
I was recently forced to update my macOS to the latest Ventura (13.1). After the update of the OS, I tried to install XRootD but the compilation breaks and I get the following error:
`Collecting xrootd
Using cached xrootd-5.5.1.tar.gz (3.1 MB)
Preparing metadata (setup.py) ... done
Building wheels for collected packages: xrootd
Building wheel for xrootd (setup.py) ... done
WARNING: Legacy build of wheel for 'xrootd' created no files.
Command arguments: /Library/Developer/CommandLineTools/usr/bin/python3 -u -c '
exec(compile('"'"''"'"''"'"'
distutils.core
to work with newer packaging standards.sys.argv[0]
to the underlying setup.py
, when invoking setup.py
so-c
. This avoids the following warning:import os, sys, tokenize
try:
import setuptools
except ImportError as error:
print(
"ERROR: Can not execute setup.py
since setuptools is not available in "
"the build environment.",
file=sys.stderr,
)
sys.exit(1)
file = %r
sys.argv[0] = file
if os.path.exists(file):
filename = file
with tokenize.open(file) as f:
setup_py_code = f.read()
else:
filename = ""
setup_py_code = "from setuptools import setup; setup()"
exec(compile(setup_py_code, filename, "exec"))
'"'"''"'"''"'"' % ('"'"'/private/var/folders/2w/6pqhy56s3gq1q6t_6s0p2hw00000gn/T/pip-install-dl4eysdr/xrootd_dae8f5736cda4044b6c0545263e5527c/setup.py'"'"',), "", "exec"))' bdist_wheel -d /private/var/folders/2w/6pqhy56s3gq1q6t_6s0p2hw00000gn/T/pip-wheel-fgadglb7
Command output: [use --verbose to show]
Running setup.py clean for xrootd
Failed to build xrootd
Installing collected packages: xrootd
Running setup.py install for xrootd ... error
error: subprocess-exited-with-error
× Running setup.py install for xrootd did not run successfully.
│ exit code: 1
╰─> [23 lines of output]
/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/site-packages/setuptools/dist.py:487: UserWarning: Normalizing '5.5.1
' to '5.5.1'
warnings.warn(tmpl.format(**locals()))
running install
Some dependencies are missing:
openssl development package is missing!
python3 development package is missing!
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/private/var/folders/2w/6pqhy56s3gq1q6t_6s0p2hw00000gn/T/pip-install-dl4eysdr/xrootd_dae8f5736cda4044b6c0545263e5527c/setup.py", line 205, in
setup(
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/site-packages/setuptools/init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/distutils/core.py", line 148, in setup
dist.run_commands()
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/private/var/folders/2w/6pqhy56s3gq1q6t_6s0p2hw00000gn/T/pip-install-dl4eysdr/xrootd_dae8f5736cda4044b6c0545263e5527c/setup.py", line 165, in run
raise Exception( 'Dependencies missing!' )
Exception: Dependencies missing!
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> xrootd
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
`
I already discussed this error with other expert colleagues but in the end they suggested me to report the issue here and ask for a help.
Thanks in advance for any kind of help you can provide me.
Kind regards,
Stefano
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
Use REPLY-ALL to reply to list
To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1