Bug 180409 - ports/math/scilab trying to use F77
Summary: ports/math/scilab trying to use F77
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Max Brazhnikov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-09 11:10 UTC by Mamoru IWAKI
Modified: 2014-07-28 11:06 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mamoru IWAKI 2013-07-09 11:10:00 UTC
I'm trying to use scilab, and begining to play demonstarations from Scilab Console (?->Scilab Demonstrations). Some demonstrations failed with trying to use F77. For example, Simulation->Wheel simulation->Simulation with ode (needs a Fortran Compiler) failed with the following output. 

Startup execution:
  loading initial environment
 ilib_compile: An error occurred during the compilation:
 
!libtool: ignoring unknown tag F77                                        !
!                                                                         !
!libtool: unrecognized option `-I/usr/local/share/scilab//../../include/sc!
!     ilab/'                                                              !
!                                                                         !
!Try `libtool --help' for more information.                               !

ilib_compile: The command was:
make  CFLAGS="-I/usr/local/share/scilab//../../include/scilab/ " CXXFLAGS="-I/usr/local/share/scilab//../../include/scilab/ " FFLAGS="-I/usr/local/share/scilab//../../include/scilab/ "
link(wheel_path + 'libwheel' + getdynlibext(), ['wheel','wheelg'],'f');
                                                            !--error 236 
link: The shared archive was not loaded: Cannot open "/mnt2/tmp/SCI_TMP_62272_hPI0QG/libwheel.so"
at line      18 of exec file called by :    

at line      17 of function wheel_build_and_load called by :  
at line      16 of function demo_wheel2 called by :  
demo_wheel2();
at line      74 of exec file called by :    
o_gui_update();exec(script_path,-1);clear script_path;;if exists("%oldgcbo"
while executing a callback


Another example is n-pendulum; it some times crashed scilab itself with Segmentation fault.

Fix: 

Sorry, but no idea.
How-To-Repeat: Simply make install and run some demonstrations on scilab.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-04-27 14:15:37 UTC
Responsible Changed
From-To: freebsd-ports-bugs->makc

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 commit-hook freebsd_committer freebsd_triage 2014-07-27 18:38:29 UTC
A commit references this bug:

Author: makc
Date: Sun Jul 27 18:37:45 UTC 2014
New revision: 363090
URL: http://svnweb.freebsd.org/changeset/ports/363090

Log:
  math/scilab:
  - Fix fortran bindings

  PR:		180409
  Reported by:	1wkmmr@gmail.com

Changes:
  head/math/scilab/Makefile
Comment 3 Max Brazhnikov freebsd_committer freebsd_triage 2014-07-27 18:40:09 UTC
Fixed, thanks for report!
Comment 4 commit-hook freebsd_committer freebsd_triage 2014-07-28 11:06:18 UTC
A commit references this bug:

Author: makc
Date: Mon Jul 28 11:05:17 UTC 2014
New revision: 363129
URL: http://svnweb.freebsd.org/changeset/ports/363129

Log:
  MFH: r363090

  math/scilab:
  - Fix fortran bindings

  PR:		180409
  Reported by:	1wkmmr@gmail.com
  Approved by:	portmgr (bapt)

Changes:
_U  branches/2014Q3/
  branches/2014Q3/math/scilab/Makefile