[Pkg-lxqt-devel] Bug#803072: qlipper: FTBFS: error: ambiguous overload for 'operator<<' (operand types are 'QDataStream' and 'int')
Chris Lamb
lamby at debian.org
Mon Oct 26 16:14:36 UTC 2015
Source: qlipper
Version: 5.0.0+20150823-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
Dear Maintainer,
qlipper fails to build from source in unstable/amd64:
[..]
/build/qlipper-5.0.0+20150823/src/qlipperpreferences.cpp: In function
'QDataStream& operator<<(QDataStream&, const ClipboardContent&)':
/build/qlipper-5.0.0+20150823/src/qlipperpreferences.cpp:26:9: error:
ambiguous overload for 'operator<<' (operand types are 'QDataStream'
and 'int')
out << size;
^
In file included from
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:41:0,
from
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:41,
from
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsettings.h:37,
from
/usr/include/x86_64-linux-gnu/qt5/QtCore/QSettings:1,
from
/build/qlipper-5.0.0+20150823/src/qlipperpreferences.h:23,
from
/build/qlipper-5.0.0+20150823/src/qlipperpreferences.cpp:20:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qchar.h:584:28: note:
candidate: QDataStream& operator<<(QDataStream&, QChar)
Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, QChar);
^
In file included from
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsettings.h:38:0,
from
/usr/include/x86_64-linux-gnu/qt5/QtCore/QSettings:1,
from
/build/qlipper-5.0.0+20150823/src/qlipperpreferences.h:23,
from
/build/qlipper-5.0.0+20150823/src/qlipperpreferences.cpp:20:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:534:28: note:
candidate: QDataStream& operator<<(QDataStream&, const QVariant&)
Q_CORE_EXPORT QDataStream& operator<< (QDataStream& s, const
QVariant& p);
^
/build/qlipper-5.0.0+20150823/src/qlipperpreferences.cpp: In function
'QDataStream& operator>>(QDataStream&, ClipboardContent&)':
/build/qlipper-5.0.0+20150823/src/qlipperpreferences.cpp:42:11: error:
invalid conversion from 'int' to 'QVariant::Type' [-fpermissive]
in >> size;
^
In file included from
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsettings.h:38:0,
from
/usr/include/x86_64-linux-gnu/qt5/QtCore/QSettings:1,
from
/build/qlipper-5.0.0+20150823/src/qlipperpreferences.h:23,
from
/build/qlipper-5.0.0+20150823/src/qlipperpreferences.cpp:20:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:535:28: note:
initializing argument 2 of 'QDataStream& operator>>(QDataStream&,
QVariant::Type&)'
Q_CORE_EXPORT QDataStream& operator>> (QDataStream& s,
QVariant::Type& p);
^
/build/qlipper-5.0.0+20150823/src/qlipperpreferences.cpp:42:11: error:
cannot bind rvalue '(QVariant::Type)size' to 'QVariant::Type&'
in >> size;
^
[ 83%] Building CXX object
CMakeFiles/qlipper.dir/src/moc_qlippermodel.cpp.o
/usr/bin/c++ -DIS_CMAKE -DQLIPPER_VERSION=\"5.0.0\" -DQT_CORE_LIB
-DQT_GUI_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB
-DTRANSLATION_DIR=\"/usr/share/qlipper/translations\" -g -O2
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.5.1
-I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.5.1/QtGui
-I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.5.1
-I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.5.1/QtCore
-I/build/qlipper-5.0.0+20150823/src
-I/build/qlipper-5.0.0+20150823/obj-x86_64-linux-gnu
-I/build/qlipper-5.0.0+20150823/obj-x86_64-linux-gnu/src
-I/build/qlipper-5.0.0+20150823/qkeysequencewidget
-I/build/qlipper-5.0.0+20150823/qxt
-I/build/qlipper-5.0.0+20150823/qmenuview -isystem
/usr/include/x86_64-linux-gnu/qt5 -isystem
/usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem
/usr/include/x86_64-linux-gnu/qt5/QtGui -isystem
/usr/include/x86_64-linux-gnu/qt5/QtCore -isystem
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -fPIC -o
CMakeFiles/qlipper.dir/src/moc_qlippermodel.cpp.o -c
/build/qlipper-5.0.0+20150823/obj-x86_64-linux-gnu/src/moc_qlippermodel.cpp
CMakeFiles/qlipper.dir/build.make:284: recipe for target
'CMakeFiles/qlipper.dir/src/qlipperpreferences.cpp.o' failed
make[3]: *** [CMakeFiles/qlipper.dir/src/qlipperpreferences.cpp.o]
Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
'/build/qlipper-5.0.0+20150823/obj-x86_64-linux-gnu'
CMakeFiles/Makefile2:166: recipe for target
'CMakeFiles/qlipper.dir/all' failed
make[2]: *** [CMakeFiles/qlipper.dir/all] Error 2
make[2]: Leaving directory
'/build/qlipper-5.0.0+20150823/obj-x86_64-linux-gnu'
Makefile:152: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory
'/build/qlipper-5.0.0+20150823/obj-x86_64-linux-gnu'
dh_auto_build: make -j18 returned exit code 2
debian/rules:7: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
[..]
The full build log is attached or can be viewed here:
https://reproducible.debian.net/logs/unstable/amd64/qlipper_5.0.0+20150823-1.build1.log.gz
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qlipper.5.0.0+20150823-1.unstable.amd64.log.txt.gz
Type: application/gzip
Size: 12284 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-lxqt-devel/attachments/20151026/fb2df7e2/attachment.bin>
More information about the Pkg-lxqt-devel
mailing list