cURL / Mailing Lists / curl-library / Single Mail

curl-library

curl-7.32.0 - some test problems on Solaris 10

From: Dennis Clarke <dclarke_at_blastwave.org>
Date: Mon, 12 Aug 2013 19:09:07 -0400

Running into a few oddities in the testing phase :

********* System characteristics ********
* curl 7.32.0 (sparc-sun-solaris2.10)
* libcurl/7.32.0 OpenSSL/1.0.1e zlib/1.2.7 libidn/1.26 libssh2/1.4.3
* Features: IDN IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP
* Host: node002
* System: SunOS node002 5.10 Generic_150400-01 sun4v sparc SUNW,T5240
* Server SSL: OFF libcurl SSL: ON
* debug build: OFF track memory: OFF
* valgrind: OFF HTTP IPv6 ON
* FTP IPv6 ON Libtool lib: OFF
* Shared build: yes
* SSL library: OpenSSL
* Ports:
* HTTP/8990 FTP/8992 FTP2/8995 RTSP/9007
* TFTP/8997 HTTP-IPv6/8994 RTSP-IPv6/9008 FTP-IPv6/8996
* GOPHER/9009 GOPHER-IPv6/9009
* SSH/8999 SOCKS/9000 POP3/9001 IMAP/9003 SMTP/9005
* POP3-IPv6/9002 IMAP-IPv6/9004 SMTP-IPv6/9006
* HTTPTLS/9011 HTTPTLS-IPv6/9012
* HTTP-PIPE/9014
*****************************************

then very soon into "gmake check" I see things like :

.
.
.
test 065...OK (65 out of 835, remaining: 08:44)
test 066...OK (66 out of 835, remaining: 08:39)
ld.so.1: sh: fatal: /usr/local/build/curl-7.32.0_SunOS5.10_sparcv9.001/tests/libtest/.libs/libhostname.so: wrong ELF class: ELFCLASS64
ld.so.1: sh: fatal: /usr/local/build/curl-7.32.0_SunOS5.10_sparcv9.001/tests/libtest/.libs/libhostname.so: wrong ELF class: ELFCLASS64
ld.so.1: sh: fatal: /usr/local/build/curl-7.32.0_SunOS5.10_sparcv9.001/tests/libtest/.libs/libhostname.so: wrong ELF class: ELFCLASS64
test 070...OK (70 out of 835, remaining: 08:10)
test 071...OK (71 out of 835, remaining: 08:28)
test 072...OK (72 out of 835, remaining: 08:23)
.
.
.

looks like the CFLAGS or LD_OPTIONS or similar are getting lost in the test process
because everything should be 64-bit here.

Also, a few valid looking fails :

test 016...FAILED

and things like :

RUN: HTTP-IPv6 server failed verification
Terminated
== Contents of files in the log/ dir after test 240
=== Start of file http_ipv6_server.log
 23:01:55.745276 Running HTTP IPv6 version on port 8994
 23:01:55.751692 Wrote pid 19676 to .http_ipv6_server.pid
 23:02:33.502285 select() failed with error: (4) Interrupted system call
 23:02:33.502738 signalled to die
 23:02:33.503118 ========> IPv6 sws (port: 8994 pid: 19676) exits with signal (15)
=== End of file http_ipv6_server.log
=== Start of file http_ipv6_verify.log
 * About to connect() to ::1 port 8994 (#0)
 * Trying ::1...
 * Failed to set TCP_KEEPALIVE on fd 3
 * Failed to connect to ::1: Network is unreachable
 * couldn't connect to host at ::1:8994
 * Closing connection 0
=== End of file http_ipv6_verify.log

Probably because there is no ipv6 interface handy.

Anyways, the real issue is the mismatch on the ELF class of the libs or bins in the test
process.

Anything obvious I should look at ?

Dennis

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-08-13