Skip Menu |

This queue is for tickets about the Unicode-UTF8 CPAN distribution.

Report information
The Basics
Id: 84241
Status: resolved
Priority: 0/
Queue: Unicode-UTF8

People
Owner: Nobody in particular
Requestors: tommy [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.58
Fixed in: (no value)



Subject: cpan install fails "Failed test 'encode_utf8 delete(helem) (UTF-8) is resued'"
Just fails to install from CPAN shell. Errors from CPAN shell follow the details about my Perl installation: ========== PERL DETAILS ============== $ perl -V Summary of my perl5 (revision 5 version 17 subversion 8) configuration: Platform: osname=linux, osvers=3.2.0-0.bpo.3-amd64, archname=x86_64-linux uname='linux leviathan 3.2.0-0.bpo.3-amd64 #1 smp thu aug 23 07:41:30 utc 2012 x86_64 gnulinux ' config_args='-de -Dprefix=/home/superman/perl5/perlbrew/perls/perl-5.17.8 -Dusedevel -Aeval:scriptdir=/home/superman/perl5/perlbrew/perls/perl-5.17.8/bin' hint=recommended, useposix=true, d_sigaction=define useithreads=undef, usemultiplicity=undef useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=define, use64bitall=define, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include' ccversion='', gccversion='4.4.5', gccosandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='cc', ldflags =' -fstack-protector -L/usr/local/lib' libpth=/usr/local/lib /lib/../lib /usr/lib/../lib /lib /usr/lib /usr/lib/x86_64-linux-gnu /lib64 /usr/lib64 libs=-lnsl -ldl -lm -lcrypt -lutil -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc libc=/lib/libc-2.11.3.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='2.11.3' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV PERL_USE_DEVEL USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF Built under linux Compiled at Feb 11 2013 14:48:16 %ENV: PERLBREW_BASHRC_VERSION="0.58" PERLBREW_HOME="/home/superman/.perlbrew" PERLBREW_MANPATH="/home/superman/perl5/perlbrew/perls/perl-tommydev/man" PERLBREW_PATH="/home/superman/perl5/perlbrew/bin:/home/superman/perl5/perlbrew/perls/perl-tommydev/bin" PERLBREW_PERL="perl-tommydev" PERLBREW_ROOT="/home/superman/perl5/perlbrew" PERLBREW_VERSION="0.58" @INC: /home/superman/perl5/perlbrew/perls/perl-5.17.8/lib/site_perl/5.17.8/x86_64-linux /home/superman/perl5/perlbrew/perls/perl-5.17.8/lib/site_perl/5.17.8 /home/superman/perl5/perlbrew/perls/perl-5.17.8/lib/5.17.8/x86_64-linux /home/superman/perl5/perlbrew/perls/perl-5.17.8/lib/5.17.8 . ========== ERROR DETAILS ============= Running make test PERL_DL_NONLAZY=1 /home/superman/perl5/perlbrew/perls/perl-5.17.8/bin/perl5.17.8 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/*/*.t # Unicode::UTF8 0.58, Perl 5.017008, /home/superman/perl5/perlbrew/perls/perl-5.17.8/bin/perl5.17.8 t/000_load.t ............... ok t/010_basic.t .............. ok t/030_native.t ............. ok t/040_wide_characters.t .... ok t/045_replacement.t ........ ok t/050_noncharacters.t ...... ok t/060_surrogates.t ......... ok t/080_super.t .............. ok t/090_non_shortest_form.t .. ok t/100_incomplete.t ......... ok t/120_fallback.t ........... ok t/150_subwarnings.t ........ ok # Failed test 'encode_utf8 delete(helem) (UTF-8) is resued' # at t/170_steal.t line 67. # got: '17881968' # expected: '15934736' # Looks like you failed 1 test of 8. t/170_steal.t .............. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/8 subtests t/200_leaks.t .............. skipped: Test::LeakTrace 0.10 is required for this test t/210_tainted.t ............ skipped: Taint::Runtime 0.03 is required for this test t/220_magic.t .............. ok t/999_pod.t ................ ok Test Summary Report ------------------- t/170_steal.t (Wstat: 256 Tests: 8 Failed: 1) Failed test: 8 Non-zero exit status: 1 Files=17, Tests=9356, 2 wallclock secs ( 0.70 usr 0.03 sys + 1.28 cusr 0.09 csys = 2.10 CPU) Result: FAIL Failed 1/17 test programs. 1/9356 subtests failed. make: *** [test_dynamic] Error 255 (/usr/bin/make test exited with 512) CPAN::Reporter: Test result is 'fail', One or more tests failed.
Hi Tommy, Vid Ons, 27 Mar 2013 kl. 11.26.03, skrev TOMMY: Show quoted text
> Just fails to install from CPAN shell.
Thanks for the report. Perl 5.17.10 has reverted the copy-on-write mechanism that was introduced in 5.17.7. The test passes on 5.17.10. The failure is harmless, it expected to be able to reuse the scalar from the HASH but got an copy instead. It's safe to force install on 5.17.8. http://search.cpan.org/dist/perl-5.17.10/pod/perldelta.pod#Internal_Changes -- chansen
I have uploaded a new version to CPAN that skips the test on Perl versions from 5.17.7 to 5.17.9 (inclusive). -- chansen
Thanks for the fix! On Thu Mar 28 11:12:50 2013, CHANSEN wrote: Show quoted text
> I have uploaded a new version to CPAN that skips the test on Perl > versions from 5.17.7 to 5.17.9 (inclusive). > > -- > chansen