@weshouman The config.log
file will show you the actual error during ./configure
. I think the cause to the error should be apache-lucene 9 is complied with a more recent version of java while this PKGBUILD is still using java 8.
Search Criteria
Package Details: scilab 6.1.1-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 |
Licenses: | GPL2, BSD, custom:CeCILL |
Submitter: | td123 |
Maintainer: | ralphptorres |
Last Packager: | bartus |
Votes: | 85 |
Popularity: | 0.005748 |
First Submitted: | 2011-12-07 20:36 (UTC) |
Last Updated: | 2021-07-22 10:03 (UTC) |
Dependencies (37)
- apache-luceneAUR
- arpack
- beanshell
- bwidgetAUR
- curl (curl-quiche-gitAUR, curl-http3-ngtcp2AUR, curl-gitAUR)
- docbook-xsl
- eclipse-ecj (gcc6-gcj-ecjAUR, gcc-gcj-ecjAUR)
- eigen (eigen-gitAUR)
- fftw (fftw-amdAUR)
- fop-hyphAUR
- hdf5 (hdf5-gitAUR, hdf5-1.12AUR, hdf5-openmpi)
- inetutils (gettext-hostnameAUR, inetutils-gitAUR, busybox-coreutilsAUR)
- java-batik
- java-flexdockAUR
- java-qdoxAUR
- java-runtime (java-gcj-compatAUR, jre10AUR, jre6AUR, jre12AUR, server-jreAUR, jdk9-openj9-binAUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, jre7AUR, zulu-14-binAUR, amazon-corretto-15AUR, sapmachine-jdk-binAUR, amazon-corretto-16AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, jdk16-microsoft-openjdkAUR, jdk11-msopenjdk-binAUR, jdk8-armAUR, jre17-jetbrainsAUR, liberica-jre-11-binAUR, jre11-jetbrains-imfixAUR, java-openjdk-loom-ea-binAUR, jdk11-j9-binAUR, jre11-jbr-xdgAUR, jre16-openjdkAUR, jre13-openjdkAUR, jre14-openjdkAUR, amazon-corretto-18AUR, jre15AUR, jre14AUR, jre13AUR, jre16AUR, bishengjdk-17AUR, bishengjre-17AUR, jdk-armAUR, jdk11-openj9-binAUR, jdk-openj9-binAUR, jre-jbr-xdgAUR, jre18-openjdkAUR, jdk-android-studioAUR, amazon-corretto-19-binAUR, jdk19-graalvm-binAUR, liberica-jre-11-full-binAUR, jdk19-graalvm-ee-binAUR, jdk13-openjdk-binAUR, zulu-embedded-jdkAUR, jre15-openjdkAUR, liberica-jre-8-full-binAUR, jdk11-graalvm-binAUR, jre19-openjdkAUR, jdk11-microsoft-openjdkAUR, jre-openj9AUR, jdk11-graalvm-ee-binAUR, zulu-jre-fx-binAUR, jre17-jetbrains-imfixAUR, jdk11-openjdk-dcevmAUR, jre12-openjdkAUR, jdk8-dragonwell-extendedAUR, jdk-jetbrainsAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk8-graalvm-ee-binAUR, jdk8-aarch64AUR, jre17AUR, jre8-adoptopenjdkAUR, amazon-corretto-20-binAUR, zulu-15-binAUR, jdk21-jetbrains-binAUR, jre21-jetbrains-imfixAUR, jdk17-openj9-binAUR, jdk20-openj9-binAUR, jre-openjdk-xdgAUR, jdk-microsoft-openjdkAUR, jdk17-microsoft-openjdkAUR, zulu-13-binAUR, java-openjdk-binAUR, zulu-jdk-fx-binAUR, amazon-corretto-11AUR, amazon-corretto-8AUR, zulu-11-binAUR, zulu-21-binAUR, amazon-corretto-21-binAUR, amazon-corretto-17AUR, zulu-8-binAUR, zulu-17-binAUR, liberica-jdk-8-full-binAUR, liberica-jdk-full-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jdk8-temurinAUR, jreAUR, jre-ltsAUR, jdk17-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk21-graalvm-ee-binAUR, jdk11-temurinAUR, jdk17-temurinAUR, jdk-temurinAUR, liberica-jdk-11-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-17-full-binAUR, jdk21-graalvm-binAUR, jre-jetbrainsAUR, mandrel-binAUR, jre11AUR, jre8AUR, jdk8AUR, jdk17-zulu-prime-binAUR, jdk8-openj9-binAUR, jdk17-jetbrains-binAUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, java-openjdk-ea-binAUR, jdk-openjdk, jre-openjdk, jre11-openjdk, jre17-openjdk, jre8-openjdk)
- java-skinlfAUR
- java-testngAUR
- java-xmlgraphics-commons
- javahelp2AUR
- Show 17 more dependencies...
Required by (0)
Sources (8)
petronny commented on 2023-09-14 01:19 (UTC)
weshouman commented on 2022-10-18 02:24 (UTC) (edited on 2022-10-18 02:42 (UTC) by weshouman)
apache-lucene has 2 versions available for download and both would fail the build for Scilab 6.1.1
- Version 9.4.0 breaks the build: issue#16897: Scilab does not build against Lucene 9.4.0
configure: error: Could not find or use the Java package/jar lucene-core used by Lucene (looking for package org.apache.lucene.LucenePackage)
- Version 8.11.2 breaks the build: issue#16896: Scilab does not build against Lucene 8.11.2, however that got fixed recently and the Scilab @ branch 6.1 has that fixed.
However, apache-lucene
AUR package is using version 9.4.0
by default which requires:
- Patching apache-lucene to be at version 8.11.2
sed -i "s#9.4.0#8.11.2#g" PKGBUILD
sed -i "s#c1b8944b0a8d14ca30f643baaa53cb38778d869366d365a7b8c85f7619ebbd12#c1b8944b0a8d14ca30f643baaa53cb38778d869366d365a7b8c85f7619ebbd12#g" PKGBUILD
- Patching this repo to contain the fix#21829
--- PKGBUILD 2022-10-18 02:03:07.510159940 +0000
+++ PKGBUILD.latest 2022-10-18 01:52:53.606223616 +0000
@@ -6,7 +6,7 @@
# Contributor : bartus <scilab-aur@bartus.33mail.com>
pkgname=scilab
-pkgver=6.1.1
+pkgver=6.1
pkgrel=1
pkgdesc='A scientific software package for numerical computations.'
arch=('i686' 'x86_64')
@@ -26,7 +26,7 @@
makedepends=('java-environment=8' 'ant>=1.9.0'
'ocaml-findlib' 'ocaml-num' 'gcc-fortran'
'time')
-source=("${url}/download/${pkgver}/${pkgname}-${pkgver}-src.tar.gz"
+source=("https://gitlab.com/scilab/scilab/-/archive/6.1/scilab-6.1.tar.gz"
"${pkgname}-jogl-2.3.2.patch"
"${pkgname}-strict-jar.patch"
"${pkgname}-LD_LIBRARY_PATH.patch"
@@ -35,7 +35,7 @@
"libxml.patch"
"hdf5_18_api.patch"
)
-sha256sums=('e51347638bd385c276c930785a1f9f079ae7eaa78c62a0eca1dc7e6142434207'
+sha256sums=('178fc38af09a9b07a51db8bd70523d024f3337a82a5817dccf5cf8fd77ce4c8d'
'7b7b5609ee36b6f8d801eeb3899cd62cc889c2038e0e1616b7640f9b8a0424b0'
'38aa094951338fa1d267dc6f397552e175213b0f8ba7b35727c178607861f6dd'
'a39277cb8cfc3d7929c73ce6d707dc24e3df4b8d8f2d587f075efebda79ff4db'
@@ -45,7 +45,7 @@
'f781c2919a0c14be5deed3a8b8866addd8de1171a06aacb96ef1e19535d0988e')
prepare(){
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}-${pkgver}/scilab"
# https://codereview.scilab.org/#/c/17530/
patch -p2 < "${srcdir}"/${pkgname}-jogl-2.3.2.patch
@@ -64,7 +64,7 @@
}
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}-${pkgver}/scilab"
./configure \
--prefix=/usr \
@@ -90,7 +90,7 @@
}
package(){
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}-${pkgver}/scilab"
make DESTDIR="${pkgdir}" install
make DESTDIR="${pkgdir}" install-data install-html
Note: Unfortunately even building the latest Scilab 6.1 using lucene 8.11.2 failed as mentioned in issue#16898: Building Scilab fails on Arch Linux
JoseskVolpe commented on 2022-08-14 03:21 (UTC)
Seems like source-code was removed from SciLab page, i had to use the Github repo:
diff --git a/PKGBUILD b/PKGBUILD
index 69e5d00..9606584 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -26,7 +26,7 @@ depends=('suitesparse>=4.4.1' 'arpack' 'fftw' 'eigen'
makedepends=('java-environment=8' 'ant>=1.9.0'
'ocaml-findlib' 'ocaml-num' 'gcc-fortran'
'time')
-source=("${url}/download/${pkgver}/${pkgname}-${pkgver}-src.tar.gz"
+source=("$pkgname-$pkgver.tar.gz::https://github.com/scilab/scilab/archive/refs/tags/6.1.1.tar.gz"
"${pkgname}-jogl-2.3.2.patch"
"${pkgname}-strict-jar.patch"
"${pkgname}-LD_LIBRARY_PATH.patch"
@@ -35,7 +35,7 @@ source=("${url}/download/${pkgver}/${pkgname}-${pkgver}-src.tar.gz"
"libxml.patch"
"hdf5_18_api.patch"
)
-sha256sums=('e51347638bd385c276c930785a1f9f079ae7eaa78c62a0eca1dc7e6142434207'
+sha256sums=('83555679b7d56df4aedad60678d97794cc5aefcda8b57206899016b5702607a4'
'7b7b5609ee36b6f8d801eeb3899cd62cc889c2038e0e1616b7640f9b8a0424b0'
'38aa094951338fa1d267dc6f397552e175213b0f8ba7b35727c178607861f6dd'
'a39277cb8cfc3d7929c73ce6d707dc24e3df4b8d8f2d587f075efebda79ff4db'
@@ -45,7 +45,7 @@ sha256sums=('e51347638bd385c276c930785a1f9f079ae7eaa78c62a0eca1dc7e6142434207'
'f781c2919a0c14be5deed3a8b8866addd8de1171a06aacb96ef1e19535d0988e')
prepare(){
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}-${pkgver}/scilab"
# https://codereview.scilab.org/#/c/17530/
patch -p2 < "${srcdir}"/${pkgname}-jogl-2.3.2.patch
@@ -64,7 +64,7 @@ prepare(){
}
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}-${pkgver}/scilab"
./configure \
--prefix=/usr \
@@ -90,7 +90,7 @@ build() {
}
package(){
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}-${pkgver}/scilab"
make DESTDIR="${pkgdir}" install
make DESTDIR="${pkgdir}" install-data install-html
However, i got into a build error lol <quote> configure: error: Could not find or use the Java package/jar lucene-core used by Lucene (looking for package org.apache.lucene.LucenePackage) </quote>
If i manage to fix that, i'll mail you
bartus commented on 2022-03-14 10:36 (UTC)
Sorry lads, I'm at the Polish Ukraine border helping allocate refugees. Expect no update until this hell is over, wish us luck. Have no time nor access to my rig and AUR keys to test/post updates. If you have a patch, ping me on email - I'll add you as co-maintainer. Posted with my old script - https://github.com/bartoszek/aur-post
bartus commented on 2021-07-22 10:09 (UTC) (edited on 2021-07-22 10:10 (UTC) by bartus)
Please report issues and patches at https://github.com/bartoszek/AUR-scilab
Vial commented on 2021-05-12 21:54 (UTC)
I'm facing the same compilation errors as @Cryen.
I guess the only changes required are
line 85: mat_uint32_t* rowIndexes = (mat_uint32_t*)MALLOC(sizeof(mat_uint32_t) * nonZeros);
line 68: mat_uint32_t* colIndexes = (mat_uint32_t*)MALLOC(sizeof(mat_uint32_t) * (pSparse->getRows() + 1));
minhaj.sixbyte commented on 2021-04-25 18:41 (UTC)
Hey TheGoliath,
Your pinned comment, link to your github repo is broken. 404 Github page not found error.
Pinned Comments
bartus commented on 2022-03-14 10:36 (UTC)
Sorry lads, I'm at the Polish Ukraine border helping allocate refugees. Expect no update until this hell is over, wish us luck. Have no time nor access to my rig and AUR keys to test/post updates. If you have a patch, ping me on email - I'll add you as co-maintainer. Posted with my old script - https://github.com/bartoszek/aur-post
bartus commented on 2021-07-22 10:09 (UTC) (edited on 2021-07-22 10:10 (UTC) by bartus)
Please report issues and patches at https://github.com/bartoszek/AUR-scilab
eolianoe commented on 2017-05-03 12:22 (UTC) (edited on 2017-06-28 15:03 (UTC) by eolianoe)