Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 435490

Summary: app-office/calligra-2.5.2 - .../work/calligra-2.5.2/plugins/colorengines/lcms2/colorspaces/xyz_f32/XyzF32ColorSpace.h:66: 33: error: ‘TYPE_XYZA_FLT’ was not declared in this scope
Product: Gentoo Linux Reporter: Markus Walter <gentoo>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED DUPLICATE    
Severity: normal CC: franz.trischberger, office
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: app-office:calligra-2.5.2:20120919-091736.log.bz2
emerge --info

Description Markus Walter 2012-09-19 09:36:18 UTC
Created attachment 324282 [details]
app-office:calligra-2.5.2:20120919-091736.log.bz2

On my hardened ~amd64 machine with gcc-4.7 calligra-2.5.2 fails to build with the following error.

cd /var/tmp/portage/app-office/calligra-2.5.2/work/calligra-2.5.2_build/libs/flake && /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-g++  -DMAKE_FLAKE_LIB -D_BSD_SOURCE -DSHOULD_BUILD_RDF -DDISABLE_NEPOMUK_LEGACY -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=47 -DCAN_USE_QTWEBKIT  -DQT_NO_DEBUG -DNDEBUG -O2 -pipe -march=native -ggdb  -Wnon-virtual-dtor -Wno-long-long -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 -fPIC -I/var/tmp/portage/app-office/calligra-2.5.2/work/calligra-2.5.2_build/libs/flake -I/var/tmp/portage/app-office/calligra-2.5.2/work/calligra-2.5.2/libs/flake -I/var/tmp/portage/app-office/calligra-2.5.2/work/calligra-2.5.2 -I/var/tmp/portage/app-office/calligra-2.5.2/work/calligra-2.5.2_build -I/var/tmp/portage/app-office/calligra-2.5.2/work/calligra-2.5.2/interfaces -I/var/tmp/portage/app-office/calligra-2.5.2/work/calligra-2.5.2/libs/odf -I/var/tmp/portage/app-office/calligra-2.5.2/work/calligra-2.5.2_build/libs/odf -I/var/tmp/portage/app-office/calligra-2.5.2/work/calligra-2.5.2/libs/koplugin -I/var/tmp/portage/app-office/calligra-2.5.2/work/calligra-2.5.2/libs/pigment -I/var/tmp/portage/app-office/calligra-2.5.2/work/calligra-2.5.2/libs/pigment/compositeops -I/var/tmp/portage/app-office/calligra-2.5.2/work/calligra-2.5.2/libs/pigment/resources -I/var/tmp/portage/app-office/calligra-2.5.2/work/calligra-2.5.2/libs/kundo2 -I/var/tmp/portage/app-office/calligra-2.5.2/work/calligra-2.5.2/libs/flake/commands -I/var/tmp/portage/app-office/calligra-2.5.2/work/calligra-2.5.2/libs/flake/tools -I/var/tmp/portage/app-office/calligra-2.5.2/work/calligra-2.5.2/libs/flake/svg -I/usr/include/KDE -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtMultimedia -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtDBus -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4/Qt -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4    -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/flake.dir/KoToolBase.o -c /var/tmp/portage/app-office/calligra-2.5.2/work/calligra-2.5.2/libs/flake/KoToolBase.cpp
In file included from /var/tmp/portage/app-office/calligra-2.5.2/work/calligra-2.5.2/plugins/colorengines/lcms2/colorspaces/xyz_f32/XyzF32ColorSpace.cpp:20:0:
/var/tmp/portage/app-office/calligra-2.5.2/work/calligra-2.5.2/plugins/colorengines/lcms2/colorspaces/xyz_f32/XyzF32ColorSpace.h: In constructor ‘XyzF32ColorSpaceFactory::XyzF32ColorSpaceFactory()’:
/var/tmp/portage/app-office/calligra-2.5.2/work/calligra-2.5.2/plugins/colorengines/lcms2/colorspaces/xyz_f32/XyzF32ColorSpace.h:66:33: error: ‘TYPE_XYZA_FLT’ was not declared in this scope
/var/tmp/portage/app-office/calligra-2.5.2/work/calligra-2.5.2/plugins/colorengines/lcms2/colorspaces/xyz_f32/XyzF32ColorSpace.cpp: In constructor ‘XyzF32ColorSpace::XyzF32ColorSpace(const QString&, KoColorProfile*)’:
/var/tmp/portage/app-office/calligra-2.5.2/work/calligra-2.5.2/plugins/colorengines/lcms2/colorspaces/xyz_f32/XyzF32ColorSpace.cpp:29:58: error: ‘TYPE_XYZA_FLT’ was not declared in this scope
make[2]: *** [plugins/colorengines/lcms2/CMakeFiles/kolcmsengine.dir/colorspaces/xyz_f32/XyzF32ColorSpace.o] Error 1
Comment 1 Markus Walter 2012-09-19 09:36:39 UTC
Created attachment 324284 [details]
emerge --info
Comment 2 Franz Trischberger 2012-09-19 10:10:36 UTC
DUP of https://bugs.gentoo.org/show_bug.cgi?id=435392
Should be fixed already in portage, so just emerge --sync and try again.
Comment 3 Johannes Huber (RETIRED) gentoo-dev 2012-09-19 22:26:57 UTC

*** This bug has been marked as a duplicate of bug 435392 ***
Comment 4 Markus Walter 2012-09-20 09:08:51 UTC
Indeed the problem was fixed by a resync.