So, for the record (as a lot was settled in private communication) a short summary with context, problem and workable solution for us (ALICE) is the following:

  1. Context: one can have a system install xrootd python bindings (beside the --user installed one). the ALICE building framework, builds and install all it's software (including all python infrastructure) into it's own locations.

  2. Problem: the running of installation command for python bindings (https://github.com/xrootd/xrootd/blob/v5.4.2/bindings/python/CMakeLists.txt#L93) was throwing the error:

Installing collected packages: xrootd
  Attempting uninstall: xrootd
    Found existing installation: xrootd 5.4.1
ERROR: Cannot uninstall 'xrootd'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

this 5.4.1 being the system level installed package.

  1. the solution was to modify https://github.com/xrootd/xrootd/blob/v5.4.2/bindings/python/CMakeLists.txt#L95
    and add --ignore-installed (the simplest reason being that the name of argument seemed to imply what i wanted for the install to do)

moreover, maybe part of the context, i should mention that on clusters, or any multi-user machines, that xrootd might be needed system-level and this should not hinder the ALICE users to build the ALICE software;
moreover, while technically maybe possible, it's not in current mainstream/upstream usage the use of python venv (so, if i do so, i'm on my own, maybe i could manage, but here were are talking about ALL ALICE users that build the software); more so, implementation of pipx should be done by building framework developers, but among the current things, the priority for such a thing is really low..


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: <xrootd/xrootd/issues/1641/1066190564@github.com>

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/issues/1641#issuecomment-1066190564", "url": "https://github.com/xrootd/xrootd/issues/1641#issuecomment-1066190564", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

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