Package Details: scilab 2025.0.0-1

Git Clone URL: https://aur.archlinux.org/scilab.git (read-only, click to copy)
Package Base: scilab
Description: A scientific software package for numerical computations
Upstream URL: https://www.scilab.org
Keywords: algorithm analysis data development gui mathematics model modelica numeric numerical science scientific sdk simulation visualization
Licenses: BSD-3-Clause, GPL-2.0-or-later, CeCILL-2.1
Submitter: td123
Maintainer: carlosal1015
Last Packager: carlosal1015
Votes: 86
Popularity: 0.002056
First Submitted: 2011-12-07 20:36 (UTC)
Last Updated: 2024-10-26 02:56 (UTC)

Pinned Comments

carlosal1015 commented on 2024-11-17 18:01 (UTC)

Open issue https://gitlab.com/scilab/scilab/-/issues/16429

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 .. 29 Next › Last »

issue_no1 commented on 2020-05-13 20:15 (UTC)

@Xwang: you need to install java 8 and/or enable the java version. learn more: https://wiki.archlinux.org/index.php/Java#Switching_between_JVM

for build of jgraphx 3.7.4 on manjaro I adjusted simply the pkgver and the value of sha256sums in the build script:

pkgname=jgraphx
pkgver=3.7.4
pkgrel=1
pkgdesc="Open source graph drawing component."
arch=('any')
url="https://github.com/jgraph/jgraphx"
license=('BSD')
depends=('java-runtime')
source=( "${pkgname}-v${pkgver}.tar.gz::https://github.com/jgraph/jgraphx/archive/v${pkgver}.tar.gz"
)
sha256sums=('e73f5ee1d8a380992206fa9fe19279c6ceff4c31172b188d268203888e65dfc3')

package() {
  cd "${srcdir}/jgraphx-${pkgver}"
    install -Dm644 "license.txt" \
    "${pkgdir}/usr/share/licenses/${pkgname}/license.txt"
    install -Dm644 "lib/jgraphx.jar" \
    "${pkgdir}/usr/share/java/${pkgname}/${pkgname}.jar"
}

# vim:set ts=2 sw=2 et:

that compiled without problems

@bartus Thank you very much for this advice! jgraphx is now accepted by scilab build script.

But unfortunately it failed again to build scilab 6.1.0-2. Cause I assume the code is correct I don't know where to look at, again. Here is a snippet, may someone knows more than me (thank you in advance!):

[...]
    Making all in functions_manager
