MidnightBSD Magus

sysutils/backuppc

Multi-platform backup to disk-based storage

Flavor Version Run OSVersion Arch License Restricted Status
3.3.2 630 4.0 i386 gpl2 0 fail

License Permissions: dist-mirror dist-sell pkg-mirror pkg-sell auto-accept

Events

Machine Type Time Message
m4032 info 2026-02-09 01:53:07.877273 Test Started
m4032 fail 2026-02-09 01:53:17.332028 make fake returned non-zero: 1
m4032 fail 2026-02-09 01:53:17.390842 Test complete.

Log

===>  Faking install for backuppc-3.3.2
===>   Generating temporary packing list
===> Creating users and/or groups.
Creating group `backuppc' with gid `300'.
Creating user `backuppc' with uid `300'.
cd /magus/work/usr/mports/sysutils/backuppc/work/BackupPC-3.3.2 && /usr/local/bin/perl configure.pl	 --batch				 --backuppc-user backuppc	 --bin-path perl=/usr/local/bin/perl		 --config-dir /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/usr/local/etc/backuppc		 --cgi-dir /usr/local/www/cgi-bin		 --data-dir /var/db/BackupPC	 --dest-dir /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386		 --fhs				 --html-dir /usr/local/www/backuppc		 --html-dir-url /backuppc	 --install-dir /usr/local		 --log-dir /var/log/BackupPC	 --no-set-perms			 --uid-ignore

Is this a new installation or upgrade for BackupPC?  If this is
an upgrade please tell me the full path of the existing BackupPC
configuration file (eg: /usr/local/etc/backuppc/config.pl).  Otherwise, just
hit return.

--> Full path to existing main config.pl []

I found the following locations for these programs:

    bzip2        => /usr/bin/bzip2
    cat          => /bin/cat
    df           => /bin/df
    gtar/tar     => /usr/bin/tar
    gzip         => /usr/bin/gzip
    hostname     => /bin/hostname
    nmblookup    => 
    par2         => 
    perl         => /usr/local/bin/perl
    ping         => /sbin/ping
    rsync        => 
    sendmail     => /usr/sbin/sendmail
    smbclient    => 
    split        => /usr/bin/split
    ssh/ssh2     => /usr/bin/ssh

--> Are these paths correct? [y]

Please tell me the hostname of the machine that BackupPC will run on.

--> BackupPC will run on host [m4032]

BackupPC should run as a dedicated user with limited privileges.  You
need to create a user.  This user will need read/write permission on
the main data directory and read/execute permission on the install
directory (these directories will be setup shortly).

The primary group for this user should also be chosen carefully.
The data directories and files will have group read permission,
so group members can access backup files.

--> BackupPC should run as user [backuppc]

Please specify an install directory for BackupPC.  This is where the
BackupPC scripts, library and documentation will be installed.

--> Install directory (full path) [/usr/local]

Please specify a data directory for BackupPC.  This is where all the
PC backup data is stored.  This file system needs to be big enough to
accommodate all the PCs you expect to backup (eg: at least several GB
per machine).

--> Data directory (full path) [/var/db/BackupPC]

BackupPC can compress pool files, providing around a 40% reduction in pool
size (your mileage may vary). Specify the compression level (0 turns
off compression, and 1 to 9 represent good/fastest to best/slowest).
The recommended values are 0 (off) or 3 (reasonable compression and speed).
Increasing the compression level to 5 will use around 20% more cpu time
and give perhaps 2-3% more compression.

--> Compression level [3]

BackupPC has a powerful CGI perl interface that runs under Apache.
A single executable needs to be installed in a cgi-bin directory.
This executable needs to run as set-uid backuppc, or
it can be run under mod_perl with Apache running as user backuppc.

Leave this path empty if you don't want to install the CGI interface.

--> CGI bin directory (full path) [/usr/local/www/cgi-bin]

BackupPC's CGI script needs to display various PNG/GIF images that
should be stored where Apache can serve them.  They should be placed
somewhere under Apache's DocumentRoot.  BackupPC also needs to know
the URL to access these images.  Example:

    Apache image directory:  /var/www/htdocs/BackupPC
    URL for image directory: /BackupPC

The URL for the image directory should start with a slash.

