octave-control configure fail

Alan Rakes aarakes at bellsouth.net
Sat Jul 4 06:29:34 PDT 2015


I’ve been on Yosemite ever since I set up macports.  I just updated to 10.10.4, but this happened two days ago before I made that change so I don’t think that is it.  I don’t know why it is trying to use gcc 4.8 here.  Here are the versions of gcc I have installed.

 gcc48 @4.8.4_0
  gcc48 @4.8.4_1
  gcc48 @4.8.5_0 (active)
  gcc49 @4.9.2_1
  gcc49 @4.9.2_2
  gcc49 @4.9.3_0 (active)
  gcc_select @0.1_8 (active)

What could have made gcc48 not properly installed?


> On Jul 4, 2015, at 9:18 AM, Marius Schamschula <lists at schamschula.com> wrote:
> 
> Alan,
> 
> On Jul 4, 2015, at 8:06 AM, Alan Rakes <aarakes at bellsouth.net <mailto:aarakes at bellsouth.net>> wrote:
> 
>> During a routine sudo port upgrade outdated, I started getting a configure error on upgrading octave-control.  I performed a sudo port clean octave-control and tried again which often works, but this time, alas no.
>> 
>> Here is the message when it failed.
>> 
>> Error: org.macports.configure for port octave-control returned: configure failure: command execution failed
>> Please see the log file for port octave-control for details:
>>     /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-control/octave-control/main.log
>> Error: Unable to upgrade port: 1
>> To report a bug, follow the instructions in the guide:
>>     http://guide.macports.org/#project.tickets <http://guide.macports.org/#project.tickets>
>> 
>> 
>> Here is the part of the log where the configure appears to have failed.
>> 
>> :info:configure LFLAGS="-L/opt/local/lib/octave/3.8.2 -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib/gcc48/gcc/x86_64-apple-darwin14/4.8.4 -L/opt/local/lib/gcc48/gcc/x86_64-apple-darwin14/4.8.4/../../.. -lgfortran -lquadmath -lm -llapack -lcblas -lf77blas -latlas -L/opt/local/lib -L/opt/local/lib/gcc48/gcc/x86_64-apple-darwin14/4.8.4 -L/opt/local/lib/gcc48/gcc/x86_64-apple-darwin14/4.8.4/../../.. -lgfortran -lquadmath -lm" \
>> :info:configure     /opt/local/bin/mkoctfile-3.8.2 __control_slicot_functions__.cc common.cc <http://common.cc/> slicotlibrary.a
>> :info:configure ld: warning: directory not found for option '-L/opt/local/lib/gcc48/gcc/x86_64-apple-darwin14/4.8.4'
>> :info:configure ld: warning: directory not found for option '-L/opt/local/lib/gcc48/gcc/x86_64-apple-darwin14/4.8.4/../../..'
>> :info:configure ld: warning: directory not found for option '-L/opt/local/lib/gcc48/gcc/x86_64-apple-darwin14/4.8.4'
>> :info:configure ld: warning: directory not found for option '-L/opt/local/lib/gcc48/gcc/x86_64-apple-darwin14/4.8.4/../../..'
>> :info:configure ld: library not found for -lgfortran
>> :info:configure clang: error: linker command failed with exit code 1 (use -v to see invocation)
>> :info:configure make: *** [__control_slicot_functions__.oct] Error 1
>> :info:configure 
>> :info:configure pkg: error running `make' for the control package.
>> :info:configure error: called from 'configure_make' in file /opt/local/share/octave/3.8.2/m/pkg/private/configure_make.m near line 82, column 9
>> :info:configure error: called from:
>> :info:configure error:   /opt/local/share/octave/3.8.2/m/pkg/private/install.m at line 199, column 5
>> :info:configure error:   /opt/local/share/octave/3.8.2/m/pkg/private/build.m at line 50, column 3
>> :info:configure error:   /opt/local/share/octave/3.8.2/m/pkg/pkg.m at line 516, column 7
>> :info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-control/octave-control/work/control" && /opt/local/bin/octave -q -f --eval 'pkg build -verbose -nodeps /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-control/octave-control/work/control /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-control/octave-control/work/.tmp/control.tar.gz' 
>> :info:configure Exit code: 1
>> :error:configure org.macports.configure for port octave-control returned: configure failure: command execution failed
>> :debug:configure Error code: NONE
>> :debug:configure Backtrace: configure failure: command execution failed
>>     while executing
>> "portconfigure::configure_main org.macports.configure"
>>     ("eval" body line 1)
>>     invoked from within
>> "eval $procedure $targetname"
>> :info:configure Warning: targets not executed for octave-control: org.macports.install org.macports.configure org.macports.build org.macports.destroot
>> :notice:configure Please see the log file for port octave-control for details:
>>     /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-control/octave-control/main.log
>> 
>> 
>> Suggestions.  Thanks.
>> 
>> _______________________________________________
>> macports-users mailing list
>> macports-users at lists.macosforge.org <mailto:macports-users at lists.macosforge.org>
>> https://lists.macosforge.org/mailman/listinfo/macports-users
> 
> 
> Have you recently upgraded OS X on your computer, or uninstalled gcc48? mkoctfile is looking for Fortran, and not finding it, as gcc48 is not properly installed.
> 
> BTW: octave is currently built against gcc49. 
> 
> Marius
> --
> Marius Schamschula
> 
> 
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20150704/2ee6fee7/attachment.html>


More information about the macports-users mailing list