make[2]: Entering directory '/var/tmp/pamac-build-mes/scilab/src/scilab-6.1.0/modules/functions_manager'
/bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -std=c++17 -DHAVE_CONFIG_H -I. -I../../modules/core/includes  -I./includes/ -I../../modules/ast/includes/ast/ -I../../modules/ast/includes/exps/ -I../../modules/ast/includes/operations/ -I../../modules/ast/includes/parse/ -I../../modules/ast/includes/symbol/ -I../../modules/ast/includes/system_env/ -I../../modules/ast/includes/types/ -I../../modules/ast/includes/analysis/ -I../../modules/dynamic_link/includes -I../../modules/api_scilab/includes/ -I../../modules/console/includes/ -I../../modules/core/includes/ -I../../modules/elementary_functions/includes/ -I../../modules/fileio/includes/ -I../../modules/jvm/includes/ -I../../modules/localization/includes/ -I../../modules/output_stream/includes/ -I../../modules/signal_processing/includes/ -I../../modules/string/includes/ -I../../modules/threads/includes/  -I/usr/include/libxml2 -D_FORTIFY_SOURCE=2 -DNDEBUG -g1 -O2 -fno-stack-protector -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT src/cpp/libscifunctions_manager_la-funcmanager.lo -MD -MP -MF src/cpp/.deps/libscifunctions_manager_la-funcmanager.Tpo -c -o src/cpp/libscifunctions_manager_la-funcmanager.lo `test -f 'src/cpp/funcmanager.cpp' || echo './'`src/cpp/funcmanager.cpp
/bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -std=c++17 -DHAVE_CONFIG_H -I. -I../../modules/core/includes  -I./includes/ -I../../modules/ast/includes/ast/ -I../../modules/ast/includes/exps/ -I../../modules/ast/includes/operations/ -I../../modules/ast/includes/parse/ -I../../modules/ast/includes/symbol/ -I../../modules/ast/includes/system_env/ -I../../modules/ast/includes/types/ -I../../modules/ast/includes/analysis/ -I../../modules/dynamic_link/includes -I../../modules/api_scilab/includes/ -I../../modules/console/includes/ -I../../modules/core/includes/ -I../../modules/elementary_functions/includes/ -I../../modules/fileio/includes/ -I../../modules/jvm/includes/ -I../../modules/localization/includes/ -I../../modules/output_stream/includes/ -I../../modules/signal_processing/includes/ -I../../modules/string/includes/ -I../../modules/threads/includes/  -I/usr/include/libxml2 -D_FORTIFY_SOURCE=2 -DNDEBUG -g1 -O2 -fno-stack-protector -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT src/cpp/libscifunctions_manager_la-dynamic_modules.lo -MD -MP -MF src/cpp/.deps/libscifunctions_manager_la-dynamic_modules.Tpo -c -o src/cpp/libscifunctions_manager_la-dynamic_modules.lo `test -f 'src/cpp/dynamic_modules.cpp' || echo './'`src/cpp/dynamic_modules.cpp
/bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -std=c++17 -DHAVE_CONFIG_H -I. -I../../modules/core/includes  -I./includes/ -I../../modules/ast/includes/ast/ -I../../modules/ast/includes/exps/ -I../../modules/ast/includes/operations/ -I../../modules/ast/includes/parse/ -I../../modules/ast/includes/symbol/ -I../../modules/ast/includes/system_env/ -I../../modules/ast/includes/types/ -I../../modules/ast/includes/analysis/ -I../../modules/dynamic_link/includes -I../../modules/api_scilab/includes/ -I../../modules/console/includes/ -I../../modules/core/includes/ -I../../modules/elementary_functions/includes/ -I../../modules/fileio/includes/ -I../../modules/jvm/includes/ -I../../modules/localization/includes/ -I../../modules/output_stream/includes/ -I../../modules/signal_processing/includes/ -I../../modules/string/includes/ -I../../modules/threads/includes/  -I/usr/include/libxml2 -D_FORTIFY_SOURCE=2 -DNDEBUG -g1 -O2 -fno-stack-protector -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT src/cpp/libscifunctions_manager_la-functions_manager.lo -MD -MP -MF src/cpp/.deps/libscifunctions_manager_la-functions_manager.Tpo -c -o src/cpp/libscifunctions_manager_la-functions_manager.lo `test -f 'src/cpp/functions_manager.cpp' || echo './'`src/cpp/functions_manager.cpp
libtool: compile:  g++ -std=c++17 -DHAVE_CONFIG_H -I. -I../../modules/core/includes -I./includes/ -I../../modules/ast/includes/ast/ -I../../modules/ast/includes/exps/ -I../../modules/ast/includes/operations/ -I../../modules/ast/includes/parse/ -I../../modules/ast/includes/symbol/ -I../../modules/ast/includes/system_env/ -I../../modules/ast/includes/types/ -I../../modules/ast/includes/analysis/ -I../../modules/dynamic_link/includes -I../../modules/api_scilab/includes/ -I../../modules/console/includes/ -I../../modules/core/includes/ -I../../modules/elementary_functions/includes/ -I../../modules/fileio/includes/ -I../../modules/jvm/includes/ -I../../modules/localization/includes/ -I../../modules/output_stream/includes/ -I../../modules/signal_processing/includes/ -I../../modules/string/includes/ -I../../modules/threads/includes/ -I/usr/include/libxml2 -D_FORTIFY_SOURCE=2 -DNDEBUG -g1 -O2 -fno-stack-protector -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT src/cpp/libscifunctions_manager_la-functions_manager.lo -MD -MP -MF src/cpp/.deps/libscifunctions_manager_la-functions_manager.Tpo -c src/cpp/functions_manager.cpp  -fPIC -DPIC -o src/cpp/.libs/libscifunctions_manager_la-functions_manager.o
libtool: compile:  g++ -std=c++17 -DHAVE_CONFIG_H -I. -I../../modules/core/includes -I./includes/ -I../../modules/ast/includes/ast/ -I../../modules/ast/includes/exps/ -I../../modules/ast/includes/operations/ -I../../modules/ast/includes/parse/ -I../../modules/ast/includes/symbol/ -I../../modules/ast/includes/system_env/ -I../../modules/ast/includes/types/ -I../../modules/ast/includes/analysis/ -I../../modules/dynamic_link/includes -I../../modules/api_scilab/includes/ -I../../modules/console/includes/ -I../../modules/core/includes/ -I../../modules/elementary_functions/includes/ -I../../modules/fileio/includes/ -I../../modules/jvm/includes/ -I../../modules/localization/includes/ -I../../modules/output_stream/includes/ -I../../modules/signal_processing/includes/ -I../../modules/string/includes/ -I../../modules/threads/includes/ -I/usr/include/libxml2 -D_FORTIFY_SOURCE=2 -DNDEBUG -g1 -O2 -fno-stack-protector -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT src/cpp/libscifunctions_manager_la-funcmanager.lo -MD -MP -MF src/cpp/.deps/libscifunctions_manager_la-funcmanager.Tpo -c src/cpp/funcmanager.cpp  -fPIC -DPIC -o src/cpp/.libs/libscifunctions_manager_la-funcmanager.o
libtool: compile:  g++ -std=c++17 -DHAVE_CONFIG_H -I. -I../../modules/core/includes -I./includes/ -I../../modules/ast/includes/ast/ -I../../modules/ast/includes/exps/ -I../../modules/ast/includes/operations/ -I../../modules/ast/includes/parse/ -I../../modules/ast/includes/symbol/ -I../../modules/ast/includes/system_env/ -I../../modules/ast/includes/types/ -I../../modules/ast/includes/analysis/ -I../../modules/dynamic_link/includes -I../../modules/api_scilab/includes/ -I../../modules/console/includes/ -I../../modules/core/includes/ -I../../modules/elementary_functions/includes/ -I../../modules/fileio/includes/ -I../../modules/jvm/includes/ -I../../modules/localization/includes/ -I../../modules/output_stream/includes/ -I../../modules/signal_processing/includes/ -I../../modules/string/includes/ -I../../modules/threads/includes/ -I/usr/include/libxml2 -D_FORTIFY_SOURCE=2 -DNDEBUG -g1 -O2 -fno-stack-protector -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT src/cpp/libscifunctions_manager_la-dynamic_modules.lo -MD -MP -MF src/cpp/.deps/libscifunctions_manager_la-dynamic_modules.Tpo -c src/cpp/dynamic_modules.cpp  -fPIC -DPIC -o src/cpp/.libs/libscifunctions_manager_la-dynamic_modules.o
mv -f src/cpp/.deps/libscifunctions_manager_la-functions_manager.Tpo src/cpp/.deps/libscifunctions_manager_la-functions_manager.Plo
In file included from /usr/include/unicode/uenum.h:23,
                 from /usr/include/unicode/ucnv.h:53,
                 from /usr/include/libxml2/libxml/encoding.h:31,
                 from /usr/include/libxml2/libxml/parser.h:810,
                 from /usr/include/libxml2/libxml/xmlerror.h:10,
                 from /usr/include/libxml2/libxml/xpath.h:26,
                 from src/cpp/dynamic_modules.cpp:27:
