[MacPorts] #49571: backuppc: cannot load the package BackupPC::Lib
#49571: backuppc: cannot load the package BackupPC::Lib ---------------------+-------------------------------- Reporter: mojca@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: ---------------------+-------------------------------- I'm attaching the patch to bring `backuppc` up to Perl5.22 (#48365), but I'm unable to install the port: {{{ Error loading BackupPC::Lib: syntax error at lib/BackupPC/Storage/Text.pm line 298, near "$param qw(BackupFilesOnly BackupFilesExclude)" Global symbol "$param" requires explicit package name (did you forget to declare "my $param"?) at lib/BackupPC/Storage/Text.pm line 299. Global symbol "$conf" requires explicit package name (did you forget to declare "my $conf"?) at lib/BackupPC/Storage/Text.pm line 299. Global symbol "$param" requires explicit package name (did you forget to declare "my $param"?) at lib/BackupPC/Storage/Text.pm line 299. Global symbol "$conf" requires explicit package name (did you forget to declare "my $conf"?) at lib/BackupPC/Storage/Text.pm line 300. Global symbol "$param" requires explicit package name (did you forget to declare "my $param"?) at lib/BackupPC/Storage/Text.pm line 300. Global symbol "$conf" requires explicit package name (did you forget to declare "my $conf"?) at lib/BackupPC/Storage/Text.pm line 300. Global symbol "$param" requires explicit package name (did you forget to declare "my $param"?) at lib/BackupPC/Storage/Text.pm line 300. Global symbol "$conf" requires explicit package name (did you forget to declare "my $conf"?) at lib/BackupPC/Storage/Text.pm line 301. Global symbol "$param" requires explicit package name (did you forget to declare "my $param"?) at lib/BackupPC/Storage/Text.pm line 301. Global symbol "$conf" requires explicit package name (did you forget to declare "my $conf"?) at lib/BackupPC/Storage/Text.pm line 302. Global symbol "$param" requires explicit package name (did you forget to declare "my $param"?) at lib/BackupPC/Storage/Text.pm line 302. Global symbol "$conf" requires explicit package name (did you forget to declare "my $conf"?) at lib/BackupPC/Storage/Text.pm line 302. Global symbol "$param" requires explicit package name (did you forget to declare "my $param"?) at lib/BackupPC/Storage/Text.pm line 302. syntax error at lib/BackupPC/Storage/Text.pm line 303, near "}" lib/BackupPC/Storage/Text.pm has too many errors. Compilation failed in require at lib/BackupPC/Storage.pm line 41. BEGIN failed--compilation aborted at lib/BackupPC/Storage.pm line 41. Compilation failed in require at lib/BackupPC/Lib.pm line 43. BEGIN failed--compilation aborted at lib/BackupPC/Lib.pm line 43. Compilation failed in require at (eval 19) line 2. BEGIN failed--compilation aborted at (eval 19) line 2. BackupPC cannot load the package BackupPC::Lib, which is included in the BackupPC distribution. This probably means you did not cd to the unpacked BackupPC distribution before running configure.pl, eg: cd BackupPC-3.1.0 ./configure.pl Please try again. }}} I'm not sure if this is in any way related to the Perl upgrade (it is probably not). -- Ticket URL: <https://trac.macports.org/ticket/49571> MacPorts <https://www.macports.org/> Ports system for OS X
#49571: backuppc: cannot load the package BackupPC::Lib -----------------------+-------------------------------- Reporter: mojca@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: backuppc | -----------------------+-------------------------------- Changes (by mf2k@…): * port: => backuppc -- Ticket URL: <https://trac.macports.org/ticket/49571#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#49571: backuppc: cannot load the package BackupPC::Lib -----------------------+-------------------------------- Reporter: mojca@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: backuppc | -----------------------+-------------------------------- Comment (by ionic@…): It's probably both. The reason for this breakage is likely that newer perl versions are stricter than older ones and thus do not let you get away with defining global symbols "as-is" anymore. It's pretty moot, though, because the port is outdated anyway. We should try to update it to the most recent version 3.3.1 first. -- Ticket URL: <https://trac.macports.org/ticket/49571#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#49571: backuppc: cannot load the package BackupPC::Lib -----------------------+-------------------------------- Reporter: mojca@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: backuppc | -----------------------+-------------------------------- Comment (by mojca@…): It would help a lot if we had someone who actually knows how to test this software. While we can adapt the software, it will be a lot of blind guessing whether it still works or not. The last commit from "someone who knew what he was doing" (ie. maintainer) was on 2010-01-19. -- Ticket URL: <https://trac.macports.org/ticket/49571#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#49571: backuppc: cannot load the package BackupPC::Lib -----------------------+-------------------------------- Reporter: mojca@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: backuppc | -----------------------+-------------------------------- Changes (by mojca@…): * status: new => closed * resolution: => fixed Comment: I committed r144339, but I'll be surprized if this thing actually works. -- Ticket URL: <https://trac.macports.org/ticket/49571#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts