Print

Print


So, if i'm not first for sure i'm among just a few that tries to install 
the xrootd python bindings on it's router :D

so, the environment is highly non-standard, operations are executed as 
root, the include dependencies are almost by hand added etc...
so, while trying the pip install i got this :

admin@ac66u:/tmp/home/root# pip3 install xrootd
Collecting xrootd
   Using cached xrootd-4.12.0.tar.gz (2.6 MB)
     ERROR: Command errored out with exit status 1:
      command: /opt/bin/python3 -c 'import sys, setuptools, tokenize; 
sys.argv[0] = 
'"'"'/tmp/mnt/AC66U/entware/tmp/pip-install-bnlclidb/xrootd/setup.py'"'"'; 
__file__='"'"'/tmp/mnt/AC66U/entware/tmp/pip-install-bnlclidb/xrootd/setup.py'"'"';f=getattr(tokenize, 
'"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', 
'"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' 
egg_info --egg-base /tmp/mnt/AC66U/entware/tmp/pip-pip-egg-info-jwr6blya
          cwd: /tmp/mnt/AC66U/entware/tmp/pip-install-bnlclidb/xrootd/
     Complete output (11 lines):
     Traceback (most recent call last):
       File "<string>", line 1, in <module>
       File 
"/tmp/mnt/AC66U/entware/tmp/pip-install-bnlclidb/xrootd/setup.py", line 
118, in <module>
         version = get_version()
       File 
"/tmp/mnt/AC66U/entware/tmp/pip-install-bnlclidb/xrootd/setup.py", line 
11, in get_version
         version = subprocess.check_output(['./genversion.sh', 
'--print-only'])
       File "/subprocess.py", line 411, in check_output
       File "/subprocess.py", line 489, in run
       File "/subprocess.py", line 854, in __init__
       File "/subprocess.py", line 1702, in _execute_child
     FileNotFoundError: [Errno 2] No such file or directory: 
'./genversion.sh'
     ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info 
Check the logs for full command output.

so, any idea what is going on?
while bash is installed, it lives in /opt/bin
maybe the scripts can change from a hardcoded /bin/bash to
/usr/bin/env bash ?

Thank you!
Adrian


########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-L list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-L&A=1