/usr/include/unicode/localpointer.h:67:1: error: template with C linkage
   67 | template<typename T>
      | ^~~~~~~~
src/cpp/dynamic_modules.cpp:21:1: note: ‘extern "C"’ linkage started here
   21 | extern "C"
      | ^~~~~~~~~~
In file included from /usr/include/unicode/uenum.h:23,
                 from /usr/include/unicode/ucnv.h:53,
                 from /usr/include/libxml2/libxml/encoding.h:31,
                 from /usr/include/libxml2/libxml/parser.h:810,
                 from /usr/include/libxml2/libxml/xmlerror.h:10,
                 from /usr/include/libxml2/libxml/xpath.h:26,
                 from src/cpp/dynamic_modules.cpp:27:
/usr/include/unicode/localpointer.h:190:1: error: template with C linkage
  190 | template<typename T>
      | ^~~~~~~~
src/cpp/dynamic_modules.cpp:21:1: note: ‘extern "C"’ linkage started here
   21 | extern "C"
      | ^~~~~~~~~~
In file included from /usr/include/unicode/uenum.h:23,
                 from /usr/include/unicode/ucnv.h:53,
                 from /usr/include/libxml2/libxml/encoding.h:31,
                 from /usr/include/libxml2/libxml/parser.h:810,
                 from /usr/include/libxml2/libxml/xmlerror.h:10,
                 from /usr/include/libxml2/libxml/xpath.h:26,
                 from src/cpp/dynamic_modules.cpp:27:
/usr/include/unicode/localpointer.h:365:1: error: template with C linkage
  365 | template<typename T>
      | ^~~~~~~~
