Opened 11 years ago

Closed 10 years ago

#40551 closed defect (fixed)

octave @3.2.4 build failure

Reported by: ghostfreeman@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc:
Port: octave

Description

Octave is failing to build within Macports 2.2.0 with either gcc43 or gcc45. Occurs as part of a port upgrade. Issue appears to stem from a build statement command

Output from main.log

:debug:main No need to upgrade! readline 6.2.000_0 >= readline 6.2.000_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main ncurses 5.9_2 exists in the ports tree
:debug:main ncurses 5.9_2  is the latest installed
:debug:main ncurses 5.9_2  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants:
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/ncurses
:info:build       _genf_ in genf.o
:info:build       _gengam_ in gengam.o
:info:build       _genmul_ in genmul.o
:info:build       ...
:info:build   "__gfortran_string_index", referenced from:
:info:build       _phrtsd_ in phrtsd.o
:info:build       _xerprn_ in xerprn.o
:info:build ld: symbol(s) not found for architecture x86_64
:info:build collect2: ld returned 1 exit status
:info:build make[3]: *** [libcruft.dylib] Error 1
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave/octave/work/octave-3.2.4/libcruft'
:info:build make[2]: *** [libraries] Error 2
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave/octave/work/octave-3.2.4/libcruft'
:info:build make[1]: *** [libcruft] Error 2
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave/octave/work/octave-3.2.4'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave/octave/work/octave-3.2.4'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave/octave/work/octave-3.2.4" && /usr/bin/make -w all
:info:build Exit code: 2
:error:build org.macports.build for port octave returned: command execution failed
:debug:build Error code: CHILDSTATUS 3824 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: targets not executed for octave: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port octave for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave/octave/main.log

Change History (3)

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Try octave-devel instead.

comment:2 Changed 11 years ago by mf2k (Frank Schima)

It builds fine for me with gcc48 and atlas.

$ port installed octave
The following ports are currently installed:
  octave @3.2.4_16+atlas+gcc48 (active)

comment:3 Changed 10 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: newclosed

Please do:

sudo port clean octave
sudo port selfupdate

and then try installing octave again. Should be fixed with r114034.

Note: See TracTickets for help on using tickets.