Wide character in print at... #336

Closed
toddr opened this Issue Aug 20, 2012 · 3 comments

Projects

None yet

2 participants

@toddr
Contributor
toddr commented Aug 20, 2012

$>perl -MTest::Pod -e'print $Test::Pod::VERSION . "\n"'
1.45

$>prove -wlvm t/00compile.t
$>
t/00compile.t ..
TAP version 13
1..20
ok 1
...
ok 17
not ok 18 - POD test for Test/More.pm

Failed test 'POD test for Test/More.pm'

at t/00compile.t line 41.

Wide character in print at /root/tmp/test-more/lib/TB2/Streamer/Print.pm line 144.
Wide character in print at /usr/local/cpanel/3rdparty/perl/514/lib/perl5/cpanel_lib/TAP/Formatter/Base.pm line 404, line 25.

Test/More.pm (1751): Non-ASCII character seen before =encoding in '☃'. Assuming UTF-8

ok 19
ok 20 - POD test for Test/Simple.pm
#1 test of 20 failed.

Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/20 subtests

Test Summary Report

t/00compile.t (Wstat: 256 Tests: 20 Failed: 1)
Failed test: 18
Non-zero exit status: 1
Files=1, Tests=20, 0 wallclock secs ( 0.05 usr 0.01 sys + 0.40 cusr 0.01 csys = 0.47 CPU)
Result: FAIL

@toddr
Contributor
toddr commented Aug 20, 2012

I got this error off the current clone - 4d5555f

$>perl -V
Summary of my perl5 (revision 5 version 14 subversion 2) configuration:

Platform:
osname=linux, osvers=2.6.18-308.8.2.el5, archname=i386-linux-64int
uname='linux rpmb-centos-5-32bit 2.6.18-308.8.2.el5 #1 smp tue jun 12 09:57:26 edt 2012 i686 i686 i386 gnulinux '
config_args='-des -Dusedevel -Darchname=i386-linux-64int -Dcc=/usr/bin/gcc -Dcpp=/usr/bin/cpp -DDEBUGGING=none -Doptimize=-Os -Dusemymalloc=n -Duseshrplib -Duselargefiles=yes -Duseposix=true -Dhint=recommended -Duseperlio=yes -Dccflags=-I/usr/local/cpanel/3rdparty/perl/514/include -L/usr/local/cpanel/3rdparty/perl/514/lib -I/usr/local/cpanel/3rdparty/include -L/usr/local/cpanel/3rdparty/lib -DAPPLLIB_EXP="/usr/local/cpanel" -Dcppflags=-I/usr/local/cpanel/3rdparty/perl/514/include -L/usr/local/cpanel/3rdparty/perl/514/lib -I/usr/local/cpanel/3rdparty/include -L/usr/local/cpanel/3rdparty/lib -Dldflags=-Wl,-rpath -Wl,/usr/local/cpanel/3rdparty/perl/514/lib -L/usr/local/cpanel/3rdparty/perl/514/lib -L/usr/local/cpanel/3rdparty/lib -Dprefix=/usr/local/cpanel/3rdparty/perl/514 -Dsiteprefix=/opt/cpanel/perl5/514 -Dsitebin=/opt/cpanel/perl5/514/bin -Dsitelib=/opt/cpanel/perl5/514/site_lib -Dusevendorprefix=true -Dvendorbin=/usr/local/cpanel/3rdparty/perl/514/bin -Dvendorprefix=/usr/local/cpanel/3rdparty/perl/514/lib/perl5 -Dvendorlib=/usr/local/cpanel/3rdparty/perl/514/lib/perl5/cpanel_lib -Dprivlib=/usr/local/cpanel/3rdparty/perl/514/lib/perl5/5.14.2 -Dman1dir=none -Dman3dir=none -Dscriptdir=/usr/local/cpanel/3rdparty/perl/514/bin -Dscriptdirexp=/usr/local/cpanel/3rdparty/perl/514/bin -Dsiteman1dir=none -Dsiteman3dir=none -Dinstallman1dir=none -Dversiononly=no -Dinstallusrbinperl=no -Dcf_by=cPanel -Dmyhostname=localhost -Dperladmin=root@localhost -Dcf_email=support@cpanel.net -Di_dbm=/usr/local/cpanel/3rdparty/include -Di_gdbm=/usr/local/cpanel/3rdparty/include -Di_ndbm=/usr/local/cpanel/3rdparty/include -Ud_dosuid -Uuserelocatableinc -Umad -Uusethreads -Uusemultiplicity -Uusesocks -Uuselongdouble -Ui_db -Aldflags=-L/usr/local/cpanel/3rdparty/perl/514/lib -L/usr/local/cpanel/3rdparty/lib -L/usr/lib -L/lib -lgdbm -Dlocincpth=/usr/local/cpanel/3rdparty/perl/514/include /usr/local/cpanel/3rdparty/include /usr/local/include -Duse64bitint -Uuse64bitall -Acflags=-fPIC -DPIC -m32 -I/usr/local/cpanel/3rdparty/perl/514/include -I/usr/local/cpanel/3rdparty/include -Dlibpth=/usr/local/cpanel/3rdparty/perl/514/lib /usr/local/cpanel/3rdparty/lib /usr/local/lib /lib /usr/lib '
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='/usr/bin/gcc', ccflags ='-I/usr/local/cpanel/3rdparty/perl/514/include -L/usr/local/cpanel/3rdparty/perl/514/lib -I/usr/local/cpanel/3rdparty/include -L/usr/local/cpanel/3rdparty/lib -DAPPLLIB_EXP="/usr/local/cpanel" -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-Os',
cppflags='-I/usr/local/cpanel/3rdparty/perl/514/include -L/usr/local/cpanel/3rdparty/perl/514/lib -I/usr/local/cpanel/3rdparty/include -L/usr/local/cpanel/3rdparty/lib -I/usr/local/cpanel/3rdparty/perl/514/include -L/usr/local/cpanel/3rdparty/perl/514/lib -I/usr/local/cpanel/3rdparty/include -L/usr/local/cpanel/3rdparty/lib -DAPPLLIB_EXP="/usr/local/cpanel" -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.1.2 20080704 (Red Hat 4.1.2-52)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='/usr/bin/gcc', ldflags ='-Wl,-rpath -Wl,/usr/local/cpanel/3rdparty/perl/514/lib -L/usr/local/cpanel/3rdparty/perl/514/lib -L/usr/local/cpanel/3rdparty/lib -L/usr/local/cpanel/3rdparty/perl/514/lib -L/usr/local/cpanel/3rdparty/lib -L/usr/lib -L/lib -lgdbm -fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=/lib/libc-2.5.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.5'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/local/cpanel/3rdparty/perl/514/lib/perl5/5.14.2/i386-linux-64int/CORE'
cccdlflags='-fPIC', lddlflags='-shared -Os -L/usr/local/cpanel/3rdparty/perl/514/lib -L/usr/local/cpanel/3rdparty/lib -L/usr/lib -L/lib -L/usr/local/lib -fstack-protector'

Characteristics of this binary (from libperl):
Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP
PERL_PRESERVE_IVUV PERL_USE_DEVEL USE_64_BIT_INT
USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF
Locally applied patches:
cPanel patches
cPanel INC path changes
Disabled some unstable tests on a kvm build server
Cherry pick of 49498ca from p5p (RT 113514)
Built under linux
Compiled at Jul 27 2012 13:09:16
@INC:
/usr/local/cpanel
/usr/local/cpanel/3rdparty/perl/514/lib/perl5/cpanel_lib/i386-linux-64int
/usr/local/cpanel/3rdparty/perl/514/lib/perl5/cpanel_lib
/usr/local/cpanel/3rdparty/perl/514/lib/perl5/5.14.2/i386-linux-64int
/usr/local/cpanel/3rdparty/perl/514/lib/perl5/5.14.2
/opt/cpanel/perl5/514/site_lib/i386-linux-64int
/opt/cpanel/perl5/514/site_lib
.

@toddr
Contributor
toddr commented Aug 20, 2012

I assume this is the same issue:
$>prove -wlvm t/pod.t
t/pod.t ..
TAP version 13
1..68
ok 1 - POD test for blib/lib/Test/Tutorial.pod
ok 2 - POD test for blib/lib/Test/Builder.pm
ok 3 - POD test for blib/lib/Test/Builder2.pm
not ok 4 - POD test for blib/lib/Test/More.pm

Failed test 'POD test for blib/lib/Test/More.pm'

at /usr/local/cpanel/3rdparty/perl/514/lib/perl5/cpanel_lib/Test/Pod.pm line 182.

Wide character in print at /root/tmp/test-more/lib/TB2/Streamer/Print.pm line 144.
Wide character in print at /usr/local/cpanel/3rdparty/perl/514/lib/perl5/cpanel_lib/TAP/Formatter/Base.pm line 404, line 11.

blib/lib/Test/More.pm (1751): Non-ASCII character seen before =encoding in '☃'. Assuming UTF-8

ok 5 - POD test for blib/lib/Test/Simple.pm

@schwern
Member
schwern commented Apr 22, 2013

I believe this was fixed in 1582fb6

@schwern schwern closed this Apr 22, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment