Hi,
Since upgrading from Fedora 40 to 41 I’ve started seeing the following Perl
error message when the BackupPC_nightly and BackupPC_rrdUpdate routines are run:
Attempt to call undefined import method with arguments (":BPC_DT_ALL") via
package "BackupPC::Lib" (Perhaps you forgot to load the package?) at
/usr/share/BackupPC/bin/BackupPC_nightly line 89.
Attempt to call undefined import method with arguments (":BPC_DT_ALL") via
package "BackupPC::Lib" (Perhaps you forgot to load the package?) at
/usr/share/BackupPC/bin/BackupPC_rrdUpdate line 42.
In both cases the statement causing the error in the nightly and rrdUpdate
scripts is:
use BackupPC::Lib qw( :BPC_DT_ALL );
I think this may be related to the move to Perl version 5.40.0 under Fedora 41.
Fedora 40 used Perl version 5.38.2 and no error occurs.
The (":BPC_DT_ALL") argument doesn’t seem to appear in any other scripts
Can this error be ignored as it doesn’t seem to affect anything other than
generate that error message?
Thanks
Alan
_______________________________________________
BackupPC-users mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/