Bug 207459

Summary: strigi does not compile with with Snow Leopard (macports)
Product: unknown Reporter: Joseph Wenninger <jowenn>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED UPSTREAM    
Severity: normal CC: jos, will.angenent
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Other   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: patch (quick fix, not quality stuff)
A better patch, more to the point really
A better patch (please ignore the previous two)

Description Joseph Wenninger 2009-09-15 15:03:24 UTC
Version:            (using KDE 4.3.1)
OS:                OS X
Installed from:    Compiled From Sources

--->  Computing dependencies for kdesdk4
--->  Building strigi
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3" && /usr/bin/make -j2 all " returned error 2
Command output: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/dbus/dbuscpp/dbusmessagereader.h:66: error:                 DBusMessageReader& DBusMessageReader::operator>>(dbus_int64_t&)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/dbus/dbuscpp/dbusmessagereader.cpp:55: error:                 DBusMessageReader& DBusMessageReader::operator>>(dbus_uint64_t&)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/dbus/dbuscpp/dbusmessagereader.cpp:32: error:                 DBusMessageReader& DBusMessageReader::operator>>(dbus_uint32_t&)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/dbus/dbuscpp/dbusmessagereader.cpp:44: error:                 DBusMessageReader& DBusMessageReader::operator>>(int32_t&)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/dbus/dbuscpp/dbusmessagereader.h:62: error:                 DBusMessageReader& DBusMessageReader::operator>>(std::string&)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/dbus/dbuscpp/dbusmessagereader.h:61: error:                 DBusMessageReader& DBusMessageReader::operator>>(std::vector<unsigned int, std::allocator<unsigned int> >&)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/dbus/dbuscpp/dbusmessagereader.h:60: error:                 DBusMessageReader& DBusMessageReader::operator>>(std::vector<int, std::allocator<int> >&)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/dbus/dbuscpp/dbusmessagereader.h:59: error:                 DBusMessageReader& DBusMessageReader::operator>>(std::vector<char, std::allocator<char> >&)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/dbus/dbuscpp/dbusmessagereader.h:58: error:                 DBusMessageReader& DBusMessageReader::operator>>(std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/dbus/dbuscpp/dbusmessagereader.h:57: error:                 DBusMessageReader& DBusMessageReader::operator>>(std::set<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&)
make[2]: *** [src/daemon/dbus/dbuscpp/CMakeFiles/dbuscpp.dir/dbusmessagereader.cpp.o] Error 1
make[1]: *** [src/daemon/dbus/dbuscpp/CMakeFiles/dbuscpp.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/CMakeFiles 
[ 18%] Building CXX object src/daemon/eventlistener/CMakeFiles/eventlistener.dir/eventlistenerqueue.cpp.o
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/eventlistener && /usr/bin/g++-4.2   -DQT_GUI_LIB -DQT_CORE_LIB -DHAVE_CONFIG_H -DHAVE_DBUS -DLIBXML_ICONV_ENABLED -DQT_NO_DEBUG -O2 -arch x86_64  -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-check-new -fno-common -fexceptions -Wno-unused-parameter -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/eventlistener -I/opt/local/libexec/qt4-mac/include -I"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/-F/opt/local/libexec/qt4-mac/lib -framework QtCore" -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/-lpthread -I/opt/local/libexec/qt4-mac/include/QtGui -I/opt/local/libexec/qt4-mac/include/QtCore -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/../streamanalyzer -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/../combinedindexer -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/../streams -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/../xsd -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/dbus -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/streams -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/../streams/strigi -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/xesam -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/eventlistener/../../streams/strigi -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/eventlistener/.. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/streams/strigi   -fPIC -F/opt/local/libexec/qt4-mac/lib -L/opt/local/libexec/qt4-mac/lib -o CMakeFiles/eventlistener.dir/eventlistenerqueue.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/eventlistener/eventlistenerqueue.cpp
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/CMakeFiles 91
[ 19%] Building CXX object src/daemon/eventlistener/CMakeFiles/eventlistener.dir/pollinglistener.cpp.o
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/eventlistener && /usr/bin/g++-4.2   -DQT_GUI_LIB -DQT_CORE_LIB -DHAVE_CONFIG_H -DHAVE_DBUS -DLIBXML_ICONV_ENABLED -DQT_NO_DEBUG -O2 -arch x86_64  -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-check-new -fno-common -fexceptions -Wno-unused-parameter -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/eventlistener -I/opt/local/libexec/qt4-mac/include -I"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/-F/opt/local/libexec/qt4-mac/lib -framework QtCore" -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/-lpthread -I/opt/local/libexec/qt4-mac/include/QtGui -I/opt/local/libexec/qt4-mac/include/QtCore -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/../streamanalyzer -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/../combinedindexer -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/../streams -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/../xsd -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/dbus -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/streams -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/../streams/strigi -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/xesam -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/eventlistener/../../streams/strigi -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/eventlistener/.. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/streams/strigi   -fPIC -F/opt/local/libexec/qt4-mac/lib -L/opt/local/libexec/qt4-mac/lib -o CMakeFiles/eventlistener.dir/pollinglistener.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/eventlistener/pollinglistener.cpp
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/CMakeFiles 
[ 19%] Building CXX object src/daemon/eventlistener/CMakeFiles/eventlistener.dir/fslistener.cpp.o
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/eventlistener && /usr/bin/g++-4.2   -DQT_GUI_LIB -DQT_CORE_LIB -DHAVE_CONFIG_H -DHAVE_DBUS -DLIBXML_ICONV_ENABLED -DQT_NO_DEBUG -O2 -arch x86_64  -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-check-new -fno-common -fexceptions -Wno-unused-parameter -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/eventlistener -I/opt/local/libexec/qt4-mac/include -I"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/-F/opt/local/libexec/qt4-mac/lib -framework QtCore" -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/-lpthread -I/opt/local/libexec/qt4-mac/include/QtGui -I/opt/local/libexec/qt4-mac/include/QtCore -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/../streamanalyzer -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/../combinedindexer -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/../streams -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/../xsd -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/dbus -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/streams -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/../streams/strigi -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/xesam -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/eventlistener/../../streams/strigi -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/eventlistener/.. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/streams/strigi   -fPIC -F/opt/local/libexec/qt4-mac/lib -L/opt/local/libexec/qt4-mac/lib -o CMakeFiles/eventlistener.dir/fslistener.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/eventlistener/fslistener.cpp
Linking CXX static library libeventlistener.a
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/eventlistener && /opt/local/bin/cmake -P CMakeFiles/eventlistener.dir/cmake_clean_target.cmake
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/src/daemon/eventlistener && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/eventlistener.dir/link.txt --verbose=1
/usr/bin/ar cr libeventlistener.a  CMakeFiles/eventlistener.dir/event.cpp.o CMakeFiles/eventlistener.dir/eventlistenerqueue.cpp.o CMakeFiles/eventlistener.dir/pollinglistener.cpp.o CMakeFiles/eventlistener.dir/fslistener.cpp.o
/usr/bin/ranlib libeventlistener.a
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/CMakeFiles  91
[ 19%] Built target eventlistener
make: *** [all] Error 2
Comment 1 Pino Toscano 2009-09-17 17:19:19 UTC
Please report strigi bugs to the strigi bug tracking system.
See http://sourceforge.net/projects/strigi/
Comment 2 Will Angenent 2009-09-19 15:19:13 UTC
Submitted on sourceforge http://sourceforge.net/tracker/?func=detail&aid=2862161&group_id=171000&atid=856302
Comment 3 Will Angenent 2009-09-19 20:12:13 UTC
Created attachment 37068 [details]
patch (quick fix, not quality stuff)

This braindead patch fixes the problem, but I'm sure there is a more elegant way to do it.
Comment 4 Will Angenent 2009-09-19 20:25:40 UTC
Created attachment 37069 [details]
A better patch, more to the point really
Comment 5 Will Angenent 2009-09-19 20:29:05 UTC
Created attachment 37070 [details]
A better patch (please ignore the previous two)