Perl 5.30.0 failed at debug mode

Bug #2008530 reported by Kaixiang Xie
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
perl (Ubuntu)
New
Undecided
Unassigned

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

tags: added: perl
tags: removed: perl
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.