Summary: | net-misc/curl-7.15.0: build fails in src_test | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sascha Silbe <sascha-gentoo-bugzilla> |
Component: | Current packages | Assignee: | Alastair Tse (RETIRED) <liquidx> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | abraham, as.gentoo, bugs+gentoo, david.morgan, dragonheart, gentoo.bugs.10, gentoo, k, tschenturs |
Priority: | Highest | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 137705 | ||
Attachments: |
output (stdout) of ./runtests.pl -a -v
log/stderr255 log/stderr253 log/stderr31 log/stderr46 log/stderr61 log/stderr506 log/stderr517 log/stdout46 (bug 127064) log/stderr46 (bug 127064) log/stderr46 (bug 127064) Patch from link mentioned in comment #16 patch for curl-7.15.1-r1.ebuild Output of "runtests.pl -k -v -a 31 46 61 506 517" |
Description
Sascha Silbe
2005-11-05 06:03:03 UTC
I was unable to replicate these errors. I tried building with the same CFLAGS, FEATURES and USE flags, as well as with distcc enabled (2 hosts), but it always passed the test phase. Still happens on my host. The only difference to the posted output are these lines: Changed: * libcurl/7.15.0 OpenSSL/0.9.7e zlib/1.2.3 libidn/0.5.15 Removed: TESTINFO: "curl lacks idn support" 1 times (165) Created attachment 74337 [details]
output (stdout) of ./runtests.pl -a -v
It seems like some timestamps are differing, but I don't know what's the cause.
Created attachment 74637 [details] log/stderr255 test 252...OK (247 out of 301, remaining: 00:27) test 253...sh: line 1: 30662 Aborted ../src/curl --output log/curl253.out --include -v --trace-time -g "ftp://[::1]:8996/" -P - >>log/stdout253 2>>log/stderr253 FAILED test 254...OK (249 out of 301, remaining: 00:26) test 255...sh: line 1: 30694 Aborted ../src/curl --output log/curl255.out --include -v --trace-time -g "ftp://[::1]:8996/" -P - --disable-eprt >>log/stdout255 2>>log/stderr255 FAILED test 256...OK (251 out of 301, remaining: 00:25) TESTDONE: 270 tests out of 272 reported OK: 99% TESTFAIL: These test cases failed: 253 255 TESTDONE: 301 tests were considered during 163 seconds. TESTINFO: 29 tests were skipped due to these restraints: TESTINFO: "rlimit problems" 1 times (518) TESTINFO: "curl lacks netrc_debug support" 6 times (130, 131, 132, 133, 134, 257) TESTINFO: "curl lacks OpenSSL support" 1 times (509) TESTINFO: "curl lacks NTLM support" 21 times (67, 68, 69, 70, 81, 89, 90, 91, 150, 155, 159, 162, 169, 170, 176, 209, 213, 239, 243, 265, 267) make[1]: *** [quiet-test] Error 1 make[1]: Leaving directory `/var/tmp/portage/curl-7.15.1/work/curl-7.15.1/tests' make: *** [test] Error 2 !!! ERROR: net-misc/curl-7.15.1 failed. to get more results cd /var/tmp/portage/curl-7.15.1/work/curl-7.15.1/tests ./runtests.pl 255 look in the log/* for the exact error and attach that file. In this case log/stderr255 Portage 2.0.53 (hardened/x86/2.6, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13-gentoo-r5 i686) ================================================================= System uname: 2.6.13-gentoo-r5 i686 AMD Athlon(tm) XP 1900+ Gentoo Base System version 1.12.0_pre11 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [disabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.16 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS=" -g -ggdb3" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig collision-protect cvs distlocks keepwork nostrip sandbox sfperms sign strict test userpriv usersandbox verify-rdepend" GENTOO_MIRRORS="" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/home/dan/gentoo/gentoo-x86" SYNC="rsync://rsync.au.gentoo.org/gentoo-portage" USE="3dnow 3dnowex X aac aalib acl acpi adns alsa audiofile avi bash-completion berkdb bitmap-fonts bonobo bzip2 cdr crypt cscope cups curl directfb divx4linux dlloader ecc encode ethereal exif expat extensions fam fastcgi ffmpeg fla flac fortran gd ggi gif glut gmp gnutls gphoto2 gstreamer gtk gtk2 gtkhtml guile hardened hpn i8x0 idn imagemagick imlib ipv6 jack java javacomm jpeg junit kde kdeenablefinal kerberos lcms libgda libwww lzo mad matroska mbox mhash mikmod ming mmx mng motif mozilla mp3 mpeg multitarget mysql nas nptl nptlonly ntlm ogg oggvorbis openal operanom2 pam pcre pdflib perl php pic png postgres ppds python qt quicktime readline samba sdl sguil slp snmp socks5 sox speex spell sqlite sse ssl svga tcltk tetex tiff true-type truetype type1-fonts udev usb userlocales vhosts vorbis x86 xine xinerama xml xml2 xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS Created attachment 74638 [details]
log/stderr253
23:26:32.107027 * Connection accepted from server
lt-curl: stack smashing attack in function AllowServerConnect()
same for test 253
please attach stderr for the failed tests: e.g. for 255 cd /var/tmp/portage/curl-7.15.1/work/curl-7.15.1/tests ./runtests.pl 255 look in the log/* for the exact error and attach that file. In this case log/stderr255 Created attachment 74710 [details]
log/stderr31
Created attachment 74711 [details]
log/stderr46
Created attachment 74712 [details]
log/stderr61
Created attachment 74713 [details]
log/stderr506
Created attachment 74714 [details]
log/stderr517
*** Bug 127064 has been marked as a duplicate of this bug. *** Created attachment 82754 [details] log/stdout46 (bug 127064) output of failing ./runtests.pl 46 with curl 7.15.1-r1 (from bug #127064) Created attachment 82755 [details] log/stderr46 (bug 127064) log/stderr46 from ./runtests.pl 46 with curl 7.15.1-r1 (bug #127064) Created attachment 82756 [details] log/stderr46 (bug 127064) stdout and stderr were not from the same machine (different USEs, as shown in HTTP User-Agent) (In reply to comment #14) > Created an attachment (id=82755) [edit] > log/stderr46 (bug 127064) > > log/stderr46 from ./runtests.pl 46 with curl 7.15.1-r1 (bug #127064) > The cookie in the test 46 has expired see http://curl.haxx.se/mail/archive-2006-02/0033.html I also get errors with FEATURES="test" and curl: <quote> TESTFAIL: These test cases failed: 46 TESTDONE: 301 tests were considered during 198 seconds. TESTINFO: 24 tests were skipped due to these restraints: TESTINFO: "no stunnel" 8 times (300, 301, 302, 303, 304, 305, 306, 509) TESTINFO: "curl lacks ipv6 support" 9 times (212, 240, 241, 242, 252, 253, 254, 255, 263) TESTINFO: "rlimit problems" 1 times (518) TESTINFO: "curl lacks netrc_debug support" 6 times (130, 131, 132, 133, 134, 257) </quote> You can skip the ipv6-part, i have USE ipv6 and no ipv6-support in my kernel. But from "no stunnel" i get, that curl with USE="test" should depend on net-misc/stunnel. I'll check that. (In reply to comment #17) > You can skip the ipv6-part, i have USE ipv6 and no ipv6-support in my kernel. > But from "no stunnel" i get, that curl with USE="test" should depend on > net-misc/stunnel. I'll check that. Forget what i wrote, i mixed failing tests with skipped tests. (In reply to comment #16) > The cookie in the test 46 has expired > see http://curl.haxx.se/mail/archive-2006-02/0033.html There is a patch for the wrong testfile on this page. Adding this patch to the ebuild should solve the problem. If not, removing curl-7.15.1-r1/tests/data/test46 solves the problem. Created attachment 85758 [details, diff] Patch from link mentioned in comment #16 Created attachment 85759 [details, diff]
patch for curl-7.15.1-r1.ebuild
This solves the problem.
Thanks for the patch. This patch is now in portage for 7.15.1, and its already fixed upstream for 7.15.3 It still fails for me for these tests: 31 46 61 506 517 These are all UTC vs. TAI issues. See bug #137705 for an explanation. Created attachment 92428 [details]
Output of "runtests.pl -k -v -a 31 46 61 506 517"
Sascha can you describe how you created the UTC/TAI differences that illistrate this bug and report this upstream http://sourceforge.net/tracker/?group_id=976&atid=100976 |