[Python-modules-team] Bug#811669: FTBFS with GCC 6: cannot convert x to y
Martin Michlmayr
tbm at hpe.com
Wed Jan 20 00:48:12 UTC 2016
Package: shiboken
Version: 1.2.2-2
Severity: important
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-cannot-convert
This package fails to build with GCC 6. GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.
Note that only the first error is reported; there might be more. You
can find a snapshot of GCC 6 in experimental. To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.
> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> cd /<<PKGBUILDDIR>>/build-2.7-dbg/ApiExtractor && /usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_PLUGIN -DQT_SHARED -DQT_XML_LIB -DRXX_ALLOCATOR_INIT_0 -isystem /usr/include/qt4 -isystem /usr/include/qt4/QtGui -isystem /usr/include/qt4/QtXml -isystem /usr/include/qt4/QtCore -I/<<PKGBUILDDIR>>/ApiExtractor -I/<<PKGBUILDDIR>>/build-2.7-dbg/ApiExtractor -I/<<PKGBUILDDIR>>/ApiExtractor/parser -I/<<PKGBUILDDIR>>/ApiExtractor/parser/rpp -I/usr/include/libxml2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fvisibility=hidden -Wno-strict-aliasing -g -o CMakeFiles/apiextractor.dir/typedatabase.cpp.o -c /<<PKGBUILDDIR>>/ApiExtractor/typedatabase.cpp
> /<<PKGBUILDDIR>>/tests/libsample/simplefile.cpp: In member function 'bool SimpleFile::exists() const':
> /<<PKGBUILDDIR>>/tests/libsample/simplefile.cpp:93:12: error: cannot convert 'std::ifstream {aka std::basic_ifstream<char>}' to 'bool' in return
> return ifile;
> ^~~~~
>
> /<<PKGBUILDDIR>>/tests/libsample/simplefile.cpp: In static member function 'static bool SimpleFile::exists(const char*)':
> /<<PKGBUILDDIR>>/tests/libsample/simplefile.cpp:100:12: error: cannot convert 'std::ifstream {aka std::basic_ifstream<char>}' to 'bool' in return
> return ifile;
> ^~~~~
>
--
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise
More information about the Python-modules-team
mailing list