[kde-freebsd] Can't build kdelibs4 due to dependencies failing

Naram Qashat cyberbotx at cyberbotx.com
Sat Aug 9 21:15:44 CEST 2008


I attempted to install kdelibs4 in order to get KDE4 installed.  Using 
portupgrade, it started to build the dependencies for it, but it failed on both 
textproc/soprano and deskutils/strigi.  Here are the parts where each failed at:

Scanning dependencies of target tstringtest
[ 99%] Building CXX object test/CMakeFiles/tstringtest.dir/tstringtest.o
In file included from /usr/local/include/CLucene/StdHeader.h:444,
                  from /usr/local/include/CLucene.h:11,
                  from 
/usr/ports/textproc/soprano/work/soprano-2.1.1/test/../index/tstring.h:28,
                  from 
/usr/ports/textproc/soprano/work/soprano-2.1.1/test/tstringtest.cpp:16:
/usr/local/include/CLucene/util/Equators.h:203: warning: unused parameter 'nothing'
/usr/local/include/CLucene/util/Equators.h:210: warning: unused parameter 'nothing'
/usr/local/include/CLucene/util/Equators.h:215: warning: unused parameter 'nothing'
In file included from /usr/local/include/CLucene/index/IndexReader.h:14,
                  from /usr/local/include/CLucene.h:14,
                  from 
/usr/ports/textproc/soprano/work/soprano-2.1.1/test/../index/tstring.h:28,
                  from 
/usr/ports/textproc/soprano/work/soprano-2.1.1/test/tstringtest.cpp:16:
/usr/local/include/CLucene/store/Directory.h:72: warning: unused parameter 
'bufferSize'
In file included from /usr/local/include/CLucene.h:14,
                  from 
/usr/ports/textproc/soprano/work/soprano-2.1.1/test/../index/tstring.h:28,
                  from 
/usr/ports/textproc/soprano/work/soprano-2.1.1/test/tstringtest.cpp:16:
/usr/local/include/CLucene/index/IndexReader.h:52: warning: unused parameter 'dummy'
In file included from /usr/local/include/CLucene/index/SegmentHeader.h:22,
                  from /usr/local/include/CLucene/index/IndexWriter.h:20,
                  from /usr/local/include/CLucene.h:15,
                  from 
/usr/ports/textproc/soprano/work/soprano-2.1.1/test/../index/tstring.h:28,
                  from 
/usr/ports/textproc/soprano/work/soprano-2.1.1/test/tstringtest.cpp:16:
/usr/local/include/CLucene/index/CompoundFile.h:50: warning: unused parameter 'pos'
In file included from /usr/local/include/CLucene/index/IndexWriter.h:20,
                  from /usr/local/include/CLucene.h:15,
                  from 
/usr/ports/textproc/soprano/work/soprano-2.1.1/test/../index/tstring.h:28,
                  from 
/usr/ports/textproc/soprano/work/soprano-2.1.1/test/tstringtest.cpp:16:
/usr/local/include/CLucene/index/SegmentHeader.h:72: warning: unused parameter 
'proxPointer'
In file included from /usr/local/include/CLucene/search/SearchHeader.h:16,
                  from /usr/local/include/CLucene/search/IndexSearcher.h:14,
                  from /usr/local/include/CLucene.h:18,
                  from 
/usr/ports/textproc/soprano/work/soprano-2.1.1/test/../index/tstring.h:28,
                  from 
/usr/ports/textproc/soprano/work/soprano-2.1.1/test/tstringtest.cpp:16:
/usr/local/include/CLucene/search/Filter.h:40: warning: unused parameter 'bs'
In file included from /usr/local/include/CLucene/search/BooleanQuery.h:14,
                  from /usr/local/include/CLucene/search/MultiTermQuery.h:20,
                  from /usr/local/include/CLucene/search/WildcardQuery.h:15,
                  from /usr/local/include/CLucene.h:21,
                  from 
/usr/ports/textproc/soprano/work/soprano-2.1.1/test/../index/tstring.h:28,
                  from 
/usr/ports/textproc/soprano/work/soprano-2.1.1/test/tstringtest.cpp:16:
/usr/local/include/CLucene/search/ConjunctionScorer.h:42: warning: unused 
parameter 'doc'
/usr/local/include/CLucene/search/ConjunctionScorer.h:42: warning: unused 
parameter 'ret'
/usr/ports/textproc/soprano/work/soprano-2.1.1/test/tstringtest.cpp: In member 
function 'void TStringTest::testConversion()':
/usr/ports/textproc/soprano/work/soprano-2.1.1/test/tstringtest.cpp:72: warning: 
format '%ls' expects type 'wchar_t*', but argument 2 has type 'const char*'
/usr/ports/textproc/soprano/work/soprano-2.1.1/test/tstringtest.cpp:74: error: 
cannot convert 'const char*' to 'const wchar_t*' for argument '1' to 'void 
printWChars(const wchar_t*, int)'
*** Error code 1

