[gnet] Fwd: "make check" failed two tests & asked me to notify you.



Thanks, Dennis, for the bug report!

We need to update this email address too. I disabled sending to the list because we get so much spam.

David


Begin forwarded message:

From: Dennis Newbold <dennisne gmail com>
Date: January 30, 2006 1:04:52 AM GMT-05:00
To: gnet-owner lists gnetlibrary org
Subject: Fwd: "make check" failed two tests & asked me to notify you.

Dear gner mailing list owner:

     I tried building the latest gnet (2.0.7) on my Linux system.
"make check" resulted
in some errors, and advised me to notify gnet gnetlibrary org   When I
did so, I got
the automatic reject message shown below.  Please advise as to where I
should send
my message.  (Also, it would be a courtesy to others if you could
update the message
in the make file to point them somewhere more useful also.)

Dennis Newbold

---------- Forwarded message ----------
From: gnet-owner lists gnetlibrary org <gnet- owner lists gnetlibrary org>
Date: Jan 28, 2006 7:45 PM
Subject: "make check" failed two tests & asked me to notify you.
To: dennisne gmail com


You are not allowed to post to this mailing list, and your message has
been automatically rejected.  If you think that your messages are
being rejected in error, contact the mailing list owner at
gnet-owner lists gnetlibrary org



---------- Forwarded message ----------
From: Dennis Newbold <dennisne gmail com>
To: gnet gnetlibrary org
Date: Sat, 28 Jan 2006 19:45:17 -0800
Subject: "make check" failed two tests & asked me to notify you.
Dear Sirs:

After building from the sources (./configure ; make) I ran make check.
Two of the tests failed, and it asked me to email you about it, so I
am.  Shown below
is the output from "make check". Before pasting it in, though, a few details:

  1. System:  Ubuntu Linux, based on "Badger" Debian Linux
   2. uname -a output:
Linux ubuntu-dln 2.6.12-9-386 #1 Mon Oct 10 13:14:36 BST 2005 i686 GNU/Linux
  3. config.guess output:  i686-pc-linux-gnu
4. Before building gnet, I downloaded glib-2.8.6 from ftp.gtk.org/ pub/gtk/v2.8
      The first time I ran it, it told me that I needed gettext.  I
was a little surprised,
as I assumed that Ubuntu would already have that, but I downloaded
      gettext-0.14.5 from a GNU mirror, built and installed it, then
