[MacPorts] #49613: root6 upgrade fails
#49613: root6 upgrade fails ------------------------------+-------------------------------- Reporter: david.w.watson@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: root6 ------------------------------+-------------------------------- See log -- Ticket URL: <https://trac.macports.org/ticket/49613> MacPorts <https://www.macports.org/> Ports system for OS X
#49613: root6 upgrade fails -------------------------------+-------------------------------- Reporter: david.w.watson@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: root6 | -------------------------------+-------------------------------- Comment (by jonesc@…): 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 -- Ticket URL: <https://trac.macports.org/ticket/49613#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#49613: root6 upgrade fails -------------------------------+-------------------------------- Reporter: david.w.watson@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: root6 | -------------------------------+-------------------------------- Comment (by david.w.watson@…): Thanks, that worked. -- Ticket URL: <https://trac.macports.org/ticket/49613#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#49613: root6 upgrade fails -------------------------------+-------------------------------- Reporter: david.w.watson@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: root6 | -------------------------------+-------------------------------- Comment (by jonesc@…): Thanks. Submitted a bug report with upstream. https://sft.its.cern.ch/jira/browse/ROOT-7782 -- Ticket URL: <https://trac.macports.org/ticket/49613#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#49613: root6: GSL uses the wrong complier -------------------------------+-------------------------------- Reporter: david.w.watson@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: root6 | -------------------------------+-------------------------------- Changes (by mojca@…): * version: 2.3.4 => Old description:
See log
New description: 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 }}} -- Comment: 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. -- Ticket URL: <https://trac.macports.org/ticket/49613#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#49613: root6: GSL uses the wrong complier -------------------------------+-------------------------------- Reporter: david.w.watson@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: root6 | -------------------------------+-------------------------------- Comment (by jonesc@…): I don't think the fix to allow ROOT to use an external GSL 2.x made it into 6.06.00, but I could be wrong. I'll review things for the next 6.06.01 update, to see if we can then revert back to using the external GSL. Using the internal one is not really a major issue, but it would be better to change back eventually. -- Ticket URL: <https://trac.macports.org/ticket/49613#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#49613: root6: GSL uses the wrong complier -------------------------------+-------------------------------- Reporter: david.w.watson@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: root6 | -------------------------------+-------------------------------- Comment (by mojca@…): Ah, no, it didn't. This ticket: * https://sft.its.cern.ch/jira/browse/ROOT-7776 says the patch has only been applied to 5.34/36, 6.08/00, 6.06/02 But from what I understand we now have three different issues: * incompatibility with external GSL version 2 ([https://sft.its.cern.ch/jira/browse/ROOT-7776 #7776]) * wrong compiler used for the internal GSL * `mathmore` should not be used when GSL is disabled The first two should eventually be fixed (they were fixed upstream), but we still need to change the third one. Or am I wrong? -- Ticket URL: <https://trac.macports.org/ticket/49613#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#49613: root6: GSL uses the wrong complier -------------------------------+-------------------------------- Reporter: david.w.watson@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: root6 | -------------------------------+-------------------------------- Comment (by jonesc@…): I am missing something. The third case is fixed as per r142498 no ? -- Ticket URL: <https://trac.macports.org/ticket/49613#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#49613: root6: GSL uses the wrong complier -------------------------------+-------------------------------- Reporter: david.w.watson@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: root6 | -------------------------------+-------------------------------- Comment (by jonesc@…): Replying to [comment:7 jonesc@…]:
I am missing something. The third case is fixed as per r142498 no ?
Or do you mean do the same with ROOT6... Yes, you are correct this is not done in the Port file right now and should be added (I doubt anyone has ever tried disabling it until now..). Note though the reason to disable GSL should really be gone in 6.06.00. -- Ticket URL: <https://trac.macports.org/ticket/49613#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#49613: root6: GSL uses the wrong complier -------------------------------+-------------------------------- Reporter: david.w.watson@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: root6 | -------------------------------+-------------------------------- Comment (by jonesc@…): Attached is a tirival patch to the ROOT6 port to make sure MathMore is turned off when the GSL variant is not enabled. -- Ticket URL: <https://trac.macports.org/ticket/49613#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
#49613: root6: GSL uses the wrong complier -------------------------------+-------------------------------- Reporter: david.w.watson@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: root6 | -------------------------------+-------------------------------- Comment (by mojca@…): Thanks, committed in r143641. The only other things that remain to do are then the following: * either wait for 6.06.02 or apply the upstream patch * switch back to external GSL -- Ticket URL: <https://trac.macports.org/ticket/49613#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X
#49613: root6: GSL uses the wrong complier -------------------------------+-------------------------------- Reporter: david.w.watson@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: root6 | -------------------------------+-------------------------------- Comment (by jonesc@…): As ROOT6 is working fine with the builtin GSL, and I inclined to just leave things as they are for now, and revert back to using an external GSL once 6.06.02 is out. -- Ticket URL: <https://trac.macports.org/ticket/49613#comment:11> MacPorts <https://www.macports.org/> Ports system for OS X
#49613: root6: GSL uses the wrong complier -------------------------------+-------------------------------- Reporter: david.w.watson@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: root6 | -------------------------------+-------------------------------- Changes (by mojca@…): * status: new => closed * resolution: => fixed Comment: We'll wait for the switch to external GSL until version 6.06.02 gets released, but we believe that the problems mentioned here should have disappeared after the latest upgrade. In case that you are still experiencing problems, please reopen the ticket or open a new one. -- Ticket URL: <https://trac.macports.org/ticket/49613#comment:12> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts