[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [Libevent-users] Compiling libevent for AIX 6.1



well, you seem to have dns problems, epoll not working is okay since that's a 
linux thing and make sure it finds the same version of ssl libs you used for 
building it.

On Thu, 18 Jan 2018 01:33:04 +0530, Vamshi Krishna Ramaka wrote:
> Hi,
> 
> I am trying to compile libevent-2.1.8-stable on AIX 6.1. I have tried
> with both gcc as well as xlc_r. The builds succeed, but the tests all
> fail. One code change I had to do was to test/bench_cascade.c, where I
> had to comment out "#include <getopt.h>" Hoping someone can point me
> to any of my mistakes in building this.
> 
> Here's the tests output (gmake check):
> 
> bash-4.2$ gmake check | tee gmake.check.out
> gmake  check-am
> gmake[1]: Entering directory `/home/vamshi/sources/libevent-2.1.8-stable'
> gmake  check-TESTS
> gmake[2]: Entering directory `/home/vamshi/sources/libevent-2.1.8-stable'
> gmake[3]: Entering directory `/home/vamshi/sources/libevent-2.1.8-stable'
> test/test.sh -b EPOLL
> Running tests:
> EPOLL
> Skipping test
> PASS: test_runner_epoll
> test/test.sh -b SELECT
> Running tests:
> SELECT
>  test-eof: OKAY
>  test-closed: [warn] event_base_new_with_config: no event mechanism available
> OKAY
>  test-weof: OKAY
>  test-time: OKAY
>  test-changelist: OKAY
>  test-fdleak: OKAY
>  test-dumpevents: OKAY (output not checked)
>  regress: [Lost connection!]
>   [del_wait FAILED]
> [Lost connection!]
>   [bufferevent_pair_release_lock FAILED]
> [Lost connection!]
>   [bufferevent_connect_lock FAILED]
> [Lost connection!]
>   [bufferevent_connect_lock_defer FAILED]
> [Lost connection!]
>   [bufferevent_connect_unlocked_cbs FAILED]
> [Lost connection!]
>   [bufferevent_trigger_postpone FAILED]
> [Lost connection!]
>   [bufferevent_trigger_defer_postpone FAILED]
> [msg] Nameserver 127.0.0.1:40226 has failed: request timed out.
> [msg] All nameservers have failed
> [msg] Nameserver 127.0.0.1:40235 has failed: request timed out.
> [msg] All nameservers have failed
> [msg] Nameserver 127.0.0.1:40237 has failed: request timed out.
> [msg] All nameservers have failed
> [msg] Nameserver 127.0.0.1:40239 has failed: request timed out.
> [msg] All nameservers have failed
> http/connection_fail:
>   FAIL test/regress_http.c:3517: assert(!req)
>   FAIL test/regress_http.c:3566: assert(test_ok == 1): 0 vs 1
>   [connection_fail FAILED]
> [warn] getaddrinfo: nodename nor servname provided, or not known
> [warn] getaddrinfo: nodename nor servname provided, or not known
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [https_basic FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [https_filter_basic FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [https_simple FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [https_simple_dirty FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [https_incomplete FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [https_incomplete_timeout FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [https_chunk_out FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [https_filter_chunk_out FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [https_stream_out FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [https_connection_fail FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [https_write_during_read FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [https_connection FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [https_persist_connection FAILED]
> [msg] Nameserver 127.0.0.1:40316 has failed: request timed out.
> [msg] All nameservers have failed
> [Lost connection!]
>   [basic FAILED]
> [Lost connection!]
>   [forking FAILED]
> [Lost connection!]
>   [conditions_simple FAILED]
> [Lost connection!]
>   [no_events FAILED]
> [warn] Error from accept() call: Invalid argument
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [bufferevent_socketpair FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [bufferevent_socketpair_write_after_connect FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [bufferevent_filter FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [bufferevent_filter_write_after_connect FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [bufferevent_renegotiate_socketpair FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [bufferevent_renegotiate_filter FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [bufferevent_socketpair_startopen FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [bufferevent_filter_startopen FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [bufferevent_socketpair_dirty_shutdown FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [bufferevent_filter_dirty_shutdown FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [bufferevent_renegotiate_socketpair_dirty_shutdown FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [bufferevent_renegotiate_filter_dirty_shutdown FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [bufferevent_socketpair_startopen_dirty_shutdown FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [bufferevent_filter_startopen_dirty_shutdown FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [bufferevent_socketpair_fd FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [bufferevent_socketpair_freed FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [bufferevent_socketpair_freed_fd FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [bufferevent_filter_freed_fd FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [bufferevent_socketpair_timeout FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [bufferevent_socketpair_timeout_freed_fd FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [bufferevent_connect FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [bufferevent_connect_sleep FAILED]
> 47/306 TESTS FAILED. (24 skipped)
> FAILED
>  regress_debug: [Lost connection!]
>   [del_wait FAILED]
> [Lost connection!]
>   [bufferevent_pair_release_lock FAILED]
> [Lost connection!]
>   [bufferevent_connect_lock FAILED]
> [Lost connection!]
>   [bufferevent_connect_lock_defer FAILED]
> [Lost connection!]
>   [bufferevent_connect_unlocked_cbs FAILED]
> [Lost connection!]
>   [bufferevent_trigger_postpone FAILED]
> [Lost connection!]
>   [bufferevent_trigger_defer_postpone FAILED]
> [msg] Nameserver 127.0.0.1:40355 has failed: request timed out.
> [msg] All nameservers have failed
> [msg] Nameserver 127.0.0.1:40365 has failed: request timed out.
> [msg] All nameservers have failed
> [msg] Nameserver 127.0.0.1:40368 has failed: request timed out.
> [msg] All nameservers have failed
> [msg] Nameserver 127.0.0.1:40370 has failed: request timed out.
> [msg] All nameservers have failed
> http/connection_fail:
>   FAIL test/regress_http.c:3517: assert(!req)
>   FAIL test/regress_http.c:3566: assert(test_ok == 1): 0 vs 1
>   [connection_fail FAILED]
> 
> [warn] getaddrinfo: nodename nor servname provided, or not known
> [warn] getaddrinfo: nodename nor servname provided, or not known
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [https_basic FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [https_filter_basic FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [https_simple FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [https_simple_dirty FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [https_incomplete FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [https_incomplete_timeout FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [https_chunk_out FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [https_filter_chunk_out FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [https_stream_out FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [https_connection_fail FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [https_write_during_read FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [https_connection FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [https_persist_connection FAILED]
> [msg] Nameserver 127.0.0.1:40446 has failed: request timed out.
> [msg] All nameservers have failed
> [Lost connection!]
>   [basic FAILED]
> [Lost connection!]
>   [forking FAILED]
> [Lost connection!]
>   [conditions_simple FAILED]
> [Lost connection!]
>   [no_events FAILED]
> [warn] Error from accept() call: Invalid argument
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [bufferevent_socketpair FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [bufferevent_socketpair_write_after_connect FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [bufferevent_filter FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [bufferevent_filter_write_after_connect FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [bufferevent_renegotiate_socketpair FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [bufferevent_renegotiate_filter FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [bufferevent_socketpair_startopen FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [bufferevent_filter_startopen FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [bufferevent_socketpair_dirty_shutdown FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [bufferevent_filter_dirty_shutdown FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [bufferevent_renegotiate_socketpair_dirty_shutdown FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [bufferevent_renegotiate_filter_dirty_shutdown FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [bufferevent_socketpair_startopen_dirty_shutdown FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [bufferevent_filter_startopen_dirty_shutdown FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [bufferevent_socketpair_fd FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [bufferevent_socketpair_freed FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [bufferevent_socketpair_freed_fd FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [bufferevent_filter_freed_fd FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [bufferevent_socketpair_timeout FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [bufferevent_socketpair_timeout_freed_fd FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [bufferevent_connect FAILED]
> 
>   WARN test/regress_ssl.c:195: Version mismatch for openssl: compiled
> with 1000114f but running with 1000205f[Lost connection!]
>   [bufferevent_connect_sleep FAILED]
> 47/306 TESTS FAILED. (24 skipped)
> FAILED
> gmake[3]: *** [test_runner_select] Error 1
> gmake[3]: Leaving directory `/home/vamshi/sources/libevent-2.1.8-stable'
> gmake[2]: *** [check-TESTS] Error 2
> gmake[2]: Leaving directory `/home/vamshi/sources/libevent-2.1.8-stable'
> gmake[1]: *** [check-am] Error 2
> gmake[1]: Leaving directory `/home/vamshi/sources/libevent-2.1.8-stable'
> gmake: *** [check] Error 2
> bash-4.2$
> ***********************************************************************
> To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
> unsubscribe libevent-users    in the body.

--
R-A-C
Götz T. Fischer CertIT&Comp
+49(0)7225/98 98 79
g.fischer@xxxxxxxx
r-a-c.de
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.