app-office/calligra-2.4.2 (as well as 2.4.3-r1) fails here on x86 with USE="-iconv' and CALLIGRA_FEATURES="words". It also takes another route death, if USE="word-perfect" is set. CALLIGRA_FEATURES="words" & USE=-iconv: /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:65:5: error: 'iconv_t' does not name a type /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp: In constructor 'wvWare::TextConverter::Private::Private(const std::string&, const std::string&)': /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:44:53: error: class 'wvWare::TextConverter::Private' does not have any field named 'm_iconv' /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:44:79: error: expected type-specifier before 'iconv_t' /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:44:79: error: expected '>' before 'iconv_t' /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:44:79: error: expected '(' before 'iconv_t' /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:44:79: error: 'iconv_t' was not declared in this scope /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:44:97: error: expected '{' at end of input /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp: In constructor 'wvWare::TextConverter::Private::Private(const std::string&)': /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:52:33: error: class 'wvWare::TextConverter::Private' does not have any field named 'm_iconv' /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:52:59: error: expected type-specifier before 'iconv_t' /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:52:59: error: expected '>' before 'iconv_t' /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:52:59: error: expected '(' before 'iconv_t' /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:52:59: error: 'iconv_t' was not declared in this scope /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:52:77: error: expected '{' at end of input /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp: In constructor 'wvWare::TextConverter::Private::Private(wvWare::U16)': /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:61:9: error: class 'wvWare::TextConverter::Private' does not have any field named 'm_iconv' /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:61:35: error: expected type-specifier before 'iconv_t' /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:61:35: error: expected '>' before 'iconv_t' /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:61:35: error: expected '(' before 'iconv_t' /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:61:35: error: 'iconv_t' was not declared in this scope /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:61:53: error: expected '{' at end of input /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp: In member function 'bool wvWare::TextConverter::isOk() const': /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:93:15: error: 'class wvWare::TextConverter::Private' has no member named 'm_iconv' /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:93:43: error: expected type-specifier before 'iconv_t' /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:93:43: error: expected '>' before 'iconv_t' /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:93:43: error: expected '(' before 'iconv_t' /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:93:43: error: 'iconv_t' was not declared in this scope /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:93:57: error: expected ')' before ';' token /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp: In member function 'wvWare::UString wvWare::TextConverter::convert(const char*, unsigned int) const': /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:141:49: error: 'class wvWare::TextConverter::Private' has no member named 'm_iconv' /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:141:135: error: 'iconv' was not declared in this scope /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp: In member function 'void wvWare::TextConverter::close()': /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:307:13: error: 'class wvWare::TextConverter::Private' has no member named 'm_iconv' /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:307:41: error: expected type-specifier before 'iconv_t' /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:307:41: error: expected '>' before 'iconv_t' /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:307:41: error: expected '(' before 'iconv_t' /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:307:41: error: 'iconv_t' was not declared in this scope /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:308:9: error: expected ')' before 'iconv_close' /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:308:34: warning: suggest braces around empty body in an 'if' statement /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:309:8: error: 'class wvWare::TextConverter::Private' has no member named 'm_iconv' /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:309:35: error: expected type-specifier before 'iconv_t' /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:309:35: error: expected '>' before 'iconv_t' /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:309:35: error: expected '(' before 'iconv_t' /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:309:35: error: 'iconv_t' was not declared in this scope /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:309:49: error: expected ')' before ';' token /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp: In member function 'void wvWare::TextConverter::open()': /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:314:13: error: 'class wvWare::TextConverter::Private' has no member named 'm_iconv' /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:314:41: error: expected type-specifier before 'iconv_t' /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:314:41: error: expected '>' before 'iconv_t' /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:314:41: error: expected '(' before 'iconv_t' /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:314:41: error: 'iconv_t' was not declared in this scope /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:314:58: error: expected ')' before '{' token /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:323:9: warning: suggest braces around empty body in an 'if' statement /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:323:9: error: '_k_kDebugDoOutput_' was not declared in this scope /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:323:9: error: expected ';' before ')' token /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:329:12: error: 'class wvWare::TextConverter::Private' has no member named 'm_iconv' /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:329:77: error: 'iconv_open' was not declared in this scope /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp: In member function 'bool wvWare::TextConverter::isOk() const': /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2/filters/words/msword-odf/wv2/src/textconverter.cpp:94:1: error: control reaches end of non-void function make[2]: *** [filters/words/msword-odf/wv2/src/CMakeFiles/kowv2.dir/textconverter.cpp.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2_build' make[1]: *** [filters/words/msword-odf/wv2/src/CMakeFiles/kowv2.dir/all] Error 2 make[1]: Leaving directory `/var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2_build' make: *** [all] Error 2 ------------------------------------------------------------------ USE="word-perfect" Linking CXX executable cstester cd /var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2_build/tools/cstester && /usr/bin/cmake -E cmake_link_script CMakeFiles/cstester.dir/link.txt --verbose=1 /usr/bin/i686-pc-linux-gnu-g++ -O2 -march=i686 -pipe -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu CMakeFiles/cstester.dir/cstester_automoc.o CMakeFiles/cstester.dir/CSThumbProviderStage.o CMakeFiles/cstester.dir/CSThumbProviderTables.o CMakeFiles/cstester.dir/CSThumbProviderWords.o CMakeFiles/cstester.dir/cstester.o CMakeFiles/cstester.dir/CSThumbProviderKarbon.o -o cstester -rdynamic -L/var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2_build/lib -L/usr/lib/qt4 ../../lib/libkomain.so.9.0.0 ../../lib/libkopageapp.so.9.0.0 ../../lib/libcalligrasheetscommon.so.9.0.0 -lwordsprivate ../../lib/libkarbonui.so.9.0.0 ../../lib/libcalligrasheetsodf.so.9.0.0 ../../lib/libkarboncommon.so.9.0.0 ../../lib/libkomain.so.9.0.0 /usr/lib/libkparts.so.4.8.0 ../../lib/libkowidgets.so.9.0.0 ../../lib/libkotext.so.9.0.0 ../../lib/libflake.so.9.0.0 ../../lib/libkoodf.so.9.0.0 ../../lib/libkundo2.so.9.0.0 ../../lib/libpigmentcms.so.9.0.0 ../../lib/libkoplugin.so.9.0.0 -lImath -lIlmImf -lIex -lHalf -lIlmThread /usr/lib/libkio.so.5.8.0 /usr/lib/libnepomukutils.so.4.8.0 /usr/lib/qt4/libQtXml.so /usr/lib/qt4/libQtNetwork.so /usr/lib/libnepomuk.so.4.8.0 -lsoprano /usr/lib/libkdeui.so.5.8.0 /usr/lib/qt4/libQtSvg.so /usr/lib/libkdecore.so.5.8.0 /usr/lib/qt4/libQtCore.so -lpthread /usr/lib/qt4/libQtDBus.so /usr/lib/qt4/libQtGui.so -Wl,-rpath,/var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2_build/lib:/usr/lib/qt4: -Wl,-rpath-link,/var/tmp/portage/app-office/calligra-2.4.2/work/calligra-2.4.2_build/lib /usr/lib/gcc/i686-pc-linux-gnu/4.5.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lwordsprivate collect2: ld returned 1 exit status make[2]: *** [tools/cstester/cstester] Error 1
Created attachment 320780 [details] build.log with USE="word-perfect"
Created attachment 320782 [details] build.log with CALLIGRA_FEATURES="words" USE="-iconv"
The iconv useflag does not make too much sense for the arches that we're supporting. Forcing it on now.