← Back to team overview

pkg-perl-maintainers team mailing list archive

[Bug 2001735] [NEW] BigRat fails to load unless an additional Perl path is specified

 

Public bug reported:

== Ubuntu release version ==

Description:	Ubuntu 22.04.1 LTS
Release:	22.04

The issue manifests on a fresh install of Ubuntu 22.04.1 after
installing all of the updates and the libmath-bigint-gmp-perl package.
The same issue does not manifest in Debian 11.6.0.

== Package version ==

libmath-bigint-gmp-perl:
  Installed: 1.6010-1build1
  Candidate: 1.6010-1build1
  Version table:
 *** 1.6010-1build1 500
        500 http://lt.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        100 /var/lib/dpkg/status

== Expected behaviour ==

The expected behaviour is that upon installing the libmath-bigint-gmp-
perl package the Math::BigRat library properly loads in Perl scripts
without the need to specify any additional Perl paths.

Example of a Bash command that should silently properly execute:

$ perl -e "use Math::BigRat try => 'GMP';"

== Actual behaviour ==

Upon running the following Bash command:

$ perl -e "use Math::BigRat try => 'GMP';"

the following error message is generated instead:

> Undefined subroutine &Math::BigInt::_register_callback called at /usr/share/perl/5.34/Math/BigRat.pm line 2096.
> BEGIN failed--compilation aborted at -e line 1.

Furthermore, is the original command is run with an updated PERL5LIB
variable, the library properly loads as expected, e.g.:

PERL5LIB=/usr/share/perl/5.34 perl -e "use Math::BigRat try => 'GMP';"

** Affects: libmath-bigint-gmp-perl (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Debian
Perl Group, which is subscribed to libmath-bigint-gmp-perl in Ubuntu.
https://bugs.launchpad.net/bugs/2001735

Title:
  BigRat fails to load unless an additional Perl path is specified

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libmath-bigint-gmp-perl/+bug/2001735/+subscriptions



Follow ups