Bug 113833 - math/scilab: missing dependency on gfortran
Summary: math/scilab: missing dependency on gfortran
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: Rong-En Fan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-18 20:50 UTC by Max Brazhnikov
Modified: 2007-06-19 21:40 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 Max Brazhnikov 2007-06-18 20:50:11 UTC
scilab fails to run without lang/gcc42 installed:

~> scilab
/libexec/ld-elf.so.1: Shared object "libgfortran.so.2" not found, required by "scilex"

~> ldd /usr/local/lib/scilab/bin/scilex
/usr/local/lib/scilab/bin/scilex:
        libgfortran.so.2 => not found (0x0)
        libm.so.4 => /lib/libm.so.4 (0x285e2000)
        liblapack.so.4 => /usr/local/lib/liblapack.so.4 (0x285f8000)
        libblas.so.2 => /usr/local/lib/libblas.so.2 (0x289e4000)
        libtk84.so.1 => /usr/local/lib/libtk84.so.1 (0x28a32000)
        libtcl84.so.1 => /usr/local/lib/libtcl84.so.1 (0x28b09000)
        libXaw3d.so.8 => /usr/local/lib/libXaw3d.so.8 (0x28bb4000)
        libXmu.so.6 => /usr/local/lib/libXmu.so.6 (0x28c0c000)
        libXt.so.6 => /usr/local/lib/libXt.so.6 (0x28c21000)
        libXext.so.6 => /usr/local/lib/libXext.so.6 (0x28c71000)
        libSM.so.6 => /usr/local/lib/libSM.so.6 (0x28c7f000)
        libICE.so.6 => /usr/local/lib/libICE.so.6 (0x28c88000)
        libX11.so.6 => /usr/local/lib/libX11.so.6 (0x28ca0000)
        libncurses.so.6 => /lib/libncurses.so.6 (0x28d8e000)
        libgcc_s.so.1 => not found (0x0)
        libc.so.6 => /lib/libc.so.6 (0x28dd1000)
        libgcc_s.so.1 => not found (0x0)
        libgcc_s.so.1 => not found (0x0)
        libXpm.so.4 => /usr/local/lib/libXpm.so.4 (0x28ec4000)
        libXp.so.6 => /usr/local/lib/libXp.so.6 (0x28ed4000)
        libXau.so.6 => /usr/local/lib/libXau.so.6 (0x28edc000)
        libXdmcp.so.6 => /usr/local/lib/libXdmcp.so.6 (0x28edf000)
        librpcsvc.so.3 => /usr/lib/librpcsvc.so.3 (0x28ee4000)

Fix: 

add lang/gcc42 to run dependencies
How-To-Repeat: install math/scilab
deinstall gcc42
run scilab
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-06-18 20:50:27 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback
Comment 2 Rong-En Fan freebsd_committer freebsd_triage 2007-06-19 08:08:19 UTC
Responsible Changed
From-To: freebsd-ports-bugs->rafan

I'll take it.
Comment 3 Jean-Sebastien Roy 2007-06-19 18:56:40 UTC
Thanks for the bug report. This patch should fix the runtime dependencies.

Regards,

js


diff -ruN scilab/Makefile scilab.new/Makefile
--- scilab/Makefile     Sat Jun 16 21:45:43 2007
+++ scilab.new/Makefile Tue Jun 19 19:53:09 2007
@@ -89,6 +89,7 @@

  WANT_FORTRAN=yes #dummy but future use
  BUILD_DEPENDS+=        gfortran42:${PORTSDIR}/lang/gcc42
+RUN_DEPENDS+=  gfortran42:${PORTSDIR}/lang/gcc42
  F77=           gfortran42
  FC=            gfortran42
  CONFIGURE_ARGS+=       --with-gfortran
Comment 4 dfilter service freebsd_committer freebsd_triage 2007-06-19 21:30:44 UTC
rafan       2007-06-19 20:30:38 UTC

  FreeBSD ports repository

  Modified files:
    math/scilab          Makefile 
  Log:
  - Add missing run-time dependency
  
  PR:           ports/113833
  Submitted by: Max Brazhnikov <makc at issp.ac.ru>
  Approved by:  Jean-S嶵astien Roy <js at jeannot.org> (maintainer)
  
  Revision  Changes    Path
  1.39      +2 -0      ports/math/scilab/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 5 Rong-En Fan freebsd_committer freebsd_triage 2007-06-19 21:30:47 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!