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

MacPorts noreply at macports.org
Mon Dec 30 20:30:39 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 other@…):

 Replying to [comment:2 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?
 No.
 >  If not, is the gcc48 port installed?
 No.
 >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.
 I installed gcc48 which caused the above file to appear (but with a
 creation date of October 31, 2013) and the following ports to be attempted
 to be rebuilt:
 {{{
      py27-pil @1.1.7
      py27-h5py @2.1.0
      py27-matplotlib @1.2.0 +tkinter
      py27-scipy @0.11.0 +gcc45
      qt4-mac @4.8.4
      leptonica @1.69
      tesseract @3.01
      graphviz @2.34.0 +pangocairo+x11
      dvipng @1.14
      gdk-pixbuf2 @2.30.1 +x11
      gtk2 @2.24.22 +x11
      openmotif @2.3.4
      octave-devel @3.6.3 +atlas+gcc45
      wxWidgets @2.8.12
 }}}
 which choked at
 {{{
 octave-devel @3.6.3 +atlas+gcc45
 }}}
 complaining
 {{{
 Error: Requested variants "+atlas+gcc45" do not match original selection
 "+atlas+docs+fltk+gcc48".
 }}}
 which is apparently referring to the variants that I had previously used.
 So I did port clean octave and then sudo port install octave
 +atlas+docs+fltk+gcc48 which caused a bit more rebuilding and then an
 apparent failure at
 {{{
 Error: wxWidgets-2.8 cannot be built on Moc OS X >= 10.7 with Xcode >=
 4.4, please use port wxWidgets-3.0 or wxgtk-2.8 instead
 }}}
 However, I already have that version of wxWidgets installed,
 {{{
 $ port installed wxwidgets
 The following ports are currently installed:
   wxWidgets @2.8.12_0
   wxWidgets @2.8.12_1 (active)
 }}}
 so, dunno about that one.

 However, Octave 3.6.4 now runs again.

 I'll attach the Terminal output for your viewing pleasure.
 >
 > > 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:3>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list