Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#31247 closed defect (fixed)

root: update to v5.30.01

Reported by: cjones051073 (Chris Jones) Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: haspatch maintainer Cc: mf2k (Frank Schima)
Port: root

Description (last modified by mf2k (Frank Schima))

Update root version to 5.30.01

This version builds natively on OSX 10.7, without the need to resort to a gcc variant.

Also adds a python27 variant.

Note : Due to a flaw in the root configure script, the only variant that works on OSX10.6 is python26, whereas on OSX10.7 only python27 works. For more details see ticket:31119

I'm in discussion with the ROOT devs on this.

However, given this a) fixes non-gcc variant compilation on OSX 10.7 and b) provides a working python variant for both OSX 10.6 and 10.7, I think it is worth submitting now ?

Chris

Attachments (2)

root-v5.30.01.diff (3.3 KB) - added by cjones051073 (Chris Jones) 8 years ago.
root-v5.30.01.2.diff (2.0 KB) - added by cjones051073 (Chris Jones) 8 years ago.

Download all attachments as: .zip

Change History (12)

Changed 8 years ago by cjones051073 (Chris Jones)

Attachment: root-v5.30.01.diff added

comment:1 Changed 8 years ago by cjones051073 (Chris Jones)

crap. hit submit before setting the ticket port. Please update to 'root' ....

comment:2 Changed 8 years ago by mf2k (Frank Schima)

Cc: macsforever2000@… added
Description: modified (diff)
Keywords: haspatch maintainer added
Port: root added

Please don't change the $Id$ line.

comment:3 Changed 8 years ago by ryandesign (Ryan Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned
Summary: update root to v5.30.01root: update to v5.30.01

comment:4 Changed 8 years ago by cjones051073 (Chris Jones)

Some further progress on the python variant issues.

it turns out it is possible to install any variant you want, as long as you run 'port select python pythonXY' on that python version first.

So.... Is this a reasonable requirement to make ? Is there anyway we can enforce it in the Portfile. Would that even be reasonable ?

comment:5 Changed 8 years ago by mf2k (Frank Schima)

Generally the answer is no, that is not acceptable. Macports should not rely on the user's environment. ROOT needs to look for a specific python executable and the portfile can change that based on the desired python with a variant - or better yet - root-pythonxx subport.

comment:6 Changed 8 years ago by cjones051073 (Chris Jones)

Thanks. I fully agree.

I have already been arguing exactly this point with the ROOT devs on their mailing list, but so far I am not rally getting anywhere with them. They are of the opinion the root version they get via $PATH by running 'python' is always the correct version. I've asked for the ability to change this (in anyway they want) to something custom (i.e. pythonX.Y) but they do not seem to agree, so far... still trying.

comment:7 Changed 8 years ago by ryandesign (Ryan Schmidt)

Resolution: fixed
Status: assignedclosed

I have committed the update in r83995, even though I cannot build the port (because I could not build 5.30.00 either). I will file new tickets about my build failures, and about the problem with the python variants.

comment:8 Changed 8 years ago by mf2k (Frank Schima)

I can't build it either and I could before. See #31260.

comment:9 Changed 8 years ago by cjones051073 (Chris Jones)

After more discussions with the ROOT team, the attached updated might fix the python variants. The change is to the libdirs.

Chris

Changed 8 years ago by cjones051073 (Chris Jones)

Attachment: root-v5.30.01.2.diff added

comment:10 in reply to:  9 Changed 8 years ago by ryandesign (Ryan Schmidt)

Replying to jonesc@…:

After more discussions with the ROOT team, the attached updated might fix the python variants.

Committed in r84076.

Note: See TracTickets for help on using tickets.