[MacPorts] #40430: octave upgrade error
#40430: octave upgrade error ----------------------------------+-------------------------------- Reporter: jorgos.castello@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: octave upgrade error | Port: openmpi ----------------------------------+-------------------------------- Hi all, It wasn't possible for me to install the gcc44 port (See my Ticket #40418). So I payed attention to my command history and figured out, that I've uninstalled my "openmpi"-port. Suddenly, the "sudo port install openmpi" command installed my gcc44 and arpack port and it seemed to me that now everything is ok, but I'm getting the shown error message. {{{ Error: org.macports.build for port octave returned: command execution failed Please see the log file for port octave for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_octave/octave/main.log Error: Unable to upgrade port: 1 Error rebuilding octave while executing "error "Error rebuilding $portname"" (procedure "revupgrade_scanandrebuild" line 382) invoked from within "revupgrade_scanandrebuild broken_port_counts $opts" (procedure "macports::revupgrade" line 5) invoked from within "macports::revupgrade $opts" (procedure "action_revupgrade" line 2) invoked from within "action_revupgrade $action $portlist $opts" (procedure "action_target" line 96) invoked from within "$action_proc $action $portlist [array get global_options]" (procedure "process_cmd" line 93) invoked from within "process_cmd $remaining_args" invoked from within "if { [llength $remaining_args] > 0 } { # If there are remaining arguments, process those as a command set exit_status [process_cmd $remaining..." (file "/opt/local/bin/port" line 4857) }}} Please help me. -- Ticket URL: <https://trac.macports.org/ticket/40430> MacPorts <http://www.macports.org/> Ports system for OS X
#40430: octave upgrade error --------------------------------+-------------------------------- Reporter: jorgos.castello@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: octave | --------------------------------+-------------------------------- Changes (by macsforever2000@…): * keywords: octave upgrade error => * port: openmpi => octave Comment: In the future, please fill in the Port field with the port that actually fails to build. -- Ticket URL: <https://trac.macports.org/ticket/40430#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#40430: octave upgrade error --------------------------------+-------------------------------- Reporter: jorgos.castello@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: octave | --------------------------------+-------------------------------- Comment (by macsforever2000@…): Why are you using such an old version of gcc? The port uses gcc48 by default now. -- Ticket URL: <https://trac.macports.org/ticket/40430#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#40430: octave upgrade error --------------------------------+-------------------------------- Reporter: jorgos.castello@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: octave | --------------------------------+-------------------------------- Comment (by jorgos.castello@…): The openmpi port installed it. If there is a command to fix that compiler selection manually I'd do it. But I'm not a pro in those commands (as example Ticket #40418). -- Ticket URL: <https://trac.macports.org/ticket/40430#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#40430: octave upgrade error --------------------------------+-------------------------------- Reporter: jorgos.castello@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: octave | --------------------------------+-------------------------------- Comment (by macsforever2000@…): As with any variant: {{{ sudo port install octave +gcc48 }}} -- Ticket URL: <https://trac.macports.org/ticket/40430#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#40430: octave upgrade error --------------------------------+-------------------------------- Reporter: jorgos.castello@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: octave | --------------------------------+-------------------------------- Comment (by jorgos.castello@…): Thanks ! I learned something new.
As with any variant:
{{{ sudo port install octave +gcc48 }}}
-- Ticket URL: <https://trac.macports.org/ticket/40430#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#40430: octave upgrade error --------------------------------+-------------------------------- Reporter: jorgos.castello@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: octave | --------------------------------+-------------------------------- Comment (by ryandesign@…): If that helped octave install, great! If not, try the octave-devel port; it's newer. -- Ticket URL: <https://trac.macports.org/ticket/40430#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#40430: octave upgrade error --------------------------------+-------------------------------- Reporter: jorgos.castello@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: octave | --------------------------------+-------------------------------- Comment (by jorgos.castello@…): Thanks, I'll try it out. Currently I've another error message with gdal (Ticket #40431) -- Ticket URL: <https://trac.macports.org/ticket/40430#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#40430: octave upgrade error --------------------------------+-------------------------------- Reporter: jorgos.castello@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: octave | --------------------------------+-------------------------------- Comment (by jorgos.castello@…): Hi [comment:2 macsforever2000@…]:
Why are you using such an old version of gcc? The port uses gcc48 by default now.
You told me with the referred post, that the default compiler isn't the gcc44 compiler anymore. Is there a page where I can see right away what kind of compiler, libraries,.. are used by default ? I'm asking that, because I've also troubles to update the "Pallet" port. I still use version 1.0. -- Ticket URL: <https://trac.macports.org/ticket/40430#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#40430: octave upgrade error --------------------------------+-------------------------------- Reporter: jorgos.castello@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: fixed | Keywords: Port: octave | --------------------------------+-------------------------------- Changes (by michaelld@…): * status: new => closed * resolution: => fixed Comment: Please do: {{{ sudo port clean octave sudo port selfupdate }}} and then try installing octave again. Should be fixed with r114034. -- Ticket URL: <https://trac.macports.org/ticket/40430#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts