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

Bug#925809: qca2: ftbfs with GCC-9



Package: src:qca2
Version: 2.1.3-2
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/qca2_2.1.3-2_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.

[...]
 2/23 Test  #3: Certificate ......................   Passed    0.01 sec
      Start  6: CryptographicMessageSyntax
 3/23 Test  #5: ClientSidePlugin .................   Passed    0.01 sec
      Start  7: DigitalSignatureAlgorithm
 4/23 Test  #6: CryptographicMessageSyntax .......   Passed    0.01 sec
      Start  8: Hashing
 5/23 Test  #4: SymmetricCipher ..................   Passed    0.02 sec
      Start  9: HexadecimalConversion
 6/23 Test  #7: DigitalSignatureAlgorithm ........   Passed    0.01 sec
      Start 10: KeyDerivationFunction
 7/23 Test  #8: Hashing ..........................   Passed    0.01 sec
      Start 11: KeyBundle
 8/23 Test  #9: HexadecimalConversion ............   Passed    0.00 sec
      Start 12: KeyGeneration
 9/23 Test #11: KeyBundle ........................   Passed    0.01 sec
      Start 13: KeyLength
10/23 Test #10: KeyDerivationFunction ............   Passed    0.01 sec
      Start 14: KeyStore
11/23 Test #12: KeyGeneration ....................   Passed    0.01 sec
      Start 15: MessageAuthenticationCode
12/23 Test #13: KeyLength ........................   Passed    0.00 sec
      Start 16: MetaTypeUnittest
13/23 Test #15: MessageAuthenticationCode ........   Passed    0.00 sec
      Start 17: PGP
14/23 Test #14: KeyStore .........................   Passed    0.01 sec
      Start 18: PublicKeyInfrastructure
15/23 Test #16: MetaTypeUnittest .................   Passed    0.01 sec
      Start 19: RSA
16/23 Test #19: RSA ..............................   Passed    0.00 sec
      Start 20: SecureArray
17/23 Test #18: PublicKeyInfrastructure ..........   Passed    0.01 sec
      Start 21: StaticFunctions
18/23 Test #20: SecureArray ......................   Passed    0.00 sec
      Start 22: SymmetricKey
19/23 Test #21: StaticFunctions ..................***Failed    0.00 sec
********* Start testing of StaticUnitTest *********
Config: Using QTest library 4.8.7, Qt 4.8.7
PASS   : StaticUnitTest::initTestCase()
PASS   : StaticUnitTest::hexConversions()
FAIL!  : StaticUnitTest::capabilities() Compared values are not the same
   Actual (QCA::isSupported(capList)): 1
   Expected (false): 0
   Loc: [/<<PKGBUILDDIR>>/unittest/staticunittest/staticunittest.cpp(102)]
PASS   : StaticUnitTest::secureMemory()
PASS   : StaticUnitTest::cleanupTestCase()
Totals: 4 passed, 1 failed, 0 skipped
********* Finished testing of StaticUnitTest *********

      Start 23: TransportLayerSecurity
20/23 Test #22: SymmetricKey .....................   Passed    0.00 sec
21/23 Test #23: TransportLayerSecurity ...........   Passed    0.00 sec
22/23 Test #17: PGP ..............................   Passed    0.02 sec
23/23 Test  #2: BigInteger .......................   Passed    0.11 sec

96% tests passed, 1 tests failed out of 23

Total Test time (real) =   0.11 sec

The following tests FAILED:
	 21 - StaticFunctions (Failed)
Errors while running CTest
make[3]: *** [Makefile:122: test] Error 8
make[3]: 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[2]: *** [debian/rules:38: override_dh_auto_test] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [/usr/share/pkg-kde-tools/qt-kde-team/3/dhmk.mk:97: pre_build-arch_dh_auto_test] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [/usr/share/pkg-kde-tools/qt-kde-team/3/dhmk.mk:112: debian/dhmk_build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2


Reply to: