bugGNU Octave - Bugs: bug #50886, Unable to install Control

 
 

bug #50886: Unable to install Control

Submitted by:  None
Submitted on:  Thu 27 Apr 2017 12:05:25 AM UTC  
 
Category: Octave Forge PackageSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Installation Failure
Status: InvalidAssigned to: None
Originator Name: Albert Sjoberg Originator Email: -unavailable-
Open/Closed: ClosedRelease: 4.0.3
Operating System: Mac OS

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 30 Apr 2017 01:48:16 AM UTC, comment #4:

Thank you for the feedback.
The problem was fixed with a setenv inclusion
In octave I ran:
"setenv('F77', '/usr/local/bin/gfortran')"
As I already had fortran installed, it was able to install correctly.

Thank you for your time, and for all the contributions. I am happy to flag this as solved/fixed.

Anonymous
Thu 27 Apr 2017 03:59:07 PM UTC, comment #3:

There is some confusion. What octave do you use? The line "/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/bin/mkoctfile-4.0.3" indicates that you are using the app bundle? This cannot be easily updated. Maybe you should move "/Applications/Octave.app" to the trash.

If you use an homebrew installation (in /usr/loca/) then you may try to "brew uninstall octave; brew install --build-from-source octave" (and maybe you want to add "--without-qt5" since the GUI is rather buggy on macOS). Then try installing the control package again.

Sebastian

Sebastian <sschoeps>
Thu 27 Apr 2017 02:58:00 PM UTC, comment #2:

Now I see this issue reported against the homebrew-science project, maybe take this there: https://github.com/Homebrew/homebrew-science/issues/4972

Mike Miller <mtmiller>
Project Administrator
Thu 27 Apr 2017 02:57:26 PM UTC, comment #1:

This looks to me like a configuration problem with the gfortran compiler under your homebrew environment. This may be a known issue or may have a workaround, adding sschoeps in cc.

Mike Miller <mtmiller>
Project Administrator
Thu 27 Apr 2017 12:05:25 AM UTC, original submission:

I was trying to install the signal package but Control is required. I tried to install the package and this was the result.

>> pkg install -forge control

clang: warning: -lsuitesparseconfig: 'linker' input unused
clang: warning: -lmetis: 'linker' input unused
clang: warning: argument unused during compilation: '-L/Applications/Octave.app/Contents/Resources/usr/opt/suite-sparse/lib'
clang: warning: argument unused during compilation: '-L/Applications/Octave.app/Contents/Resources/usr/opt/metis/lib'
<built-in>: internal compiler error: Illegal instruction: 4

<built-in>: internal compiler error: Abort trap: 6
gfortran: internal compiler error: Abort trap: 6 (program f951)
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://github.com/Homebrew/homebrew/issues> for instructions.
make: *** [slicotlibrary.a] Error 4
make: *** Waiting for unfinished jobs....
clang: warning: argument unused during compilation: '-pthread'
tar -xzf slicot.tar.gz
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/bin/mkoctfile-4.0.3 _control_helper_functions_.cc
mkdir sltmp
mv slicot/src/*.f ./sltmp
mv slicot/src_aux/*.f ./sltmp
cp TG04BX.fortran ./sltmp/TG04BX.f
cp TB01ZD.fortran ./sltmp/TB01ZD.f
cd sltmp; /Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/bin/mkoctfile-4.0.3 -c *.f

pkg: error running `make' for the control package.
error: called from 'configure_make' in file /Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/share/octave/4.0.3/m/pkg/private/configure_make.m near line 96, column 9

>>


------------
I have run brew update && brew upgrade and everything is now up to date.
I have been able to install other packages, before and after this error, and the octave ver reports:

>> ver

----------------------------------------------------------------------
GNU Octave Version: 4.0.3
GNU Octave License: GNU General Public License
Operating System: Darwin 15.6.0 Darwin Kernel Version 15.6.0: Fri Feb 1710:21:18 PST 2017; root:xnu-3248.60.11.4.1~1/RELEASE_X86_64 x86_64
----------------------------------------------------------------------
Package Name | Version | Installation directory
--------------------+---------+-----------------------
general | 2.0.0 | /Users/albertsjoberg/octave/general-2.0.0
instrument-control | 0.2.3 | .../octave/instrument-control-0.2.3
symbolic *| 2.5.0 | .../albertsjoberg/octave/symbolic-2.5.0

>>


-------------

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by sschoeps (Posted a comment)
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by mtmiller
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 08 May 2017 07:19:22 PM UTCmtmillerStatusNone=>Invalid
      Open/ClosedOpen=>Closed
    Thu 27 Apr 2017 02:57:26 PM UTCmtmillerCarbon-Copy-=>Added sschoeps

    Back to the top


    Powered by Savane 3.1-cleanup1