--> Apache image directory (full path) [/usr/local/www/backuppc]
--> URL for image directory (omit http://host; starts with '/') [/backuppc]

Ok, we're about to:

  - install the binaries, lib and docs in /usr/local,
  - create the data directory /var/db/BackupPC,
  - create/update the config.pl file /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/usr/local/etc/backuppc/config.pl,
  - optionally install the cgi-bin interface.

--> Do you want to continue? [y]
Created /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/usr/local/share/doc/backuppc
Created /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/usr/local/lib/BackupPC/CGI
Created /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/usr/local/lib/BackupPC/Config
Created /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/usr/local/lib/BackupPC/Lang
Created /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/usr/local/lib/BackupPC/Storage
Created /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/usr/local/lib/BackupPC/Xfer
Created /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/usr/local/lib/BackupPC/Zip
Created /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/usr/local/lib/Net/FTP
Created /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/usr/local/www/backuppc
Created /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/var/db/BackupPC
Created /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/var/db/BackupPC/pool
Created /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/var/db/BackupPC/cpool
Created /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/var/db/BackupPC/pc
Created /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/var/db/BackupPC/trash
Created /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/usr/local/etc/backuppc
Created /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/var/log/BackupPC
Installing binaries in /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/usr/local/bin
Installing library in /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/usr/local/lib
Installing images in /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/usr/local/www/backuppc
Making init.d scripts
Making Apache configuration file for suid-perl
Installing docs in /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/usr/local/share/doc/backuppc
Installing config.pl and hosts in /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/usr/local/etc/backuppc
Installing cgi script BackupPC_Admin in /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/usr/local/www/cgi-bin

Ok, it looks like we are finished.  There are several more things you
will need to do:

  - Browse through the config file, /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/usr/local/etc/backuppc/config.pl,
    and make sure all the settings are correct.  In particular,
    you will need to set $Conf{CgiAdminUsers} so you have
    administration privileges in the CGI interface.

  - Edit the list of hosts to backup in /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/usr/local/etc/backuppc/hosts.

  - Read the documentation in /usr/local/doc/BackupPC.html.
    Please pay special attention to the security section.

  - Verify that the CGI script BackupPC_Admin runs correctly.  You might
    need to change the permissions or group ownership of BackupPC_Admin.
    If this is an upgrade and you are using mod_perl, you will need
    to restart Apache.  Otherwise it will have stale code.

  - BackupPC should be ready to start.  Don't forget to run it
    as user backuppc!  The installation also contains an
    init.d/backuppc script that can be copied to /etc/init.d
    so that BackupPC can auto-start on boot.  This will also enable
    administrative users to start the server from the CGI interface.
    See init.d/README.

Enjoy!
pod2man --section=1 --release=3.3.2  --name=BackupPC --center="BackupPC user guide"  /magus/work/usr/mports/sysutils/backuppc/work/BackupPC-3.3.2/doc/BackupPC.pod /magus/work/usr/mports/sysutils/backuppc/work/BackupPC-3.3.2/backuppc.1
install  -m 444 /magus/work/usr/mports/sysutils/backuppc/work/BackupPC-3.3.2/backuppc.1 /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/usr/local/share/man/man1
/bin/mkdir -p /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/usr/local/share/doc/backuppc
cd /magus/work/usr/mports/sysutils/backuppc/work/BackupPC-3.3.2 && install  -m 0644 ChangeLog LICENSE README /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/usr/local/share/doc/backuppc
cp -f /magus/work/usr/mports/sysutils/backuppc/work/BackupPC-3.3.2/doc/BackupPC.html /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/usr/local/www/backuppc
/bin/mkdir -p /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/usr/local/etc/backuppc
/bin/rm -f /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/usr/local/etc/backuppc/config.pl
/bin/rm -f /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/usr/local/etc/backuppc/hosts
cp -f /magus/work/usr/mports/sysutils/backuppc/work/BackupPC-3.3.2/conf/config.pl /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/usr/local/etc/backuppc/config.pl.sample
cp -f /magus/work/usr/mports/sysutils/backuppc/work/BackupPC-3.3.2/conf/hosts /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/usr/local/etc/backuppc/hosts.sample
cp -f /magus/work/usr/mports/sysutils/backuppc/work/update.sh /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/usr/local/etc/backuppc/update.sh
/bin/mkdir -p /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/usr/local/libexec/backuppc
cp -f /magus/work/usr/mports/sysutils/backuppc/work/BackupPC-3.3.2/update.pl /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/usr/local/libexec/backuppc/update.pl
/usr/bin/sed -i.bak -e 's|/magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386||g' /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/usr/local/lib/BackupPC/Lib.pm  /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/usr/local/share/doc/backuppc/BackupPC.html  /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/usr/local/share/doc/backuppc/BackupPC.pod
====> Compressing man pages (compress-man)
===> Staging rc.d startup script(s)
===> Correct pkg-plist sequence to create group(s) and user(s)
Checking /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386
Checking for missing files. NOTE: may have false positives if plist uses @cwd
    /usr/local/lib/BackupPC/Lib.pm.bak is missing from the plist
    /usr/local/share/doc/backuppc/BackupPC.html.bak is missing from the plist
    /usr/local/share/doc/backuppc/BackupPC.pod.bak is missing from the plist
    /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/usr/local/etc/backuppc/hosts is missing from the plist
    /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/usr/local/etc/backuppc/config.pl is missing from the plist
Fake succeeded.
====> Running Q/A tests (fake-qa)
Error: 'lib/BackupPC/Lib.pm.bak' is referring to /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386
Error: 'share/doc/backuppc/BackupPC.html.bak' is referring to /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386
Error: 'share/doc/backuppc/BackupPC.pod.bak' is referring to /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386
Error: '/magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386/usr/local/etc/backuppc/config.pl' is referring to /magus/work/usr/mports/sysutils/backuppc/work/fake-inst-i386
Warning: www/p5-CGI was in Perl CORE.  Check with `corelist CGI 0` and `corelist -a CGI` if it should be conditionally added depending on PERL_LEVEL
Warning: archivers/p5-IO-Compress is present in Perl CORE.  Check with `corelist IO::Compress 0` and `corelist -a IO::Compress` if the dependency is really needed or if it should be conditionally added depending on PERL_LEVEL
/usr/mports/Mk/scripts/qa.sh: pkg: not found
Notice: You have some Perl modules as dependencies but you do not have devel/p5-Module-CoreList installed, the perlcore QA check gets better results when using it, especially with older Perl versions.
*** Error code 1

Stop.
make: stopped in /usr/mports/sysutils/backuppc

Links

Depends On

Depend Of

Nothing

Categories

CVEs

  • Loading CVE information...

LLM Analysis