Bug 146392 - QCA compilation failure at linking libqca-gnupg: undefined symbol
Summary: QCA compilation failure at linking libqca-gnupg: undefined symbol
Status: RESOLVED WORKSFORME
Alias: None
Product: qca
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Other
: NOR normal
Target Milestone: ---
Assignee: Justin Karneges
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-05 12:28 UTC by jeremyhu
Modified: 2020-02-24 04:33 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jeremyhu 2007-06-05 12:28:24 UTC
Version:           svn revision 671683 (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc-4.0.1 powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5367)
OS:                OS X

Compilation of qca fails on OS-X:

Linking CXX shared library ../../lib/libqca-gnupg.dylib
ld: Undefined symbols:
__ZTVN12gpgQCAPlugin19QProcessSignalRelayE
/usr/bin/libtool: internal link edit command failed
gmake[2]: *** [lib/libqca-gnupg.dylib] Error 1
gmake[1]: *** [plugins/qca-gnupg/CMakeFiles/qca-gnupg.dir/all] Error 2
gmake: *** [all] Error 2
Comment 1 Brad Hards 2007-06-05 13:46:06 UTC
Curious error.

Can you check that you have a clean build?
Comment 2 jeremyhu 2007-06-05 20:33:39 UTC
Yes, I most certainly do.  It was a fresh checkout.
Comment 3 jeremyhu 2007-06-05 20:41:35 UTC
This commit today causes a successful build:

-#ifdef Q_OS_MAC
-#define QT_PIPE_HACK
-#endif
Comment 4 jeremyhu 2007-06-05 21:16:01 UTC
Also FTR, here's a result of gmake test on os-x.

Running tests...
Start processing tests
Test project /Users/jeremy/src/kde-svn/trunk/kdesupport/qca.build
  1/ 24 Testing Base64                           Passed
  2/ 24 Testing BigInteger                       Passed
  3/ 24 Testing Certificate                      Passed
  4/ 24 Testing SymmetricCipher               ***Failed
  5/ 24 Testing ClientSidePlugin                 Passed
  6/ 24 Testing CryptographicMessageSyntax       Passed
  7/ 24 Testing DigitalSignatureAlgorithm        Passed
  8/ 24 Testing Hashing                          Passed
  9/ 24 Testing HexadecimalConversion            Passed
 10/ 24 Testing KeyDerivationFunction            Passed
 11/ 24 Testing KeyBundle                        Passed
 12/ 24 Testing KeyGeneration                    Passed
 13/ 24 Testing KeyLength                        Passed
 14/ 24 Testing KeyStore                         Passed
 15/ 24 Testing MessageAuthenticationCode        Passed
 16/ 24 Testing MetaTypeUnittest                 Passed
 17/ 24 Testing PublicKeyInfrastructure          Passed
 18/ 24 Testing RandomNumberGeneration           Passed
 19/ 24 Testing RSA                              Passed
 20/ 24 Testing SecureArray                      Passed
 21/ 24 Testing StaticFunctions               ***Failed
 22/ 24 Testing SymmetricKey                     Passed
 23/ 24 Testing TransportLayerSecurity        ***Failed
 24/ 24 Testing ServerNameIndication          ***Failed

83% tests passed, 4 tests failed out of 24

The following tests FAILED:
	  4 - SymmetricCipher (Failed)
	 21 - StaticFunctions (Failed)
	 23 - TransportLayerSecurity (Failed)
	 24 - ServerNameIndication (Failed)

********* Start testing of StaticUnitTest *********
Config: Using QTest library 4.3.0, Qt 4.3.0
PASS   : StaticUnitTest::initTestCase()
PASS   : StaticUnitTest::hexConversions()
FAIL!  : StaticUnitTest::providers() Compared values are not the same
   Loc: [/Users/jeremy/src/kde-svn/trunk/kdesupport/qca/unittest/staticunittest/staticunittest.cpp(140)]
PASS   : StaticUnitTest::capabilities()
PASS   : StaticUnitTest::secureMemory()
PASS   : StaticUnitTest::cleanupTestCase()
Totals: 5 passed, 1 failed, 0 skipped
********* Finished testing of StaticUnitTest *********


