Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 556100 - [kde overlay] kde-apps/cantor-9999 USE="qalculate" src/backends/qalculate/qalculateexpression.cpp:776:45: error: no match for ‘oper ator==’ (operand types are ‘std::__cxx11::basic_string<char>’ and ‘QLatin1String’)
Summary: [kde overlay] kde-apps/cantor-9999 USE="qalculate" src/backends/qalculate/qal...
Status: RESOLVED DUPLICATE of bug 547788
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-28 09:17 UTC by jospezial
Modified: 2015-08-28 23:09 UTC (History)
0 users

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


Attachments
build.log (build.log,946.16 KB, text/plain)
2015-07-28 09:17 UTC, jospezial
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jospezial 2015-07-28 09:17:53 UTC
Created attachment 407772 [details]
build.log

A lot of deprecated warnings to KCoreConfigSkeleton:: * Config()

But then I get an error:

[ 61%] Building CXX object src/backends/qalculate/CMakeFiles/cantor_qalculatebackend.dir/qalculateexpression.cpp.o
cd /var/tmp/portage/kde-apps/cantor-9999/work/cantor-9999_build/src/backends/qalculate && /usr/bin/x86_64-pc-linux-gnu-g++  -DKCOREADDO
NS_LIB -DKGUIADDONS_LIB -DMAKE_CANTORLIBS_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_DISABLE_DEPRECATED_BEFORE=0 -DQT_GUI_LIB -DQT_NETWORK_LI
B -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_URL_CA
ST_FROM_STRING -DQT_PRINTSUPPORT_LIB -DQT_STRICT_ITERATORS -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_QSTRINGBUIL
DER -DQT_WIDGETS_LIB -DQT_XML_LIB -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Dcantor_qalculatebackend_EXPORTS  -DQT_NO_DEBUG -DNDEBUG -march=
native -O2 -pipe  -std=c++0x -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-ar
ith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -std=c++0x -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-su
bscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -fexcepti
ons -UQT_NO_EXCEPTIONS -Wno-deprecated -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -I/var/tmp/portage/kde-apps/cantor-9999/wo
rk/cantor-9999_build/src/backends/qalculate -I/var/tmp/portage/kde-apps/cantor-9999/work/cantor-9999/src/backends/qalculate -I/var/tmp/
portage/kde-apps/cantor-9999/work/cantor-9999/src/lib -I/var/tmp/portage/kde-apps/cantor-9999/work/cantor-9999_build/src/lib -isystem /
usr/include/KF5/KDELibs4Support -isystem /usr/include/KF5/KDELibs4Support/KDE -isystem /usr/include/KF5 -isystem /usr/include/qt5 -isys
tem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g
++ -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/KF5/KCoreAddons -isystem /usr/includ
e/KF5/KCrash -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/KF5/KConfigWidgets -i
system /usr/include/KF5/KCodecs -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/KF5/KAuth -i
system /usr/include/KF5/KIOCore -isystem /usr/include/KF5/KService -isystem /usr/include/KF5/KIOFileWidgets -isystem /usr/include/KF5/K
IOWidgets -isystem /usr/include/KF5/KJobWidgets -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/KF5/KCompletion -isystem /usr
/include/KF5/KBookmarks -isystem /usr/include/KF5/KItemViews -isystem /usr/include/KF5/KXmlGui -isystem /usr/include/KF5/Solid -isystem
 /usr/include/KF5/KI18n -isystem /usr/include/KF5/KNotifications -isystem /usr/include/KF5/KIconThemes -isystem /usr/include/KF5/KWindo
wSystem -isystem /usr/include/KF5/KGuiAddons -isystem /usr/include/KF5/KUnitConversion -isystem /usr/include/KF5/KTextWidgets -isystem 
/usr/include/KF5/SonnetUi -isystem /usr/include/KF5/KParts -I/usr/include/libspectre -isystem /usr/include/KF5/KArchive    -I/usr/inclu
de/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -fPIC -o CMakeFiles/cantor_qalculatebackend.dir/qalculateexpression.cp
p.o -c /var/tmp/portage/kde-apps/cantor-9999/work/cantor-9999/src/backends/qalculate/qalculateexpression.cpp
/var/tmp/portage/kde-apps/cantor-9999/work/cantor-9999/src/backends/qalculate/qalculateexpression.cpp: In member function ‘void Qalcula
teExpression::evaluatePlotCommand()’:
/var/tmp/portage/kde-apps/cantor-9999/work/cantor-9999/src/backends/qalculate/qalculateexpression.cpp:776:45: error: no match for ‘oper
ator==’ (operand types are ‘std::__cxx11::basic_string<char>’ and ‘QLatin1String’)
       plotParameters.filename.substr(p-4,4) == QLatin1String(".eps")) ||
                                             ^
Comment 1 jospezial 2015-07-28 10:09:26 UTC
With USE="-qalculate" it compiles.

=================================================================
                        Package Settings
=================================================================

sci-libs/libqalculate-0.9.7-r1::gentoo was built with the following:
USE="readline -gnuplot -static-libs" ABI_X86="64"


rebuilding libqalculate did not solve the bug.
Comment 2 SpanKY gentoo-dev 2015-08-21 21:34:28 UTC
follow along in bug 550432 for details on revdep-rebuild

*** This bug has been marked as a duplicate of bug 547788 ***
Comment 3 jospezial 2015-08-28 23:09:02 UTC
Somehow I got it solved now. I don't know how I did and what update fixed it.
something qt-related.