I am currently building libevent 2.0.22 on Solaris 10 Sparc with Sun Studio 12 and get the following failing test:
gmake[4]: Entering directory '/home/dam/mgar/pkg/libevent2/trunk/work/solaris10-sparc/build-isa-sparcv8plus/libevent-2.0.22-stable/test'
Running tests:
EVPORT
test-eof: OKAY
test-weof: OKAY
test-time: OKAY
test-changelist: OKAY
regress:
NOTE regress.c:2363: evport can't pass this in 2.0; skipping
util/getaddrinfo:
FAIL regress_util.c:972: assert(a)
[getaddrinfo FAILED]
1/177 TESTS FAILED. (2 skipped)
FAILED
KQUEUE
Skipping test
EPOLL
Skipping test
EPOLL (changelist)
Skipping test
DEVPOLL
test-eof: OKAY
test-weof: OKAY
test-time: OKAY
test-changelist: OKAY
regress: util/getaddrinfo:
FAIL regress_util.c:972: assert(a)
[getaddrinfo FAILED]
1/178 TESTS FAILED. (1 skipped)
FAILED
POLL
test-eof: OKAY
test-weof: OKAY
test-time: OKAY
test-changelist: OKAY
regress: util/getaddrinfo:
FAIL regress_util.c:972: assert(a)
[getaddrinfo FAILED]
1/178 TESTS FAILED. (1 skipped)
FAILED
SELECT
test-eof: OKAY
test-weof: OKAY
test-time: OKAY
test-changelist: OKAY
regress: util/getaddrinfo:
FAIL regress_util.c:972: assert(a)
[getaddrinfo FAILED]
1/178 TESTS FAILED. (1 skipped)
FAILED
WIN32
Skipping test
FAIL: test-script.sh
FWIW - I get the same error on recent illumos(under omnios) with gcc (using 4.9.2 on pkgsrc).
just for info, if I patch regress_util.c with:
regress will provide some more info:
is it possible that the test program is making improper assumptions,
or even valid ones that solaris isn't correctly providing...
Last edit: Richard PALO 2015-09-19
There have been 3 attachments from Richard which are now gone (?!?):
Here are my lastest patches for this issue on 2.0.22
patch-config.h.in (386 Bytes; application/octet-stream)
patch-configure (709 Bytes; application/octet-stream)
patch-evutil__rand.c (391 Bytes; text/x-csrc)
Is there a way we can get these back so I can test them?
Best regards -- Dago
here are the files again...