Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 186452

Summary: [FEATURES="test"] net-libs/gnet-2.0.7 fails to emerge
Product: Gentoo Linux Reporter: Dustin Polke <DuPol>
Component: New packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://bugzilla.gnome.org/show_bug.cgi?id=459895
Whiteboard:
Package list:
Runtime testing required: ---

Description Dustin Polke 2007-07-24 11:46:19 UTC
Testsuite of gnet-2.0.7 fails. If you need the complete build.log, please let me know.

make  check-TESTS
make[2]: Entering directory `/var/tmp/portage/net-libs/gnet-2.0.7/work/gnet-2.0.7/tests'
PASS: base64_test

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

=====> Testing POST 
         * POST operation ok: received 1297 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 ok: received 133159 bytes.

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

=====> Testing gnet_conn_http_run(): 
         * gnet_http_get() succeded (buflen = 8182, code = 200).
------------------------------------------------------------
GET (html)                 OK
GET (binary)               OK
POST                       OK
Redirect (same host)       OK
Redirect (different host)  FAILED
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 4: 19865 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 `/var/tmp/portage/net-libs/gnet-2.0.7/work/gnet-2.0.7/tests'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/net-libs/gnet-2.0.7/work/gnet-2.0.7/tests'
make: *** [check-recursive] Error 1

!!! ERROR: net-libs/gnet-2.0.7 failed.
Call stack:
  ebuild.sh, line 1621:   Called dyn_test
  ebuild.sh, line 1033:   Called qa_call 'src_test'
  ebuild.sh, line 44:   Called src_test
  ebuild.sh, line 655:   Called die

!!! Make check failed. See above for details.
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/net-libs/gnet-2.0.7/temp/build.log'.


I don't know whether this is a real issue or just false positives. At the moment, I am using gnet-1.1.9, which has been removed from the tree some time ago.



solaris dustin # emerge --info
Portage 2.1.2.9 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.21-gentoo-r4 i686)
=================================================================
System uname: 2.6.21-gentoo-r4 i686 mobile AMD Athlon(tm) XP 1500+
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 24 Jul 2007 07:20:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -m3dnow -msse -mmmx"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon-xp -O2 -pipe -m3dnow -msse -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict test userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://gentoo.inode.at/source/"
LINGUAS="en de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS=""
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=500"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/science /usr/local/portage/layman/webapps-experimental /usr/local/portage/modified /usr/local/portage/own"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X Xaw3d a52 aac aalib acpi alsa amr amrr apache2 apm asf async audacious audiofile bash-completion bindist bl bonobo branding bzip2 cardbus cjk cli cpudetection cracklib crypt ctype cups dbus dga divx dri dvd dvdread eds encode evo exif expat extensions fam fbcon ffmpeg flac foomaticdb force-cgi-redirect fortran ftp gd gdbm gif gimp gimpprint glibc-omitfp glut gmedia gs gstreamer gtk gtkhtml guile hal icq idn imagemagick imap imlib iproute2 java javascript jikes jpeg jpeg2k kerberos lcms ldap libcaca libg++ libwww live lm_sensors logrotate lzo mad madwifi memlimit mikmod mime mjpeg mmx mmxext mng motif moznocompose moznoirc moznomail moznoroaming mp3 mp4 mpeg musepack mysql nas ncurses nls nntp nptl nptlonly nsplugin ogg opengl pam pam_timestamp pcmcia pcre pda pdf perl php plotutils png posix postgres print python qt3support qt4 quicktime readline real ruby rubytests samba sasl sdl seamonkey server session simplexml slang smbkrb5passwd sndfile soap sockets sox speex spell spl sse ssl suhosin svg svga swat symlink syslog tcltk tcpd test tetex theora tiff truetype unicode usb userlocales vcd vim-with-x vorbis wifi win32codecs winbind wma wmf x264 x86 xanim xine xinetd xml xorg xosd xpm xsl xv xvid zlib" ALSA_CARDS="via82xx via82xx-modem mpu401" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="savage"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS_FLAGS

Reproducible: Always
Comment 1 RĂ©mi Cardona (RETIRED) gentoo-dev 2007-07-24 12:51:13 UTC
As always, the Gnome Herd can't fix all test suites on its own.

Please create a bug upstream (gnome bugzilla I think) and add gnome@gentoo.org as a CC there.

Thanks for the bug report and your help :)
Comment 2 Dustin Polke 2007-07-24 13:19:20 UTC
Filed upstream bug, see URL stated above
Comment 3 Dustin Polke 2007-10-16 18:02:42 UTC
FYI, the bug was solved upstream and is in svn trunk. Next official release will fix this.