ports/180408: ports/math/scilab missing a file to be installed
Mamoru Iwaki
1wkmmr at gmail.com
Tue Jul 9 10:00:00 UTC 2013
>Number: 180408
>Category: ports
>Synopsis: ports/math/scilab missing a file to be installed
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Jul 09 10:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Mamoru Iwaki
>Release: FreeBSD 9.1-STABLE
>Organization:
>Environment:
FreeBSD 9.1-STABLE FreeBSD 9.1-STABLE #0 r253054: Tue Jul 9 15:36:28 JST 2013 root@:/usr/obj/nanobsd.full/mnt2/usr/src9/sys/MYGEN amd64
>Description:
I'm trying to use ports/math/scilab of the following version.
> head /usr/ports/math/scilab/Makefile
# Created by: js at jeannot.org
# $FreeBSD: head/math/scilab/Makefile 316464 2013-04-24 18:10:30Z ak $
It finished compile-install step with default options cleanly. However, it started with the following warnings at begining.
> env LANG= scilab
Warning: Could not find Java package '/mnt2/tmp/mnt2/usr/ports/math/scilab/work/scilab-5.3.3/thirdparty/saxon.jar'.
Some problems during the loading of the Java libraries occured.
This could lead to inconsistent behaviours.
Please check SCI/etc/classpath.xml.
(process:14428): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Actually, it looks saxon.jar was not installed properly. The description about saxon.jar looks strange like this.
> grep saxon.jar /usr/local/share/scilab/etc/classpath.xml
<path value="/mnt2/usr/ports/math/scilab/work/scilab-5.3.3/thirdparty/saxon.jar" load="onUse">
>How-To-Repeat:
It's simple, make install and run scilab.
>Fix:
Attached patch to Makefile should work although I'm not sure it's appropriate or not.
Patch attached with submission follows:
--- Makefile 2013-07-09 18:11:48.000000000 +0900
+++ Makefile.new 2013-07-09 18:04:06.000000000 +0900
@@ -250,8 +250,9 @@
pre-install:
@${MKDIR} ${DATADIR}/.atoms
.if ${PORT_OPTIONS:MGUI}
- @${MKDIR} ${DATADIR}/modules && ${INSTALL_DATA} ${DISTDIR}/${JGRAPHX_JAR} ${DATADIR}/modules/jgraphx.jar
+ @${MKDIR} ${DATADIR}/modules && ${INSTALL_DATA} ${DISTDIR}/${JGRAPHX_JAR} ${DATADIR}/modules/jgraphx.jar && ${INSTALL_DATA} ${WRKSRC}/thirdparty/saxon.jar ${DATADIR}/modules/saxon.jar
@${REINPLACE_CMD} -e 's|${WRKSRC}/thirdparty/jgraphx.jar|${DATADIR}/modules/jgraphx.jar|g' ${WRKSRC}/etc/classpath.xml
+ @${REINPLACE_CMD} -e 's|${WRKSRC}/thirdparty/saxon.jar|${DATADIR}/modules/saxon.jar|g' ${WRKSRC}/etc/classpath.xml
.endif
post-install:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list