Latexmk uses deprecated function File::Glob::glob()

Bug #1765220 reported by Md Ayquassar
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
latexmk (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Upon doing `latexmk -c <my_file_name>`, I got

Latexmk: This is Latexmk, John Collins, 1 January 2015, version: 4.41.
File::Glob::glob() will disappear in perl 5.30. Use File::Glob::bsd_glob() instead. at /usr/bin/latexmk line 3259

So far, no ill effects except this printf.
I guess, whoever maintains latexmk (or updates it from the upstream), better take care of the bug before the package gets unusable...

My Ubuntu version is an up-to-date 17.10, codename "artful". As for perl, its package version is 5.26.0-8ubuntu1.1. After an update to Bionic Beaver, the message still persists.

description: updated
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in latexmk (Ubuntu):
status: New → Confirmed
Revision history for this message
Erik Auerswald (auerswal) wrote :

Same for me, e.g. using the -C or -c options w/o filename:

$ latexmk -C
Latexmk: This is Latexmk, John Collins, 1 January 2015, version: 4.41.
File::Glob::glob() will disappear in perl 5.30. Use File::Glob::bsd_glob() instead. at /usr/bin/latexmk line 7482.

$ latexmk -c
Latexmk: This is Latexmk, John Collins, 1 January 2015, version: 4.41.
File::Glob::glob() will disappear in perl 5.30. Use File::Glob::bsd_glob() instead. at /usr/bin/latexmk line 7482.

Current (2019-03-21) stable Perl version seems to be 5.28.1, which seems to be the Perl version for Ubuntu 19.04, but I would like to suggest looking into this sooner rather than later.

The latexmk version history at http://personal.psu.edu/jcc8//software/latexmk-jcc/versions.html shows that version V. 4.54 dated 20 November 2017 addresses this problem, with V. 4.54c dated 12 December 2017 adding a fix regarding this for older Perl installations. The current version seems to be V. 4.63b dated 17 March 2019. Upgrading to a newer version latexmk could perhaps be considered.

Thanks,
Erik

Revision history for this message
Md Ayquassar (mdayquassar) wrote :

Looks fixed to me as of now in focal. @auerswal : Still present for you? If not, please close or suggest closing the issue report.

Changed in latexmk (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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