[MacPorts] #41969: Octave 3.6.4 fails to upgrade or install

MacPorts noreply at macports.org
Sun Dec 29 22:42:38 PST 2013


#41969: Octave 3.6.4 fails to upgrade or install
----------------------+-------------------------
  Reporter:  other@…  |      Owner:  michaelld@…
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.2.1
Resolution:           |   Keywords:
      Port:  octave   |
----------------------+-------------------------

Comment (by ryandesign@…):

 Replying to [ticket:41969 other@…]:
 > I am having trouble doing upgrade for Octave. I reported this on the
 user mailing list originally on December 18, 2013. See
 >
 >
 {{{http://thread.gmane.org/gmane.os.apple.macports.user/33710/focus=33711}}}
 >
 > I have followed the instructions given there by MIchael Dickens.
 Specifically, I have done this:
 >
 > {{{
 > $ sudo port clean octave
 > $ sudo port selfupdate
 > $ sudo port install octave +gcc48+atlas+docs+fltk
 > }}}
 >
 > The last few lines of the Termial output is now similar to what it was
 as I reported on the list except that now, only config.log is referenced
 whereas before main.log was also referenced.

 MacPorts should always mention the existence of the main.log file if a
 port failed to install, but there is a MacPorts base bug (mentioned as
 part of #37093) that prevents this from happening sometimes when
 dependencies get automatically installed first.

 > Here are the last few lines of signficant output:
 >
 > {{{
 > --->  Configuring octave
 > Error: Failed to configure octave, consult
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave/octave/work/octave-3.6.4/config.log
 > Error: org.macports.configure for port octave returned: configure
 failure: command execution failed
 > }}}

 A relevant line in the config.log appears to be:

 {{{
 ./configure: line 3724: /opt/local/bin/gfortran-mp-4.8: No such file or
 directory
 }}}

 Does that file actually exist? If not, is the gcc48 port installed? If
 not, install the gcc48 port, then clean octave and try again. octave
 should have declared a build dependency on the gcc48 port in its gcc48
 variant but doesn't appear to be doing so; this is a bug in the octave
 port.

 > When trying to run the defective Octave installation, the following
 results:
 >
 > {{{
 > dyld: Library not loaded: /opt/local/lib/libhdf5.7.dylib
 >   Referenced from: /opt/local/bin/octave
 >   Reason: image not found
 > Trace/BPT trap: 5
 > }}}

 This is your currently-installed octave, not the one you're trying and
 failing to install now. It's apparently broken because of a missing
 libhdf5 library. The hdf5-18 port used to provide libhdf5.7.dylib but now
 provides libhdf5.8.dylib, therefore all ports using libhdf5, such as
 octave, must be rebuilt. Which is what you're trying to do.

-- 
Ticket URL: <https://trac.macports.org/ticket/41969#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list