[Bug 342246] [NEW] sub O_BINARY declaration while already exported by IO::File

infogerance" (Rakotomandimby Mihamina tech at infogerance.us
Fri Mar 13 12:56:44 UTC 2009


Public bug reported:

Binary package hint: libdbd-xbase-perl

When using the xbase, I get this error:

Prototype mismatch: sub XBase::Base::O_BINARY () vs none at (eval 7)
line 1.

To solve it, I have to remove the BEGIN block on XBase/Base.pm:
BEGIN { local $^W = 0;
  if ($^O =~ /mswin/i) {
    eval 'use Fcntl qw( O_BINARY )'
  } else {
    eval ' sub O_BINARY { 0 } '
  }
}

It was an indication given by Paul Gaborit on fr.comp.lang.perl, and I
just report.
Ubuntu Intrepid package doesnt patch it yet.

** Affects: libdbd-xbase-perl (Ubuntu)
     Importance: Undecided
         Status: New

-- 
sub O_BINARY declaration while already exported by IO::File
https://bugs.launchpad.net/bugs/342246
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list