Subject: | [perl #78638] use encoding without any argument produces about 50 errors instead of 1 |
Forwarded from the rt.perl queue:
---------------------------------
This is a bug report for perl from voropaev.andrey@gmail.com,
generated with the help of perlbug 1.39 running under perl 5.12.2.
-----------------------------------------------------------------
[Please describe your issue here]
If one places
use encoding;
in his script, then perl will produce long list of errors in encoding
and other modules
instead of just saying that the name of encoding is missing :)
[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
category=library
severity=none
module=encoding
---
Site configuration information for perl 5.12.2:
Configured by Gentoo at Mon Oct 25 11:45:43 CEST 2010.
Summary of my perl5 (revision 5 version 12 subversion 2) configuration:
Platform:
osname=linux, osvers=2.6.34-gentoo-r11, archname=x86_64-linux
uname='linux vandal 2.6.34-gentoo-r11 #2 mon oct 11 16:13:47 cest 2010
x86_64 amd athlon(tm) 64 processor 3200+ authenticamd gnulinux '
config_args='-des -Duseshrplib -Darchname=x86_64-linux
-Dcc=x86_64-pc-linux-gnu-gcc -Doptimize=-march=athlon64 -O2 -pipe
-Dldflags=-Wl,-O1 -Wl,--as-needed -Dprefix=/usr -Dsiteprefix=/usr
-Dvendorprefix=/usr -Dscriptdir=/usr/bin
-Dprivlib=/usr/lib64/perl5/5.12.2
-Darchlib=/usr/lib64/perl5/5.12.2/x86_64-linux
-Dsitelib=/usr/lib64/perl5/site_perl/5.12.2
-Dsitearch=/usr/lib64/perl5/site_perl/5.12.2/x86_64-linux
-Dvendorlib=/usr/lib64/perl5/vendor_perl/5.12.2
-Dvendorarch=/usr/lib64/perl5/vendor_perl/5.12.2/x86_64-linux
-Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3
-Dsiteman1dir=/usr/share/man/man1 -Dsiteman3dir=/usr/share/man/man3
-Dvendorman1dir=/usr/share/man/man1 -Dvendorman3dir=/usr/share/man/man3
-Dman1ext=1 -Dman3ext=3pm -Dlibperl=libperl.so.5.12.2 -Dlocincpth=
-Duselargefiles -Dd_semctl_semun -Dcf_by=Gentoo -Dmyhostname=localhost
-Dperladmin=root@localhost -Dinstallusrbinperl=n -Ud_csh -Uusenm
-Di_ndbm -Di_gdbm -Di_db -DDEBUGGING=none -Dinc_version_list=
5.12.1/x86_64-linux 5.12.1 5.12.0/x86_64-linux 5.12.0
-Dusrinc=/usr/include -Dlibpth=/usr/local/lib64 /lib64 /usr/lib64'
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='x86_64-pc-linux-gnu-gcc', ccflags ='-fno-strict-aliasing -pipe
-fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-march=athlon64 -O2 -pipe',
cppflags='-fno-strict-aliasing -pipe -fstack-protector'
ccversion='', gccversion='4.4.4', 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='x86_64-pc-linux-gnu-gcc', ldflags ='-Wl,-O1 -Wl,--as-needed
-fstack-protector'
libpth=/usr/local/lib64 /lib64 /usr/lib64
libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=/lib/libc-2.11.2.so, so=so, useshrplib=true, libperl=libperl.so.5.12.2
gnulibc_version='2.11.2'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -march=athlon64 -O2 -pipe
-fstack-protector -Wl,-O1 -Wl,--as-needed'
Locally applied patches:
0001-gentoo_MakeMaker-RUNPATH.diff
0002-gentoo_config_over.diff
0003-gentoo_cpan_definstalldirs.diff
0004-gentoo_cpanplus_definstalldirs.diff
0005-gentoo_create-libperl-soname.diff
0006-gentoo_MakeMaker-delete_packlist.diff
0007-fixes_8d66b3f9_h2hp_fix.diff
---
@INC for perl 5.12.2:
/usr/lib64/perl5/site_perl/5.12.2/x86_64-linux
/usr/lib64/perl5/site_perl/5.12.2
/usr/lib64/perl5/vendor_perl/5.12.2/x86_64-linux
/usr/lib64/perl5/vendor_perl/5.12.2
/usr/lib64/perl5/5.12.2/x86_64-linux
/usr/lib64/perl5/5.12.2
/usr/lib64/perl5/site_perl
/usr/lib64/perl5/vendor_perl
.
---
Environment for perl 5.12.2:
HOME=/home/andrei
LANG (unset)
LANGUAGE (unset)
LC_CTYPE=en_US.UTF-8
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.3:/usr/games/bin:/opt/Adobe/Reader8/bin:/opt/java/jdk1.6.0_03/bin:/opt/Adobe/Reader8/bin:/opt/java/jdk1.6.0_03/bin
PERL_BADLANG (unset)
SHELL=/bin/zsh