[Pkg-middleware-maintainers] Bug#897841: qpid-proton: ftbfs with GCC-8

Matthias Klose doko at debian.org
Fri May 4 13:23:15 BST 2018


Package: src:qpid-proton
Version: 0.22.0-1
Severity: normal
Tags: sid buster
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-8

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-8/g++-8, but succeeds to build with gcc-7/g++-7. The
severity of this report will be raised before the buster release.

The full build log can be found at:
http://aws-logs.debian.net/2018/05/01/gcc8/qpid-proton_0.22.0-1_unstable_gcc8.log.gz
The last lines of the build log are at the end of this report.

To build with GCC 8, either set CC=gcc-8 CXX=g++-8 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-8/porting_to.html

[...]
                                                              ^~~~~
/<<PKGBUILDDIR>>/proton-c/bindings/cpp/src/scalar_test.hpp: In instantiation of 'void test::bad_get_test() [with V = proton::value]':
/<<PKGBUILDDIR>>/proton-c/bindings/cpp/src/scalar_test.hpp:204:5:   required from 'void test::scalar_test_group(int&) [with V = proton::value]'
/<<PKGBUILDDIR>>/proton-c/bindings/cpp/src/value_test.cpp:84:40:   required from here
/<<PKGBUILDDIR>>/proton-c/bindings/cpp/src/scalar_test.hpp:89:60: error: catching polymorphic type 'struct proton::conversion_error' by value [-Werror=catch-value=]
     try { get<bool>(V(int8_t(1))); FAIL("byte as bool"); } catch (conversion_error) {}
                                                            ^~~~~
/<<PKGBUILDDIR>>/proton-c/bindings/cpp/src/scalar_test.hpp:90:61: error: catching polymorphic type 'struct proton::conversion_error' by value [-Werror=catch-value=]
     try { get<uint8_t>(V(true)); FAIL("bool as uint8_t"); } catch (conversion_error) {}
                                                             ^~~~~
/<<PKGBUILDDIR>>/proton-c/bindings/cpp/src/scalar_test.hpp:91:64: error: catching polymorphic type 'struct proton::conversion_error' by value [-Werror=catch-value=]
     try { get<uint8_t>(V(int8_t(1))); FAIL("int8 as uint8"); } catch (conversion_error) {}
                                                                ^~~~~
/<<PKGBUILDDIR>>/proton-c/bindings/cpp/src/scalar_test.hpp:92:68: error: catching polymorphic type 'struct proton::conversion_error' by value [-Werror=catch-value=]
     try { get<int16_t>(V(uint16_t(1))); FAIL("uint16 as int16"); } catch (conversion_error) {}
                                                                    ^~~~~
/<<PKGBUILDDIR>>/proton-c/bindings/cpp/src/scalar_test.hpp:93:66: error: catching polymorphic type 'struct proton::conversion_error' by value [-Werror=catch-value=]
     try { get<int16_t>(V(int32_t(1))); FAIL("int32 as int16"); } catch (conversion_error) {}
                                                                  ^~~~~
/<<PKGBUILDDIR>>/proton-c/bindings/cpp/src/scalar_test.hpp:94:70: error: catching polymorphic type 'struct proton::conversion_error' by value [-Werror=catch-value=]
     try { get<symbol>(V(std::string())); FAIL("string as symbol"); } catch (conversion_error) {}
                                                                      ^~~~~
/<<PKGBUILDDIR>>/proton-c/bindings/cpp/src/scalar_test.hpp:95:70: error: catching polymorphic type 'struct proton::conversion_error' by value [-Werror=catch-value=]
     try { get<std::string>(V(binary())); FAIL("binary as string"); } catch (conversion_error) {}
                                                                      ^~~~~
/<<PKGBUILDDIR>>/proton-c/bindings/cpp/src/scalar_test.hpp:96:65: error: catching polymorphic type 'struct proton::conversion_error' by value [-Werror=catch-value=]
     try { get<binary>(V(symbol())); FAIL("symbol as binary"); } catch (conversion_error) {}
                                                                 ^~~~~
/<<PKGBUILDDIR>>/proton-c/bindings/cpp/src/scalar_test.hpp:97:71: error: catching polymorphic type 'struct proton::conversion_error' by value [-Werror=catch-value=]
     try { get<binary>(V(timestamp())); FAIL("timestamp as binary"); } catch (conversion_error) {}
                                                                       ^~~~~
/<<PKGBUILDDIR>>/proton-c/bindings/cpp/src/scalar_test.hpp:98:65: error: catching polymorphic type 'struct proton::conversion_error' by value [-Werror=catch-value=]
     try { get<int>(V(timestamp())); FAIL("timestamp as int"); } catch (conversion_error) {}
                                                                 ^~~~~
/<<PKGBUILDDIR>>/proton-c/bindings/cpp/src/scalar_test.hpp:99:61: error: catching polymorphic type 'struct proton::conversion_error' by value [-Werror=catch-value=]
     try { get<timestamp>(V(0)); FAIL("int as timestamp"); } catch (conversion_error) {}
                                                             ^~~~~
/<<PKGBUILDDIR>>/proton-c/bindings/cpp/src/scalar_test.hpp:100:76: error: catching polymorphic type 'struct proton::conversion_error' by value [-Werror=catch-value=]
     try { get<timestamp>(V(std::string())); FAIL("string as timestamp"); } catch (conversion_error) {}
                                                                            ^~~~~
cc1plus: all warnings being treated as errors
make[4]: *** [proton-c/bindings/cpp/CMakeFiles/value_test.dir/build.make:66: proton-c/bindings/cpp/CMakeFiles/value_test.dir/src/value_test.cpp.o] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[3]: *** [CMakeFiles/Makefile2:1606: proton-c/bindings/cpp/CMakeFiles/value_test.dir/all] Error 2
make[2]: *** [Makefile:144: all] Error 2
dh_auto_build: cd obj-x86_64-linux-gnu && make -j8 -Oline all docs returned exit code 2
make[1]: *** [debian/rules:34: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:28: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2



More information about the Pkg-middleware-maintainers mailing list