[Bug 289701] Review Request: qca-ossl - OpenSSL plugin for the Qt Cryptographic Architecture v2

bugzilla at redhat.com bugzilla at redhat.com
Fri Oct 26 10:00:54 UTC 2007


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Review Request: qca-ossl - OpenSSL plugin for the Qt Cryptographic Architecture v2


https://bugzilla.redhat.com/show_bug.cgi?id=289701





------- Additional Comments From lemenkov at gmail.com  2007-10-26 06:00 EST -------
 * Wrote atest.cpp:
#include<openssl/opensslv.h>
int main()
{
  unsigned long x = OPENSSL_VERSION_NUMBER;
  if(x >= 0x00907000) return 0; else return 1;
}

 * Wrote atest.pro:
CONFIG  += console
CONFIG  -= qt app_bundle
SOURCES += atest.cpp
LIBS += -lssl -lcrypto

 * [/usr/lib/qt4/bin/qmake-qt4 atest.pro]
 * returned: 0
 * [/usr/bin/gmake]
g++ -c -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -Wall -W  -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I.
-o atest.o atest.cpp
g++  -o atest atest.o     -lssl -lcrypto
 * returned: 0
 * [./atest]
 * returned: 0
 * [/usr/bin/gmake distclean]
rm -f atest.o
rm -f *~ core *.core
rm -f atest 
rm -f Makefile
 * returned: 0
 * DEFINES += OSSL_097
 * LIBS += -lssl -lcrypto
 -> yes

 * extra += target.path=/usr/lib/qt4/plugins/crypto
INSTALLS += target


Good, your configure finished.  Now run /usr/bin/gmake.

+ make
/usr/lib/qt4/bin/moc -DOSSL_097 -DQT_NO_DEBUG -DQT_PLUGIN -DQT_CORE_LIB
-DQT_SHARED -I../../../../lib/qt4/mkspecs/linux-g++ -I.
-I../../../../include/QtCore -I../../../../include/QtCore -I../../../../include
-I../../../../include/QtCrypto -I. -I. qca-ossl.cpp -o qca-ossl.moc
g++ -c -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -Wall -W -D_REENTRANT -fPIC -DOSSL_097
-DQT_NO_DEBUG -DQT_PLUGIN -DQT_CORE_LIB -DQT_SHARED
-I../../../../lib/qt4/mkspecs/linux-g++ -I. -I../../../../include/QtCore
-I../../../../include/QtCore -I../../../../include
-I../../../../include/QtCrypto -I. -I. -o qca-ossl.o qca-ossl.cpp
qca-ossl.cpp:5263: error: conflicting return type specified for ‘virtual bool
opensslQCAPlugin::MyTLSContext::waitForResultsReady(int)’
/usr/include/QtCrypto/qcaprovider.h:520: error:   overriding ‘virtual void
QCA::TLSContext::waitForResultsReady(int)’
qca-ossl.cpp:6147: error: conflicting return type specified for ‘virtual bool
opensslQCAPlugin::MyMessageContext::waitForFinished(int)’
/usr/include/QtCrypto/qcaprovider.h:674: error:   overriding ‘virtual void
QCA::MessageContext::waitForFinished(int)’
qca-ossl.cpp:6459: error: expected class-name before ‘{’ token
qca-ossl.cpp:6466: error: ISO C++ forbids declaration of ‘Context’ with no type
qca-ossl.cpp:6466: error: expected ‘;’ before ‘*’ token
qca-ossl.cpp:6471: error: expected `;' before ‘QStringList’
qca-ossl.cpp:6459: warning: ‘class opensslQCAPlugin::opensslInfoContext’ has
virtual functions but non-virtual destructor
qca-ossl.cpp: In constructor
‘opensslQCAPlugin::opensslInfoContext::opensslInfoContext(QCA::Provider*)’:
qca-ossl.cpp:6462: error: class ‘opensslQCAPlugin::opensslInfoContext’ does not
have any field named ‘InfoContext’
qca-ossl.cpp: In member function ‘virtual QCA::Provider::Context*
opensslProvider::createContext(const QString&)’:
qca-ossl.cpp:6574: error: cannot convert ‘opensslQCAPlugin::opensslInfoContext*’
to ‘QCA::Provider::Context*’ in return
qca-ossl.moc: At global scope:
qca-ossl.moc:544: error: ‘InfoContext’ has not been declared
qca-ossl.moc: In member function ‘virtual void*
opensslQCAPlugin::opensslInfoContext::qt_metacast(const char*)’:
qca-ossl.moc:558: error: ‘InfoContext’ has not been declared
qca-ossl.moc: In member function ‘virtual int
opensslQCAPlugin::opensslInfoContext::qt_metacall(QMetaObject::Call, int, void**)’:
qca-ossl.moc:563: error: ‘InfoContext’ has not been declared
make: *** [qca-ossl.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.89396 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.89396 (%build)
[petro at host-12-109 SPECS]$ rpm -q openssl
openssl-0.9.8b-15.fc7
[petro at host-12-109 SPECS]$ 

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the Fedora-package-review mailing list