Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#40432 closed update (fixed)

ROOT update to 5.34.10 + various compiler improvements

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

Description

Hi,

The attached update bumps the ROOT port to 5.34.10.

It also reworks the gcc variants to address issues with mixing c++ runtimes, by no longer using these variants to set the c/c++ compilers. They are now only used to set the fortran compiler.

The cocoa variant is now update to use compiler black and fall back lists to make sure a compatible clang compiler is always used. (Can only test on OSX 10.8 with Xcode 4.6.3 so rely on reports from others for problems with other combinations).

cheers Chris

Attachments (3)

root.diff (6.6 KB) - added by cjones051073 (Chris Jones) 11 years ago.
config.log (134.1 KB) - added by gnw3 11 years ago.
config.log for Snow Leoaprd build using default options
main.log (2.8 MB) - added by gnw3 11 years ago.
main.log for failed Snow Leopard build using default options

Change History (7)

Changed 11 years ago by cjones051073 (Chris Jones)

Attachment: root.diff added

comment:1 Changed 11 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: newclosed
Version: 2.2.0

r110912. Thanks! I also fixed some minor lint spacing warnings.

Changed 11 years ago by gnw3

Attachment: config.log added

config.log for Snow Leoaprd build using default options

Changed 11 years ago by gnw3

Attachment: main.log added

main.log for failed Snow Leopard build using default options

comment:2 Changed 11 years ago by gnw3

root 5.34.10 builds on Snow Leopard (Xcode 3.2.6) using the default options and with macports' FTGL deactivated. Using +clang33 builds even with active FTGL. I have attached logs from a failed build. I would have guessed that the library search is finding macports FTGL rather than ROOT's internal FTGL, but it is a bit of a surprise that +clang33 would affect library search.

comment:3 Changed 11 years ago by cjones051073 (Chris Jones)

I've seen things like this in the past, but they went away, probably when I updated to 10.7 or a newer Xcode.. I only have 10.8 + Xcode 4.6.3 to test with, and there I don't see the problem.

I agree with your idea that it could be the ROOT configuration picking up the library when it shouldn't be (as it should be forced into building its own). As I cannot debug this myself there is nothing much I can do (other perhaps put a check in that causes the port build to error out on OSX 10.6 if ftgl is instead, instructing the user to deactivate it for the duration of the ROOT build). If someone else wishes to poke around to see if they can figure out whats wrong, be my guest ;)

Chris

comment:4 in reply to:  3 Changed 11 years ago by gnw3

Replying to jonesc@…:

I've seen things like this in the past, but they went away, probably when I updated to 10.7 or a newer Xcode.. I only have 10.8 + Xcode 4.6.3 to test with, and there I don't see the problem.

I agree with your idea that it could be the ROOT configuration picking up the library when it shouldn't be (as it should be forced into building its own). As I cannot debug this myself there is nothing much I can do (other perhaps put a check in that causes the port build to error out on OSX 10.6 if ftgl is instead, instructing the user to deactivate it for the duration of the ROOT build). If someone else wishes to poke around to see if they can figure out whats wrong, be my guest ;)

Just to clarify -- configure is given the "--enable-builtin-ftgl" option, so config.log has:

Checking whether to build included libftgl
Result: yes

I verified that ROOT's FTGL library gets built, but from the link errors it seems that macport's version is used to link unless the +clang33 variant is requested.

Note: See TracTickets for help on using tickets.