[ 21%] Building CXX object src/streams/CMakeFiles/streams.dir/substreamproviderprovider.o [ 21%] Building CXX object src/streams/CMakeFiles/streams.dir/tarinputstream.o [ 21%] Building CXX object src/streams/CMakeFiles/streams.dir/textutils.o [ 22%] Building CXX object src/streams/CMakeFiles/streams.dir/zipinputstream.o [ 22%] Building CXX object src/streams/CMakeFiles/streams.dir/processinputstream.o [ 22%] Building CXX object src/streams/CMakeFiles/streams.dir/strigi/compat.o [ 23%] Building CXX object src/streams/CMakeFiles/streams.dir/strigi/fnmatch.o [ 23%] Building CXX object src/streams/CMakeFiles/streams.dir/strigi/stgdirent.o [ 23%] Building CXX object src/searchclient/qtdbus/CMakeFiles/strigiqtdbusclient.dir/moc_strigidbus.o Linking CXX shared library libstreams.so [ 23%] Built target streams Linking CXX shared library libstrigiqtdbusclient.so [ 23%] Built target strigiqtdbusclient make: *** [all] Error 2 * * ERROR: app-misc/strigi-0.5.11 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2188: Called cmake-utils_src_compile * environment, line 466: Called cmake-utils_src_make * environment, line 515: Called die * The specific snippet of code: * emake "$@" || die "Make failed!"; * The die message: * Make failed! Reproducible: Always Steps to Reproduce: 1. emerge strigi 2. 3. Actual Results: fails to build Expected Results: build emerge --info and build environment to follow
Created attachment 167964 [details] emerge --info
Created attachment 167966 [details] full build log
Created attachment 167968 [details] ebuild environment
Same here, different point in the build: Scanning dependencies of target qclientarchivecat [ 46%] Building CXX object src/qclient/CMakeFiles/qclientarchivecat.dir/archivecat.o Exception in thread "main" Exception in thread "main" java.lang.UnsupportedClassVersionError: xsdparser/xsdparser (Unsupported major.minor version 49.0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:539) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at java.net.URLClassLoader.defineClass(URLClassLoader.java:251) at java.net.URLClassLoader.access$100(URLClassLoader.java:55) at java.net.URLClassLoader$1.run(URLClassLoader.java:194) java.lang.UnsupportedClassVersionError: xsdparser/xsdparser (Unsupported major.minor version 49.0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:539) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at java.net.URLClassLoader.defineClass(URLClassLoader.java:251) at java.net.URLClassLoader.access$100(URLClassLoader.java:55) at java.net.URLClassLoader$1.run(URLClassLoader.java:194) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:187) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) at java.net.URLClassLoader.findClass(URLClassLoader.java:187) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) at java.lang.ClassLoader.loadClass(ClassLoader.java:235)make[2]: *** [src/xsd/strigidaemonconfiguration.cpp] Error 1 make[1]: *** [src/xsd/CMakeFiles/strigidaemonconfiguration.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) make[2]: *** [src/xsd/metadataproperties.cpp] Error 1 make[1]: *** [src/xsd/CMakeFiles/metadataproperties.dir/all] Error 2 Linking CXX executable qclientarchivecat [ 46%] Built target qclientarchivecat make: *** [all] Error 2 * * ERROR: app-misc/strigi-0.5.11 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2211: Called cmake-utils_src_compile * environment, line 467: Called cmake-utils_src_make * environment, line 516: Called die * The specific snippet of code: * emake "$@" || die "Make failed!"; * The die message: * Make failed! * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/app-misc/strigi-0.5.11/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-misc/strigi-0.5.11/temp/environment'. * >>> Failed to emerge app-misc/strigi-0.5.11, Log file: >>> '/var/tmp/portage/app-misc/strigi-0.5.11/temp/build.log' * GNU info directory index is up-to-date.
Ignore my add. Note that it says it's having trouble with java version "49.0". Doing 'eselect java-vm set system 1' to select "blackdown-jdk-1.4.2" changed the version to "48.0", which is what strigi appears to require. Perhaps strigi needs to be updated to work with more modern VMs.
I think, i found the problem. The dependencies of strigi are wrong. It needs a newer version of lib4cxx. I changed the keyword of it to ~x86 and update it to 0.10.0. Lesser versions doesn't work.
(In reply to comment #6) > I think, i found the problem. The dependencies of strigi are wrong. It needs a > newer version of lib4cxx. I changed the keyword of it to ~x86 and update it to > 0.10.0. Lesser versions doesn't work. > I assume you mean log4cxx? There's no such thing as lib4cxx in portage.
And I can confirm that updating log4cxx to version 0.10.0 allows strigi-0.5.11 to build
> updating log4cxx to version 0.10.0 allows strigi-0.5.11 to build This worked for me too, on ~amd64
I was able to reproduce with strigi-0.5* but i decided to remove all of them from the tree. strigi 0.6* works with lib4cxx-0.9.7 here. I'm closing this, reopen if isn't fixed to you. Thanks