Stop in /usr/ports/textproc/soprano/work/soprano-2.1.1.
*** Error code 1

Stop in /usr/ports/textproc/soprano/work/soprano-2.1.1.
*** Error code 1

Stop in /usr/ports/textproc/soprano/work/soprano-2.1.1.
*** Error code 1

Stop in /usr/ports/textproc/soprano.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall.58784.2 
env make BATCH=yes WITH_OPENSSL_PORT=yes WITH_OPENSSL=yes WITHOUT_GNOME=esound 
WITHOUT_CUPS=yes WITH_BDB_VER=46 WITH_MYSQL_VER=50 WITH_OPTIMIZED_CFLAGS=yes
** Fix the problem and try again.

Scanning dependencies of target clucene
[ 46%] Building CXX object 
src/luceneindexer/CMakeFiles/clucene.dir/cluceneindexmanager.o
[ 46%] Building CXX object 
src/luceneindexer/CMakeFiles/clucene.dir/cluceneindexreader.o
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp:201: 
error: prototype for 'const char* CLuceneIndexReader::mapId(const char*)' does 
not match any in class 'CLuceneIndexReader'
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.h:46: 
error: candidates are: static std::wstring CLuceneIndexReader::mapId(const char*)
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.h:45: 
error:                 static const char* CLuceneIndexReader::mapId(const wchar_t*)
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp:201: 
error: 'const char* CLuceneIndexReader::mapId(const char*)' cannot be overloaded
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.h:46: 
error: with 'static std::wstring CLuceneIndexReader::mapId(const char*)'
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp: 
In member function 'const char* CLuceneIndexReader::mapId(const char*)':
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp:205: 
error: no matching function for call to 'CLuceneIndexReader::addMapping(const 
char [1], const wchar_t*)'
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp:197: 
note: candidates are: static void CLuceneIndexReader::addMapping(const char*, 
const char*)
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp: 
In static member function 'static lucene::index::Term* 
CLuceneIndexReader::Private::createWildCardTerm(const wchar_t*, const 
std::string&)':
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp:230: 
error: no matching function for call to 'lucene::index::Term::Term(const 
wchar_t*&, const wchar_t*)'
/usr/local/include/CLucene/index/Term.h:68: note: candidates are: 
lucene::index::Term::Term(const char*, const char*)
/usr/local/include/CLucene/index/Term.h:62: note: 
lucene::index::Term::Term(const char*, const char*, bool)
/usr/local/include/CLucene/index/Term.h:59: note: 
lucene::index::Term::Term()
/usr/local/include/CLucene/index/Term.h:56: note: 
lucene::index::Term::Term(const lucene::index::Term*, const char*)
/usr/local/include/CLucene/index/Term.h:39: note: 
lucene::index::Term::Term(const lucene::index::Term&)
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp: 
In static member function 'static lucene::index::Term* 
CLuceneIndexReader::Private::createTerm(const wchar_t*, const std::string&)':
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp:236: 
error: no matching function for call to 
'lucene::util::StringReader::StringReader(const wchar_t*)'
/usr/local/include/CLucene/util/Reader.h:93: note: candidates are: 
lucene::util::StringReader::StringReader(const char*, int32_t, bool)
/usr/local/include/CLucene/util/Reader.h:92: note: 
lucene::util::StringReader::StringReader(const char*, int32_t)
/usr/local/include/CLucene/util/Reader.h:91: note: 
lucene::util::StringReader::StringReader(const char*)
/usr/local/include/CLucene/util/Reader.h:89: note: 
lucene::util::StringReader::StringReader(const lucene::util::StringReader&)
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp:238: 
error: no matching function for call to 
'lucene::analysis::standard::StandardAnalyzer::tokenStream(const wchar_t*&, 
lucene::util::StringReader*)'
/usr/local/include/CLucene/analysis/standard/StandardAnalyzer.h:43: note: 
candidates are: virtual lucene::analysis::TokenStream* 
lucene::analysis::standard::StandardAnalyzer::tokenStream(const char*, 
lucene::util::Reader*)
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp:242: 
error: cannot convert 'const char*' to 'const wchar_t*' in assignment
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp:246: 
error: no matching function for call to 'lucene::index::Term::Term(const 
wchar_t*&, const wchar_t*&)'
/usr/local/include/CLucene/index/Term.h:68: note: candidates are: 
lucene::index::Term::Term(const char*, const char*)
/usr/local/include/CLucene/index/Term.h:62: note: 
lucene::index::Term::Term(const char*, const char*, bool)
/usr/local/include/CLucene/index/Term.h:59: note: 
lucene::index::Term::Term()
/usr/local/include/CLucene/index/Term.h:56: note: 
lucene::index::Term::Term(const lucene::index::Term*, const char*)
/usr/local/include/CLucene/index/Term.h:39: note: 
lucene::index::Term::Term(const lucene::index::Term&)
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp: 
In static member function 'static lucene::index::Term* 
CLuceneIndexReader::Private::createKeywordTerm(const wchar_t*, const std::string&)':
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp:257: 
error: no matching function for call to 'lucene::index::Term::Term(const 
wchar_t*&, const wchar_t*)'
/usr/local/include/CLucene/index/Term.h:68: note: candidates are: 
lucene::index::Term::Term(const char*, const char*)
/usr/local/include/CLucene/index/Term.h:62: note: 
lucene::index::Term::Term(const char*, const char*, bool)
/usr/local/include/CLucene/index/Term.h:59: note: 
lucene::index::Term::Term()
/usr/local/include/CLucene/index/Term.h:56: note: 
lucene::index::Term::Term(const lucene::index::Term*, const char*)
/usr/local/include/CLucene/index/Term.h:39: note: 
lucene::index::Term::Term(const lucene::index::Term&)
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp: 
In static member function 'static void 
CLuceneIndexReader::Private::addField(lucene::document::Field*, 
Strigi::IndexedDocument&)':
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp:352: 
error: no matching function for call to 'wchartoutf8(char*)'
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/tcharutils.h:28: 
note: candidates are: std::string wchartoutf8(const wchar_t*)
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/tcharutils.h:30: 
note:                 std::string wchartoutf8(const std::wstring&)
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp:354: 
error: cannot convert 'const char*' to 'const wchar_t*' for argument '1' to 'int 
wcscmp(const wchar_t*, const wchar_t*)'
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp:356: 
error: cannot convert 'const char*' to 'const wchar_t*' for argument '1' to 'int 
wcscmp(const wchar_t*, const wchar_t*)'
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp:358: 
error: cannot convert 'const char*' to 'const wchar_t*' for argument '1' to 'int 
wcscmp(const wchar_t*, const wchar_t*)'
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp:360: 
error: cannot convert 'const char*' to 'const wchar_t*' for argument '1' to 'int 
wcscmp(const wchar_t*, const wchar_t*)'
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp:362: 
error: cannot convert 'const char*' to 'const wchar_t*' for argument '1' to 'int 
wcscmp(const wchar_t*, const wchar_t*)'
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp:367: 
error: no matching function for call to 'wchartoutf8(const char*&)'
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/tcharutils.h:28: 
note: candidates are: std::string wchartoutf8(const wchar_t*)
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/tcharutils.h:30: 
note:                 std::string wchartoutf8(const std::wstring&)
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp: 
In member function 'Strigi::Variant 
CLuceneIndexReader::Private::getFieldValue(lucene::document::Field*, 
Strigi::Variant::Type) const':
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp:374: 
error: no matching function for call to 'wchartoutf8(char*)'
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/tcharutils.h:28: 
note: candidates are: std::string wchartoutf8(const wchar_t*)
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/tcharutils.h:30: 
note:                 std::string wchartoutf8(const std::wstring&)
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp: 
In member function 'void CLuceneIndexReader::getDocuments(const 
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> > > >&, const std::vector<Strigi::Variant::Type, 
std::allocator<Strigi::Variant::Type> >&, 
std::vector<std::vector<Strigi::Variant, std::allocator<Strigi::Variant> >, 
std::allocator<std::vector<Strigi::Variant, std::allocator<Strigi::Variant> > > 
 >&, int, int)':
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp:510: 
error: no matching function for call to 'wchartoutf8(const char*)'
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/tcharutils.h:28: 
note: candidates are: std::string wchartoutf8(const wchar_t*)
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/tcharutils.h:30: 
note:                 std::string wchartoutf8(const std::wstring&)
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp: 
In member function 'virtual void CLuceneIndexReader::getHits(const 
Strigi::Query&, const 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> > > >&, const std::vector<Strigi::Variant::Type, 
std::allocator<Strigi::Variant::Type> >&, 
std::vector<std::vector<Strigi::Variant, std::allocator<Strigi::Variant> >, 
std::allocator<std::vector<Strigi::Variant, std::allocator<Strigi::Variant> > > 
 >&, int, int)':
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp:576: 
error: no matching function for call to 'wchartoutf8(const char*)'
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/tcharutils.h:28: 
note: candidates are: std::string wchartoutf8(const wchar_t*)
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/tcharutils.h:30: 
note:                 std::string wchartoutf8(const std::wstring&)
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp: 
In member function 'int64_t CLuceneIndexReader::documentId(const std::string&)':
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp:621: 
error: no matching function for call to 'lucene::index::Term::Term(const char*, 
const wchar_t*)'
/usr/local/include/CLucene/index/Term.h:68: note: candidates are: 
lucene::index::Term::Term(const char*, const char*)
/usr/local/include/CLucene/index/Term.h:62: note: 
lucene::index::Term::Term(const char*, const char*, bool)
/usr/local/include/CLucene/index/Term.h:59: note: 
lucene::index::Term::Term()
/usr/local/include/CLucene/index/Term.h:56: note: 
lucene::index::Term::Term(const lucene::index::Term*, const char*)
/usr/local/include/CLucene/index/Term.h:39: note: 
lucene::index::Term::Term(const lucene::index::Term&)
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp: 
In member function 'time_t CLuceneIndexReader::mTime(int64_t)':
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp:645: 
error: no matching function for call to 'lucene::document::Document::get(const 
wchar_t*)'
/usr/local/include/CLucene/document/Document.h:85: note: candidates are: const 
char* lucene::document::Document::get(const char*) const
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp:646: 
error: no matching function for call to 'wchartoutf8(const char*&)'
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/tcharutils.h:28: 
note: candidates are: std::string wchartoutf8(const wchar_t*)
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/tcharutils.h:30: 
note:                 std::string wchartoutf8(const std::wstring&)
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp: 
In member function 'virtual std::vector<std::pair<std::basic_string<char, 
std::char_traits<char>, std::allocator<char> >, unsigned int>, 
std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, 
std::allocator<char> >, unsigned int> > > CLuceneIndexReader::histogram(const 
std::string&, const std::string&, const std::string&)':
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp:737: 
error: no matching function for call to 'lucene::document::Document::get(const 
wchar_t*)'
/usr/local/include/CLucene/document/Document.h:85: note: candidates are: const 
char* lucene::document::Document::get(const char*) const
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp:739: 
error: no matching function for call to 'wchartoutf8(const char*&)'
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/tcharutils.h:28: 
note: candidates are: std::string wchartoutf8(const wchar_t*)
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/tcharutils.h:30: 
note:                 std::string wchartoutf8(const std::wstring&)
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp: 
In member function 'virtual 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> > > > CLuceneIndexReader::fieldNames()':
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp:770: 
error: no matching function for call to 'wchartoutf8(char*&)'
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/tcharutils.h:28: 
note: candidates are: std::string wchartoutf8(const wchar_t*)
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/tcharutils.h:30: 
note:                 std::string wchartoutf8(const std::wstring&)
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp: 
In member function 'virtual 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> > > > CLuceneIndexReader::keywords(const std::string&, 
const 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> > > >&, uint32_t, uint32_t)':
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp:799: 
error: no matching function for call to 'lucene::index::Term::Term(const 
wchar_t*, const wchar_t*)'
/usr/local/include/CLucene/index/Term.h:68: note: candidates are: 
lucene::index::Term::Term(const char*, const char*)
/usr/local/include/CLucene/index/Term.h:62: note: 
lucene::index::Term::Term(const char*, const char*, bool)
/usr/local/include/CLucene/index/Term.h:59: note: 
lucene::index::Term::Term()
/usr/local/include/CLucene/index/Term.h:56: note: 
lucene::index::Term::Term(const lucene::index::Term*, const char*)
/usr/local/include/CLucene/index/Term.h:39: note: 
lucene::index::Term::Term(const lucene::index::Term&)
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp:805: 
error: cannot convert 'const wchar_t*' to 'const char*' for argument '2' to 'int 
strncmp(const char*, const char*, size_t)'
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp:809: 
error: no matching function for call to 'std::set<std::basic_string<wchar_t, 
std::char_traits<wchar_t>, std::allocator<wchar_t> >, 
std::less<std::basic_string<wchar_t, std::char_traits<wchar_t>, 
std::allocator<wchar_t> > >, std::allocator<std::basic_string<wchar_t, 
std::char_traits<wchar_t>, std::allocator<wchar_t> > > >::insert(const char*)'
/usr/include/c++/4.2/bits/stl_set.h:304: note: candidates are: 
std::pair<typename std::_Rb_tree<_Key, _Key, std::_Identity<_Key>, _Compare, 
typename _Alloc::rebind<_Key>::other>::const_iterator, bool> std::set<_Key, 
_Compare, _Alloc>::insert(const _Key&) [with _Key = std::basic_string<wchar_t, 
std::char_traits<wchar_t>, std::allocator<wchar_t> >, _Compare = 
std::less<std::basic_string<wchar_t, std::char_traits<wchar_t>, 
std::allocator<wchar_t> > >, _Alloc = std::allocator<std::basic_string<wchar_t, 
std::char_traits<wchar_t>, std::allocator<wchar_t> > >]
/usr/include/c++/4.2/bits/stl_set.h:331: note:                 typename 
std::_Rb_tree<_Key, _Key, std::_Identity<_Key>, _Compare, typename 
_Alloc::rebind<_Key>::other>::const_iterator std::set<_Key, _Compare, 
_Alloc>::insert(typename std::_Rb_tree<_Key, _Key, std::_Identity<_Key>, 
_Compare, typename _Alloc::rebind<_Key>::other>::const_iterator, const _Key&) 
[with _Key = std::basic_string<wchar_t, std::char_traits<wchar_t>, 
std::allocator<wchar_t> >, _Compare = std::less<std::basic_string<wchar_t, 
std::char_traits<wchar_t>, std::allocator<wchar_t> > >, _Alloc = 
std::allocator<std::basic_string<wchar_t, std::char_traits<wchar_t>, 
std::allocator<wchar_t> > >]
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp: 
In member function 'virtual void CLuceneIndexReader::getChildren(const 
std::string&, std::map<std::basic_string<char, std::char_traits<char>, 
std::allocator<char> >, int, std::less<std::basic_string<char, 
std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const 
std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int> > >&)':
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp:852: 
error: no matching function for call to 'wchartoutf8(const char*&)'
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/tcharutils.h:28: 
note: candidates are: std::string wchartoutf8(const wchar_t*)
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/tcharutils.h:30: 
note:                 std::string wchartoutf8(const std::wstring&)
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp:853: 
error: no matching function for call to 'lucene::document::Document::get(const 
wchar_t*)'
/usr/local/include/CLucene/document/Document.h:85: note: candidates are: const 
char* lucene::document::Document::get(const char*) const
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp:855: 
error: no matching function for call to 'wchartoutf8(const char*&)'
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/tcharutils.h:28: 
note: candidates are: std::string wchartoutf8(const wchar_t*)
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/tcharutils.h:30: 
note:                 std::string wchartoutf8(const std::wstring&)
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp: 
In member function 'std::vector<Strigi::IndexedDocument, 
std::allocator<Strigi::IndexedDocument> > 
CLuceneIndexReader::Private::strigiSpecial(const std::string&)':
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp:883: 
error: no matching function for call to 'wchartoutf8(const char* const&)'
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/tcharutils.h:28: 
note: candidates are: std::string wchartoutf8(const wchar_t*)
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/tcharutils.h:30: 
note:                 std::string wchartoutf8(const std::wstring&)
/usr/ports/deskutils/strigi/work/strigi-0.5.11/src/luceneindexer/cluceneindexreader.cpp:896: 
error: cannot convert 'char*' to 'const wchar_t*' for argument '1' to 'size_t 
wcslen(const wchar_t*)'
*** Error code 1

Stop in /usr/ports/deskutils/strigi/work/strigi-0.5.11.
*** Error code 1

Stop in /usr/ports/deskutils/strigi/work/strigi-0.5.11.
*** Error code 1

Stop in /usr/ports/deskutils/strigi/work/strigi-0.5.11.
*** Error code 1

Stop in /usr/ports/deskutils/strigi.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall.58784.3 
env make BATCH=yes WITH_OPENSSL_PORT=yes WITH_OPENSSL=yes WITHOUT_GNOME=esound 
WITHOUT_CUPS=yes WITH_BDB_VER=46 WITH_MYSQL_VER=50 WITH_OPTIMIZED_CFLAGS=yes
** Fix the problem and try again.

Thanks,
Naram Qashat


More information about the kde-freebsd mailing list