Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#49677 closed update (fixed)

xrootd: update to 4.2.3

Reported by: cjones051073 (Chris Jones) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch maintainer Cc: mojca (Mojca Miklavec)
Port: xrootd

Description

Updates to the v4 series.

Attachments (1)

xrootd.diff (1.8 KB) - added by cjones051073 (Chris Jones) 8 years ago.

Download all attachments as: .zip

Change History (13)

Changed 8 years ago by cjones051073 (Chris Jones)

Attachment: xrootd.diff added

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

Damn auto spell check....

Port is xrootd, not 'rooted'...

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

Summary: Update rooted port to latest in the v4 series.Update xrootd port to latest in the v4 series.
Version: 2.3.4

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

Summary: Update xrootd port to latest in the v4 series.xrootd: update to 4.2.3

You've added a python27 dependency, but how does xrootd know to use MacPorts python27, as opposed to another python?

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

It seems to find it fine during configuration, i.e.

-- Found PythonLibs: /opt/local/lib/libpython2.7.dylib (found suitable version "2.7.10", minimum required is "2.4") 
-- Found PythonInterp: /opt/local/bin/python2.7 (found suitable version "2.7.10", minimum required is "2.4") 

But yes, perhaps it would be better to ensure this. I'll check to see if there is a configuration option to do it..

Chris

Last edited 8 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

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

I've run some checks, and I don't think anything needs to change. python27 is picked automatically already, even if a newer python3x port is installed. So just adding the port dependency is enough to make sure it is found and used.

Chris

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

Are you sure you haven't used "sudo port select python python27"?

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

no, I haven't.

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

So... Can this be committed, or do you still thing something is wrong. As far as I can tell xrootd is correctly picking the python version.

comment:9 Changed 8 years ago by mojca (Mojca Miklavec)

To Ryan: finding Python is controlled by a relatively complex script

/opt/local/share/cmake-3.4/Modules/FindPythonInterp.cmake

If MacPorts user doesn't have any Python installed, it picks the system-wide Python. Else it picks any Python >= 2.4, probably the latest one. If any suspicion is there, you should address it to the CMake developers (or the CMake port maintainer).

comment:10 Changed 8 years ago by mojca (Mojca Miklavec)

Cc: mojca@… added

Cc Me!

comment:11 Changed 8 years ago by mojca (Mojca Miklavec)

Resolution: fixed
Status: newclosed

comment:12 Changed 8 years ago by mojca (Mojca Miklavec)

Build on 10.6 successful after r142880.

Note: See TracTickets for help on using tickets.