app-misc/strigi header files are missing several includes (stdint.h and stdio.h) which prevent building on GCC 4.4. Reported upstream. Also, HAVE_STDINT_H does not appear to be defined in dbusmessagewriter.h, resulting in further GCC 4.4 failures.
Created attachment 177789 [details, diff] explicitly include stdint.h and stdio.h
Created attachment 177790 [details, diff] work around undefined HAVE_STDINT_H
Created attachment 181797 [details, diff] Patch to add #include's to enable GCC 4.4 build Strigi 0.6.4 requires one additional include. However, it doesn't suffer from HAVE_STDINT_H being undefined, so that patch is no longer necessary.
strigi-0.6.4 unfortunately fails despite the patch (which does fix breakage sooner in the build) being applied: In file included from /var/tmp/portage/app-misc/strigi-0.6.4/work/strigi-0.6.4/src/luceneindexer/jsgzipcompressstream.h:25, from /var/tmp/portage/app-misc/strigi-0.6.4/work/strigi-0.6.4/src/luceneindexer/jsgzipcompressstream.cpp:20: /usr/include/CLucene/util/bufferedstream.h: In member function ‘void jstreams::BufferedInputStream<T>::resetBuffer()’: /usr/include/CLucene/util/bufferedstream.h:54: error: there are no arguments to ‘printf’ that depend on a template parameter, so a declaration of ‘printf’ must be available /usr/include/CLucene/util/bufferedstream.h:54: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) make[2]: *** [src/luceneindexer/CMakeFiles/clucene.dir/jsgzipcompressstream.cpp.o] Error 1 make[1]: *** [src/luceneindexer/CMakeFiles/clucene.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 80%] Building CXX object src/streamanalyzer/xesam/CMakeFiles/strigi_xesam.dir/xesam2strigi.cpp.o Linking CXX shared library libstrigihtmlgui.so [ 80%] Built target strigihtmlgui Linking CXX static library libstrigi_xesam.a [ 80%] Built target strigi_xesam make: *** [all] Error 2 Fix: strigi-9999 from kde-testing works.
That is a clucene issue, not a strigi issue; you need to patch clucene with the patch attached to bug 254254.
Fixed, thanks.