built and installed
      glib-2.8.6.  (forgot to do "make check" on either gettext-0.14.5
or glib-2.8.6
      before installing them.  Sorry about that.  Did not see any
complaints about
      iconv stuff, so must assume Ubuntu already had that one.

OK:  here's the output from "make check"
(I also ran it again a second time, as root, but the results appeared to be
identical, so I haven't included that).

Please advise as to current usability of GNET library. Also, if there is any additional information you need, or tests I can run. I can set up a userid for you on my system if you need to telnet in and poke around. Don't have a domain name, and I'd have to set up the small 4-port router I'm using to
direct telnet activity to the correct intenal IP address, so 'd need a
little time
(say 30 minutes or so) to set it up for you.  Thanks in advance for
any help / advice you can offer.

Dennis Newbold

==============================================
dennis ubuntu-dln:~/gnet-2.0.7$ make check
Making check in src
make[1]: Entering directory `/home/dennis/gnet-2.0.7/src'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/home/dennis/gnet-2.0.7/src'
Making check in examples
make[1]: Entering directory `/home/dennis/gnet-2.0.7/examples'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/home/dennis/gnet-2.0.7/examples'
Making check in tests
make[1]: Entering directory `/home/dennis/gnet-2.0.7/tests'
make  base64_test conn_http_test hash_test inetaddr_test ipv6_test
pack_test unpack_test uri_test
make[2]: Entering directory `/home/dennis/gnet-2.0.7/tests'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-g -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -MT base64_test.o -MD -MP
-MF ".deps/base64_test.Tpo" -c -o base64_test.o base64_test.c; \
then mv -f ".deps/base64_test.Tpo" ".deps/base64_test.Po"; else rm -f
".deps/base64_test.Tpo"; exit 1; fi
/bin/sh ../libtool --mode=link gcc  -g -O2 -D_REENTRANT
-DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes     -Wmissing-prototypes
-Wmissing-declarations   -o base64_test  base64_test.o
-L/usr/local/lib -lglib-2.0   -pthread -L/usr/local/lib -lgthread-2.0
-lglib-2.0   ../src/libgnet-2.0.la -lresolv -lnsl  -pthread
mkdir .libs
gcc -g -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -o .libs/base64_test
base64_test.o  -L/usr/local/lib /usr/local/lib/libgthread-2.0.so
/usr/local/lib/libglib-2.0.so ../src/.libs/libgnet-2.0.so -lresolv
-lnsl -pthread -Wl,--rpath -Wl,/usr/local/lib
creating base64_test
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-g -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -MT conn_http_test.o -MD
-MP -MF ".deps/conn_http_test.Tpo" -c -o conn_http_test.o
conn_http_test.c; \
then mv -f ".deps/conn_http_test.Tpo" ".deps/conn_http_test.Po"; else
rm -f ".deps/conn_http_test.Tpo"; exit 1; fi
/bin/sh ../libtool --mode=link gcc  -g -O2 -D_REENTRANT
-DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes     -Wmissing-prototypes
-Wmissing-declarations   -o conn_http_test  conn_http_test.o
-L/usr/local/lib -lglib-2.0   -pthread -L/usr/local/lib -lgthread-2.0
-lglib-2.0   ../src/libgnet-2.0.la -lresolv -lnsl  -pthread
gcc -g -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -o .libs/conn_http_test
conn_http_test.o  -L/usr/local/lib /usr/local/lib/libgthread-2.0.so
/usr/local/lib/libglib-2.0.so ../src/.libs/libgnet-2.0.so -lresolv
-lnsl -pthread -Wl,--rpath -Wl,/usr/local/lib
creating conn_http_test
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-g -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -MT hash_test.o -MD -MP
-MF ".deps/hash_test.Tpo" -c -o hash_test.o hash_test.c; \
then mv -f ".deps/hash_test.Tpo" ".deps/hash_test.Po"; else rm -f
".deps/hash_test.Tpo"; exit 1; fi
/bin/sh ../libtool --mode=link gcc  -g -O2 -D_REENTRANT
-DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes     -Wmissing-prototypes
-Wmissing-declarations   -o hash_test  hash_test.o -L/usr/local/lib
-lglib-2.0   -pthread -L/usr/local/lib -lgthread-2.0 -lglib-2.0
../src/libgnet-2.0.la -lresolv -lnsl  -pthread
gcc -g -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -o .libs/hash_test
hash_test.o  -L/usr/local/lib /usr/local/lib/libgthread-2.0.so
/usr/local/lib/libglib-2.0.so ../src/.libs/libgnet-2.0.so -lresolv
-lnsl -pthread -Wl,--rpath -Wl,/usr/local/lib
creating hash_test
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-g -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -MT inetaddr_test.o -MD
-MP -MF ".deps/inetaddr_test.Tpo" -c -o inetaddr_test.o
inetaddr_test.c; \
then mv -f ".deps/inetaddr_test.Tpo" ".deps/inetaddr_test.Po"; else rm
-f ".deps/inetaddr_test.Tpo"; exit 1; fi
/bin/sh ../libtool --mode=link gcc  -g -O2 -D_REENTRANT
-DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes     -Wmissing-prototypes
-Wmissing-declarations   -o inetaddr_test  inetaddr_test.o
-L/usr/local/lib -lglib-2.0   -pthread -L/usr/local/lib -lgthread-2.0
-lglib-2.0   ../src/libgnet-2.0.la -lresolv -lnsl  -pthread
gcc -g -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -o .libs/inetaddr_test
inetaddr_test.o  -L/usr/local/lib /usr/local/lib/libgthread-2.0.so
/usr/local/lib/libglib-2.0.so ../src/.libs/libgnet-2.0.so -lresolv
-lnsl -pthread -Wl,--rpath -Wl,/usr/local/lib
creating inetaddr_test
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-g -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -MT ipv6_test.o -MD -MP
-MF ".deps/ipv6_test.Tpo" -c -o ipv6_test.o ipv6_test.c; \
then mv -f ".deps/ipv6_test.Tpo" ".deps/ipv6_test.Po"; else rm -f
".deps/ipv6_test.Tpo"; exit 1; fi
/bin/sh ../libtool --mode=link gcc  -g -O2 -D_REENTRANT
-DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes     -Wmissing-prototypes
-Wmissing-declarations   -o ipv6_test  ipv6_test.o -L/usr/local/lib
-lglib-2.0   -pthread -L/usr/local/lib -lgthread-2.0 -lglib-2.0
../src/libgnet-2.0.la -lresolv -lnsl  -pthread
gcc -g -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -o .libs/ipv6_test
ipv6_test.o  -L/usr/local/lib /usr/local/lib/libgthread-2.0.so
/usr/local/lib/libglib-2.0.so ../src/.libs/libgnet-2.0.so -lresolv
-lnsl -pthread -Wl,--rpath -Wl,/usr/local/lib
creating ipv6_test
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-g -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -MT pack_test.o -MD -MP
-MF ".deps/pack_test.Tpo" -c -o pack_test.o pack_test.c; \
then mv -f ".deps/pack_test.Tpo" ".deps/pack_test.Po"; else rm -f
".deps/pack_test.Tpo"; exit 1; fi
/bin/sh ../libtool --mode=link gcc  -g -O2 -D_REENTRANT
-DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes     -Wmissing-prototypes
-Wmissing-declarations   -o pack_test  pack_test.o -L/usr/local/lib
-lglib-2.0   -pthread -L/usr/local/lib -lgthread-2.0 -lglib-2.0
../src/libgnet-2.0.la -lresolv -lnsl  -pthread
gcc -g -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -o .libs/pack_test
pack_test.o  -L/usr/local/lib /usr/local/lib/libgthread-2.0.so
/usr/local/lib/libglib-2.0.so ../src/.libs/libgnet-2.0.so -lresolv
-lnsl -pthread -Wl,--rpath -Wl,/usr/local/lib
creating pack_test
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-g -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -MT unpack_test.o -MD -MP
-MF ".deps/unpack_test.Tpo" -c -o unpack_test.o unpack_test.c; \
then mv -f ".deps/unpack_test.Tpo" ".deps/unpack_test.Po"; else rm -f
".deps/unpack_test.Tpo"; exit 1; fi
/bin/sh ../libtool --mode=link gcc  -g -O2 -D_REENTRANT
-DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes     -Wmissing-prototypes
-Wmissing-declarations   -o unpack_test  unpack_test.o
-L/usr/local/lib -lglib-2.0   -pthread -L/usr/local/lib -lgthread-2.0
-lglib-2.0   ../src/libgnet-2.0.la -lresolv -lnsl  -pthread
gcc -g -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -o .libs/unpack_test
unpack_test.o  -L/usr/local/lib /usr/local/lib/libgthread-2.0.so
/usr/local/lib/libglib-2.0.so ../src/.libs/libgnet-2.0.so -lresolv
-lnsl -pthread -Wl,--rpath -Wl,/usr/local/lib
creating unpack_test
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-g -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -MT uri_test.o -MD -MP -MF
".deps/uri_test.Tpo" -c -o uri_test.o uri_test.c; \
then mv -f ".deps/uri_test.Tpo" ".deps/uri_test.Po"; else rm -f
".deps/uri_test.Tpo"; exit 1; fi
/bin/sh ../libtool --mode=link gcc  -g -O2 -D_REENTRANT
-DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes     -Wmissing-prototypes
-Wmissing-declarations   -o uri_test  uri_test.o -L/usr/local/lib
-lglib-2.0   -pthread -L/usr/local/lib -lgthread-2.0 -lglib-2.0
../src/libgnet-2.0.la -lresolv -lnsl  -pthread
gcc -g -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -o .libs/uri_test
uri_test.o  -L/usr/local/lib /usr/local/lib/libgthread-2.0.so
/usr/local/lib/libglib-2.0.so ../src/.libs/libgnet-2.0.so -lresolv
-lnsl -pthread -Wl,--rpath -Wl,/usr/local/lib
creating uri_test
make[2]: Leaving directory `/home/dennis/gnet-2.0.7/tests'
make  check-TESTS
make[2]: Entering directory `/home/dennis/gnet-2.0.7/tests'
PASS: base64_test

=====> Testing GET
         * GET operation ok: received 2444 bytes.

=====> Testing POST
         * POST operation ok: received 965 bytes.
         * oops, could not find ListPrice for CD Album Massive Attack,
Blue Lines in data returned :|

=====> Testing binary GET
         * GET operation ok: received 11230 bytes.
         * PNG signature ok
         * image width x height = 500 x 100

=====> Testing GET with redirect
         * GET operation with redirect failed.

=====> Testing GET with redirect
         * GET operation with redirect ok: received 27937 bytes.

=====> Testing gnet_conn_http_run():
         * gnet_http_get() succeded (buflen = 5179, code = 200).
------------------------------------------------------------
GET (html)                 OK
GET (binary)               OK
POST                       OK
Redirect (same host)       FAILED
Redirect (different host)  OK
gnet_http_get()            OK
------------------------------------------------------------

** ERROR **: file conn_http_test.c: line 506 (main): assertion failed:
(get_ok && binget_ok && post_ok && redir1_ok && redir2_ok &&
urlget_ok)
aborting...
/bin/sh: line 1: 32600 Aborted                 ${dir}$tst
FAIL: conn_http_test
PASS: hash_test
PASS: inetaddr_test
PASS: ipv6_test
PASS: pack_test
PASS: unpack_test
7 escape is correct: FAIL
FAIL: uri_test
=====================================
2 of 8 tests failed
Please report to gnet gnetlibrary org
=====================================
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory `/home/dennis/gnet-2.0.7/tests'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/home/dennis/gnet-2.0.7/tests'
make: *** [check-recursive] Error 1




--
|------------------------------------------------------|
|                                                                    |
|  The way to be happy is to be good.      |
|                                                                    |
|------------------------------------------------------|


--
David Helder - dhelder gizmolabs org - http://www.gizmolabs.org/~dhelder




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