[pca] Perl warnings on X86

Glenn Satchell glenn.satchell at uniq.com.au
Wed Oct 27 13:43:29 CEST 2010


Make sure /usr/bin/perl is a symlink to the Solaris perl, like this:

% ls -l /usr/bin/perl
lrwxrwxrwx   1 root     root          23 Feb 17  2005 /usr/bin/perl -> 
../perl5/5.8.4/bin/perl

Otherwise try downloading it again (don't do a cut and paste, but rather 
right click and Save As) in case it is corrupted, or has carriage 
returns in there as well as newlines for end-of-line?

regards,
-glenn

On 10/27/10 02:21, Fredrich Maney wrote:
> All,
>
> We are getting the following errors when running pca 20100910-01 on a X4450.
>
>
> readline() on closed filehandle W at /patchrep/pca.pl line 1114.
> Use of uninitialized value in scalar chomp at /patchrep/pca.pl line 1114.
> Use of uninitialized value in substitution (s///) at /patchrep/pca.pl line 1116.
> Use of uninitialized value in split at /patchrep/pca.pl line 1116.
> Use of uninitialized value in multiplication (*) at /patchrep/pca.pl line 1117.
> Use of uninitialized value in multiplication (*) at /patchrep/pca.pl line 1117.
> Can't exec "/patchrep/wget": Invalid argument at /patchrep/pca.pl line 1119.
> readline() on closed filehandle W at /patchrep/pca.pl line 1119.
> Use of uninitialized value in concatenation (.) or string at /patchrep/pca.pl line 1120.
> readline() on closed filehandle W at /patchrep/pca.pl line 1114.
> Use of uninitialized value in scalar chomp at /patchrep/pca.pl line 1114.
> Use of uninitialized value in substitution (s///) at /patchrep/pca.pl line 1116.
> Use of uninitialized value in split at /patchrep/pca.pl line 1116.
> Use of uninitialized value in multiplication (*) at /patchrep/pca.pl line 1117.
> Use of uninitialized value in multiplication (*) at /patchrep/pca.pl line 1117.
> Can't exec "/patchrep/wget": Invalid argument at /patchrep/pca.pl line 1119.
> readline() on closed filehandle W at /patchrep/pca.pl line 1119.
> Use of uninitialized value in concatenation (.) or string at /patchrep/pca.pl line 1120.
>
>
> Here are the particulars on the system.
>
> System Configuration: Sun Microsystems SUN FIRE X4450
> BIOS Configuration: American Megatrends Inc. S93_3B66 01/19/2010
> BMC Configuration: IPMI 2.0 (KCS: Keyboard Controller Style)
>
>                         Solaris 10 10/08 s10x_u6wos_07b X86
>             Copyright 2008 Sun Microsystems, Inc.  All Rights Reserved.
>                          Use is subject to license terms.
>                              Assembled 27 October 2008
>
> $ perl -V
> Summary of my perl5 (revision 5 version 8 subversion 4) configuration:
>    Platform:
>      osname=solaris, osvers=2.10, archname=i86pc-solaris-64int
>      uname='sunos localhost 5.10 i86pc i386 i86pc'
>      config_args=''
>      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=define use64bitall=undef uselongdouble=undef
>      usemymalloc=n, bincompat5005=undef
>    Compiler:
>      cc='cc', ccflags ='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO',
>      optimize='-xO3 -xspace -xildoff',
>      cppflags=''
>      ccversion='Sun WorkShop', gccversion='', 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='cc', ldflags =''
>      libpth=/lib /usr/lib /usr/ccs/lib
>      libs=-lsocket -lnsl -ldl -lm -lc
>      perllibs=-lsocket -lnsl -ldl -lm -lc
>      libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so
>      gnulibc_version=''
>    Dynamic Linking:
>      dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-R /usr/perl5/5.8.4/lib/i86pc-solaris-64int/CORE'
>      cccdlflags='-KPIC', lddlflags='-G'
>
>
> Characteristics of this binary (from libperl):
>    Compile-time options: USE_64_BIT_INT USE_LARGE_FILES
>    Locally applied patches:
>          22667 The optree builder was looping when constructing the ops ...
>          22715 Upgrade to FileCache 1.04
>          22733 Missing copyright in the README.
>          22746 fix a coredump caused by rv2gv not fully converting a PV ...
>          22755 Fix 29149 - another UTF8 cache bug hit by substr.
>          22774 [perl #28938] split could leave an array without ...
>          22775 [perl #29127] scalar delete of empty slice returned garbage
>          22776 [perl #28986] perl -e "open m" crashes Perl
>          22777 add test for change #22776 ("open m" crashes Perl)
>          22778 add test for change #22746 ([perl #29102] Crash on assign ...
>          22781 [perl #29340] Bizarre copy of ARRAY make sure a pad op's ...
>          22796 [perl #29346] Double warning for int(undef) and abs(undef) ...
>          22818 BOM-marked and (BOMless) UTF-16 scripts not working
>          22823 [perl #29581] glob() misses a lot of matches
>          22827 Smoke [5.9.2] 22818 FAIL(F) MSWin32 WinXP/.Net SP1 (x86/1 cpu)
>          22830 [perl #29637] Thread creation time is hypersensitive
>          22831 improve hashing algorithm for ptr tables in perl_clone: ...
>          22839 [perl #29790] Optimization busted: '@a = "b", sort @a' ...
>          22850 [PATCH] 'perl -v' fails if local_patches contains code snippets
>          22852 TEST needs to ignore SCM files
>          22886 Pod::Find should ignore SCM files and dirs
>          22888 Remove redundant %SIG assignments from FileCache
>          23006 [perl #30509] use encoding and "eq" cause memory leak
>          23074 Segfault using HTML::Entities
>          23106 Numeric comparison operators mustn't compare addresses of ...
>          23320 [perl #30066] Memory leak in nested shared data structures ...
>          23321 [perl #31459] Bug in read()
>          27722 perlio.c breaks on Solaris/gcc when>  256 FDs are available
>          SPRINTF0 - fixes for sprintf formatting issues - CVE-2005-3962
>          6663288 Upgrade to CGI.pm 3.33
>          REGEXP0 - fix for UTF-8 recoding in regexps - CVE-2007-5116
>    Built under solaris
>    Compiled at Jul 31 2008 10:45:31
>    @INC:
>      /usr/perl5/5.8.4/lib/i86pc-solaris-64int
>      /usr/perl5/5.8.4/lib
>      /usr/perl5/site_perl/5.8.4/i86pc-solaris-64int
>      /usr/perl5/site_perl/5.8.4
>      /usr/perl5/site_perl
>      /usr/perl5/vendor_perl/5.8.4/i86pc-solaris-64int
>      /usr/perl5/vendor_perl/5.8.4
>      /usr/perl5/vendor_perl
>      .
>
>
> Anyone have any ideas?
>
> Thanks,
> fpsm
> --
> Fredrich Maney, SCSA, SCNA, SCSecA
> UNIX Systems Administrator
> +1.502.515.4737 direct
> +1.502.417.6916 mobile
> +1.502.515.4848 fax
> fmaney at arccorp.com
>
> arc
> 9420 Bunsen Parkway, Suite 300
> Louisville, KY 40220-4206
> http://www.arccorp.com
>
>
>
>


-- 
regards,
-glenn
--
Glenn Satchell                            |  Miss 9: What do you
Uniq Advances Pty Ltd, Sydney Australia   |  do at work Dad?
mailto:glenn.satchell at uniq.com.au         |  Miss 6: He just
http://www.uniq.com.au tel:0409-458-580   |  types random stuff.



More information about the pca mailing list