[Kde-imaging] [Bug 221542] New: build fails due to ambiguities
tropikhajma
tropikhajma at gmail.com
Wed Jan 6 16:12:54 CET 2010
https://bugs.kde.org/show_bug.cgi?id=221542
Summary: build fails due to ambiguities
Product: kipiplugins
Version: unspecified
Platform: Compiled Sources
OS/Version: Solaris
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: libkdcraw
AssignedTo: kde-imaging at kde.org
ReportedBy: tropikhajma at gmail.com
Version: 4.3.85 (using Devel)
Compiler: Sun Studio 12 U1
OS: Solaris
Installed from: Compiled sources
Building kdegraphics 4.3.85 on OpenSolaris using Sun Studio 12U1 fails with the
below error message.
The attached patch fixes that.
cd
/home/test/packages/BUILD/kdegraphics-4.3.85/build-kdegraphics-4.3.85/libs/libkdcraw/libkdcraw
&& /opt/sunstudio12.1/bin/CC -library=no%Cstd -library=Crun -xannotate=no
-DLIBRAW_BUILDLIB -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT
-DKDE_DEPRECATED_WARNINGS -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT
-DKDE_DEPRECATED_WARNINGS -DUSE_LCMS -DDCRAW_VERBOSE -D__EXTENSIONS__ -DSOLARIS
-D_REENTRANT -D__EXTENSIONS__ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_POSIX_PTHREAD_SEMANTICS -DSOLARIS -DSOLARIS10 -DNDEBUG -DNO_DEBUG -D_UNICODE
-DUNICODE -D_RWSTD_REENTRANT -D_XOPEN_SOURCE=500 -D_XPG5
-I/usr/include/stdcxx4/ansi -I/usr/include/stdcxx4 -I/opt/foss/include
-I/usr/include/stdcxx4/ansi -I/usr/include/stdcxx4 -library=no%Cstd
-library=Crun
-features=anachronisms,except,rtti,export,extensions,nestedaccess,tmplife,tmplrefstatic
-instances=global -template=geninlinefuncs -s -xlang=c99
-xalias_level=compatible -xustr=ascii_utf16_ushort -Qoption ccfe -features=gcc
-Qoption ccfe -features=zla -Qoption ccfe ++boolflag:sunwcch=false -mt
-xF=%none -xbuiltin=%all -xinline=%auto -xprefetch=auto -xprefetch_level=3
-xalias_level=compatible -KPIC -xipo=0 -xO2 -xregs=no%frameptr -xjobs=2
-xrestrict=%all -xthreadvar=%all -z combreloc -z redlocsym -z nodefaultlib -z
ignore -z now -z rescan -z absexec -xldscope=symbolic -xlibmil -s
-xtarget=pentium4 -m32 -xarch=sse2 -xchip=pentium4 -xcache=8/64/4:256/128/8 -lc
-lm -ldl -lpthread -lposix4 -lrt -mt -L/opt/foss/lib -R/opt/foss/lib -L/usr/lib
-R/usr/lib -Y P,/opt/foss/lib -i -L/opt/foss/lib -R/opt/foss/lib -L/usr/lib
-R/usr/lib -Bdynamic -lstdcxx4 -lCrun -lc -lm -xannotate=no -Usun
-DQT_NO_DEBUG -KPIC
-I/home/test/packages/BUILD/kdegraphics-4.3.85/build-kdegraphics-4.3.85/libs/libkdcraw/libkdcraw
-I/home/test/packages/BUILD/kdegraphics-4.3.85/libs/libkdcraw/libkdcraw
-I/home/test/packages/BUILD/kdegraphics-4.3.85
-I/home/test/packages/BUILD/kdegraphics-4.3.85/build-kdegraphics-4.3.85
-I/home/test/packages/BUILD/kdegraphics-4.3.85/libs/libkdcraw/libraw
-I/opt/kde4/include -I/opt/kde4/include/KDE -I/opt/foss/include/KDE
-I/opt/foss/include -I/opt/foss/qt4/include/QtScriptTools
-I/opt/foss/qt4/include/phonon -I/opt/foss/qt4/include/QtXmlPatterns
-I/opt/foss/qt4/include/QtWebKit -I/opt/foss/qt4/include/QtHelp
-I/opt/foss/qt4/include/QtAssistant -I/opt/foss/qt4/include/QtDBus
-I/opt/foss/qt4/include/QtTest -I/opt/foss/qt4/include/QtUiTools
-I/opt/foss/qt4/include/QtScript -I/opt/foss/qt4/include/QtSvg
-I/opt/foss/qt4/include/QtXml -I/opt/foss/qt4/include/QtSql
-I/opt/foss/qt4/include/QtOpenGL -I/opt/foss/qt4/include/QtNetwork
-I/opt/foss/qt4/include/QtMultimedia -I/opt/foss/qt4/include/QtDesigner
-I/opt/foss/qt4/include/Qt3Support -I/opt/foss/qt4/include/QtGui
-I/opt/foss/qt4/include/QtCore -I/opt/foss/qt4/include/Qt
-I/opt/foss/qt4/share/mkspecs/default -I/opt/foss/qt4/include
-I/usr/X11/include -I/usr/include/lcms -D_LARGEFILE64_SOURCE
-D_LARGEFILE64_SOURCE -xopenmp -w -o
CMakeFiles/kdcraw.dir/__/libraw/internal/dcraw_common.o -c
/home/test/packages/BUILD/kdegraphics-4.3.85/libs/libkdcraw/libraw/internal/dcraw_common.cpp
"/home/test/packages/BUILD/kdegraphics-4.3.85/libs/libkdcraw/libraw/internal/dcraw_common.cpp",
line 3163: Error: Overloading ambiguity between "std::sqrt(double)" and
"std::sqrt(float)".
"/home/test/packages/BUILD/kdegraphics-4.3.85/libs/libkdcraw/libraw/internal/dcraw_common.cpp",
line 3788: Error: Overloading ambiguity between "std::pow(double, double)" and
"std::pow(float, float)".
2 Error(s) detected.
gmake[3]: ***
[libs/libkdcraw/libkdcraw/CMakeFiles/kdcraw.dir/__/libraw/internal/dcraw_common.o]
Error 2
gmake[3]: Leaving directory
`/home/test/packages/BUILD/kdegraphics-4.3.85/build-kdegraphics-4.3.85'
gmake[2]: *** [libs/libkdcraw/libkdcraw/CMakeFiles/kdcraw.dir/all] Error 2
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Kde-imaging
mailing list