********* Start testing of TLSUnitTest *********
Config: Using QTest library 4.3.0, Qt 4.3.0
PASS   : TLSUnitTest::initTestCase()
FAIL!  : TLSUnitTest::testCipherList() 'cipherList.contains("TLS_DHE_RSA_WITH_AES_256_CBC_SHA")' returned FALSE. ()
   Loc: [/Users/jeremy/src/kde-svn/trunk/kdesupport/qca/unittest/tls/tlsunittest.cpp(59)]
PASS   : TLSUnitTest::cleanupTestCase()
Totals: 2 passed, 1 failed, 0 skipped
********* Finished testing of TLSUnitTest *********


********* Start testing of VeloxUnitTest *********
Config: Using QTest library 4.3.0, Qt 4.3.0
PASS   : VeloxUnitTest::initTestCase()
FAIL!  : VeloxUnitTest::sniAlice() Compared values are not the same
   Loc: [/Users/jeremy/src/kde-svn/trunk/kdesupport/qca/unittest/velox/veloxunittest.cpp(76)]
FAIL!  : VeloxUnitTest::sniAlice() 's->isHandshaken()' returned FALSE. ()
   Loc: [/Users/jeremy/src/kde-svn/trunk/kdesupport/qca/unittest/velox/veloxunittest.cpp(149)]
FAIL!  : VeloxUnitTest::sniBob() Compared values are not the same
   Loc: [/Users/jeremy/src/kde-svn/trunk/kdesupport/qca/unittest/velox/veloxunittest.cpp(76)]
FAIL!  : VeloxUnitTest::sniBob() 's->isHandshaken()' returned FALSE. ()
   Loc: [/Users/jeremy/src/kde-svn/trunk/kdesupport/qca/unittest/velox/veloxunittest.cpp(161)]
FAIL!  : VeloxUnitTest::sniCarol() Compared values are not the same
   Loc: [/Users/jeremy/src/kde-svn/trunk/kdesupport/qca/unittest/velox/veloxunittest.cpp(76)]
FAIL!  : VeloxUnitTest::sniCarol() 's->isHandshaken()' returned FALSE. ()
   Loc: [/Users/jeremy/src/kde-svn/trunk/kdesupport/qca/unittest/velox/veloxunittest.cpp(173)]
FAIL!  : VeloxUnitTest::sniDave() Compared values are not the same
   Loc: [/Users/jeremy/src/kde-svn/trunk/kdesupport/qca/unittest/velox/veloxunittest.cpp(76)]
FAIL!  : VeloxUnitTest::sniDave() 's->isHandshaken()' returned FALSE. ()
   Loc: [/Users/jeremy/src/kde-svn/trunk/kdesupport/qca/unittest/velox/veloxunittest.cpp(185)]
FAIL!  : VeloxUnitTest::sniMallory() Compared values are not the same
   Loc: [/Users/jeremy/src/kde-svn/trunk/kdesupport/qca/unittest/velox/veloxunittest.cpp(76)]
FAIL!  : VeloxUnitTest::sniMallory() 's->isHandshaken()' returned FALSE. ()
   Loc: [/Users/jeremy/src/kde-svn/trunk/kdesupport/qca/unittest/velox/veloxunittest.cpp(197)]
FAIL!  : VeloxUnitTest::sniIvan() Compared values are not the same
   Loc: [/Users/jeremy/src/kde-svn/trunk/kdesupport/qca/unittest/velox/veloxunittest.cpp(76)]
FAIL!  : VeloxUnitTest::sniIvan() 's->isHandshaken()' returned FALSE. ()
   Loc: [/Users/jeremy/src/kde-svn/trunk/kdesupport/qca/unittest/velox/veloxunittest.cpp(210)]
PASS   : VeloxUnitTest::cleanupTestCase()
Totals: 2 passed, 12 failed, 0 skipped
********* Finished testing of VeloxUnitTest *********
Comment 5 FiNeX 2008-12-26 18:33:55 UTC
Hi! Is this bug still valid using more updated sources like trunk?
Comment 6 Andrew Crouthamel 2018-11-02 04:23:14 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Andrew Crouthamel 2018-11-16 02:46:59 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version?

Thank you for helping us make KDE software even better for everyone!
Comment 8 Albert Astals Cid 2020-01-25 10:35:26 UTC
Is still this a problem for you?
Comment 9 Bug Janitor Service 2020-02-09 04:33:14 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 10 Bug Janitor Service 2020-02-24 04:33:12 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!