hi, I have one error, in backuppc interface, and system log : dump failed: can't find Compress::Zlib In my poudriere repository i have this options , in sysutils_backuppc/options : # This file is auto-generated by 'make config'. # Options for backuppc-3.3.0_7 _OPTIONS_READ=backuppc-3.3.0_7 _FILE_COMPLETE_OPTIONS_LIST=ARCHIVE_ZIP COMPRESS_ZLIB DOCS FILE_RSYNCP NMBLOOKUP SMBCLIENT XML_RSS RRD_GRAPHS RRDTOOL OPTIONS_FILE_SET+=ARCHIVE_ZIP OPTIONS_FILE_SET+=COMPRESS_ZLIB OPTIONS_FILE_SET+=DOCS OPTIONS_FILE_SET+=FILE_RSYNCP OPTIONS_FILE_SET+=NMBLOOKUP OPTIONS_FILE_SET+=SMBCLIENT OPTIONS_FILE_SET+=XML_RSS OPTIONS_FILE_UNSET+=RRD_GRAPHS OPTIONS_FILE_SET+=RRDTOOL the package seams to have, COMPRESS_ZLIB , beacause : pkg info backuppc backuppc-3.3.0_7 Name : backuppc Version : 3.3.0_7 Installed on : Wed Oct 1 15:46:45 CEST 2014 Origin : sysutils/backuppc Architecture : freebsd:10:x86:64 Prefix : /usr/local Categories : sysutils Licenses : GPLv2 Maintainer : moiseev@mezonplus.ru WWW : http://backuppc.sourceforge.net Comment : System for backing PCs and laptops to a server Options : ARCHIVE_ZIP : on COMPRESS_ZLIB : on DOCS : on FILE_RSYNCP : on NMBLOOKUP : on RRDTOOL : on RRD_GRAPHS : off SMBCLIENT : on XML_RSS : on Annotations : repo_type : binary repository : zfs03 and you can see : pkg info p5-Compress-Raw-Zlib p5-Compress-Raw-Zlib-2.066 Name : p5-Compress-Raw-Zlib Version : 2.066 Installed on : Wed Oct 1 15:46:45 CEST 2014 Origin : archivers/p5-Compress-Raw-Zlib Architecture : freebsd:10:x86:64 Prefix : /usr/local Categories : perl5 archivers Licenses : GPLv1 or ART10 Maintainer : sunpoet@FreeBSD.org WWW : http://search.cpan.org/dist/Compress-Raw-Zlib/ Comment : Low-Level Interface to zlib compression library Shared Libs provided: Zlib.so uname -a FreeBSD zfs03.univ-lr.fr 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 can you help me, because the backup are broken...
Maintainer CC'd
I can't reproduce the issue. What version of Perl are you using? Looks like BackupPC can't find p5-Compress-Raw-Zlib components (Zlib.pm or Zlib.so). Would you check where that files was actually installed? Just for reference: /usr/local/lib/perl5/site_perl/5.16/mach/Compress/Raw/Zlib.pm /usr/local/lib/perl5/site_perl/5.16/mach/auto/Compress/Raw/Zlib/Zlib.so
hi Thanks for your answer. My perl version : pkg info perl5 perl5-5.16.3_11 Name : perl5 Version : 5.16.3_11 [...] and for files, i have : root@zfs03:~ # ll /usr/local/lib/perl5/site_perl/5.16/mach/Compress/Raw/Zlib.pm -r--r--r-- 1 root wheel 47378 Sep 21 12:41 /usr/local/lib/perl5/site_perl/5.16/mach/Compress/Raw/Zlib.pm root@zfs03:~ # ll /usr/local/lib/perl5/site_perl/5.16/mach/auto/Compress/Raw/Zlib/Zlib.so -r-xr-xr-x 1 root wheel 61769 Oct 1 09:34 /usr/local/lib/perl5/site_perl/5.16/mach/auto/Compress/Raw/Zlib/Zlib.so* bye ! thank you.
Do you have p5-IO-Compress installed? # pkg info p5-IO-Compress # ll /usr/local/lib/perl5/site_perl/5.16/IO/Compress/Zlib/Extra.pm # perl -le 'print foreach @INC' # perl -le 'eval "use Compress::Zlib;"; print "CompZlib OK" unless ( $@ );'
sorry for the lag : Yes i have : pkg info p5-IO-Compress p5-IO-Compress-2.066 Name : p5-IO-Compress Version : 2.066 Installed on : Wed Oct 1 15:42:18 CEST 2014 Origin : archivers/p5-IO-Compress Architecture : freebsd:10:x86:64 Prefix : /usr/local Categories : perl5 archivers Licenses : GPLv1 or ART10 Maintainer : sunpoet@FreeBSD.org WWW : http://search.cpan.org/dist/IO-Compress/ Comment : Perl5 compression modules (bzip2, deflate, gzip, zlib, zip) Annotations : repo_type : binary repository : zfs03 Flat size : 726KiB Description :
Would you provide output of commands from my previous comment?
(In reply to Alexander Moisseev from comment #6) > Would you provide output of commands from my previous comment? oh ! sorry ! ll /usr/local/lib/perl5/site_perl/5.16/IO/Compress/Zlib/Extra.pm -r--r--r-- 1 root wheel 5711 Sep 21 12:41 /usr/local/lib/perl5/site_perl/5.16/IO/Compress/Zlib/Extra.pm root@zfs03:~ # perl -le 'print foreach @INC' /usr/local/lib/perl5/5.16/BSDPAN /usr/local/lib/perl5/site_perl/5.16/mach /usr/local/lib/perl5/site_perl/5.16 /usr/local/lib/perl5/5.16/mach /usr/local/lib/perl5/5.16 . root@zfs03:~ # root@zfs03:~ # perl -le 'eval "use Compress::Zlib;"; print "CompZlib OK" unless ( $@ );' root@zfs03:~ # returned on the last command does nothing
Obviously it is not sysutils/backuppc issue. Your test results indicate that Perl can't find Compress::Zlib module for some reason. I'm sorry, but I have no idea why. Log of my successful test on fresh installed OS: root@10-0-amd64:/home/moiseev # uname -a FreeBSD 10-0-amd64 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 root@10-0-amd64:/home/moiseev # pkg install perl5 Updating FreeBSD repository catalogue... FreeBSD repository is up-to-date. All repositories are up-to-date. Checking integrity... done (0 conflicting) The following 1 packages will be affected (of 0 checked): New packages to be INSTALLED: perl5: 5.16.3_11 The process will require 47 MB more space. Proceed with this action? [y/N]: y [1/1] Installing perl5-5.16.3_11: 100% root@10-0-amd64:/home/moiseev # cd /usr/ports/archivers/p5-IO-Compress root@10-0-amd64:/usr/ports/archivers/p5-IO-Compress # make install clean <<<skipped>>> root@10-0-amd64:/usr/ports/archivers/p5-IO-Compress # pkg info p5-Compress-Raw-Bzip2-2.066 Low-Level Interface to bzip2 compression library p5-Compress-Raw-Zlib-2.066 Low-Level Interface to zlib compression library p5-IO-Compress-2.066 Perl5 compression modules (bzip2, deflate, gzip, zlib, zip) perl5-5.16.3_11 Practical Extraction and Report Language pkg-1.3.8_1 Package manager root@10-0-amd64:/usr/ports/archivers/p5-IO-Compress # perl -le 'eval "use Compress::Zlib;"; print "CompZlib OK" unless ( $@ );' CompZlib OK root@10-0-amd64:/usr/ports/archivers/p5-IO-Compress #
i found a radical solution : pkg delete perl5 [... assume "YES" : and all dependence ... ] pkg install backuppc