[Pkg-mongodb-maintainers] Bug#853554: mongo-cxx-driver-legacy: ftbfs with GCC-7

Matthias Klose doko at debian.org
Tue Jan 31 09:34:00 UTC 2017


Package: src:mongo-cxx-driver-legacy
Version: 1.1.2-5
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/mongo-cxx-driver-legacy_1.1.2-5_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

[...]
[       OK ] TimeFormatting.DateAsISO8601UTCStream (0 ms)
[ RUN      ] TimeFormatting.DateAsISO8601LocalStream
[       OK ] TimeFormatting.DateAsISO8601LocalStream (0 ms)
[ RUN      ] TimeFormatting.DateAsCtimeStream
[       OK ] TimeFormatting.DateAsCtimeStream (0 ms)
[----------] 7 tests from TimeFormatting (0 ms total)

[----------] 4 tests from TimeParsing
[ RUN      ] TimeParsing.DateAsISO8601UTC
src/mongo/util/time_support_test.cpp:140: Failure
      Expected: swull.getValue()
      Which is: -211
To be equal to: 34401906789ULL
      Which is: 34401906789
[  FAILED  ] TimeParsing.DateAsISO8601UTC (0 ms)
[ RUN      ] TimeParsing.DateAsISO8601Local
src/mongo/util/time_support_test.cpp:189: Failure
      Expected: swull.getValue()
      Which is: -18660211
To be equal to: 34401906789ULL
      Which is: 34401906789
[  FAILED  ] TimeParsing.DateAsISO8601Local (0 ms)
[ RUN      ] TimeParsing.InvalidDates
[       OK ] TimeParsing.InvalidDates (0 ms)
[ RUN      ] TimeParsing.LeapYears
src/mongo/util/time_support_test.cpp:380: Failure
      Expected: swull.getValue()
      Which is: -1000
To be equal to: 68169600000ULL
      Which is: 68169600000
[  FAILED  ] TimeParsing.LeapYears (0 ms)
[----------] 4 tests from TimeParsing (0 ms total)

[----------] Global test environment tear-down
[==========] 11 tests from 2 test cases ran. (0 ms total)
[  PASSED  ] 8 tests.
[  FAILED  ] 3 tests, listed below:
[  FAILED  ] TimeParsing.DateAsISO8601UTC
[  FAILED  ] TimeParsing.DateAsISO8601Local
[  FAILED  ] TimeParsing.LeapYears

 3 FAILED TESTS
scons: *** [run-util/time_support_test] Error 1
scons: building terminated because of errors.
debian/rules:40: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:9: 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-mongodb-maintainers mailing list