Bug 190557 - strigi seemingly can't be compiled with gcc 4.4
Summary: strigi seemingly can't be compiled with gcc 4.4
Status: RESOLVED UPSTREAM
Alias: None
Product: unknown
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-24 21:53 UTC by Mat
Modified: 2009-04-25 01:04 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mat 2009-04-24 21:53:04 UTC
Version:            (using Devel)
Compiler:          4.4 
OS:                Linux
Installed from:    Compiled sources

Scanning dependencies of target xmlstream
Scanning dependencies of target testpt
Scanning dependencies of target streams
Scanning dependencies of target grepindex
[  0%] Scanning dependencies of target grepindexer
Building CXX object src/xsd/CMakeFiles/xmlstream.dir/xsdparser/libxmlstream.cpp.o
[  0%] [  0%] Building CXX object src/dummyindexer/CMakeFiles/grepindex.dir/grepindexmanager.cpp.o
Building CXX object src/dummyindexer/CMakeFiles/grepindexer.dir/grepindexreader.cpp.o
[  0%] cc1plus: note: -freorder-blocks-and-partition does not work with exceptions
cc1plus: note: -freorder-blocks-and-partition does not work with exceptions
Building CXX object src/streams/CMakeFiles/testpt.dir/testpt.cpp.o
cc1plus: note: -freorder-blocks-and-partition does not work with exceptions
cc1plus: note: -freorder-blocks-and-partition does not work with exceptions
[  0%] Building CXX object src/streams/CMakeFiles/streams.dir/archivereader.cpp.o
Linking CXX static library libgrepindex.a
cc1plus: note: -freorder-blocks-and-partition does not work with exceptions
[  0%] [  1%] Built target grepindex
Building CXX object src/streams/CMakeFiles/testpt.dir/processinputstream.cpp.o
Scanning dependencies of target estraier
cc1plus: note: -freorder-blocks-and-partition does not work with exceptions
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/src/streams/processinputstream.cpp: In member function ‘void Strigi::ProcessInputStream::runCmd()’:
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/src/streams/processinputstream.cpp:125: warning: ignoring return value of ‘int pipe(int*)’, declared with attribute warn_unused_result
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/src/streams/processinputstream.cpp: In member function ‘void Strigi::ProcessInputStream::runCmdWithInput()’:
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/src/streams/processinputstream.cpp:154: warning: ignoring return value of ‘int pipe(int*)’, declared with attribute warn_unused_result
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/src/streams/processinputstream.cpp:155: warning: ignoring return value of ‘int pipe(int*)’, declared with attribute warn_unused_result
[  1%] Building CXX object src/estraierindexer/CMakeFiles/estraier.dir/estraierindexmanager.cpp.o
cc1plus: note: -freorder-blocks-and-partition does not work with exceptions
Linking CXX executable testpt
[  1%] Building CXX object src/xsd/CMakeFiles/xmlstream.dir/xsdparser/xmlstream.cpp.o
cc1plus: note: -freorder-blocks-and-partition does not work with exceptions
[  1%] Built target testpt
[  2%] Building CXX object src/dummyindexer/CMakeFiles/grepindexer.dir/grepindexmanager.cpp.o
cc1plus: note: -freorder-blocks-and-partition does not work with exceptions
[  2%] Building CXX object src/dummyindexer/CMakeFiles/grepindexer.dir/grepindexwriter.cpp.o
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/src/estraierindexer/estraierindexmanager.cpp: In constructor ‘EstraierIndexManager::EstraierIndexManager(const char*)’:
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/src/estraierindexer/estraierindexmanager.cpp:49: error: ‘printf’ was not declared in this scope
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/src/estraierindexer/estraierindexmanager.cpp: In member function ‘void EstraierIndexManager::closedb()’:
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/src/estraierindexer/estraierindexmanager.cpp:96: error: ‘printf’ was not declared in this scope
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/src/estraierindexer/estraierindexmanager.cpp: In function ‘void removefiles(const std::string&, bool)’:
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/src/estraierindexer/estraierindexmanager.cpp:104: error: ‘stderr’ was not declared in this scope
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/src/estraierindexer/estraierindexmanager.cpp:104: error: ‘fprintf’ was not declared in this scope
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/src/estraierindexer/estraierindexmanager.cpp:131: error: ‘stderr’ was not declared in this scope
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/src/estraierindexer/estraierindexmanager.cpp:131: error: ‘fprintf’ was not declared in this scope
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/src/estraierindexer/estraierindexmanager.cpp: In member function ‘void EstraierIndexManager::deleteIndex()’:
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/src/estraierindexer/estraierindexmanager.cpp:150: error: ‘printf’ was not declared in this scope
cc1plus: note: -freorder-blocks-and-partition does not work with exceptions
make[2]: *** [src/estraierindexer/CMakeFiles/estraier.dir/estraierindexmanager.cpp.o] Error 1
make[1]: *** [src/estraierindexer/CMakeFiles/estraier.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[  3%] Building CXX object src/streams/CMakeFiles/streams.dir/archiveentrycache.cpp.o
cc1plus: note: -freorder-blocks-and-partition does not work with exceptions
[  3%] Building CXX object src/streams/CMakeFiles/streams.dir/listinginprogress.cpp.o
Linking CXX static library libgrepindexer.a
cc1plus: note: -freorder-blocks-and-partition does not work with exceptions
Linking CXX static library libxmlstream.a
[  3%] Built target grepindexer
[  3%] Building CXX object src/streams/CMakeFiles/streams.dir/arinputstream.cpp.o
cc1plus: note: -freorder-blocks-and-partition does not work with exceptions
[  3%] Built target xmlstream
[  4%] Building CXX object src/streams/CMakeFiles/streams.dir/base64inputstream.cpp.o
[  4%] Building CXX object src/streams/CMakeFiles/streams.dir/bz2inputstream.cpp.o
cc1plus: note: -freorder-blocks-and-partition does not work with exceptions
cc1plus: note: -freorder-blocks-and-partition does not work with exceptions
[  4%] Building CXX object src/streams/CMakeFiles/streams.dir/cpioinputstream.cpp.o
cc1plus: note: -freorder-blocks-and-partition does not work with exceptions
[  5%] Building CXX object src/streams/CMakeFiles/streams.dir/dataeventinputstream.cpp.o
cc1plus: note: -freorder-blocks-and-partition does not work with exceptions
[  5%] Building CXX object src/streams/CMakeFiles/streams.dir/dostime.cpp.o
cc1plus: note: -freorder-blocks-and-partition does not work with exceptions
[  5%] [  6%] Building CXX object src/streams/CMakeFiles/streams.dir/encodinginputstream.cpp.o
[  6%] Building CXX object src/streams/CMakeFiles/streams.dir/fileinputstream.cpp.o
Building CXX object src/streams/CMakeFiles/streams.dir/filestreamopener.cpp.o
cc1plus: note: -freorder-blocks-and-partition does not work with exceptions
cc1plus: note: -freorder-blocks-and-partition does not work with exceptions
cc1plus: note: -freorder-blocks-and-partition does not work with exceptions
[  6%] Building CXX object src/streams/CMakeFiles/streams.dir/gzipcompressstream.cpp.o
cc1plus: note: -freorder-blocks-and-partition does not work with exceptions
[  7%] Building CXX object src/streams/CMakeFiles/streams.dir/gzipinputstream.cpp.o
cc1plus: note: -freorder-blocks-and-partition does not work with exceptions
[  7%] Building CXX object src/streams/CMakeFiles/streams.dir/inputstreamreader.cpp.o
cc1plus: note: -freorder-blocks-and-partition does not work with exceptions
[  7%] Building CXX object src/streams/CMakeFiles/streams.dir/kmpsearcher.cpp.o
cc1plus: note: -freorder-blocks-and-partition does not work with exceptions
[  8%] Building C object src/streams/CMakeFiles/streams.dir/lzma/LzmaDec.c.o
[  8%] Building CXX object src/streams/CMakeFiles/streams.dir/lzmainputstream.cpp.o
cc1plus: note: -freorder-blocks-and-partition does not work with exceptions
[  8%] Building CXX object src/streams/CMakeFiles/streams.dir/mailinputstream.cpp.o
cc1plus: note: -freorder-blocks-and-partition does not work with exceptions
[  9%] Building CXX object src/streams/CMakeFiles/streams.dir/oleinputstream.cpp.o
cc1plus: note: -freorder-blocks-and-partition does not work with exceptions
[  9%] Building CXX object src/streams/CMakeFiles/streams.dir/rpminputstream.cpp.o
cc1plus: note: -freorder-blocks-and-partition does not work with exceptions
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/src/streams/lzmainputstream.cpp: In member function ‘int32_t Strigi::LZMAInputStream::Private::fillBuffer(char*, int32_t)’:
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/src/streams/lzmainputstream.cpp:141: warning: comparison between signed and unsigned integer expressions
[ 10%] Building CXX object src/streams/CMakeFiles/streams.dir/sdfinputstream.cpp.o
cc1plus: note: -freorder-blocks-and-partition does not work with exceptions
[ 10%] Building CXX object src/streams/CMakeFiles/streams.dir/stringterminatedsubstream.cpp.o
cc1plus: note: -freorder-blocks-and-partition does not work with exceptions
[ 10%] Building CXX object src/streams/CMakeFiles/streams.dir/subinputstream.cpp.o
cc1plus: note: -freorder-blocks-and-partition does not work with exceptions
[ 11%] Building CXX object src/streams/CMakeFiles/streams.dir/substreamproviderprovider.cpp.o
cc1plus: note: -freorder-blocks-and-partition does not work with exceptions
[ 11%] Building CXX object src/streams/CMakeFiles/streams.dir/tarinputstream.cpp.o
cc1plus: note: -freorder-blocks-and-partition does not work with exceptions
[ 11%] Building CXX object src/streams/CMakeFiles/streams.dir/textutils.cpp.o
cc1plus: note: -freorder-blocks-and-partition does not work with exceptions
[ 12%] Building CXX object src/streams/CMakeFiles/streams.dir/zipinputstream.cpp.o
cc1plus: note: -freorder-blocks-and-partition does not work with exceptions
[ 12%] Building CXX object src/streams/CMakeFiles/streams.dir/processinputstream.cpp.o
[ 12%] Building CXX object src/streams/CMakeFiles/streams.dir/strigi/compat.cpp.o
cc1plus: note: -freorder-blocks-and-partition does not work with exceptions
cc1plus: note: -freorder-blocks-and-partition does not work with exceptions
[ 13%] Building CXX object src/streams/CMakeFiles/streams.dir/strigi/fnmatch.cpp.o
cc1plus: note: -freorder-blocks-and-partition does not work with exceptions
[ 13%] Building CXX object src/streams/CMakeFiles/streams.dir/strigi/stgdirent.cpp.o
cc1plus: note: -freorder-blocks-and-partition does not work with exceptions
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/src/streams/processinputstream.cpp: In member function ‘void Strigi::ProcessInputStream::runCmd()’:
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/src/streams/processinputstream.cpp:125: warning: ignoring return value of ‘int pipe(int*)’, declared with attribute warn_unused_result
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/src/streams/processinputstream.cpp: In member function ‘void Strigi::ProcessInputStream::runCmdWithInput()’:
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/src/streams/processinputstream.cpp:154: warning: ignoring return value of ‘int pipe(int*)’, declared with attribute warn_unused_result
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/src/streams/processinputstream.cpp:155: warning: ignoring return value of ‘int pipe(int*)’, declared with attribute warn_unused_result
Linking CXX shared library libstreams.so
[ 13%] Built target streams
make: *** [all] Error 2
 * 
 * ERROR: app-misc/strigi-9999 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2892:  Called cmake-utils_src_compile
 *             environment, line  798:  Called cmake-utils_src_make
 *             environment, line  877:  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/log/portage/app-misc:strigi-9999:20090424-194103.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-misc/strigi-9999/temp/environment'.
Comment 1 Pino Toscano 2009-04-24 23:07:06 UTC
Bugs for Strigi should be reported to its bug tracking system, see:
http://sourceforge.net/projects/strigi/
Comment 2 Mat 2009-04-25 01:04:51 UTC
the problem wasn't exactly due to gcc 4.4:

the error message indicated that the stdio header file was not included

#include <stdio.h>

in the following files:
src/estraierindexer/estraierindexmanager.cpp
src/estraierindexer/estraierindexreader.cpp

because the ebuild is fetching from svn://anonsvn.kde.org/home/kde/trunk/kdesupport/strigi I thought it belonged to kde ...

reported upstream and fixed with adding the entries to those 2 files

assigned bug id is: #2780869 

Thanks !