[Kmymoney-devel] [Bug 301189] New: error while SlackBuild'ing under Slackware64-current (20120602) with GCC-4.7.0

Lenard Spencer lspencer31 at cfl.rr.com
Mon Jun 4 23:38:50 UTC 2012


https://bugs.kde.org/show_bug.cgi?id=301189

            Bug ID: 301189
          Severity: normal
           Version: unspecified
          Priority: NOR
          Assignee: kmymoney-devel at kde.org
           Summary: error while SlackBuild'ing under Slackware64-current
                    (20120602) with GCC-4.7.0
    Classification: Unclassified
                OS: Linux
          Reporter: lspencer31 at cfl.rr.com
          Hardware: Slackware Packages
            Status: UNCONFIRMED
         Component: general
           Product: kmymoney4

Errors out while trying to build under Slackware64-current with GCC-4.7.0.
Builds fine under Slackware64-13.37 with GCC-4.5.2.


Reproducible: Always

Steps to Reproduce:
>From slackbuilds.org:
1. Build  and install libalkimia
2. Build and install libofx 0.9.5 (NOTE: slackbuilds.org still has 0.9.1. 
Downloaded 0.9.5 and edited libofx.SlackBuild to reflect updated version and
remove patch that was no longer needed.
3. Attempted to build kmymoney.  
Actual Results:  
bombed with error:
[  3%] Building CXX object
libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartBackgroundAttributes.cpp.o     
cd /tmp/SBo/kmymoney-4.6.2/build/libkdchart/src && /usr/bin/c++  
-DMAKE_KMM_KDCHART_LIB -D_BSD_SOURCE -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=8 -DQT_USE_FAST_CONCATENATION
-DQT_USE_FAST_OPERATOR_PLUS -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=8 -DHAVE_CONFIG_H -DKDCHART_BUILD_KDCHART_LIB
-O2 -fPIC -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 -fexceptions -UQT_NO_EXCEPTIONS -fexceptions
-UQT_NO_EXCEPTIONS -fPIC -fno-common -O2 -DNDEBUG -DQT_NO_DEBUG -fPIC
-I/tmp/SBo/kmymoney-4.6.2/build/libkdchart/src
-I/tmp/SBo/kmymoney-4.6.2/libkdchart/src -I/tmp/SBo/kmymoney-4.6.2 -
I/tmp/SBo/kmymoney-4.6.2/build
-I/tmp/SBo/kmymoney-4.6.2/libkdchart/src/../include
-I/tmp/SBo/kmymoney-4.6.2/libkdchart/src/../kdablibfakes/include
-I/usr/include/KDE -I/usr/lib64/qt/include/QtXmlPatterns
-I/usr/lib64/qt/include/QtXml -I/usr/lib64/qt/include/QtWebKit
-I/usr/lib64/qt/include/QtUiTools -I/usr/lib64/qt/include/QtTest
-I/usr/lib64/qt/include/QtSvg -I/usr/lib64/qt/include/QtSql
-I/usr/lib64/qt/include/QtScriptTools -I/usr/lib64/qt/include/QtScript
-I/usr/lib64/qt/include/QtOpenGL -I/usr/lib64/qt/include/QtNetwork
-I/usr/lib64/qt/include/QtMultimedia -I/usr/lib64/qt/include/QtHelp
-I/usr/lib64/qt/include/QtDesigner -I/usr/lib64/qt/include/QtDeclarative
-I/usr/lib64/qt/include/QtDBus -I/usr/lib64/qt/include/Qt3Support
-I/usr/lib64/qt/include/QtGui -I/usr/lib64/qt/include/QtCore
-I/usr/lib64/qt/include/Qt -I/usr/lib64/qt/mkspecs/default   -D_GNU_SOURCE
-D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o
CMakeFiles/kmm_kdchart.dir/KDChartBackgroundAttributes.cpp.o -c
/tmp/SBo/kmymoney-4.6.2/
libkdchart/src/KDChartBackgroundAttributes.cpp
/tmp/SBo/kmymoney-4.6.2/libkdchart/src/KDChartBackgroundAttributes.cpp: In
function 'QDebug operator<<(QDebug, const KDChart::BackgroundAttributes&)':
/tmp/SBo/kmymoney-4.6.2/libkdchart/src/KDChartBackgroundAttributes.cpp:153:26:
error: ambiguous overload for 'operator<<' in '(&(& operator<<(QDebug, const
QBrush&)((*(const QBrush*)(& KDChart::BackgroundAttributes::brush()
const()))).QDebug::operator<<(((const
char*)"pixmapmode=")))->QDebug::operator<<(((int)(&
ba)->KDChart::BackgroundAttributes::pixmapMode())))->QDebug::operator<<(((const
char*)"pixmap=")) << KDChart::BackgroundAttributes::pixmap() const()'
/tmp/SBo/kmymoney-4.6.2/libkdchart/src/KDChartBackgroundAttributes.cpp:153:26:
note: candidates are:
In file included from /usr/lib64/qt/include/QtCore/qlocale.h:45:0,
                 from /usr/lib64/qt/include/QtCore/qtextstream.h:48,
                 from /usr/lib64/qt/include/QtCore/qdebug.h:50,
                 from /usr/lib64/qt/include/QtCore/QDebug:1,
                 from
/tmp/SBo/kmymoney-4.6.2/libkdchart/src/KDChartBackgroundAttributes.h:26,
                 from
/tmp/SBo/kmymoney-4.6.2/libkdchart/src/KDChartBackgroundAttributes.cpp:23:
/usr/lib64/qt/include/QtCore/qvariant.h:606:22: note: QDebug operator<<(QDebug,
const QVariant&)
In file included from /usr/lib64/qt/include/QtGui/QBrush:1:0,
                 from
/tmp/SBo/kmymoney-4.6.2/libkdchart/src/KDChartBackgroundAttributes.h:28,
                 from
/tmp/SBo/kmymoney-4.6.2/libkdchart/src/KDChartBackgroundAttributes.cpp:23:
/usr/lib64/qt/include/QtGui/qbrush.h:171:21: note: QDebug operator<<(QDebug,
const QBrush&)
make[2]: ***
[libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartBackgroundAttributes.cpp.o]
Error 1
make[2]: Leaving directory `/tmp/SBo/kmymoney-4.6.2/build'
make[1]: *** [libkdchart/src/CMakeFiles/kmm_kdchart.dir/all] Error 2
make[1]: Leaving directory `/tmp/SBo/kmymoney-4.6.2/build'
make: *** [all] Error 2


Expected Results:  
Finished the build

As I mentioned in the details above, it builds fine in Slackware64-13.37 under
GCC-4.5.2.
As a workaround, I built the package under 13.37 and installed it in my
-current partition, and so far it works fine.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list