develooper Front page | perl.perl5.porters | Postings from October 2005

[perl #37377] PERL_USE_SAFE_PUTENV breaks run/runenv.t tests 12 & 13

From:
Alan Burlison
Date:
October 7, 2005 15:12
Subject:
[perl #37377] PERL_USE_SAFE_PUTENV breaks run/runenv.t tests 12 & 13
Message ID:
rt-3.0.11-37377-122315.1.15295875705044@perl.org
# New Ticket Created by  Alan Burlison 
# Please include the string:  [perl #37377]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=37377 >



This is a bug report for perl from Alan.Burlison@sun.com,
generated with the help of perlbug 1.35 running under perl v5.8.7.


-----------------------------------------------------------------
[Please enter your report here]

See http://rt.perl.org/rt3/Ticket/Display.html?id=37376 for background to this
bug.

Defining the PERL_USE_SAFE_PUTENV macro (to work around #37376) breaks the perl
testsuite, specifically tests 12 and 13 in run/runenv.t.  These are testing the
functionality of the PERLLIB environment variable.  Normally PERLLIB is only
used if PERL5LIB is not set, with the PERL_USE_SAFE_PUTENV macro defined it
appears that PERLLLIB is being ignored even when PERL5LIB is not set.

[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=core
    severity=high
---
Site configuration information for perl v5.8.7:

Summary of my perl5 (revision 5 version 8 subversion 7) configuration:
  Platform:
    osname=solaris, osvers=2.11, archname=i86pc-solaris-64int
    uname='sunos localhost 5.11 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 ='-DDEBUGGING -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -DPERL_USE_SAFE_PUTENV',
    optimize='-g',
    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 /scafoldd/perl5/5.8.7/lib/i86pc-solaris-64int/CORE'
    cccdlflags='-KPIC', lddlflags='-G'

Locally applied patches:
    

---
@INC for perl v5.8.7:
    /scafoldd/infrastructure/bld/perl-5.8.7/lib
    /scafoldd/perl5/5.8.7/lib/i86pc-solaris-64int
    /scafoldd/perl5/5.8.7/lib
    /scafoldd/perl5/site_perl/5.8.7/i86pc-solaris-64int
    /scafoldd/perl5/site_perl/5.8.7
    /scafoldd/perl5/site_perl
    /scafoldd/perl5/vendor_perl/5.8.7/i86pc-solaris-64int
    /scafoldd/perl5/vendor_perl/5.8.7
    /scafoldd/perl5/vendor_perl
    .

---
Environment for perl v5.8.7:
    HOME=/home1/homedir/alanbur
    LANG=en_GB.ISO8859-15
    LANGUAGE (unset)
    LC_ALL=en_GB.ISO8859-15
    LC_MESSAGES=en_GB.ISO8859-15
    LD_LIBRARY_PATH=/scafoldd/infrastructure/bld/perl-5.8.7
    LOGDIR (unset)
    PATH=/home1/homedir/alanbur/bin:/home1/homedir/alanbur/bin/i386:/home1/homedir/alanbur/local_bin:/home1/homedir/alanbur/local_bin/i386:/usr/bin:/usr/sbin:/usr/perl5/bin:/usr/dt/bin:/usr/openwin/bin:/usr/local/bin:/ws-local/on-tools/SUNWspro/SOS10/bin:/ws-local/on-tools/SUNWspro/SOS8/bin:/ws-local/on-tools/onbld/bin:/ws-local/on-tools/onbld/bin/i386:/usr/ccs/bin:/opt/oracle/bin:/usr/sfw/bin
    PERL5LIB=/scafoldd/infrastructure/bld/perl-5.8.7/lib
    PERL_BADLANG (unset)
    SHELL=/bin/ksh




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About