Summary: | sci-visualization/labplot-2.0.2 : /.../LabPlot.cpp:47:27: error: invalid user-defined conversion from ‘int’ to ‘const QByteArray&’ [-fpermissive] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Andreas K. Hüttel <dilfridge> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | kde, proteuss, sci |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-history.txt
environment sci-visualization:labplot-2.0.2:20160221-172123.log |
Description
Toralf Förster
2016-02-21 17:55:30 UTC
Created attachment 426136 [details]
emerge-history.txt
Created attachment 426138 [details]
environment
Created attachment 426140 [details]
sci-visualization:labplot-2.0.2:20160221-172123.log
@Andreas: There is a newer version released based on KF5. Maybe this fixes the issue http://download.kde.org/stable/labplot/2.2.0/ Me too has the same problem: /host/var/tmp/portage/sci-visualization/labplot-2.0.2/work/labplot-2.0.2/src/kdefrontend/LabPlot.cpp: In function 'int main(int , char**)': /host/var/tmp/portage/sci-visualization/labplot-2.0.2/work/labplot-2.0.2/src/kdefrontend/LabPlot.cpp:47:27: error: invalid user-defined conversion from 'int' to 'const QByteArray&' [-fpermissive] ki18n("(c) 2007-2015") ); ^ In file included from /usr/include/qt4/QtCore/qstring.h:46:0, from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtGui/qapplication.h:45, from /usr/include/qt4/QtGui/QApplication:1, from /usr/include/KDE/../kapplication.h:45, from /usr/include/KDE/KApplication:1, from /host/var/tmp/portage/sci-visualization/labplot-2.0.2/work/labplot-2.0.2/src/kdefrontend/LabPlot.cpp:29: /usr/include/qt4/QtCore/qbytearray.h:150:5: note: candidate is: QByteArray::QByteArray(const char*) <near match> QByteArray(const char *); ^ /usr/include/qt4/QtCore/qbytearray.h:150:5: note: no known conversion for argument 1 from 'int' to 'const char*' Some info: Portage 2.2.28 (python 3.4.3-final-0, hardened/linux/x86, gcc-4.9.3, glibc-2.22-r4, 3.16.5-gentoo i686) ================================================================= System uname: Linux-3.16.5-gentoo-i686-Intel-R-_Pentium-R-_4_CPU_3.40GHz-with-gentoo-2.2 KiB Mem: XXXXXX total, 375076 free KiB Swap: XXXXXX total, 1963920 free Timestamp of repository gentoo: Tue, 30 Aug 2016 23:15:01 +0000 sh bash 4.3_p42-r1 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 app-shells/bash: 4.3_p42-r1::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.20.2::gentoo dev-lang/python: 2.7.10-r1::gentoo, 3.4.3-r1::gentoo dev-util/cmake: 3.5.2-r1::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.19.1::gentoo sys-apps/sandbox: 2.10-r2::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo sys-devel/automake: 1.4_p6::<unknown repository>, 1.5::<unknown repository>, 1.6.3::<unknown repository>, 1.7.9-r1::<unknown repository>, 1.8.5-r3::<unknown repository>, 1.9.6-r2::<unknown repository>, 1.10.3-r1::gentoo, 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.24-r3::gentoo, 2.25.1-r1::gentoo sys-devel/gcc: 4.3.6-r1::gentoo, 4.4.7::gentoo, 4.8.3::gentoo, 4.9.3::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool: 2.4.6::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers) sys-libs/glibc: 2.22-r4::gentoo I have masked all Qt5 packages in my package.mask (I don't want Qt5 yet, maybe later). Now what? If the only answer is "There is a newer version released based on KF5", then maybe one should include a dependency on the 5-versions of KDE/Qt/whatever. sci-visualization/labplot-2.3.0:5 is now in tree, replacing old 2.0.2. Please check back and re-open if the error is still present. |