Bug#504111: Missing dep on perl causes Use of uninitialized value $uni in pattern match (m//) at /usr/bin/ckbcomp line 3109. - Debian

This is a discussion on Bug#504111: Missing dep on perl causes Use of uninitialized value $uni in pattern match (m//) at /usr/bin/ckbcomp line 3109. - Debian ; Package: console-setup Version: 1.25 Severity: normal Tags: patch Hi line 3109: if (chr($uni) =~ /\p{IsAlpha}/) { cause a warning: Use of uninitialized value $uni in pattern match (m//) at /usr/bin/ckbcomp line 3109. This is visible on boot on minimal system ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: Bug#504111: Missing dep on perl causes Use of uninitialized value $uni in pattern match (m//) at /usr/bin/ckbcomp line 3109.

  1. Bug#504111: Missing dep on perl causes Use of uninitialized value $uni in pattern match (m//) at /usr/bin/ckbcomp line 3109.

    Package: console-setup
    Version: 1.25
    Severity: normal
    Tags: patch

    Hi

    line 3109:
    if (chr($uni) =~ /\p{IsAlpha}/) {
    cause a warning:
    Use of uninitialized value $uni in pattern match (m//) at /usr/bin/ckbcomp line 3109.

    This is visible on boot on minimal system which don't have
    perl/perl-modules installed.

    A smaller test case would be:
    perl -e 'use warnings "all"; chr(hex(323)) =~ /\p{IsAlpha}/'
    Use of uninitialized value $x in scalar assignment at /usr/share/perl/5.10/utf8_heavy.pl line 242.
    Use of uninitialized value $x in pattern match (m//) at /usr/share/perl/5..10/utf8_heavy.pl line 243.
    Use of uninitialized value in pattern match (m//) at -e line 1.
    Use of uninitialized value in pattern match (m//) at -e line 1.

    the warnings go away when installing perl + perl-modules.

    Bye
    --
    Loc Minier



    --
    To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  2. Bug#504111: Missing dep on perl causes Use of uninitialized value $uni in pattern match (m//) at /usr/bin/ckbcomp line 3109.

    On Fri, Oct 31, 2008 at 05:08:48PM +0100, Loc Minier wrote:
    > Package: console-setup
    > Version: 1.25
    > Severity: normal
    > Tags: patch


    > perl -e 'use warnings "all"; chr(hex(323)) =~ /\p{IsAlpha}/'
    > Use of uninitialized value $x in scalar assignment at /usr/share/perl/5..10/utf8_heavy.pl line 242.
    > Use of uninitialized value $x in pattern match (m//) at /usr/share/perl/5.10/utf8_heavy.pl line 243.
    > Use of uninitialized value in pattern match (m//) at -e line 1.
    > Use of uninitialized value in pattern match (m//) at -e line 1.
    >
    > the warnings go away when installing perl + perl-modules.


    Hi Loc,

    I believe this is #480533, already fixed in perl/5.10.0-12. The old
    version of console-setup you reported this against suggests that you
    might be using Ubuntu versions of the packages, which seems to fit that.
    --
    Niko Tyni ntyni@debian.org



    --
    To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  3. Bug#504111: marked as done (Missing dep on perl causes Use of uninitialized value $uni in pattern match (m//) at /usr/bin/ckbcomp line 3109.)


    Your message dated Sat, 1 Nov 2008 10:41:29 +0100
    with message-id <20081101094129.GA4172@fox.dooz.org>
    and subject line Re: Bug#504111: Missing dep on perl causes Use of uninitialized value $uni in pattern match (m//) at /usr/bin/ckbcomp line 3109.
    has caused the Debian Bug report #504111,
    regarding Missing dep on perl causes Use of uninitialized value $uni in pattern match (m//) at /usr/bin/ckbcomp line 3109.
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system
    misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    504111: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504111
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems


+ Reply to Thread