Fails to build: Failed test at t/utf8.t line 23. #218

Closed
carnil opened this Issue Jan 11, 2012 · 7 comments

Comments

Projects
None yet
3 participants

carnil commented Jan 11, 2012

Hi

In the Debian distribution trying to rebuild the package we currently provide in unstable and testing it fails to build from source. It's the same with 2.9.1.

I have build failure to failed test t/utf8.t:

#   Failed test at t/utf8.t line 23.
# {
#   'GLOB(0x2209da0)' => [
#     'unix',
#     'perlio'
#   ]
# }
# Looks like you failed 1 test of 8.
t/utf8.t ..................... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/8 subtests

The full build log could be found in [1,2].

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=libperl5i-perl_2.9.0-1_amd64.build.gz;att=1;bug=655329
[2] http://bugs.debian.org/655329

Do you have an idea/hint what could be going on here?

It builded fine in past [3] except for armel or mips now.

[3] https://buildd.debian.org/status/logs.php?pkg=libperl5i-perl

Regards,
Salvatore

Contributor

doherty commented Jan 11, 2012

Could you please provide test output for the module utf8::all? You can easily do this with the following set of commands:

shell:~$ cpan
cpan> test utf8::all
...

carnil commented Jan 18, 2012

Hi Mike

(sorry for the late reply)

On Wed, Jan 11, 2012 at 06:18:05AM -0800, Mike Doherty wrote:

Could you please provide test output for the module utf8::all? You
can easily do this with the following set of commands:

shell:~$ cpan
cpan> test utf8::all
...

Ok, I did a rebuild of utf8::all too. It does not have test failures:

dh_auto_test
t/00-compile.t ..... ok
t/ARGV.t ........... ok
t/ARGV_twice.t ..... ok
t/charnames.t ...... ok
t/lexical-again.t .. ok
t/lexical.t ........ ok
t/open.t ........... ok
t/utf8.t ........... ok
All tests successful.
Files=8, Tests=27, 0 wallclock secs ( 0.03 usr 0.02 sys + 0.35 cusr 0.06 csys = 0.46 CPU)
Result: PASS

I have not yet further investigated the issue for perl5i.

Regards and many thanks,
Salvatore

Contributor

doherty commented Jan 18, 2012

Thanks. I think the best solution may be to remove that test rather than duplicating what utf8::all's test suite does. That said, I don't see the difference between the tests that would explain the failure. But it is early in the morning, I'll try again later.

doherty added a commit to doherty/perl5i that referenced this issue Apr 3, 2012

Make one test TODO in t/utf8.t - failure caused by RT#54777
autodie (used in perl5i) causes the open pragma (used in utf8::all)
to fail to modify the default PerlIO layers. This doesn't fix the
underlying issue, it just marks the test as a known failure. Also,
don't try to delete files unless they exist.

Fixes #218
Contributor

doherty commented Apr 3, 2012

@bynari: Unfortunately, at present it looks like you have to choose between autodie and perl5i/utf8::all/open.

Contributor

schwern commented Jun 18, 2012

#223 will fix this issue.

Contributor

schwern commented Jul 7, 2012

That should do it, everything should be working next release coming Real Soon Now™

@schwern schwern closed this Jul 7, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment