Package: i2c-tools
Version: 3.0.1-1
Severity: minor

This bug was originallt reported to Launchpad (LP: #340476).

The reporter said the following:

decode-dimms generates three warnings from Perl on running.

    $ decode-dimms >/dev/null
    Constant subroutine main::SEEK_SET redefined at /usr/bin/decode-dimms line 
42
            main::BEGIN() called at /usr/bin/decode-dimms line 42
            eval {...} called at /usr/bin/decode-dimms line 42
    Constant subroutine main::SEEK_CUR redefined at /usr/bin/decode-dimms line 
42
            main::BEGIN() called at /usr/bin/decode-dimms line 42
            eval {...} called at /usr/bin/decode-dimms line 42
    Constant subroutine main::SEEK_END redefined at /usr/bin/decode-dimms line 
42
            main::BEGIN() called at /usr/bin/decode-dimms line 42
            eval {...} called at /usr/bin/decode-dimms line 42
    $

It's because it's pulling in stuff from Fcntl that's already arrived
from POSIX. Here's a simpler way to produce the same warnings.

    perl -we 'use POSIX; use Fcntl qw(:DEFAULT :seek)'

-- System Information:
Debian Release: squeeze/sid
  APT prefers karmic-updates
  APT policy: (500, 'karmic-updates'), (500, 'karmic-security'), (500, 'karmic')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-16-generic (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



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

Reply via email to