Summary: | app-misc/strigi-0.6.4 fails to build with GCC 4.4 - patches attached | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Daniel J. <sleeperseven> |
Component: | [OLD] GCC Porting | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | asturm |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://sourceforge.net/tracker2/?func=detail&aid=2494338&group_id=171000&atid=856302 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 249226 | ||
Attachments: |
explicitly include stdint.h and stdio.h
work around undefined HAVE_STDINT_H Patch to add #include's to enable GCC 4.4 build |
Description
Daniel J.
2009-01-08 19:11:28 UTC
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. |