develooper Front page | perl.perl5.porters | Postings from June 2011

[perl #93638] Incorrect entry in $LS_COLORS causes glob() failures

Thread Next
From:
brian greenfield
Date:
June 29, 2011 00:46
Subject:
[perl #93638] Incorrect entry in $LS_COLORS causes glob() failures
Message ID:
rt-3.6.HEAD-16080-1309201746-218.93638-75-0@perl.org
# New Ticket Created by  brian greenfield 
# Please include the string:  [perl #93638]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=93638 >


This is a bug report for perl from 0briang0@gmail.com,
generated with the help of perlbug 1.39 running under perl 5.15.0.


-----------------------------------------------------------------
[Please describe your issue here]

If $LS_COLORS contains an entry that csh does not understand, it
displays an error message ("Unknown colorls variable `mh'"), exits and
returns an error status. In some circumstances, miniperl implements
glob() using csh causing glob() to fail.

This error manifested itself in a fresh install of FreeBSD 8.2 causing
failures in t/porting/dual-life.t and t/porting/podcheck.t. I also
encountered it in FreeBSD 8.1.

    # Failed at porting/dual-life.t line 55
    # Failed at porting/dual-life.t line 55
    # Failed at porting/dual-life.t line 55
    # Failed at porting/dual-life.t line 55
    # Failed at porting/dual-life.t line 55
    porting/dual-life.t .......
    Failed 5/18 subtests
    porting/exec-bit.t ........ ok
    porting/filenames.t ....... ok
    porting/maintainers.t ..... ok
    porting/manifest.t ........ ok
    porting/podcheck.t ........
    Failed 4/1426 subtests

These failures occur in all perls derived from v5.13.5-303-gcde5101
(Move pod2usage.PL, podchecker.PL, podselect.PL into
cpan/Pod-Parser/scripts)

[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=core
    severity=low
---
Site configuration information for perl 5.15.0:

Configured by bri at Mon Jun 27 16:51:23 BST 2011.

Summary of my perl5 (revision 5 version 15 subversion 0) configuration:
  Commit id: 7c2d9d03f8b64a80661ece16e7bfc15456ae3400
  Platform:
    osname=freebsd, osvers=8.1-release, archname=amd64-freebsd
    uname='freebsd fbsd.local 8.1-release freebsd 8.1-release #0: mon
jul 19 02:36:49 utc 2010
root@mason.cse.buffalo.edu:usrobjusrsrcsysgeneric amd64 '
    config_args='-des -Dusedevel -Dcc=ccache cc'
    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='ccache cc', ccflags ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H
-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include',
    optimize='-O',
    cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H
-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.2.1 20070719  [FreeBSD]', 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='ccache cc', ldflags ='-Wl,-E  -fstack-protector -L/usr/local/lib'
    libpth=/usr/lib /usr/local/lib
    libs=-lm -lcrypt -lutil -lc
    perllibs=-lm -lcrypt -lutil -lc
    libc=, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-DPIC -fPIC', lddlflags='-shared  -L/usr/local/lib
-fstack-protector'

Locally applied patches:


---
@INC for perl 5.15.0:
    lib
    /usr/local/lib/perl5/site_perl/5.15.0/amd64-freebsd
    /usr/local/lib/perl5/site_perl/5.15.0
    /usr/local/lib/perl5/5.15.0/amd64-freebsd
    /usr/local/lib/perl5/5.15.0
    /usr/local/lib/perl5/site_perl
    .

---
Environment for perl 5.15.0:
    HOME=/home/bri
    LANG=C
    LANGUAGE (unset)
    LC_ALL=C
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/home/bri/bin:/home/bri/perl5/perlbrew/bin:~/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/home/bri/bin
    PERLBREW_HOME=/home/bri/.perlbrew
    PERLBREW_PATH=/home/bri/perl5/perlbrew/bin
    PERLBREW_ROOT=/home/bri/perl5/perlbrew
    PERLBREW_VERSION=0.24
    PERL_BADLANG (unset)
    PERL_CPANM_OPT=--prompt --mirror http://172.16.1.3/cpan/
    SHELL=/usr/local/bin/bash


Thread Next


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