Summary: | dev-perl/Net-DNS fails to build | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Chris Webb <zzxtty> |
Component: | [OLD] Development | Assignee: | Gentoo Perl team <perl> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Chris Webb
2005-05-05 01:30:21 UTC
Can't reproduce here. If you have either of strace or gdb installed can you try attaching the the hung perl process see what it's doing, please ? That'd be `strace -p <pid-of-perl>` for strace, and `gdb -p <pid-of-perl> for gdb (you'll get a '(gdb)' prompt with that, where entering the command 'bt' will a backtrace which might help). Ah, forgot to mention that the latter (gdb) would be most helpful if dev-lang/perl was re-emerged with FEATURES=nostrip and CFLAGS=-ggdb. Alternatively, if you have logging turned on in portage (look make.conf) please post the log of this emerge. Thanks! strace showed it was hanging during an ldap query. Removing ldap from the hosts line in nsswitch.conf solved the problem. This is a bit strange because ping/strace/ssh work with the ldap entry, the only thing using ldap in my nsswitch.conf file is hosts. I guess this can be switched to "Resolved" or "invalid" or "user error" :) The tail of strace: geteuid32() = 0 open("/etc/ldap.conf", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=10023, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7de8000 read(3, "# @(#)$Id: ldap.conf,v 2.39 2005"..., 4096) = 4096 read(3, "to enforce membership of\n#pam_gr"..., 4096) = 4096 read(3, "ember member\n#pam_login_attribut"..., 4096) = 1831 read(3, "", 4096) = 0 close(3) = 0 munmap(0xb7de8000, 4096) = 0 uname({sys="Linux", node="coffee", ...}) = 0 rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0 rt_sigsuspend([] <unfinished ...> Not absolutely related but I have test error :( t/10-recurse...............ok 4/12 # Failed test (t/10-recurse.t at line 35) Can't call method "answer" on an undefined value at t/10-recurse.t line 36. # Looks like you planned 12 tests but only ran 5. # Looks like your test died just after 5. t/10-recurse...............dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 5-12 Failed 8/12 tests, 33.33% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/10-recurse.t 255 65280 12 15 125.00% 5-12 2 tests skipped. Failed 1/20 test scripts, 95.00% okay. 8/835 subtests failed, 99.04% okay. make: *** [test_dynamic] Error 2 !!! ERROR: dev-perl/Net-DNS-0.49 failed. !!! Function perl-module_src_test, Line 116, Exitcode 2 !!! test failed !!! If you need support, post the topmost build error, NOT this status message. and FEATURES="notest" don't help test phase run anyway :( Sergey, Please provide the output of emerge info. Tests only happen if FEATURES includes maketest these days. I still vote for Net-DNS not being allowed to perform tests in general since it depends on you having a properly configured and always functional dns setup locally (which isn't always the case for users). oops # emerge info Portage 2.0.51.21-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r7 i686) ================================================================= System uname: 2.6.11-gentoo-r7 i686 Intel(R) Pentium(R) M processor 1.70GHz Gentoo Base System version 1.6.11 ccache version 2.4 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.5-r1 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.5 sys-devel/binutils: 2.15.92.0.2-r8 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -pipe -march=pentium3 -ffast-math -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe -march=pentium3 -ffast-math -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks maketest sandbox sfperms strict test" GENTOO_MIRRORS="ftp://ftp.linux.kiev.ua/pub/Linux/Gentoo" LANG="ru_RU.UTF-8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org.ua/gentoo-portage" USE="x86 X acpi alsa apache2 apm avi berkdb bitmap-fonts cairo cdr crypt curl divx4linux dvd emboss encode fam ffmpeg flac fluidsynth foomaticdb freetype gd gdbm gif glitz glut gnome gtk gtk2 hal imagemagick imlib ithreads jpeg libg++ libwww lzo mmap mmx mozdevelop mozilla mp3 mysql ncurses network nls nowin nptl nptlonly ogg oggvorbis opengl pam pam_chroot pdflib perl pic png pnp postgres pthreads qmail readline samba sdl slang sounds sse sse2 ssl stream symlink tcpd threads truetype truetype-fonts type1-fonts unicode userlocales utf8 v4l v4l2 vim-with-x vlm vorbis win32codecs wxwindows xml2 xmms xv xvid zlib zvbi userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS but FEATURES="-nomaketest" emerge dev-perl/Net-DNS don't help :( tests run again nomaketest is not a feature. You need to actually remove maketest from your features to disable testing... sorry I made mistake FEATURES="-maketest" emerge dev-perl/Net-DNS works fine ;) Marking this can't fix, mostly because we didn't provide the fix (and it wasn't inherit to the ebuild itself per se). |