Package: libphonenumber
Version: 7.1.0-2
Severity: important
User: [email protected]
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
...
> make[3]: Entering directory '/<<PKGBUILDDIR>>/cpp/build'
> [ 0%] Building CXX object
> tools/CMakeFiles/generate_geocoding_data.dir/src/cpp-build/generate_geocoding_data.cc.o
> /<<PKGBUILDDIR>>/tools/cpp/src/cpp-build/generate_geocoding_data.cc: In
> function 'bool i18n::phonenumbers::StrToInt(const string&, int32*)':
> /<<PKGBUILDDIR>>/tools/cpp/src/cpp-build/generate_geocoding_data.cc:144:10:
> error: cannot convert 'std::stringstream {aka
> std::__cxx11::basic_stringstream<char>}' to 'bool' in return
> return stream;
> ^~~~~~
>
> /<<PKGBUILDDIR>>/tools/cpp/src/cpp-build/generate_geocoding_data.cc: In
> function 'bool i18n::phonenumbers::IntToStr(int32, std::__cxx11::string*)':
> /<<PKGBUILDDIR>>/tools/cpp/src/cpp-build/generate_geocoding_data.cc:152:10:
> error: cannot convert 'std::stringstream {aka
> std::__cxx11::basic_stringstream<char>}' to 'bool' in return
> return stream;
> ^~~~~~
>
> tools/CMakeFiles/generate_geocoding_data.dir/build.make:62: recipe for target
> 'tools/CMakeFiles/generate_geocoding_data.dir/src/cpp-build/generate_geocoding_data.cc.o'
> failed
> make[3]: ***
> [tools/CMakeFiles/generate_geocoding_data.dir/src/cpp-build/generate_geocoding_data.cc.o]
> Error 1
--
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise
__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
Please use
[email protected] for discussions and questions.