[Pkg-protobuf-devel] Bug#853622: protobuf: ftbfs with GCC-7

Matthias Klose doko at debian.org
Tue Jan 31 09:35:15 UTC 2017


Package: src:protobuf
Version: 3.0.0-9
Severity: normal
Tags: sid buster
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-7

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-7/g++-7, but succeeds to build with gcc-6/g++-6. The
severity of this report may be raised before the buster release.
There is no need to fix this issue in time for the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc7-20170126/protobuf_3.0.0-9_unstable_gcc7.log
The last lines of the build log are at the end of this report.

To build with GCC 7, either set CC=gcc-7 CXX=g++-7 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-7/porting_to.html

[...]
testValueMessage (google.protobuf.internal.json_format_test.JsonFormatTest) ... ok
testWellKnownInAnyMessage (google.protobuf.internal.json_format_test.JsonFormatTest) ... ok
testWrapperMessage (google.protobuf.internal.json_format_test.JsonFormatTest) ... ok
testCustomDescriptorPool (google.protobuf.internal.descriptor_pool_test.AddDescriptorTest) ... ok
testEmptyDescriptorPool (google.protobuf.internal.descriptor_pool_test.AddDescriptorTest) ... ok
testEnum (google.protobuf.internal.descriptor_pool_test.AddDescriptorTest) ... skipped 'With the cpp implementation, Add() must be called first'
testFile (google.protobuf.internal.descriptor_pool_test.AddDescriptorTest) ... skipped 'With the cpp implementation, Add() must be called first'
testFileDescriptorOptionsWithCustomDescriptorPool (google.protobuf.internal.descriptor_pool_test.AddDescriptorTest) ... ok
testMessage (google.protobuf.internal.descriptor_pool_test.AddDescriptorTest) ... skipped 'With the cpp implementation, Add() must be called first'
testAddFileDescriptor (google.protobuf.internal.descriptor_pool_test.DefaultPoolTest) ... ok
testFindMethods (google.protobuf.internal.descriptor_pool_test.DefaultPoolTest) ... ok
testAddSerializedFile (google.protobuf.internal.descriptor_pool_test.DescriptorPoolTest) ... ok
testComplexNesting (google.protobuf.internal.descriptor_pool_test.DescriptorPoolTest) ... ok
testDefaultValueForCustomMessages (google.protobuf.internal.descriptor_pool_test.DescriptorPoolTest)
Check the value returned by non-existent fields. ... ok
testEnumDefaultValue (google.protobuf.internal.descriptor_pool_test.DescriptorPoolTest)
Test the default value of enums which don't start at zero. ... ok
testExtensionsAreNotFields (google.protobuf.internal.descriptor_pool_test.DescriptorPoolTest) ... ok
testFindEnumTypeByName (google.protobuf.internal.descriptor_pool_test.DescriptorPoolTest) ... ok
testFindEnumTypeByNameFailure (google.protobuf.internal.descriptor_pool_test.DescriptorPoolTest) ... ok
testFindExtensionByName (google.protobuf.internal.descriptor_pool_test.DescriptorPoolTest) ... ok
testFindFieldByName (google.protobuf.internal.descriptor_pool_test.DescriptorPoolTest) ... ok
testFindFileByName (google.protobuf.internal.descriptor_pool_test.DescriptorPoolTest) ... ok
testFindFileByNameFailure (google.protobuf.internal.descriptor_pool_test.DescriptorPoolTest) ... ok
testFindFileContainingSymbol (google.protobuf.internal.descriptor_pool_test.DescriptorPoolTest) ... ok
testFindFileContainingSymbolFailure (google.protobuf.internal.descriptor_pool_test.DescriptorPoolTest) ... ok
testFindMessageTypeByName (google.protobuf.internal.descriptor_pool_test.DescriptorPoolTest) ... ok
testFindMessageTypeByNameFailure (google.protobuf.internal.descriptor_pool_test.DescriptorPoolTest) ... ok
testUserDefinedDB (google.protobuf.internal.descriptor_pool_test.DescriptorPoolTest) ... ok

======================================================================
FAIL: testMergeFrom (google.protobuf.internal.message_test.Proto3Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/python3/google/protobuf/internal/message_test.py", line 1450, in testMergeFrom
    self.assertEqual(15, old_map_value.c)
AssertionError: 15 != 10

----------------------------------------------------------------------
Ran 590 tests in 0.974s

FAILED (failures=1, skipped=16)
Test failed: <unittest.runner.TextTestResult run=590 errors=0 failures=1>
error: Test failed: <unittest.runner.TextTestResult run=590 errors=0 failures=1>
debian/rules:42: recipe for target 'override_dh_auto_test-arch' failed
make[1]: *** [override_dh_auto_test-arch] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:5: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2



More information about the Pkg-protobuf-devel mailing list