[MacPorts] #31119: Error staging root: ROOT.py not found
#31119: Error staging root: ROOT.py not found ------------------------------------+--------------------------------------- Reporter: a2piratesoft@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.2 Keywords: | Port: root ------------------------------------+--------------------------------------- When installing root I get the following error: Error: Target org.macports.destroot returned: error renaming "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_root/root/work/destroot/opt/local/lib/root/ROOT.py": no such file or directory Attached main.log -- Ticket URL: <https://trac.macports.org/ticket/31119> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31119: root +python26 fails in destroot because ROOT.py is not found ------------------------------------+--------------------------------------- Reporter: a2piratesoft@… | Owner: mattiafrancescomoro@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.2 Keywords: | Port: root ------------------------------------+--------------------------------------- Changes (by ryandesign@…): * cc: mattiafrancescomoro@…, jonesc@… (removed) * owner: macports-tickets@… => mattiafrancescomoro@… Old description:
When installing root I get the following error:
Error: Target org.macports.destroot returned: error renaming "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_root/root/work/destroot/opt/local/lib/root/ROOT.py": no such file or directory
Attached main.log
New description: When installing root I get the following error: {{{ Error: Target org.macports.destroot returned: error renaming "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_root/root/work/destroot/opt/local/lib/root/ROOT.py": no such file or directory }}} Attached main.log -- -- Ticket URL: <https://trac.macports.org/ticket/31119#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31119: root +python26 fails in destroot because ROOT.py is not found ------------------------------------+--------------------------------------- Reporter: a2piratesoft@… | Owner: mattiafrancescomoro@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.2 Keywords: | Port: root ------------------------------------+--------------------------------------- Comment(by jonesc@…): I've made some progress on understand what I think is going on here. The problem is with the ROOT configure script. When python support is enabled, it does various things including things along the lines of {{{ pythonvers=`python -c 'import sys; sys.stdout.write(sys.version[:3])'` }}} The problem with that lines it assumes the python version being used is called 'python' and is found via the PATH variable.... Which isn't the case for MacPorts. This explains why when I was on SL python26 worked OK, but I never managed to get python27 working, whereas on Lion its the other way around (*). I'm debating the wisdom of this with the ROOT devs. Its not clear if anything will change. So, for the moment at least the situation is the only python variants which will work are the ones that are the same version as the system python version, so 2.7 on Lion and 2.6 on SL. (*) I am currently running a check to make sure the 2.7 variant on Lion works OK... Once it does I'll submit the patch for inclusion. -- Ticket URL: <https://trac.macports.org/ticket/31119#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31119: root +python26 fails in destroot because ROOT.py is not found ------------------------------------+--------------------------------------- Reporter: a2piratesoft@… | Owner: mattiafrancescomoro@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.2 Keywords: | Port: root ------------------------------------+--------------------------------------- Comment(by jonesc@…): Question from the ROOT devs... Is it possible to define an alias or similar, so when the root build runs 'python' it will pick up the version I want, and not the system python ? -- Ticket URL: <https://trac.macports.org/ticket/31119#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31119: root +python26 fails in destroot because ROOT.py is not found ------------------------------------+--------------------------------------- Reporter: a2piratesoft@… | Owner: mattiafrancescomoro@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.2 Keywords: | Port: root ------------------------------------+--------------------------------------- Comment(by jonesc@…): It turns out I can install whatever python variant of root I want, as long as I have run sudo port select python pythonXY on for that XY version first. Could someone else who has build problems try this and see if it helps ? Chris -- Ticket URL: <https://trac.macports.org/ticket/31119#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31119: root +python26 fails in destroot because ROOT.py is not found ------------------------------------+--------------------------------------- Reporter: a2piratesoft@… | Owner: jonesc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.2 Keywords: | Port: root ------------------------------------+--------------------------------------- Changes (by ryandesign@…): * owner: mattiafrancescomoro@… => jonesc@… * cc: mattiafrancescomoro@…, ryandesign@… (added) Comment: Sorry, I filed duplicate #31259. Yes, "`sudo port select python pythonXY`" will undoubtedly help, but that is a workaround, not a solution. The port needs to be modified to no longer use a binary called "python"; it must use the specific versioned python corresponding to the chosen variant. -- Ticket URL: <https://trac.macports.org/ticket/31119#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31119: root +python26 fails in destroot because ROOT.py is not found -----------------------------+---------------------- Reporter: a2piratesoft@… | Owner: jonesc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.2 Resolution: | Keywords: Port: root | -----------------------------+---------------------- Comment (by macsforever2000@…): I believe this issue has been fixed already? -- Ticket URL: <https://trac.macports.org/ticket/31119#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31119: root +python26 fails in destroot because ROOT.py is not found -----------------------------+---------------------- Reporter: a2piratesoft@… | Owner: jonesc@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.2 Resolution: fixed | Keywords: Port: root | -----------------------------+---------------------- Changes (by macsforever2000@…): * status: new => closed * resolution: => fixed Comment: I believe this was fixed in r84076. -- Ticket URL: <https://trac.macports.org/ticket/31119#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts