Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot emerge sci-mathematics/scilab-6.1.0::science
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
MarcGentoo
n00b
n00b


Joined: 26 Nov 2020
Posts: 24

PostPosted: Mon Mar 01, 2021 8:58 am    Post subject: Cannot emerge sci-mathematics/scilab-6.1.0::science Reply with quote

Hello,

I am using the gentoo science overlay but cannot install scilab, as I get the following error:

Code:
checking lucene-queryparser... no
configure: error: Could not find or use the Java package/jar lucene-queryparser used by Lucene QueryParser (looking for package org.apache.lucene.queryparser.classic.QueryParser)

Still it seems it is availble:
Code:
ls -ls /usr/share/lucene-3.6/lib/lucene-queryparser.jar
324 -rw-r--r-- 1 root root 328535 Mar  1 09:40 /usr/share/lucene-3.6/lib/lucene-queryparser.jar


How could I fix that?

Thanks in advance.

Here is my full build log:
Code:
 * Package:    sci-mathematics/scilab-6.1.0
 * Repository: science
 * Maintainer: sci-mathematics@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc fftw gui kernel_linux matio mpi nls openmp umfpack userland_GNU xcos
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
 * Using following Fortran compiler:
 *   F77: x86_64-pc-linux-gnu-gfortran
 *   FC:  x86_64-pc-linux-gnu-gfortran
 * x86_64-pc-linux-gnu-gfortran has OPENMP support
 * Using: openjdk-8
>>> Unpacking source...
>>> Unpacking scilab-6.1.0-src.tar.gz to /var/tmp/portage/sci-mathematics/scilab-6.1.0/work
>>> Source unpacked in /var/tmp/portage/sci-mathematics/scilab-6.1.0/work
>>> Preparing source in /var/tmp/portage/sci-mathematics/scilab-6.1.0/work/scilab-6.1.0 ...
 * Applying scilab-6.1.0-followlinks.patch ...
 [ ok ]
 * Applying scilab-6.1.0-gluegen.patch ...
 [ ok ]
 * Applying scilab-6.1.0-accessviolation.patch ...
 [ ok ]
 * Applying scilab-6.1.0-missinglib.patch ...
 [ ok ]
 * Applying scilab-6.1.0-freehep.patch ...
 [ ok ]
 * Applying scilab-6.1.0-libxml.patch ...
 [ ok ]
/var/tmp/portage/sci-mathematics/scilab-6.1.0/work/scilab-6.1.0
 * Running autoconf ...
 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sci-mathematics/scilab-6.1.0/work/scilab-6.1.0 ...
 * econf: updating scilab-6.1.0/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating scilab-6.1.0/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating scilab-6.1.0/modules/dynamic_link/src/scripts/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating scilab-6.1.0/modules/dynamic_link/src/scripts/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating scilab-6.1.0/config/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating scilab-6.1.0/config/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/scilab-6.1.0 --htmldir=/usr/share/doc/scilab-6.1.0/html --with-sysroot=/ --libdir=/usr/lib64 --enable-relocatable --disable-rpath --with-docbook=/usr/share/sgml/docbook/xsl-stylesheets --disable-static-system-lib --disable-debug --disable-code-coverage --disable-debug-C --disable-debug-CXX --disable-debug-fortran --disable-debug-java --disable-debug-linker --disable-build-help --enable-nls --enable-build-localization --disable-static --disable-compilation-tests --without-emf --with-fftw --with-gui --with-javasci --with-matio --with-openmp --without-tk --with-umfpack --with-xcos --with-modelica --with-mpi
configure: loading site script /usr/share/config.site
checking whether ln -s works... yes
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking the archiver (x86_64-pc-linux-gnu-ar) interface... ar
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGEFILE64_SOURCE value needed for large files...
checking for a BSD-compatible install... /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for ld used by GCC... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for shared library path variable... LD_LIBRARY_PATH
checking whether to activate relocatable installation... yes
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for unistd.h... (cached) yes
checking mach-o/dyld.h usability... no
checking mach-o/dyld.h presence... no
checking for mach-o/dyld.h... no
checking for _NSGetExecutablePath... no
checking for shared library run path origin... done
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking whether make supports nested variables... yes
checking dependency style of x86_64-pc-linux-gnu-gcc... none
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for x86_64-pc-linux-gnu-gfortran... x86_64-pc-linux-gnu-gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether x86_64-pc-linux-gnu-gfortran accepts -g... yes
checking if x86_64-pc-linux-gnu-gfortran is a fortran 90 compatible compiler... yes
checking size of int... 4
checking size of long... 8
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of x86_64-pc-linux-gnu-g++... none
checking whether x86_64-pc-linux-gnu-gfortran understands -c and -o together... yes
checking whether x86_64-pc-linux-gnu-g++ supports C++17 features with -std=c++17... yes
checking for nm... nm
checking for leading underscores with Fortran (name-mangling scheme)... no
checking for trailing underscores with Fortran (name-mangling scheme)... yes
checking use of the sharpsign in CPP... yes
Define C2F with Trailing Underscore and Sharp Sign
checking hdf5.h usability... yes
checking hdf5.h presence... yes
checking for hdf5.h... yes
checking for H5Fopen in -lhdf5... yes
checking for clock_gettime in -lrt... yes
checking for ocamlc... ocamlc
checking for ocamlopt... ocamlopt
checking for ocamldep... ocamldep
checking for ocamlyacc... ocamlyacc
checking for ocamllex... ocamllex
checking JAVA_HOME variable... JAVA_HOME variable found, use it as JVM root directory
checking for zip or jar files to include on CLASSPATH...
checking to see if the java compiler works... yes
Using JAVAC=/usr/lib64/openjdk-8/bin/javac
Java found in /usr/lib64/openjdk-8
checking type of jvm... jdk
checking java API version... 1.8
Using the following JNI include flags -I/usr/lib64/openjdk-8/include -I/usr/lib64/openjdk-8/include/linux
checking if jni.h can be included... yes
Looking for JNI libs with x86_64 as machine hardware name
Looking for /usr/lib64/openjdk-8/lib/libjava.so
Looking for /usr/lib64/openjdk-8/jre/lib/x86_64/libjava.so
Looking for /usr/lib64/openjdk-8/jre/lib/amd64/libjava.so
Found /usr/lib64/openjdk-8/jre/lib/amd64/libjava.so
Using the following JNI library flags -L/usr/lib64/openjdk-8/jre/lib/amd64 -ljava -lverify -L/usr/lib64/openjdk-8/jre/lib/amd64/server -ljvm
Using the following runtime library path /usr/lib64/openjdk-8/jre/lib/amd64:/usr/lib64/openjdk-8/jre/lib/amd64/server
checking to see if we can link a JNI application... yes
checking for zip or jar files to include on CLASSPATH...
checking for java... /usr/lib64/openjdk-8/bin/java
checking for java_g... no
checking for javah... /usr/lib64/openjdk-8/bin/javah
checking for jar... /usr/lib64/openjdk-8/bin/jar
checking for javadoc... /usr/lib64/openjdk-8/bin/javadoc
checking for jdb... /usr/lib64/openjdk-8/bin/jdb
checking for ant... /usr/bin/ant
checking jgraphx...  /var/tmp/portage/sci-mathematics/scilab-6.1.0/work/scilab-6.1.0/jar/jgraphx.jar 4.2.2
Use external version of scirenderer
checking flexdock...  /var/tmp/portage/sci-mathematics/scilab-6.1.0/work/scilab-6.1.0/jar/flexdock.jar 1.2.4
checking looks... no
configure: WARNING: Could not find or use the Java package/jar looks used by Scilab Gui - Look and feel (looking for package com.jgoodies.looks.common.MenuItemRenderer)
checking jgoodies-looks...  /var/tmp/portage/sci-mathematics/scilab-6.1.0/work/scilab-6.1.0/jar/jgoodies-looks.jar null
checking skinlf...  /var/tmp/portage/sci-mathematics/scilab-6.1.0/work/scilab-6.1.0/jar/skinlf.jar null
checking jogl2...  /var/tmp/portage/sci-mathematics/scilab-6.1.0/work/scilab-6.1.0/jar/jogl2.jar 2.2
checking for glTexParameterf in -ljogl_desktop... no
configure: WARNING: Could not link against -ljogl_desktop. Will try against -ljogl_desktop -lGL
checking for glTexParameterf in -ljogl_desktop ... yes
checking gluegen2-rt...  /var/tmp/portage/sci-mathematics/scilab-6.1.0/work/scilab-6.1.0/jar/gluegen2-rt.jar 2.2
checking for Java_jogamp_common_jvm_JVMUtil_initialize in -lgluegen-rt... yes
checking jhall...  /var/tmp/portage/sci-mathematics/scilab-6.1.0/work/scilab-6.1.0/jar/jhall.jar 2.0
checking lucene-core...  /usr/share/lucene-3.6/lib/lucene-core.jar 3.6.2
checking lucene-analyzers-common...  /usr/share/lucene-3.6/lib/lucene-core.jar 3.6.2
checking lucene-queryparser... no
configure: error: Could not find or use the Java package/jar lucene-queryparser used by Lucene QueryParser (looking for package org.apache.lucene.queryparser.classic.QueryParser)

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sci-mathematics/scilab-6.1.0/work/scilab-6.1.0/config.log
 * ERROR: sci-mathematics/scilab-6.1.0::science failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *               ebuild.sh, line  125:  Called src_configure
 *             environment, line 4263:  Called econf '--enable-relocatable' '--disable-rpath' '--with-docbook=/usr/share/sgml/docbook/xsl-stylesheets' '--disable-static-system-lib' '--disable-debug' '--disable-code-coverage' '--disable-debug-C' '--disable-debug-CXX' '--disable-debug-fortran' '--disable-debug-java' '--disable-debug-linker' '--disable-build-help' '--enable-nls' '--enable-build-localization' '--disable-static' '--disable-compilation-tests' '--without-emf' '--with-fftw' '--with-gui' '--with-javasci' '--with-matio' '--with-openmp' '--without-tk' '--with-umfpack' '--with-xcos' '--with-modelica' '--with-mpi'
 *        phase-helpers.sh, line  680:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *         die "$@"
 *
 * If you need support, post the output of `emerge --info '=sci-mathematics/scilab-6.1.0::science'`,
 * the complete build log and the output of `emerge -pqv '=sci-mathematics/scilab-6.1.0::science'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=openjdk-8  CLASSPATH="" JAVA_HOME="/usr/lib64/openjdk-8"
JAVACFLAGS="-source 1.6 -target 1.6" COMPILER=""
and of course, the output of emerge --info =scilab-6.1.0
 * The complete build log is located at '/var/tmp/portage/sci-mathematics/scilab-6.1.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-mathematics/scilab-6.1.0/temp/environment'.
 * Working directory: '/var/tmp/portage/sci-mathematics/scilab-6.1.0/work/scilab-6.1.0'
 * S: '/var/tmp/portage/sci-mathematics/scilab-6.1.0/work/scilab-6.1.0'


[Moderator edit: added [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
fedeliallalinea
Moderator
Moderator


Joined: 08 Mar 2003
Posts: 26065
Location: here

PostPosted: Mon Mar 01, 2021 9:31 am    Post subject: Reply with quote

Code:
configure: error: Could not find or use the Java package/jar lucene-queryparser used by Lucene QueryParser (looking for package org.apache.lucene.queryparser.classic.QueryParser)

This API seems to have been introduced in lucene >= 4
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
fedeliallalinea
Moderator
Moderator


Joined: 08 Mar 2003
Posts: 26065
Location: here

PostPosted: Mon Mar 01, 2021 9:32 am    Post subject: Reply with quote

Moved from Portage & Programming to Unsupported Software.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
MarcGentoo
n00b
n00b


Joined: 26 Nov 2020
Posts: 24

PostPosted: Mon Mar 01, 2021 9:40 am    Post subject: Reply with quote

Thanks again, using the new lucene it works fine...
Back to top
View user's profile Send private message
fedeliallalinea
Moderator
Moderator


Joined: 08 Mar 2003
Posts: 26065
Location: here

PostPosted: Mon Mar 01, 2021 5:57 pm    Post subject: Reply with quote

I opened a new issue
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum