Opened 9 years ago

Last modified 8 years ago

#49613 closed defect

root6: GSL uses the wrong complier — at Version 4

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

Description (last modified by mojca (Mojca Miklavec))

See log:

:info:build configure: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_root6/root6/work/build/GSL-prefix/src/GSL-build':
:info:build configure: error: C compiler cannot create executables

Change History (5)

Changed 9 years ago by watsodw

Attachment: main.log added

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

Do you have one of the MacPorts gcc ports 'port selected' to make it your default 'gcc' ? If so this appears to be the problem, as it appears the internal build of GSL, which I switched to for this version due to the fact ROOT does not yet support GSL 2.0 which MacPorts now uses, and during configure the internal GSL is discovering your gcc version and this is causing problems.

The work around is please un-select MacPorts gcc version, upgrade ROOT, then select it again. I was able to reproduce your failure by port selecting myself, and un-selecting it fixes things.

This is a bug in ROOT's build system, as it should configure its internal GSL version to build using the same compiler settings as ROOT itself. Please file this as a bug against ROOT upstream, as it is not a bug in the MacPorts port. I am hoping the next release will contain support for GSL 2.0, in which case I can revert back to using MacPorts version.

Chris

comment:2 Changed 9 years ago by watsodw

Thanks, that worked.

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

Thanks. Submitted a bug report with upstream.

https://sft.its.cern.ch/jira/browse/ROOT-7782

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

Description: modified (diff)
Summary: root6 upgrade failsroot6: GSL uses the wrong complier
Version: 2.3.4

I slightly forgot about this ticket, but based on the upstream ticket resolution it looks as if both problems should be solved now (after upgrading ROOT to 6.06 as per #50011 / r143637): the built-in GSL should use the proper compiler and the external GSL should work again.

We could probably switch back to the external GSL.

Note: See TracTickets for help on using tickets.