[Bug 2008530] [NEW] Perl 5.30.0 failed at debug mode
Kaixiang Xie
2008530 at bugs.launchpad.net
Fri Feb 24 23:09:32 UTC 2023
Public bug reported:
The system Perl (v5.30.0) failed at the debug mode when using
Getopt::Long and OpenGL::Array. Here is a sample code showing the
problem:
[Test file: t.pl]
#!/usr/bin/env perl
use Getopt::Long;
use OpenGL::Array;
print "hi\n";
[Test command]
$ perl -d t.pl
Loading DB routines from perl5db.pl version 1.55
Editor support available.
Enter h or 'h h' for help, or 'man perldebug' for more help.
Invalid version format (non-numeric data) at /usr/lib/x86_64-linux-gnu/perl/5.30/DynaLoader.pm line 210.
Compilation failed in require at t.pl line 3.
at t.pl line 3.
main::BEGIN() called at t.pl line 3
eval {...} called at t.pl line 3
BEGIN failed--compilation aborted at t.pl line 3.
at t.pl line 3.
Debugged program terminated. Use q to quit or R to restart,
use o inhibit_exit to avoid stopping after program termination,
h q, h R or h o to get additional info.
The system Perl version:
$ perl -v
This is perl 5, version 30, subversion 0 (v5.30.0) built for x86_64-linux-gnu-thread-multi
(with 57 registered patches, see perl -V for more detail)
Copyright 1987-2019, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
It seems like the code works well on Perl v5.36.0. Here is my system info:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.5 LTS
Release: 20.04
Codename: focal
** Affects: perl (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to perl in Ubuntu.
https://bugs.launchpad.net/bugs/2008530
Title:
Perl 5.30.0 failed at debug mode
Status in perl package in Ubuntu:
New
Bug description:
The system Perl (v5.30.0) failed at the debug mode when using
Getopt::Long and OpenGL::Array. Here is a sample code showing the
problem:
[Test file: t.pl]
#!/usr/bin/env perl
use Getopt::Long;
use OpenGL::Array;
print "hi\n";
[Test command]
$ perl -d t.pl
Loading DB routines from perl5db.pl version 1.55
Editor support available.
Enter h or 'h h' for help, or 'man perldebug' for more help.
Invalid version format (non-numeric data) at /usr/lib/x86_64-linux-gnu/perl/5.30/DynaLoader.pm line 210.
Compilation failed in require at t.pl line 3.
at t.pl line 3.
main::BEGIN() called at t.pl line 3
eval {...} called at t.pl line 3
BEGIN failed--compilation aborted at t.pl line 3.
at t.pl line 3.
Debugged program terminated. Use q to quit or R to restart,
use o inhibit_exit to avoid stopping after program termination,
h q, h R or h o to get additional info.
The system Perl version:
$ perl -v
This is perl 5, version 30, subversion 0 (v5.30.0) built for x86_64-linux-gnu-thread-multi
(with 57 registered patches, see perl -V for more detail)
Copyright 1987-2019, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
It seems like the code works well on Perl v5.36.0. Here is my system info:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.5 LTS
Release: 20.04
Codename: focal
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/perl/+bug/2008530/+subscriptions
More information about the foundations-bugs
mailing list