[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#925705: grantlee: ftbfs with GCC-9



Package: src:grantlee
Version: 0.4.0-4
Severity: normal
Tags: sid bullseye
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-9

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-9/g++-9, but succeeds to build with gcc-8/g++-8. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc9-20190321/grantlee_0.4.0-4_unstable_gcc9.log
The last lines of the build log are at the end of this report.

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

GCC 9 also passes the linker option --as-needed by default; typical
build issues are passing libraries before object files to the linker,
or underlinking of convenience libraries built from the same source.

[...]
QWARN  : TestInternationalization::testFailure(fail-03) "Unknown tag: "i18np", line 0, " 
QWARN  : TestInternationalization::testFailure(fail-04) "Unknown tag: "i18ncp", line 0, " 
PASS   : TestInternationalization::testFailure()
PASS   : TestInternationalization::cleanupTestCase()
Totals: 9 passed, 31 failed, 0 skipped
********* Finished testing of TestInternationalization *********

 9/11 Test #10: htmlbuildertest ..................Child aborted***Exception:   0.02 sec
********* Start testing of TestHtmlOutput *********
Config: Using QTest library 4.8.7, Qt 4.8.7
PASS   : TestHtmlOutput::initTestCase()
PASS   : TestHtmlOutput::testSingleFormat()
htmlbuildertest_exec: malloc.c:2852: mremap_chunk: Assertion `((size + offset) & (GLRO (dl_pagesize) - 1)) == 0' failed.

10/11 Test #11: plainmarkupbuildertest ...........Child aborted***Exception:   0.02 sec
********* Start testing of TestPlainMarkupOutput *********
Config: Using QTest library 4.8.7, Qt 4.8.7
PASS   : TestPlainMarkupOutput::initTestCase()
PASS   : TestPlainMarkupOutput::testSingleFormat()
plainmarkupbuildertest_exec: malloc.c:2852: mremap_chunk: Assertion `((size + offset) & (GLRO (dl_pagesize) - 1)) == 0' failed.

11/11 Test  #7: testgenerictypes .................***Failed    0.04 sec
********* Start testing of TestGenericTypes *********
Config: Using QTest library 4.8.7, Qt 4.8.7
PASS   : TestGenericTypes::initTestCase()
PASS   : TestGenericTypes::testGenericClassType()
PASS   : TestGenericTypes::testSequentialContainer_Variant()
PASS   : TestGenericTypes::testAssociativeContainer_Variant()
PASS   : TestGenericTypes::testSequentialContainer_Type()
PASS   : TestGenericTypes::testAssociativeContainer_Type()
PASS   : TestGenericTypes::testSharedPointer()
PASS   : TestGenericTypes::testThirdPartySharedPointer()
FAIL!  : TestGenericTypes::testNestedContainers() Compared values are not the same
   Actual (result): (M ([0, ] : (L ),([1, ] : (L ),),(M ([0, ] : (L ),([1, ] : (L ),),
   Expected (expectedResult): (M (0 : (L (V 1,2,),(V 3,4,),),(1 : (L (V 5,6,),(V 7,8,),),),(M (0 : (L (V 9,10,),(V 11,12,),),(1 : (L (V 13,14,),(V 15,16,),),),
   Loc: [/<<PKGBUILDDIR>>/templates/tests/testgenerictypes.cpp(688)]
PASS   : TestGenericTypes::testCustomQObjectDerived()
QWARN  : TestGenericTypes::testUnregistered() Don't know how to handle metatype UnregisteredType 
QWARN  : TestGenericTypes::testUnregistered() Don't know how to handle metatype for list UnregisteredType 
QWARN  : TestGenericTypes::testUnregistered() No toList function for metatype RegisteredNotListType 
QWARN  : TestGenericTypes::testUnregistered() No lookup function for metatype UnregisteredType 
PASS   : TestGenericTypes::testUnregistered()
PASS   : TestGenericTypes::testPointerNonQObject()
PASS   : TestGenericTypes::cleanupTestCase()
Totals: 12 passed, 1 failed, 0 skipped
********* Finished testing of TestGenericTypes *********


18% tests passed, 9 tests failed out of 11

Total Test time (real) =   0.07 sec

The following tests FAILED:
	  2 - testbuiltins (Failed)
	  3 - testloadertags (Failed)
	  4 - testdefaulttags (Failed)
	  6 - testfilters (Failed)
	  7 - testgenerictypes (Failed)
	  8 - testgenericcontainers (Failed)
	  9 - testinternationalization (Failed)
	 10 - htmlbuildertest (Child aborted)
	 11 - plainmarkupbuildertest (Child aborted)
Errors while running CTest
make[2]: *** [Makefile:155: test] Error 8
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_test: cd obj-x86_64-linux-gnu && make -j4 test ARGS\+=-j4 returned exit code 2
make[1]: *** [debian/rules:18: override_dh_auto_test] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:11: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2


Reply to: