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

Bug#925725: keepassx: ftbfs with GCC-9



Package: src:keepassx
Version: 2.0.3-3
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/keepassx_2.0.3-3_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.

[...]
Totals: 2 passed, 3 failed, 0 skipped
********* Finished testing of TestEntrySearcher *********

21/23 Test #14: testkeepass1reader ...............***Failed    0.05 sec
********* Start testing of TestKeePass1Reader *********
Config: Using QTest library 4.8.7, Qt 4.8.7
PASS   : TestKeePass1Reader::initTestCase()
FAIL!  : TestKeePass1Reader::testBasic() Compared values are not the same
   Actual (group1->entries().size()): 1
   Expected (2): 2
   Loc: [/<<PKGBUILDDIR>>/tests/TestKeePass1Reader.cpp(60)]
PASS   : TestKeePass1Reader::testMasterKey()
FAIL!  : TestKeePass1Reader::testCustomIcons() Compared values are not the same
   Actual (m_db->metadata()->customIcons().size()): 0
   Expected (1): 1
   Loc: [/<<PKGBUILDDIR>>/tests/TestKeePass1Reader.cpp(119)]
FAIL!  : TestKeePass1Reader::testGroupExpanded() Compared values are not the same
   Actual (m_db->rootGroup()->children().at(0)->children().at(0)->children().at(0)->isExpanded()): 1
   Expected (false): 0
   Loc: [/<<PKGBUILDDIR>>/tests/TestKeePass1Reader.cpp(140)]
FAIL!  : TestKeePass1Reader::testAutoType() Compared values are not the same
   Actual (group->entries().size()): 0
   Expected (2): 2
   Loc: [/<<PKGBUILDDIR>>/tests/TestKeePass1Reader.cpp(147)]
PASS   : TestKeePass1Reader::testFileKey()
PASS   : TestKeePass1Reader::testCompositeKey()
PASS   : TestKeePass1Reader::testTwofish()
PASS   : TestKeePass1Reader::testCP1252Password()
PASS   : TestKeePass1Reader::cleanupTestCase()
Totals: 7 passed, 4 failed, 0 skipped
********* Finished testing of TestKeePass1Reader *********

22/23 Test #22: testexporter .....................***Failed    0.01 sec
********* Start testing of TestExporter *********
Config: Using QTest library 4.8.7, Qt 4.8.7
PASS   : TestExporter::initTestCase()
FAIL!  : TestExporter::testToDbExporter() Compared values are not the same
   Actual (dbExp->metadata()->customIcons().size()): 0
   Expected (1): 1
   Loc: [/<<PKGBUILDDIR>>/tests/TestExporter.cpp(70)]
PASS   : TestExporter::cleanupTestCase()
Totals: 2 passed, 1 failed, 0 skipped
********* Finished testing of TestExporter *********

23/23 Test #23: testcsvexporter ..................   Passed    0.01 sec

52% tests passed, 11 tests failed out of 23

Total Test time (real) =   0.10 sec

The following tests FAILED:
	  1 - testgroup (Failed)
	  2 - testkeepass2xmlreader (Child aborted)
	  4 - testkeepass2reader (Failed)
	  5 - testkeepass2writer (Failed)
	  7 - testentrymodel (Child aborted)
	 14 - testkeepass1reader (Failed)
	 16 - testwildcardmatcher (Failed)
	 17 - testautotype (Child aborted)
	 19 - testqcommandlineparser (Failed)
	 21 - testentrysearcher (Failed)
	 22 - testexporter (Failed)
Errors while running CTest
make[2]: *** [Makefile:100: 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+=-E testgui" ARGS\+=-j4 returned exit code 2
make[1]: *** [debian/rules:14: override_dh_auto_test] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: binary-arch] Error 2
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2


Reply to: