Opened 11 years ago
Closed 11 years ago
#40430 closed defect (fixed)
octave upgrade error
Reported by: | jorgos.castello@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.0 |
Keywords: | Cc: | ||
Port: | octave |
Description
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.
Attachments (1)
Change History (10)
Changed 11 years ago by jorgos.castello@…
comment:1 Changed 11 years ago by mf2k (Frank Schima)
Keywords: | octave upgrade error removed |
---|---|
Port: | octave added; openmpi removed |
comment:2 follow-up: 8 Changed 11 years ago by mf2k (Frank Schima)
Why are you using such an old version of gcc? The port uses gcc48 by default now.
comment:3 Changed 11 years ago 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).
comment:4 follow-up: 5 Changed 11 years ago by mf2k (Frank Schima)
As with any variant:
sudo port install octave +gcc48
comment:5 Changed 11 years ago by jorgos.castello@…
Thanks ! I learned something new.
As with any variant:
sudo port install octave +gcc48
comment:6 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
If that helped octave install, great! If not, try the octave-devel port; it's newer.
comment:7 Changed 11 years ago by jorgos.castello@…
Thanks, I'll try it out. Currently I've another error message with gdal (Ticket #40431)
comment:8 Changed 11 years ago by jorgos.castello@…
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.
comment:9 Changed 11 years ago by michaelld (Michael Dickens)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Please do:
sudo port clean octave sudo port selfupdate
and then try installing octave again. Should be fixed with r114034.
In the future, please fill in the Port field with the port that actually fails to build.