... Response tests 1. HTTP 1.0 response w/ no headers (should parse): OK! 2. HTTP 1.1 response w/ no headers (should parse): OK! 3. Response w/ multi-word Reason-Phrase (should parse): OK! 4. Response w/ 1 header (should parse): OK! 5. Response w/ 2 headers (should parse): OK! 6. Response w/ no reason phrase (should parse): OK! 7. Response w/ LF instead of CRLF after Status-Line (should parse): OK! 8. Response w/ incorrect spacing in Status-Line (should parse): OK! 9. Response w/ no reason phrase or preceding SP (should parse): OK! 10. Response w/ no whitespace after status code (should parse): OK! 11. Invalid HTTP version (should NOT parse): OK! 12. Non-HTTP response (should NOT parse): OK! 13. Non-numeric status code (should NOT parse): OK! 14. No status code (should NOT parse): OK! 15. One-digit status code (should NOT parse): OK! 16. Two-digit status code (should NOT parse): OK! 17. Four-digit status code (should NOT parse): OK! 18. Status code < 100 (should NOT parse): OK! 19. Status code > 599 (should NOT parse): OK! 20. NUL in Reason Phrase (should NOT parse): OK! 21. NUL in Header (should NOT parse): OK! -945881477 errors FAIL: header-parsing Absolute URI parsing <foo:> => <foo:>? OK <file:/dev/null> => <file:/dev/null>? OK <file:///dev/null> => <file:///dev/null>? OK <ftp://user@host/path> => <ftp://user@host/path>? OK <ftp://user@host:9999/path> => <ftp://user@host:9999/path>? OK <ftp://user:password@host/path> => <ftp://user@host/path>? OK <ftp://user:password@host:9999/path> => <ftp://user@host:9999/path>? OK <http://us%65r@host> => <http://user@host>? OK <http://us%40r@host> => <http://us%40r@host>? OK <http://us%3ar@host> => <http://us%3ar@host>? OK <http://us%2fr@host> => <http://us%2fr@host>? OK <http://control-chars/%01%02%03%04%05%06%07%08%09%0a%0b%0c%0d%0e%0f%10%11%12%13%14%15%16%17%18%19%1a%1b%1c%1d%1e%1f%7f> => <http://control-chars/%01%02%03%04%05%06%07%08%09%0a%0b%0c%0d%0e%0f%10%11%12%13%14%15%16%17%18%19%1a%1b%1c%1d%1e%1f%7f>? OK <http://space/%20> => <http://space/%20>? OK <http://delims/%3c%3e%23%25%22> => <http://delims/%3c%3e%23%25%22>? OK <http://unwise-chars/%7b%7d%7c%5c%5e%5b%5d%60> => <http://unwise-chars/%7b%7d%7c%5c%5e%5b%5d%60>? OK ... <http://a/b/c/d;p?q> + <g#s/../x> = <http://a/b/c/g#s/../x>? OK <http://a/b/c/d;p?q> + <http:g> = <ERR>? OK 0 errors PASS: uri-parsing =================== 1 of 3 tests failed =================== make[2]: *** [check-TESTS] Error 1 make[2]: Leaving directory `/var/tmp/portage/net-libs/libsoup-2.2.99/work/libsoup-2.2.99/tests' make[1]: *** [check-am] Error 2 make[1]: Leaving directory `/var/tmp/portage/net-libs/libsoup-2.2.99/work/libsoup-2.2.99/tests' make: *** [check-recursive] Error 1 !!! ERROR: net-libs/libsoup-2.2.99 failed. Call stack: ebuild.sh, line 1611: Called dyn_test ebuild.sh, line 1023: Called qa_call 'src_test' environment, line 1742: Called src_test ebuild.sh, line 653: 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/libsoup-2.2.99/temp/build.log'.
Created attachment 106932 [details] emerge --info emerge --info
Confirmed on ~amd64: Portage 2.1.2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r3 x86_64) ================================================================= System uname: 2.6.19-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3500+ Gentoo Base System version 1.12.8 Timestamp of tree: Tue, 16 Jan 2007 17:20:01 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.31-r3 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 sys-apps/sandbox: 1.2.18.1 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.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.19.2-r1 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS=" -march=athlon64 -O2 -pipe " CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/jetty/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS=" -march=athlon64 -O2 -pipe " DISTDIR="/home/ftp/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y" FEATURES="autoconfig ccache collision-protect cvs distlocks elog java-strict metadata-transfer multilib-strict sandbox sfperms sign strict stricter test userfetch userpriv" GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ " LANG="it_IT.utf8" LINGUAS="it" PKGDIR="/home/ftp/packages" PORTAGE_RSYNC_EXTRA_OPTS=" --timeout=400 --progress " 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" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/overlays/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="7zip X a52 aac acl acpi alsa amd64 amr aoss apache2 arts asf audiofile avahi bash-completion berkdb bitmap-fonts bl bzip2 cairo caps ccache cdb cddb cdparanoia cdr chroot cli cpudetection cracklib crypt css cups curl dba dbus devhelp dga directfb djvu dlloader dmi dovecot-sasl dri dts dv dvd dvdr dvdread dynagraph encode epydoc erandom esd exif expat extrafilters fame ffmpeg firefox flac fltk foomaticdb gd gdbm ggi gif gimp gimpprint glibc-omitfp glut gmp gnokii gnome gnutls gphoto2 gpm graphviz gtk gtkhtml guile hal howl-compat iconv idn ieee1394 imagemagick imlib ipv6 isdnlog ithreads java javacomm jbig jikes jpeg jpeg2k justify kde kdeenablefinal kdehiddenvisibility lcms ldap libcaca libg++ libnotify linuxthreads-tls lm_sensors logitech-mouse logrotate lzo mad mailwrapper matroska mbox mdb mhash mikmod mjpeg mmap mng motif mozdevelop mozsvg mp3 mpeg mpm-worker msn musepack musicbrainz mysql ncurses nfs nls nptl nptlonly nsplugin numeric nvidia odbc offensive ogg on-the-fly-crypt openexr opengl oss pam pcre pdf perl php png povray ppds pppd pulseaudio python qa qt3 qt3support qt4 quicktime rdesktop readline reflection restrict-javascript rtc samba scanner sdl session slang smime smp sndfile snmp speex spell spl ssl startup-notification subversion svg sysfs syslog tcltk tcpd test tetex tga theora threads tidy tiff timidity tk truetype truetype-fonts type1-fonts udev unicode usb userlocales utempter v4l v4l2 vcd vda vorbis vorbis-psy wma wmf wmp xcomposite xforms xine xinerama xml xorg xpm xscreensaver xv xvid xvmc yv12 zeroconf zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse evdev keyboard" KERNEL="linux" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="nvidia nv" Unset: CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS
I encountered the same problem. Try with FEATURES="-userpriv", since it appears that some tests require root privs. That solved the problem for me. Maybe adding a notice to the ebuild would be good? Cheers, Dustin
Though this line looks odd to me > -945881477 errors > FAIL: header-parsing Seems to be something broken additionally...
Okay, turns out it was just returning unitialized values from the stack. Fixed, and the tests now pass.