Opened 7 years ago

Closed 7 years ago

#54757 closed defect (fixed)

octave @4.2.1_4+accelerate+app+docs+fltk+gfortran+graphicsmagick+qt4+sound failing to activate

Reported by: lpn25 Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.4.1
Keywords: Cc:
Port: octave

Description

When running

sudo port install octave 

it installs a lot of dependencies and then gives:

--->  Activating octave @4.2.1_4+accelerate+app+docs+fltk+gfortran+graphicsmagick+qt4+sound
Error: Failed to activate octave: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave/octave/main.log for details.

The end of that log file is

:debug:activate activating directory: /opt/local/share/octave/packages
:debug:activate activating file: /opt/local/share/octave/packages/.turd_octave
:debug:activate Executing proc-post-org.macports.activate-activate-0
:debug:activate system: /opt/local/bin/octave-cli -q -f -H --eval 'try; pkg prefix /opt/local/share/octave/packages /opt/local/lib/octave/packages; pkg -verbose -global rebuild; disp(lasterror.message); catch; exit(1); end_try_catch;'
:info:activate dyld: Library not loaded: /opt/local/lib/libgcc/libgfortran.3.dylib
:info:activate   Referenced from: /opt/local/bin/octave-cli
:info:activate   Reason: image not found
:info:activate Command failed: /opt/local/bin/octave-cli -q -f -H --eval 'try; pkg prefix /opt/local/share/octave/packages /opt/local/lib/octave/packages; pkg -verbose -global rebuild; disp(lasterror.message); catch; exit(1); end_try_catch;'
:info:activate Killed by signal: 6
:error:activate Failed to activate octave: command execution failed
:debug:activate Error code: NONE
:debug:activate Backtrace: command execution failed
:debug:activate     while executing
:debug:activate "$post $targetname"
:error:activate See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave/octave/main.log for details.

Change History (8)

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

Owner: set to MarcusCalhoun-Lopez
Status: newassigned

In the future, please Cc the port maintainers (port info --maintainers octave), if any.

comment:2 Changed 7 years ago by lpn25

Forgot to mention that this is on 10.12.6

comment:3 Changed 7 years ago by Schamschula (Marius Schamschula)

Looks like we need a revision bump, due to the changes in libgcc/gcc.

comment:4 Changed 7 years ago by Schamschula (Marius Schamschula)

Resolution: fixed
Status: assignedclosed

comment:5 in reply to:  4 Changed 7 years ago by lpn25

Replying to Schamschula:

My machine just successfully finished its rebuild.

https://github.com/macports/macports-ports/commit/96d663470ac091bd866c5ea7a7c57d31c9bd3b47

Please ignore the comment below, I didn't update the sources and it was still giving me _4.

Which variant you had installed? Because the default one (4.2.1_4+accelerate+app+docs+fltk+gfortran+graphicsmagick+qt4+sound) failed again for me.

Last edited 7 years ago by lpn25 (previous) (diff)

comment:6 Changed 7 years ago by lpn25

It still doesn't work for me. Somehow octave shows still revision 4 and not 5.

After running

sudo port selfupdate

the the output of

port info octave

is:

port info octave
octave @4.2.1_4 (math, science)
Variants:             [+]accelerate, [+]app, atlas, clang37, clang38, clang39, clang40, [+]docs, [+]fltk, gcc5, gcc6,
                      gcc7, [+]gfortran, [+]graphicsmagick, java, jit, openblas, [+]qt4, qt5, [+]sound, universal
...
Version 0, edited 7 years ago by lpn25 (next)

comment:7 Changed 7 years ago by lpn25

Resolution: fixed
Status: closedreopened

comment:8 Changed 7 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: reopenedclosed

This is fixed; the rsync server lagging behind is a separate issue.

Note: See TracTickets for help on using tickets.