Bug 232958 - math/scilab fails to build with GCC 8
Summary: math/scilab fails to build with GCC 8
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Max Brazhnikov
URL:
Keywords:
Depends on:
Blocks: 231590
  Show dependency treegraph
 
Reported: 2018-11-04 12:06 UTC by Gerald Pfeifer
Modified: 2018-11-06 07:46 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (makc)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gerald Pfeifer freebsd_committer freebsd_triage 2018-11-04 12:06:00 UTC
We are working to update the default version of GCC in the Ports 
Collection from GCC 7 to GCC 8.  Alas math/scilab fails to build 
with that newer compiler which unfortunately blocks this update.

Cf. http://package22.nyi.freebsd.org/data/112amd64-default-PR231590/2018-10-29_06h48m05s/logs/errors/scilab-5.5.2_14.log

libtool: compile:  gfortran8 -DNDEBUG -I../../modules/core/includes/ -O -Wl,-rpath=/usr/local/lib/gcc8 -c src/fortran/twodq.f  -fPIC -o src/fortran/.libs/twodq.o
src/fortran/twodq.f:373:17:

       call tridv(node,node1,node2,0.5d0,1)
                 1
Error: Actual argument contains too few elements for dummy argument 'node' (9/10) at (1)
gmake[3]: *** [Makefile:1481: src/fortran/twodq.lo] Error 1
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-11-06 07:45:42 UTC
A commit references this bug:

Author: makc
Date: Tue Nov  6 07:45:10 UTC 2018
New revision: 484280
URL: https://svnweb.freebsd.org/changeset/ports/484280

Log:
  math/scilab:
  - Add patch from upstream to fix build with gfortran 8 [1]
  - Update WWW

  PR:		232958 [1]
  Reported by:	gerald

Changes:
  head/math/scilab/files/patch-gfortran8
  head/math/scilab/pkg-descr