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

 
 

bug #50886: Unable to install Control

Submitter:  None
Submitted:  Thu 27 Apr 2017 12:05:25 AM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Installation Failure
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  Albert Sjoberg Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 4.0.3
Operating System:  * Mac OS Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group Member
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>
Group Member
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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-05-08 mtmiller StatusNone Invalid / Not an Octave Bug
        Open/ClosedOpen Closed
    2017-04-27 mtmiller Carbon-Copy- Added sschoeps

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code