=> Building sysutils/backuppc-devel build started at Wed Oct 5 17:43:28 PDT 2016 port directory: /usr/ports/sysutils/backuppc-devel building for: DragonFly pkgbox64.dragonflybsd.org 4.7-DEVELOPMENT DragonFly v4.7.0.78.g7d868-DEVELOPMENT #7: Mon Aug 1 22:25:32 PDT 2016 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 maintained by: moiseev@mezonplus.ru ident warning: no id keywords in /build/boomdata/data/.m/bleeding-edge-default/ref/../07//usr/ports/sysutils/backuppc-devel/Makefile Makefile ident: Poudriere version: 3.1-pre Host OSVERSION: 400700 Jail OSVERSION: 400702 !!! Jail is newer than host. (Jail: 400702, Host: 400700) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- STATUS=1 SAVED_TERM=screen MASTERMNT=/build/boomdata/data/.m/bleeding-edge-default/ref PATH=/usr/local/libexec/poudriere:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/pkg/xorg/bin:/usr/X11R6/bin:/root/bin:/sbin:/usr/sbin POUDRIERE_BUILD_TYPE=bulk PKGNAME=backuppc-devel-4.0.0.a3_4 OLDPWD=/root/boom PWD=/build/boomdata/data/.m/bleeding-edge-default/ref/.p/pool MASTERNAME=bleeding-edge-default TERM=cons25 USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ===> The following configuration options are available for backuppc-devel-4.0.0.a3_4: ARCHIVE_ZIP=on: Perl module for Zip archive files DOCS=on: Build and/or install documentation NMBLOOKUP=off: NetBIOS Name lookup tool RRDTOOL=off: Round Robin Database Tools RSYNC_BPC=off: Modified rsync that used as part of BackupPC SMBCLIENT=off: Samba client XML_RSS=off: Perl extension to manage RSS files ===> Use 'make config' to modify these settings ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl XDG_DATA_HOME=/wrkdirs/sysutils/backuppc-devel XDG_CONFIG_HOME=/wrkdirs/sysutils/backuppc-devel HOME=/wrkdirs/sysutils/backuppc-devel TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/sysutils/backuppc-devel XDG_CONFIG_HOME=/wrkdirs/sysutils/backuppc-devel HOME=/wrkdirs/sysutils/backuppc-devel TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- CGIDIR=www/cgi-bin DISTVERSION=4.0.0alpha3 OSREL=4.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PERL_VERSION=5.20.3 PERL_VER=5.20 PERL5_MAN1=lib/perl5/site_perl/man/man1 PERL5_MAN3=lib/perl5/site_perl/man/man3 SITE_PERL=lib/perl5/site_perl SITE_ARCH=lib/perl5/site_perl/mach/5.20 PROFILE="@comment " DOCSDIR="share/doc/BackupPC" EXAMPLESDIR="share/examples/backuppc" DATADIR="share/backuppc" WWWDIR="www/backuppc" ETCDIR="etc/backuppc" --End PLIST_SUB-- --SUB_LIST-- CGIDIR=/usr/local/www/cgi-bin PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/backuppc DOCSDIR=/usr/local/share/doc/BackupPC EXAMPLESDIR=/usr/local/share/examples/backuppc WWWDIR=/usr/local/www/backuppc ETCDIR=/usr/local/etc/backuppc --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs NO_BACKUP=yes USE_PACKAGE_DEPENDS=yes PKG_CREATE_VERBOSE=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORT_DBDIR=/options PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles MAKE_JOBS_NUMBER=5 ---End make.conf--- =================================================== ===> License GPLv3 accepted by the user =========================================================================== =================================================== ===> backuppc-devel-4.0.0.a3_4 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.8.7_3.txz Installing pkg-1.8.7_3... Extracting pkg-1.8.7_3: .......... done ===> backuppc-devel-4.0.0.a3_4 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of backuppc-devel-4.0.0.a3_4 =========================================================================== =================================================== =========================================================================== =================================================== ===> License GPLv3 accepted by the user ===> Fetching all distfiles required by backuppc-devel-4.0.0.a3_4 for building =========================================================================== =================================================== ===> License GPLv3 accepted by the user ===> Fetching all distfiles required by backuppc-devel-4.0.0.a3_4 for building => SHA256 Checksum OK for BackupPC-4.0.0alpha3.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> License GPLv3 accepted by the user ===> Fetching all distfiles required by backuppc-devel-4.0.0.a3_4 for building ===> Extracting for backuppc-devel-4.0.0.a3_4 => SHA256 Checksum OK for BackupPC-4.0.0alpha3.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for backuppc-devel-4.0.0.a3_4 ===> Applying ports patches for backuppc-devel-4.0.0.a3_4 =========================================================================== =================================================== ===> backuppc-devel-4.0.0.a3_4 depends on package: perl5>=5.20<5.21 - not found ===> Installing existing package /packages/All/perl5-5.20.3_15.txz Installing perl5-5.20.3_15... Extracting perl5-5.20.3_15: .......... done Message from perl5-5.20.3_15: The /usr/bin/perl symlink has been removed starting with Perl 5.20. For shebangs, you should either use: #!/usr/local/bin/perl or #!/usr/bin/env perl The first one will only work if you have a /usr/local/bin/perl, the second will work as long as perl is in PATH. ===> backuppc-devel-4.0.0.a3_4 depends on package: perl5>=5.20<5.21 - found ===> Returning to build of backuppc-devel-4.0.0.a3_4 =========================================================================== =================================================== =========================================================================== =================================================== ===> Configuring for backuppc-devel-4.0.0.a3_4 =========================================================================== =================================================== =========================================================================== =================================================== ===> backuppc-devel-4.0.0.a3_4 depends on package: p5-File-Listing>=0 - not found ===> Installing existing package /packages/All/p5-File-Listing-6.04_1.txz Installing p5-File-Listing-6.04_1... `-- Installing p5-HTTP-Date-6.02_1... `-- Extracting p5-HTTP-Date-6.02_1: ....... done Extracting p5-File-Listing-6.04_1: ....... done ===> backuppc-devel-4.0.0.a3_4 depends on package: p5-File-Listing>=0 - found ===> Returning to build of backuppc-devel-4.0.0.a3_4 ===> backuppc-devel-4.0.0.a3_4 depends on package: p5-BackupPC-XS>=0.30 - not found ===> Installing existing package /packages/All/p5-BackupPC-XS-0.30_1.txz Installing p5-BackupPC-XS-0.30_1... Extracting p5-BackupPC-XS-0.30_1: ....... done ===> backuppc-devel-4.0.0.a3_4 depends on package: p5-BackupPC-XS>=0.30 - found ===> Returning to build of backuppc-devel-4.0.0.a3_4 ===> backuppc-devel-4.0.0.a3_4 depends on package: p5-Archive-Zip>=0 - not found ===> Installing existing package /packages/All/p5-Archive-Zip-1.59.txz Installing p5-Archive-Zip-1.59... Extracting p5-Archive-Zip-1.59: .......... done ===> backuppc-devel-4.0.0.a3_4 depends on package: p5-Archive-Zip>=0 - found ===> Returning to build of backuppc-devel-4.0.0.a3_4 ===> backuppc-devel-4.0.0.a3_4 depends on package: perl5>=5.20<5.21 - found =========================================================================== =================================================== ===> Staging for backuppc-devel-4.0.0.a3_4 ===> Generating temporary packing list ===> Creating groups. ===> Creating users cd /wrkdirs/sysutils/backuppc-devel/BackupPC-4.0.0alpha3 && /usr/local/bin/perl configure.pl --batch --backuppc-user backuppc --bin-path perl=/usr/local/bin/perl --config-dir /usr/local/etc/backuppc --cgi-dir /usr/local/www/cgi-bin --data-dir /var/db/BackupPC --dest-dir /wrkdirs/sysutils/backuppc-devel/stage --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 rrdtool => rsync => rsync_bpc => 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 [pkgbox64.dragonflybsd.org] 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 has SCGI and CGI perl interfaces that run under Apache. You need to pick which one to run. For SCGI, Apache uses the scgi_mod module to communicate with BackupPC_Admin_SCGI, which handles the requests. This allows Apache to run as a different user as backuppc. To use SCGI you need to set SCGIServerPort to any spare non-privileged TCP port number. A negative value disables SCGI. Important security warning!! The SCGIServerPort must not be accessible by anyone untrusted. That means you can't allow untrusted users access to the BackupPC server, and you should block the SCGIServerPort TCP port from network access. The traditional alternative is to use CGI. In this case, an executable needs to be installed Apache's 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. --> SCGI port (-1 to disable) [-1] --> CGI bin directory (full path, or empty for no CGI) [/usr/local/www/cgi-bin] BackupPC's CGI and SCGI script need 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, or empty for no S/CGI) [/usr/local/www/backuppc] --> URL for image directory (omit http://host; starts with '/', or empty for no S/CGI) [/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 /usr/local/etc/backuppc/config.pl, - optionally install the cgi-bin interface. --> Do you want to continue? [y] Created /wrkdirs/sysutils/backuppc-devel/stage/usr/local/share/doc/BackupPC Created /wrkdirs/sysutils/backuppc-devel/stage/usr/local/lib/BackupPC/CGI Created /wrkdirs/sysutils/backuppc-devel/stage/usr/local/lib/BackupPC/Config Created /wrkdirs/sysutils/backuppc-devel/stage/usr/local/lib/BackupPC/Lang Created /wrkdirs/sysutils/backuppc-devel/stage/usr/local/lib/BackupPC/Storage Created /wrkdirs/sysutils/backuppc-devel/stage/usr/local/lib/BackupPC/Xfer Created /wrkdirs/sysutils/backuppc-devel/stage/usr/local/lib/BackupPC/Zip Created /wrkdirs/sysutils/backuppc-devel/stage/usr/local/lib/Net/FTP Created /wrkdirs/sysutils/backuppc-devel/stage/usr/local/www/backuppc Created /wrkdirs/sysutils/backuppc-devel/stage/var/db/BackupPC Created /wrkdirs/sysutils/backuppc-devel/stage/var/db/BackupPC/pool Created /wrkdirs/sysutils/backuppc-devel/stage/var/db/BackupPC/cpool Created /wrkdirs/sysutils/backuppc-devel/stage/var/db/BackupPC/pc Created /wrkdirs/sysutils/backuppc-devel/stage/usr/local/etc/backuppc Created /wrkdirs/sysutils/backuppc-devel/stage/var/log/BackupPC Created /wrkdirs/sysutils/backuppc-devel/stage/var/run/BackupPC Installing binaries in /wrkdirs/sysutils/backuppc-devel/stage/usr/local/bin Installing library in /wrkdirs/sysutils/backuppc-devel/stage/usr/local/lib Installing images in /wrkdirs/sysutils/backuppc-devel/stage/usr/local/www/backuppc Making init.d scripts Making Apache configuration file for suid-perl Installing docs in /wrkdirs/sysutils/backuppc-devel/stage/usr/local/share/doc/BackupPC Installing config.pl and hosts in /wrkdirs/sysutils/backuppc-devel/stage/usr/local/etc/backuppc Installing cgi script BackupPC_Admin in /wrkdirs/sysutils/backuppc-devel/stage/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, /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 /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=4.0.0.a3 --name=BackupPC --center="BackupPC user guide" /wrkdirs/sysutils/backuppc-devel/BackupPC-4.0.0alpha3/doc/BackupPC.pod /wrkdirs/sysutils/backuppc-devel/BackupPC-4.0.0alpha3/backuppc.1 install -m 444 /wrkdirs/sysutils/backuppc-devel/BackupPC-4.0.0alpha3/backuppc.1 /wrkdirs/sysutils/backuppc-devel/stage/usr/local/man/man1 cd /wrkdirs/sysutils/backuppc-devel/BackupPC-4.0.0alpha3 && install -m 444 ChangeLog LICENSE README /wrkdirs/sysutils/backuppc-devel/stage/usr/local/share/doc/BackupPC /bin/cp /wrkdirs/sysutils/backuppc-devel/BackupPC-4.0.0alpha3/doc/BackupPC.html /wrkdirs/sysutils/backuppc-devel/stage/usr/local/www/backuppc /bin/rm -f /wrkdirs/sysutils/backuppc-devel/stage/usr/local/etc/backuppc/config.pl /bin/rm -f /wrkdirs/sysutils/backuppc-devel/stage/usr/local/etc/backuppc/hosts /bin/cp /wrkdirs/sysutils/backuppc-devel/BackupPC-4.0.0alpha3/conf/config.pl /wrkdirs/sysutils/backuppc-devel/stage/usr/local/etc/backuppc/config.pl.sample /bin/cp /wrkdirs/sysutils/backuppc-devel/BackupPC-4.0.0alpha3/conf/hosts /wrkdirs/sysutils/backuppc-devel/stage/usr/local/etc/backuppc/hosts.sample /bin/cp /wrkdirs/sysutils/backuppc-devel/update.sh /wrkdirs/sysutils/backuppc-devel/stage/usr/local/etc/backuppc/update.sh /bin/mkdir -p /wrkdirs/sysutils/backuppc-devel/stage/usr/local/libexec/backuppc /bin/cp /wrkdirs/sysutils/backuppc-devel/BackupPC-4.0.0alpha3/update.pl /wrkdirs/sysutils/backuppc-devel/stage/usr/local/libexec/backuppc/update.pl ====> Compressing man pages (compress-man) ===> Staging rc.d startup script(s) =========================================================================== =================================================== ===> Building package for backuppc-devel-4.0.0.a3_4 file sizes/checksums [135]: .. done packing files [135]: .. done packing directories [6]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for backuppc-devel-4.0.0.a3_4 build of sysutils/backuppc-devel ended at Wed Oct 5 17:43:40 PDT 2016 build time: 00:00:12