src/cpp/dynamic_modules.cpp:21:1: note: ‘extern "C"’ linkage started here
   21 | extern "C"
      | ^~~~~~~~~~
In file included from /usr/include/unicode/uenum.h:23,
                 from /usr/include/unicode/ucnv.h:53,
                 from /usr/include/libxml2/libxml/encoding.h:31,
                 from /usr/include/libxml2/libxml/parser.h:810,
                 from /usr/include/libxml2/libxml/xmlerror.h:10,
                 from /usr/include/libxml2/libxml/xpath.h:26,
                 from src/cpp/dynamic_modules.cpp:27:
/usr/include/unicode/ucnv.h:585:1: error: conflicting declaration of C function ‘void icu_67::swap(icu_67::LocalUConverterPointer&, icu_67::LocalUConverterPointer&)’
  585 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUConverterPointer, UConverter, ucnv_close);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/unicode/uenum.h:68:1: note: previous declaration ‘void icu_67::swap(icu_67::LocalUEnumerationPointer&, icu_67::LocalUEnumerationPointer&)’
   68 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUEnumerationPointer, UEnumeration, uenum_close);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:883: src/cpp/libscifunctions_manager_la-dynamic_modules.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f src/cpp/.deps/libscifunctions_manager_la-funcmanager.Tpo src/cpp/.deps/libscifunctions_manager_la-funcmanager.Plo
make[2]: Leaving directory '/var/tmp/pamac-build-mes/scilab/src/scilab-6.1.0/modules/functions_manager'
make[1]: *** [Makefile:844: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/pamac-build-mes/scilab/src/scilab-6.1.0/modules'
make: *** [Makefile:1608: all-recursive] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

Xwang commented on 2020-05-12 16:30 (UTC)

@bartus what must be done to build jgraphx against jre=8 ?

bartus commented on 2020-05-11 15:48 (UTC) (edited on 2020-05-11 16:12 (UTC) by bartus)

@issue_no1: you have to build jgraphx against jre=8. Otherwise you get this error while running ./configure:

/usr/lib/jvm/java-8-openjdk/bin/java conftestSharedChecker "jgraphx" "com.mxgraph.view.mxGraph" "/usr/share/java/jgraphx/jgraphx.jar:." "VERSION" "2.0.0.1" ""
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/mxgraph/view/mxGraph has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

Last official jgraph build whih jre8 support was 3.7.4.

bartus commented on 2020-05-07 09:24 (UTC) (edited on 2020-05-07 09:26 (UTC) by bartus)

@TheGoliath: jogl and lucent patches doesn't apply ( prepare.log ) rest seems fine.

otreblan commented on 2020-05-06 20:57 (UTC) (edited on 2020-05-06 20:57 (UTC) by otreblan)

prepare() fails

Xwang commented on 2020-04-26 14:02 (UTC)

I get the same configuration error related to jgraphx as @otreblan an @swilde

swilde commented on 2020-04-08 09:29 (UTC)

As reported by @otreblan build fails for me, too:

configure: error: Could not find or use the Java package/jar jgraphx used by Diagram design (looking for package com.mxgraph.view.mxGraph) ==> ERROR: A failure occurred in build().

'jgraphx' is installed though:

pacman -Q jgraphx

jgraphx 4.1.0-1

otreblan commented on 2020-03-26 13:04 (UTC)

AC_JAVA_CHECK_JAR doesn't find jgraphx.

configure: error: Could not find or use the Java package/jar jgraphx used by Diagram design (looking for package com.mxgraph.view.mxGraph)

thegala commented on 2020-02-23 11:11 (UTC)

Hello, I can't build scilab pacakge. This is error message:

/usr/bin/ld: ./modules/.libs/libscilab-cli.so: undefined reference to `get_full_pathW(wchar_t*, wchar_t const*, unsigned long)' /usr/bin/ld: ./modules/.libs/libscilab-cli.so: undefined reference to `pathconvertW(wchar_t const*, BOOL, BOOL, PathConvertType)' /usr/bin/ld: ~/.cache/yay/scilab/src/scilab-6.0.2/modules/functions_manager/.libs/libscifunctions_manager.so: undefined reference to `loadOnUseClassPath(char const*)' /usr/bin/ld: ./modules/.libs/libscilab-cli.so: undefined reference to `FileExist(char const*)' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:1215: scilab-bin] Error 1 make[1]: Leaving directory '~/.cache/yay/scilab/src/scilab-6.0.2' make: *** [Makefile:1601: all-recursive] Error 1

Problem with linker? Anyone now solution.