Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 430570 - app-office/calligra fails with certain use combos
Summary: app-office/calligra fails with certain use combos
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-09 11:45 UTC by Andreas Schürch
Modified: 2012-08-20 21:02 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log with USE="word-perfect" (build.log.tar.gz,502.07 KB, application/x-gzip)
2012-08-09 11:46 UTC, Andreas Schürch
Details
build.log with CALLIGRA_FEATURES="words" USE="-iconv" (build.log.tar.gz,541.77 KB, application/x-gzip)
2012-08-09 11:48 UTC, Andreas Schürch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Schürch gentoo-dev 2012-08-09 11:45:59 UTC
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
Comment 1 Andreas Schürch gentoo-dev 2012-08-09 11:46:38 UTC
Created attachment 320780 [details]
build.log with USE="word-perfect"
Comment 2 Andreas Schürch gentoo-dev 2012-08-09 11:48:33 UTC
Created attachment 320782 [details]
build.log with CALLIGRA_FEATURES="words" USE="-iconv"
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2012-08-20 21:02:36 UTC
The iconv useflag does not make too much sense for the arches that we're supporting. Forcing it on now.