You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by Larsen, Tore Høivaag <to...@cggveritas.com> on 2010/04/27 12:44:37 UTC

Building qpidc on CentOS 5.3 (CGV 5.3)

Hi Qpid developers,

    "rpmbuild --bb qpidc.spec" fails to build due to:

Failed: Unknown NSS error code. [-5961] (qpid/sys/ssl/SslSocket.cpp:154)
FAIL: ssl_test
PASS: start_broker
PASS: client_test
2227.82 595.493 2323.26 2.26881
PASS: quick_perftest
PASS: quick_topictest
Skipping header test as python libs not found
PASS: run_header_test
All expected messages were retrieved.
PASS: quick_txtest
WARNING: No python tests. /usr/src/redhat/BUILD/qpidc-0.5.752581/src/tests/../../../python not found.
PASS: python_tests
PASS: stop_broker
PASS: run_federation_tests
PASS: run_acl_tests
PASS: run_cli_tests
Skipping replication test, plugins not built or python utils not located
PASS: replication_test
====================================


    What is reason?  What am I lacking?  Python 2.4.3 is installed. So is python libs afaics.

Thanks!

Regards,
ToreL


<snip>
g++ -pedantic -Wall -Wextra -Wno-shadow -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wvolatile-register-var -Winvalid-pch -Wno-system-headers -Woverloaded-virtual -DBOOST_TEST_DYN_LINK -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DNDEBUG -O3 -o .libs/DispatcherTest DispatcherTest.o  -L/usr/lib/openais -L/usr/lib64/openais -L/usr/lib/corosync -L/usr/lib64/corosync /usr/src/redhat/BUILD/qpidc-0.5.752581/src/tests/../.libs/libqpidcommon.so -lboost_program_options -lboost_filesystem -luuid -ldl -lrt -lsasl2
creating DispatcherTest
make[3]: Leaving directory `/usr/src/redhat/BUILD/qpidc-0.5.752581/src/tests'
make  check-TESTS
make[3]: Entering directory `/usr/src/redhat/BUILD/qpidc-0.5.752581/src/tests'
Running 211 test cases...

0%   10   20   30   40   50   60   70   80   90   100%
|----|----|----|----|----|----|----|----|----|----|
***************************************************

*** No errors detected
PASS: unit_test

    =========== WARNING: NOT RUNNING AIS TESTS ==============

    Tests that depend on the openais library (used for clustering)
    will not be run because:

    You are not a member of the ais group.
    The aisexec or corosync daemon is not running as root

    ==========================================================

PASS: ais_check
rm: cannot remove `cluster.ports': No such file or directory
PASS: federated_cluster_test
PASS: clustered_replication_test


Generating key.  This may take a few moments...

Running SSL test on port 12979

Failed: Unknown NSS error code. [-5961] (qpid/sys/ssl/SslSocket.cpp:154)
FAIL: ssl_test
PASS: start_broker
PASS: client_test
2227.82 595.493 2323.26 2.26881
PASS: quick_perftest
PASS: quick_topictest
Skipping header test as python libs not found
PASS: run_header_test
All expected messages were retrieved.
PASS: quick_txtest
WARNING: No python tests. /usr/src/redhat/BUILD/qpidc-0.5.752581/src/tests/../../../python not found.
PASS: python_tests
PASS: stop_broker
PASS: run_federation_tests
PASS: run_acl_tests
PASS: run_cli_tests
Skipping replication test, plugins not built or python utils not located
PASS: replication_test
====================================
1 of 17 tests failed
Please report to dev@qpid.apache.org
====================================
make[3]: *** [check-TESTS] Error 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/qpidc-0.5.752581/src/tests'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/usr/src/redhat/BUILD/qpidc-0.5.752581/src/tests'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/qpidc-0.5.752581/src'
make: *** [check-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.96942 (%check)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.96942 (%check)



Mvh / Best Regards,
--
MSc Tore H. Larsen
Sr. Systems Engineer, TSG Instrumentation
CGGVeritas MAPL TSG
tel:  +47 56 11 48 36
mob:+47 918 33 670
fax: +47 56 11 48 01
www.cggveritas.com
mailto:tore.hoivaag.larsen@cggveritas.com

CGGVeritas Services Norway AS
Carl Konows gate 34
N-5162 Laksevåg - Bergen
Norway


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


Re: Building qpidc on CentOS 5.3 (CGV 5.3)

Posted by Gordon Sim <gs...@redhat.com>.
On 04/27/2010 11:44 AM, Larsen, Tore Høivaag wrote:
> Hi Qpid developers,
>
>      "rpmbuild --bb qpidc.spec" fails to build due to:
>
> Failed: Unknown NSS error code. [-5961] (qpid/sys/ssl/SslSocket.cpp:154)
> FAIL: ssl_test

Not sure why the ssl test would fail. Previously I've seen that where 
the cert is stale (not relevant here as they have just been generated) 
or where the hostname is not valid (that is now changed to use 
127.0.0.1). Try ping $(hostname)

> PASS: start_broker
> PASS: client_test
> 2227.82 595.493 2323.26 2.26881
> PASS: quick_perftest
> PASS: quick_topictest
> Skipping header test as python libs not found
> PASS: run_header_test
> All expected messages were retrieved.
> PASS: quick_txtest
> WARNING: No python tests. /usr/src/redhat/BUILD/qpidc-0.5.752581/src/tests/../../../python not found.

This is because the test scripts expect the qpid python libs and tests 
to be in a specific location relative to the source which they aren't in 
this case. This is nothing to worry about though.

> PASS: python_tests
> PASS: stop_broker
> PASS: run_federation_tests
> PASS: run_acl_tests
> PASS: run_cli_tests
> Skipping replication test, plugins not built or python utils not located
> PASS: replication_test
> ====================================
>
>
>      What is reason?  What am I lacking?  Python 2.4.3 is installed. So is python libs afaics.
>
> Thanks!
>
> Regards,
> ToreL
>
>
> <snip>
> g++ -pedantic -Wall -Wextra -Wno-shadow -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wvolatile-register-var -Winvalid-pch -Wno-system-headers -Woverloaded-virtual -DBOOST_TEST_DYN_LINK -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DNDEBUG -O3 -o .libs/DispatcherTest DispatcherTest.o  -L/usr/lib/openais -L/usr/lib64/openais -L/usr/lib/corosync -L/usr/lib64/corosync /usr/src/redhat/BUILD/qpidc-0.5.752581/src/tests/../.libs/libqpidcommon.so -lboost_program_options -lboost_filesystem -luuid -ldl -lrt -lsasl2
> creating DispatcherTest
> make[3]: Leaving directory `/usr/src/redhat/BUILD/qpidc-0.5.752581/src/tests'
> make  check-TESTS
> make[3]: Entering directory `/usr/src/redhat/BUILD/qpidc-0.5.752581/src/tests'
> Running 211 test cases...
>
> 0%   10   20   30   40   50   60   70   80   90   100%
> |----|----|----|----|----|----|----|----|----|----|
> ***************************************************
>
> *** No errors detected
> PASS: unit_test
>
>      =========== WARNING: NOT RUNNING AIS TESTS ==============
>
>      Tests that depend on the openais library (used for clustering)
>      will not be run because:
>
>      You are not a member of the ais group.
>      The aisexec or corosync daemon is not running as root
>
>      ==========================================================
>
> PASS: ais_check
> rm: cannot remove `cluster.ports': No such file or directory
> PASS: federated_cluster_test
> PASS: clustered_replication_test
>
>
> Generating key.  This may take a few moments...
>
> Running SSL test on port 12979
>
> Failed: Unknown NSS error code. [-5961] (qpid/sys/ssl/SslSocket.cpp:154)
> FAIL: ssl_test
> PASS: start_broker
> PASS: client_test
> 2227.82 595.493 2323.26 2.26881
> PASS: quick_perftest
> PASS: quick_topictest
> Skipping header test as python libs not found
> PASS: run_header_test
> All expected messages were retrieved.
> PASS: quick_txtest
> WARNING: No python tests. /usr/src/redhat/BUILD/qpidc-0.5.752581/src/tests/../../../python not found.
> PASS: python_tests
> PASS: stop_broker
> PASS: run_federation_tests
> PASS: run_acl_tests
> PASS: run_cli_tests
> Skipping replication test, plugins not built or python utils not located
> PASS: replication_test
> ====================================
> 1 of 17 tests failed
> Please report to dev@qpid.apache.org
> ====================================
> make[3]: *** [check-TESTS] Error 1
> make[3]: Leaving directory `/usr/src/redhat/BUILD/qpidc-0.5.752581/src/tests'
> make[2]: *** [check-am] Error 2
> make[2]: Leaving directory `/usr/src/redhat/BUILD/qpidc-0.5.752581/src/tests'
> make[1]: *** [check-recursive] Error 1
> make[1]: Leaving directory `/usr/src/redhat/BUILD/qpidc-0.5.752581/src'
> make: *** [check-recursive] Error 1
> error: Bad exit status from /var/tmp/rpm-tmp.96942 (%check)
>
>
> RPM build errors:
>      Bad exit status from /var/tmp/rpm-tmp.96942 (%check)
>
>
>
> Mvh / Best Regards,
> --
> MSc Tore H. Larsen
> Sr. Systems Engineer, TSG Instrumentation
> CGGVeritas MAPL TSG
> tel:  +47 56 11 48 36
> mob:+47 918 33 670
> fax: +47 56 11 48 01
> www.cggveritas.com
> mailto:tore.hoivaag.larsen@cggveritas.com
>
> CGGVeritas Services Norway AS
> Carl Konows gate 34
> N-5162 Laksevåg - Bergen
> Norway
>
>
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:dev-subscribe@qpid.apache.org
>


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org