Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 241228 - app-misc/strigi-0.5.11 fails to build
Summary: app-misc/strigi-0.5.11 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-11 04:02 UTC by Chris Slycord
Modified: 2009-02-16 14:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (info,3.69 KB, text/plain)
2008-10-11 04:03 UTC, Chris Slycord
Details
full build log (app-misc:strigi-0.5.11:20081011-035649.log,54.37 KB, text/plain)
2008-10-11 04:03 UTC, Chris Slycord
Details
ebuild environment (environment,86.40 KB, text/plain)
2008-10-11 04:04 UTC, Chris Slycord
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Slycord 2008-10-11 04:02:23 UTC
[ 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
Comment 1 Chris Slycord 2008-10-11 04:03:10 UTC
Created attachment 167964 [details]
emerge --info
Comment 2 Chris Slycord 2008-10-11 04:03:59 UTC
Created attachment 167966 [details]
full build log
Comment 3 Chris Slycord 2008-10-11 04:04:29 UTC
Created attachment 167968 [details]
ebuild environment
Comment 4 DrChandra the Gentoo Person 2008-10-12 23:00:53 UTC
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.
Comment 5 DrChandra the Gentoo Person 2008-10-13 14:46:51 UTC
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.
Comment 6 Denis Knauf 2008-11-09 21:09:10 UTC
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.
Comment 7 Chris Slycord 2008-11-16 15:09:21 UTC
(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.
Comment 8 Chris Slycord 2008-11-16 15:51:24 UTC
And I can confirm that updating log4cxx to version 0.10.0 allows strigi-0.5.11 to build
Comment 9 Amy de Buitléir 2008-12-25 21:16:15 UTC
> updating log4cxx to version 0.10.0 allows strigi-0.5.11 to build
This worked for me too, on ~amd64
Comment 10 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2009-02-16 14:49:05 UTC
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