| Summary: | dev-perl/Locale-gettext-1.04 doesn't merge (Failed 3/5 test scripts) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Guillaume <gtaglang> |
| Component: | [OLD] Development | Assignee: | Gentoo Perl team <perl> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Guillaume
2005-04-28 12:56:50 UTC
would it be possible to get the output above that? where it actually performs the tests? perl version and a copy of your @INC (perl -V) would be helpful too. and which version of dev-perl/Test-Simple you have installed never mind about the test-simple - somehow i can dup this now (and couldn't before when i added it to the tree...) I'm having the same error:Writing Makefile for Locale::gettext
cp gettext.pm blib/lib/Locale/gettext.pm
/usr/bin/perl5.8.6 /usr/lib/perl5/5.8.6/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.6/ExtUtils/typemap gettext.xs > gettext.xsc && mv gettext.xsc gettext.c
Please specify prototyping behavior for gettext.xs (see perlxs manual)
gcc -c -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -mtune=pentium4 -march=pentium4 -pipe -fomit-frame-pointer -DVERSION=\"1.04\" -DXS_VERSION=\"1.04\" -fPIC "-I/usr/lib/perl5/5.8.6/i686-linux/CORE" gettext.c
Running Mkbootstrap for Locale::gettext ()
chmod 644 gettext.bs
rm -f blib/arch/auto/Locale/gettext/gettext.so
LD_RUN_PATH="" gcc -shared -L/usr/local/lib gettext.o -o blib/arch/auto/Locale/gettext/gettext.so
chmod 755 blib/arch/auto/Locale/gettext/gettext.so
cp gettext.bs blib/arch/auto/Locale/gettext/gettext.bs
chmod 644 blib/arch/auto/Locale/gettext/gettext.bs
Manifying blib/man3/Locale::gettext.3pm
PERL_DL_NONLAZY=1 /usr/bin/perl5.8.6 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/bind.........ok
t/frconvert....NOK 1# Failed test 1 in t/frconvert.t at line 25
# t/frconvert.t line 25 is: ok(0);
t/frconvert....FAILED test 1
Failed 1/1 tests, 0.00% okay
t/jaconvert....NOK 1# Failed test 1 in t/jaconvert.t at line 23
# t/jaconvert.t line 23 is: ok(0);
t/jaconvert....FAILED test 1
Failed 1/1 tests, 0.00% okay
t/raw..........NOK 1# Failed test 1 in t/raw.t at line 14
# t/raw.t line 14 is: ok(0);
t/raw..........FAILED test 1
Failed 1/1 tests, 0.00% okay
t/use..........ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/frconvert.t 1 1 100.00% 1
t/jaconvert.t 1 1 100.00% 1
t/raw.t 1 1 100.00% 1
Failed 3/5 test scripts, 40.00% okay. 3/5 subtests failed, 40.00% okay.
make: *** [test_dynamic] Error 255
!!! ERROR: dev-perl/Locale-gettext-1.04 failed.
!!! Function perl-module_src_compile, Line 104, Exitcode 2
!!! test failed
!!! If you need support, post the topmost build error, NOT this status message.
~ # perl -v
This is perl, v5.8.6 built for i686-linux
Copyright 1987-2004, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'. If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
~ # perl -V
Summary of my perl5 (revision 5 version 8 subversion 6) configuration:
Platform:
osname=linux, osvers=2.6.11-gentoo-r2, archname=i686-linux
uname='linux kompjoeter 2.6.11-gentoo-r2 #1 sun mar 6 14:16:49 cet 2005 i686 intel(r) pentium(r) 4 cpu 2.00ghz genuineintel gnulinux '
config_args='-des -Darchname=i686-linux -Dcccdlflags=-fPIC -Dccdlflags=-rdynamic -Dcc=gcc -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr -Dlocincpth= -Doptimize=-O3 -mtune=pentium4 -march=pentium4 -pipe -fomit-frame-pointer -Duselargefiles -Dd_semctl_semun -Dscriptdir=/usr/bin -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dinstallman1dir=/usr/share/man/man1 -Dinstallman3dir=/var/tmp/portage/perl-5.8.6-r4/image//usr/share/man/man3 -Dman1ext=1 -Dman3ext=3pm -Dinc_version_list=5.8.0 5.8.0/i686-linux 5.8.2 5.8.2/i686-linux 5.8.4 5.8.4/i686-linux 5.8.5 5.8.5/i686-linux -Dcf_by=Gentoo -Ud_csh -Di_ndbm -Di_gdbm -Ui_db'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O3 -mtune=pentium4 -march=pentium4 -pipe -fomit-frame-pointer',
cppflags='-DPERL5 -fno-strict-aliasing -pipe'
ccversion='', gccversion='3.4.3-20050110 (Gentoo Linux 3.4.3.20050110-r1, ssp-3.4.3.20050110-0, pie-8.7.7)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lpthread -lnsl -lndbm -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
libc=/lib/libc-2.3.4.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.3.4'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under linux
Compiled at Mar 22 2005 21:45:59
@INC:
/etc/perl
/usr/lib/perl5/site_perl/5.8.6/i686-linux
/usr/lib/perl5/site_perl/5.8.6
/usr/lib/perl5/site_perl/5.8.4
/usr/lib/perl5/site_perl/5.8.4/i686-linux
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.6/i686-linux
/usr/lib/perl5/vendor_perl/5.8.6
/usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.6/i686-linux
/usr/lib/perl5/5.8.6
/usr/local/lib/site_perl
/usr/lib/perl5/site_perl/5.8.4
/usr/lib/perl5/site_perl/5.8.4/i686-linux
.
Like you say, it has nothing to do with the Test-Simple version because it doesn't work with version 0.53 either.
Test-Simple doesn't matter because the author is only using Test ;) Despite the flakiness of these tests, though, the module appears to be installing just fine. I've emerged everything I can find in the tree that calls Locale-gettext as a dep and they all seem to be functioning fine with it. I noticed this is the first time the author has tried to include tests with his module - and in trying to debug why the tests fail, they aren't failing because it can't do the gettext functions, but because it looks like he's failing to call the test_data correctly (ack!). I'll continue playing with the ebuilds that dep locale-gettext, but i'm leaning towards disabling these tests on the grounds that they're just buggy. I do not know if this is related, but when I emerge gettext-1.04 I get the following output:
Ma3oxuct common # emerge -u Locale-gettext
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-perl/Locale-gettext-1.04 to /
>>> md5 files ;-) Locale-gettext-1.04.ebuild
>>> md5 files ;-) Locale-gettext-1.01-r1.ebuild
>>> md5 files ;-) Locale-gettext-1.03.ebuild
>>> md5 files ;-) files/digest-Locale-gettext-1.01-r1
>>> md5 files ;-) files/digest-Locale-gettext-1.03
>>> md5 files ;-) files/digest-Locale-gettext-1.04
!!! Digest verification Failed:
!!! /usr/portage/distfiles/gettext-1.04.tar.gz
!!! Reason: Failed on MD5 verification
reposted, without tests. recreated digests just to be safe too. I have the same problem. More info:
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/frconvert.t 1 1 100.00% 1
t/jaconvert.t 1 1 100.00% 1
t/raw.t 1 1 100.00% 1
Failed 3/5 test scripts, 40.00% okay. 3/5 subtests failed, 40.00% okay.
make: *** [test_dynamic] Error 255
!!! ERROR: dev-perl/Locale-gettext-1.04 failed.
!!! Function perl-module_src_compile, Line 104, Exitcode 2
!!! test failed
homer vaxen # perl -V
Summary of my perl5 (revision 5 version 8 subversion 6) configuration:
Platform:
osname=linux, osvers=2.6.11-morph6, archname=i686-linux-thread-multi
uname='linux homer 2.6.11-morph6 #1 thu apr 7 00:37:58 bst 2005 i686 amd athlon(tm) xp 2400+ authenticamd gnulinux '
config_args='-des -Darchname=i686-linux-thread -Dcccdlflags=-fPIC -Dccdlflags=-rdynamic -Dcc=gcc -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr -Dlocincpth= -Doptimize=-O2 -march=athlon-xp -mtune=athlon-xp -pipe -ftracer -fomit-frame-pointer -Duselargefiles -Dd_semctl_semun -Dscriptdir=/usr/bin -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dinstallman1dir=/usr/share/man/man1 -Dinstallman3dir=/var/tmp/portage/perl-5.8.6-r4/image//usr/share/man/man3 -Dman1ext=1 -Dman3ext=3pm -Dinc_version_list=5.8.0 5.8.0/i686-linux-thread-multi 5.8.2 5.8.2/i686-linux-thread-multi 5.8.4 5.8.4/i686-linux-thread-multi 5.8.5 5.8.5/i686-linux-thread-multi -Dcf_by=Gentoo -Ud_csh -Dusethreads -Di_ndbm -Di_gdbm -Di_db'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2 -march=athlon-xp -mtune=athlon-xp -pipe -ftracer -fomit-frame-pointer',
cppflags='-DPERL5 -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe'
ccversion='', gccversion='3.4.3-20050110 (Gentoo Linux 3.4.3.20050110-r2, ssp-3.4.3.20050110-0, pie-8.7.7)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lpthread -lnsl -lndbm -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
libc=/lib/libc-2.3.4.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.3.4'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
Built under linux
Compiled at Apr 23 2005 00:15:54
@INC:
/etc/perl
/usr/lib/perl5/site_perl/5.8.6/i686-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.6
/usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.6/i686-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.6
/usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.6/i686-linux-thread-multi
/usr/lib/perl5/5.8.6
/usr/local/lib/site_perl
/usr/lib/perl5/site_perl/5.8.5
homer vaxen # emerge info
Portage 2.0.51.20-r5 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11-cko4 i686)
=================================================================
System uname: 2.6.11-cko4 i686 AMD Athlon(TM) XP 2400+
Gentoo Base System version 1.6.11
dev-lang/python: 2.3.5
sys-apps/sandbox: 1.2.2
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-r1, 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 -march=athlon-xp -mtune=athlon-xp -pipe -ftracer -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -pipe -ftracer -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X aalib acpi alsa apm audiofile avi berkdb bitmap-fonts cdr crypt cups curl divx4linux dvd emboss encode fam flac foomaticdb fortran freetype gdbm gif gnutls gphoto2 gtk gtk2 imagemagick imlib ipv6 ithreads java jpeg kde libg++ libwww live mad matroska mikmod mmx motif mozilla mp3 mpeg nas ncurses network nls nptl nvidia oav ogg oggvorbis opengl oss pam pdflib perl pic png ppds python qt quicktime readline real samba scanner sdl slang slp speedo spell sse ssl svga tcpd tiff truetype truetype-fonts type1 type1-fonts usb vorbis wifi xine xml xml2 xv xvid zlib"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
I now get the same error as the others.
>>> md5 files ;-) Locale-gettext-1.04.ebuild
>>> md5 files ;-) Locale-gettext-1.01-r1.ebuild
>>> md5 files ;-) Locale-gettext-1.03.ebuild
>>> md5 files ;-) files/digest-Locale-gettext-1.01-r1
>>> md5 files ;-) files/digest-Locale-gettext-1.03
>>> md5 files ;-) files/digest-Locale-gettext-1.04
>>> md5 src_uri ;-) gettext-1.04.tar.gz
>>> Unpacking source...
>>> Unpacking gettext-1.04.tar.gz to /var/tmp/portage/Locale-gettext-1.04/work
>>> Source unpacked.
checking for gettext... yes
checking for dgettext... yes
checking for ngettext... yes
checking for bind_textdomain_codeset... yes
Writing Makefile for Locale::gettext
cp gettext.pm blib/lib/Locale/gettext.pm
/usr/bin/perl5.8.6 /usr/lib/perl5/5.8.6/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.6/ExtUtils/typemap gettext.xs > gettext.xsc && mv gettext.xsc gettext.c
Please specify prototyping behavior for gettext.xs (see perlxs manual)
gcc -c -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O3 -march=pentium4 -fomit-frame-pointer -momit-leaf-frame-pointer -fforce-addr -ftracer -msse2 -DVERSION=\"1.04\" -DXS_VERSION=\"1.04\" -fPIC "-I/usr/lib/perl5/5.8.6/i686-linux/CORE" gettext.c
Running Mkbootstrap for Locale::gettext ()
chmod 644 gettext.bs
rm -f blib/arch/auto/Locale/gettext/gettext.so
LD_RUN_PATH="" gcc -shared -L/usr/local/lib gettext.o -o blib/arch/auto/Locale/gettext/gettext.so
chmod 755 blib/arch/auto/Locale/gettext/gettext.so
cp gettext.bs blib/arch/auto/Locale/gettext/gettext.bs
chmod 644 blib/arch/auto/Locale/gettext/gettext.bs
Manifying blib/man3/Locale::gettext.3pm
PERL_DL_NONLAZY=1 /usr/bin/perl5.8.6 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/bind.........ok
t/frconvert....# Failed test 1 in t/frconvert.t at line 25
# t/frconvert.t line 25 is: ok(0);
t/frconvert....FAILED test 1
Failed 1/1 tests, 0.00% okay
t/jaconvert....# Failed test 1 in t/jaconvert.t at line 23
# t/jaconvert.t line 23 is: ok(0);
t/jaconvert....FAILED test 1
Failed 1/1 tests, 0.00% okay
t/raw..........# Failed test 1 in t/raw.t at line 14
# t/raw.t line 14 is: ok(0);
t/raw..........FAILED test 1
Failed 1/1 tests, 0.00% okay
t/use..........ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/frconvert.t 1 1 100.00% 1
t/jaconvert.t 1 1 100.00% 1
t/raw.t 1 1 100.00% 1
Failed 3/5 test scripts, 40.00% okay. 3/5 subtests failed, 40.00% okay.
make: *** [test_dynamic] Error 255
!!! ERROR: dev-perl/Locale-gettext-1.04 failed.
!!! Function perl-module_src_compile, Line 104, Exitcode 2
!!! test failed
!!! If you need support, post the topmost build error, NOT this status message.
If the ebuild doesn't say : v 1.2 2005/04/28 21:53:48 in the header then you haven't synced up (or your mirror hasn't caught up). Works for me now. Thanx ! |