build started at Fri Jun 19 09:23:46 BST 2015 port directory: /usr/ports/net-mgmt/cacti building for: FreeBSD pkg-builder.dan.me.uk 10.1-RELEASE-p9 FreeBSD 10.1-RELEASE-p9 amd64 maintained by: freebsd-ports@dan.me.uk Makefile ident: $FreeBSD: head/net-mgmt/cacti/Makefile 385402 2015-05-04 13:03:27Z wen $ Poudriere version: 3.1.7 Host OSVERSION: 1001000 Jail OSVERSION: 1001000 ---Begin Environment--- PKGREPOSITORY=/tmp/pkgs PACKAGES=/tmp/pkgs OSVERSION=1001000 UNAME_v=FreeBSD 10.1-RELEASE-p9 UNAME_r=10.1-RELEASE-p9 BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 SAVED_TERM=screen NO_WARNING_PKG_INSTALL_EOL=yes MASTERMNT=/usr/local/poudriere/data/.m/101-amd64-default/ref FORCE_PACKAGE=yes PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin POUDRIERE_BUILD_TYPE=bulk OLDPWD=/usr/local/poudriere/data/.m/101-amd64-default/ref/.p/pool PWD=/usr/local/poudriere/data/.m/101-amd64-default/ref/usr/ports/net-mgmt/cacti MASTERNAME=101-amd64-default SCRIPTPREFIX=/usr/local/share/poudriere USER=root HOME=/root POUDRIERE_VERSION=3.1.7 SCRIPTPATH=/usr/local/share/poudriere/testport.sh TRYBROKEN=yes LIBEXECPREFIX=/usr/local/libexec/poudriere LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/cacti/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/cacti/work HOME=/wrkdirs/usr/ports/net-mgmt/cacti/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/cacti/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/cacti/work HOME=/wrkdirs/usr/ports/net-mgmt/cacti/work TMPDIR="/tmp" NO_PIE=yes SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector" LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -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-- CACTIDIR=share/cacti CACTIUSER=cacti CACTIGROUP=cacti PHP_EXT_DIR=20131226 OSREL=10.1 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib DOCSDIR="share/doc/cacti" EXAMPLESDIR="share/examples/cacti" DATADIR="share/cacti" WWWDIR="www/cacti" ETCDIR="etc/cacti" --End PLIST_SUB-- --SUB_LIST-- CACTIDIR=share/cacti CACTIUSER=cacti CACTIGROUP=cacti PHP_EXT_DIR=20131226 PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/cacti DOCSDIR=/usr/local/share/doc/cacti EXAMPLESDIR=/usr/local/share/examples/cacti WWWDIR=/usr/local/www/cacti ETCDIR=/usr/local/etc/cacti --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles #### /usr/local/etc/poudriere.d/101-amd64-make.conf #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes ---End make.conf--- =================================================== =========================================================================== =================================================== ===> cacti-0.8.8d depends on file: /usr/local/sbin/pkg - not found ===> Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg ===> Installing existing package /packages/All/pkg-1.5.4.txz [pkg-builder.dan.me.uk] Installing pkg-1.5.4... [pkg-builder.dan.me.uk] Extracting pkg-1.5.4: .......... done Message for pkg-1.5.4: If you are upgrading from the old package format, first run: # pkg2ng ===> Returning to build of cacti-0.8.8d =========================================================================== =================================================== =========================================================================== =================================================== ===> cacti-0.8.8d depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by cacti-0.8.8d for building =========================================================================== =================================================== ===> cacti-0.8.8d depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by cacti-0.8.8d for building => SHA256 Checksum OK for cacti-0.8.8d.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> cacti-0.8.8d depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by cacti-0.8.8d for building ===> Extracting for cacti-0.8.8d => SHA256 Checksum OK for cacti-0.8.8d.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for cacti-0.8.8d ===> Applying FreeBSD patches for cacti-0.8.8d /bin/rm -f -r /wrkdirs/usr/ports/net-mgmt/cacti/work/cacti-0.8.8d/log /wrkdirs/usr/ports/net-mgmt/cacti/work/cacti-0.8.8d/rra =========================================================================== =================================================== =========================================================================== =================================================== ===> cacti-0.8.8d depends on shared library: libmysqlclient.so.18 - not found ===> Verifying for libmysqlclient.so.18 in /usr/ports/databases/mysql56-client ===> Installing existing package /packages/All/mysql56-client-5.6.24_1.txz [pkg-builder.dan.me.uk] Installing mysql56-client-5.6.24_1... [pkg-builder.dan.me.uk] `-- Installing libedit-3.1.20150325_1... [pkg-builder.dan.me.uk] `-- Extracting libedit-3.1.20150325_1: .......... done [pkg-builder.dan.me.uk] Extracting mysql56-client-5.6.24_1: .......... done ===> Returning to build of cacti-0.8.8d =========================================================================== ====>> Recording filesystem state for prebuild... done =================================================== ===> cacti-0.8.8d depends on shared library: libmysqlclient.so.18 - found (/usr/local/lib/mysql/libmysqlclient.so.18) ===> Configuring for cacti-0.8.8d =========================================================================== =================================================== =========================================================================== ====>> Checking for filesystem violations... done =================================================== ===> cacti-0.8.8d depends on executable: rrdtool - not found ===> Verifying install for rrdtool in /usr/ports/databases/rrdtool ===> Installing existing package /packages/All/rrdtool-1.4.8_7.txz [pkg-builder.dan.me.uk] Installing rrdtool-1.4.8_7... [pkg-builder.dan.me.uk] `-- Installing cairo-1.12.18_1,2... [pkg-builder.dan.me.uk] | `-- Installing fontconfig-2.11.1,1... [pkg-builder.dan.me.uk] | | `-- Installing expat-2.1.0_2... [pkg-builder.dan.me.uk] | | `-- Extracting expat-2.1.0_2: .......... done [pkg-builder.dan.me.uk] | | `-- Installing freetype2-2.5.5... [pkg-builder.dan.me.uk] | | `-- Extracting freetype2-2.5.5: .......... done [pkg-builder.dan.me.uk] | `-- Extracting fontconfig-2.11.1,1: .......... done Running fc-cache to build fontconfig cache... /usr/local/share/fonts: skipping, no such directory /usr/local/lib/X11/fonts: skipping, no such directory /root/.local/share/fonts: skipping, no such directory /root/.fonts: skipping, no such directory /var/db/fontconfig: cleaning cache directory /root/.cache/fontconfig: not cleaning non-existent cache directory /root/.fontconfig: not cleaning non-existent cache directory fc-cache: succeeded [pkg-builder.dan.me.uk] | `-- Installing glib-2.42.2... [pkg-builder.dan.me.uk] | | `-- Installing gettext-runtime-0.19.4... [pkg-builder.dan.me.uk] | | `-- Installing indexinfo-0.2.3... [pkg-builder.dan.me.uk] | | `-- Extracting indexinfo-0.2.3: . done [pkg-builder.dan.me.uk] | | `-- Extracting gettext-runtime-0.19.4: .......... done [pkg-builder.dan.me.uk] | | `-- Installing libffi-3.2.1... [pkg-builder.dan.me.uk] | | `-- Extracting libffi-3.2.1: .......... done [pkg-builder.dan.me.uk] | | `-- Installing libiconv-1.14_8... [pkg-builder.dan.me.uk] | | `-- Extracting libiconv-1.14_8: .......... done [pkg-builder.dan.me.uk] | | `-- Installing pcre-8.37_1... [pkg-builder.dan.me.uk] | | `-- Extracting pcre-8.37_1: .......... done [pkg-builder.dan.me.uk] | | `-- Installing perl5-5.20.2_4... [pkg-builder.dan.me.uk] | | `-- Extracting perl5-5.20.2_4: .......... done [pkg-builder.dan.me.uk] | | `-- Installing python27-2.7.9_1... [pkg-builder.dan.me.uk] | | `-- Extracting python27-2.7.9_1: .......... done [pkg-builder.dan.me.uk] | `-- Extracting glib-2.42.2: .......... done No schema files found: doing nothing. [pkg-builder.dan.me.uk] | `-- Installing libXext-1.3.3_1,1... [pkg-builder.dan.me.uk] | | `-- Installing libX11-1.6.2_3,1... [pkg-builder.dan.me.uk] | | `-- Installing kbproto-1.0.6... [pkg-builder.dan.me.uk] | | `-- Extracting kbproto-1.0.6: .......... done [pkg-builder.dan.me.uk] | | `-- Installing libXau-1.0.8_3... [pkg-builder.dan.me.uk] | | | `-- Installing xproto-7.0.27... [pkg-builder.dan.me.uk] | | | `-- Extracting xproto-7.0.27: .......... done [pkg-builder.dan.me.uk] | | `-- Extracting libXau-1.0.8_3: .......... done [pkg-builder.dan.me.uk] | | `-- Installing libXdmcp-1.1.2... [pkg-builder.dan.me.uk] | | `-- Extracting libXdmcp-1.1.2: ...... done [pkg-builder.dan.me.uk] | | `-- Installing libxcb-1.11_1... [pkg-builder.dan.me.uk] | | | `-- Installing libpthread-stubs-0.3_6... [pkg-builder.dan.me.uk] | | | `-- Extracting libpthread-stubs-0.3_6: ..... done [pkg-builder.dan.me.uk] | | | `-- Installing libxml2-2.9.2_2... [pkg-builder.dan.me.uk] | | | `-- Extracting libxml2-2.9.2_2: .......... done [pkg-builder.dan.me.uk] | | `-- Extracting libxcb-1.11_1: .......... done [pkg-builder.dan.me.uk] | | `-- Extracting libX11-1.6.2_3,1: .......... done [pkg-builder.dan.me.uk] | | `-- Installing xextproto-7.3.0... [pkg-builder.dan.me.uk] | | `-- Extracting xextproto-7.3.0: .......... done [pkg-builder.dan.me.uk] | `-- Extracting libXext-1.3.3_1,1: .......... done [pkg-builder.dan.me.uk] | `-- Installing libXrender-0.9.8_3... [pkg-builder.dan.me.uk] | | `-- Installing renderproto-0.11.1... [pkg-builder.dan.me.uk] | | `-- Extracting renderproto-0.11.1: .... done [pkg-builder.dan.me.uk] | `-- Extracting libXrender-0.9.8_3: ....... done [pkg-builder.dan.me.uk] | `-- Installing pixman-0.32.6_1... [pkg-builder.dan.me.uk] | `-- Extracting pixman-0.32.6_1: ....... done [pkg-builder.dan.me.uk] | `-- Installing png-1.6.17... [pkg-builder.dan.me.uk] | `-- Extracting png-1.6.17: .......... done [pkg-builder.dan.me.uk] | `-- Installing xcb-util-renderutil-0.3.9_1... [pkg-builder.dan.me.uk] | | `-- Installing xcb-util-0.4.0_1,1... [pkg-builder.dan.me.uk] | | `-- Extracting xcb-util-0.4.0_1,1: .......... done [pkg-builder.dan.me.uk] | `-- Extracting xcb-util-renderutil-0.3.9_1: ...... done [pkg-builder.dan.me.uk] `-- Extracting cairo-1.12.18_1,2: .......... done [pkg-builder.dan.me.uk] `-- Installing dejavu-2.35... [pkg-builder.dan.me.uk] | `-- Installing mkfontdir-1.0.7... [pkg-builder.dan.me.uk] | | `-- Installing mkfontscale-1.1.2... [pkg-builder.dan.me.uk] | | `-- Installing libfontenc-1.1.2_3... [pkg-builder.dan.me.uk] | | `-- Extracting libfontenc-1.1.2_3: ...... done [pkg-builder.dan.me.uk] | | `-- Extracting mkfontscale-1.1.2: .. done [pkg-builder.dan.me.uk] | `-- Extracting mkfontdir-1.0.7: .. done [pkg-builder.dan.me.uk] `-- Extracting dejavu-2.35: .......... done [pkg-builder.dan.me.uk] `-- Installing pango-1.36.8_1... [pkg-builder.dan.me.uk] | `-- Installing encodings-1.0.4_3,1... [pkg-builder.dan.me.uk] | | `-- Installing font-util-1.3.1... [pkg-builder.dan.me.uk] | | `-- Extracting font-util-1.3.1: .......... done [pkg-builder.dan.me.uk] | `-- Extracting encodings-1.0.4_3,1: .......... done [pkg-builder.dan.me.uk] | `-- Installing harfbuzz-0.9.40_1... [pkg-builder.dan.me.uk] | | `-- Installing graphite2-1.2.4... [pkg-builder.dan.me.uk] | | `-- Extracting graphite2-1.2.4: .......... done [pkg-builder.dan.me.uk] | | `-- Installing icu-55.1... [pkg-builder.dan.me.uk] | | `-- Extracting icu-55.1: .......... done [pkg-builder.dan.me.uk] | `-- Extracting harfbuzz-0.9.40_1: .......... done [pkg-builder.dan.me.uk] | `-- Installing libXft-2.3.2_1... [pkg-builder.dan.me.uk] | `-- Extracting libXft-2.3.2_1: ......... done [pkg-builder.dan.me.uk] | `-- Installing xorg-fonts-truetype-7.7_1... [pkg-builder.dan.me.uk] | | `-- Installing font-bh-ttf-1.0.3_3... [pkg-builder.dan.me.uk] | | `-- Extracting font-bh-ttf-1.0.3_3: .......... done [pkg-builder.dan.me.uk] | | `-- Installing font-misc-ethiopic-1.0.3_3... [pkg-builder.dan.me.uk] | | `-- Extracting font-misc-ethiopic-1.0.3_3: .. done [pkg-builder.dan.me.uk] | | `-- Installing font-misc-meltho-1.0.3_3... [pkg-builder.dan.me.uk] | | `-- Extracting font-misc-meltho-1.0.3_3: .......... done [pkg-builder.dan.me.uk] `-- Extracting pango-1.36.8_1: .......... done [pkg-builder.dan.me.uk] Extracting rrdtool-1.4.8_7: .......... done Message for python27-2.7.9_1: ===================================================================== Note that some standard Python modules are provided as separate ports as they require additional dependencies. They are available as: bsddb databases/py-bsddb gdbm databases/py-gdbm sqlite3 databases/py-sqlite3 tkinter x11-toolkits/py-tkinter ===================================================================== Message for dejavu-2.35: Make sure that the freetype module is loaded. If it is not, add the following line to the "Modules" section of your X Windows configuration file: Load "freetype" Add the following line to the "Files" section of X Windows configuration file: FontPath "/usr/local/share/fonts/dejavu/" Note: your X Windows configuration file is typically /etc/X11/XF86Config if you are using XFree86, and /etc/X11/xorg.conf if you are using X.Org. ===> Returning to build of cacti-0.8.8d ===> cacti-0.8.8d depends on file: /usr/local/include/php/main/php.h - not found ===> Verifying install for /usr/local/include/php/main/php.h in /usr/ports/lang/php56 ===> Installing existing package /packages/All/php56-5.6.10.txz [pkg-builder.dan.me.uk] Installing php56-5.6.10... [pkg-builder.dan.me.uk] Extracting php56-5.6.10: .......... done ===> Returning to build of cacti-0.8.8d ===> cacti-0.8.8d depends on file: /usr/local/lib/php/20131226/mysql.so - not found ===> Verifying install for /usr/local/lib/php/20131226/mysql.so in /usr/ports/databases/php56-mysql ===> Installing existing package /packages/All/php56-mysql-5.6.10.txz [pkg-builder.dan.me.uk] Installing php56-mysql-5.6.10... [pkg-builder.dan.me.uk] Extracting php56-mysql-5.6.10: ..... done ===> Returning to build of cacti-0.8.8d ===> cacti-0.8.8d depends on file: /usr/local/lib/php/20131226/session.so - not found ===> Verifying install for /usr/local/lib/php/20131226/session.so in /usr/ports/www/php56-session ===> Installing existing package /packages/All/php56-session-5.6.10.txz [pkg-builder.dan.me.uk] Installing php56-session-5.6.10... [pkg-builder.dan.me.uk] Extracting php56-session-5.6.10: ...... done ===> Returning to build of cacti-0.8.8d ===> cacti-0.8.8d depends on file: /usr/local/lib/php/20131226/sockets.so - not found ===> Verifying install for /usr/local/lib/php/20131226/sockets.so in /usr/ports/net/php56-sockets ===> Installing existing package /packages/All/php56-sockets-5.6.10.txz [pkg-builder.dan.me.uk] Installing php56-sockets-5.6.10... [pkg-builder.dan.me.uk] Extracting php56-sockets-5.6.10: .......... done ===> Returning to build of cacti-0.8.8d ===> cacti-0.8.8d depends on file: /usr/local/lib/php/20131226/snmp.so - not found ===> Verifying install for /usr/local/lib/php/20131226/snmp.so in /usr/ports/net-mgmt/php56-snmp ===> Installing existing package /packages/All/php56-snmp-5.6.10.txz [pkg-builder.dan.me.uk] Installing php56-snmp-5.6.10... [pkg-builder.dan.me.uk] `-- Installing net-snmp-5.7.3_7... [pkg-builder.dan.me.uk] `-- Extracting net-snmp-5.7.3_7: .......... done [pkg-builder.dan.me.uk] Extracting php56-snmp-5.6.10: ... done Message for net-snmp-5.7.3_7: **** This port installs snmpd, header files and libraries but does not start snmpd by default. If you want to auto-start snmpd and snmptrapd:, add the following to /etc/rc.conf: snmpd_enable="YES" snmpd_flags="-a" snmpd_conffile="/usr/local/share/snmp/snmpd.conf /etc/snmpd.conf" snmptrapd_enable="YES" snmptrapd_flags="-a -p /var/run/snmptrapd.pid" **** You may also specify the following make variables: NET_SNMP_SYS_CONTACT="zi@FreeBSD.org" NET_SNMP_SYS_LOCATION="USA" DEFAULT_SNMP_VERSION=3 NET_SNMP_MIB_MODULES="host smux mibII/mta_sendmail ucd-snmp/diskio" NET_SNMP_LOGFILE=/var/log/snmpd.log NET_SNMP_PERSISTENTDIR=/var/net-snmp to define default values (or to override the defaults). To avoid being prompted during the configuration process, you should (minimally) define the first two variables. (NET_SNMP_SYS_*) You may also define the following to avoid all interactive configuration: BATCH="yes" ===> Returning to build of cacti-0.8.8d ===> cacti-0.8.8d depends on file: /usr/local/lib/php/20131226/xml.so - not found ===> Verifying install for /usr/local/lib/php/20131226/xml.so in /usr/ports/textproc/php56-xml ===> Installing existing package /packages/All/php56-xml-5.6.10.txz [pkg-builder.dan.me.uk] Installing php56-xml-5.6.10... [pkg-builder.dan.me.uk] Extracting php56-xml-5.6.10: .... done ===> Returning to build of cacti-0.8.8d =========================================================================== ====>> Recording filesystem state for prestage... done =================================================== ===> Staging for cacti-0.8.8d ===> cacti-0.8.8d depends on executable: rrdtool - found ===> cacti-0.8.8d depends on file: /usr/local/include/php/main/php.h - found ===> cacti-0.8.8d depends on file: /usr/local/lib/php/20131226/mysql.so - found ===> cacti-0.8.8d depends on file: /usr/local/lib/php/20131226/session.so - found ===> cacti-0.8.8d depends on file: /usr/local/lib/php/20131226/sockets.so - found ===> cacti-0.8.8d depends on file: /usr/local/lib/php/20131226/snmp.so - found ===> cacti-0.8.8d depends on file: /usr/local/lib/php/20131226/xml.so - found ===> cacti-0.8.8d depends on shared library: libmysqlclient.so.18 - found (/usr/local/lib/mysql/libmysqlclient.so.18) ===> Generating temporary packing list ===> Creating users and/or groups. /bin/mkdir -p /wrkdirs/usr/ports/net-mgmt/cacti/work/stage//usr/local/share/cacti /bin/mkdir -p /wrkdirs/usr/ports/net-mgmt/cacti/work/stage/var/log/cacti /bin/mkdir -p /wrkdirs/usr/ports/net-mgmt/cacti/work/stage/var/db/cacti/rra /bin/mkdir -p /wrkdirs/usr/ports/net-mgmt/cacti/work/stage/var/db/cacti/scripts /bin/cp -R /wrkdirs/usr/ports/net-mgmt/cacti/work/cacti-0.8.8d/* /wrkdirs/usr/ports/net-mgmt/cacti/work/stage//usr/local/share/cacti if [ -f /usr/local/share/cacti/include/db-settings.php ]; then echo "======================================================================="; echo "WARNING! You have to move DB settings from"; echo "/usr/local/share/cacti/include/db-settings.php file to"; echo "/usr/local/share/cacti/include/config.php and remove db-settings.php"; fi ====> Compressing man pages (compress-man) =========================================================================== ====> Running Q/A tests (stage-qa) ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist ===> Checking for items in pkg-plist which are not in STAGEDIR ===> No pkg-plist issues found (check-plist) ====>> Checking for staging violations... done =================================================== ===> Building package for cacti-0.8.8d =========================================================================== =================================================== =========================================================================== ====>> Recording filesystem state for preinst... done =================================================== ===> Installing for cacti-0.8.8d ===> cacti-0.8.8d depends on executable: rrdtool - found ===> cacti-0.8.8d depends on file: /usr/local/include/php/main/php.h - found ===> cacti-0.8.8d depends on file: /usr/local/lib/php/20131226/mysql.so - found ===> cacti-0.8.8d depends on file: /usr/local/lib/php/20131226/session.so - found ===> cacti-0.8.8d depends on file: /usr/local/lib/php/20131226/sockets.so - found ===> cacti-0.8.8d depends on file: /usr/local/lib/php/20131226/snmp.so - found ===> cacti-0.8.8d depends on file: /usr/local/lib/php/20131226/xml.so - found ===> cacti-0.8.8d depends on shared library: libmysqlclient.so.18 - found (/usr/local/lib/mysql/libmysqlclient.so.18) ===> Checking if cacti already installed ===> Registering installation for cacti-0.8.8d [pkg-builder.dan.me.uk] Installing cacti-0.8.8d... ===> Creating users and/or groups. Creating group 'cacti' with gid '107'. Creating user 'cacti' with uid '107'. ======================================================================= Cacti is now installed. If you intall it for the first time, you may have to follow this steps to make it work correctly: 1. Create the MySQL database, a cacti user, and initialize: a) CREATE DATABASE cacti; b) Create a mysql user/password for cacti: CREATE USER 'cacti'@'localhost' IDENTIFIED BY 'password'; FLUSH PRIVILEGES; c) Add GRANTS: GRANT ALL ON cacti.* TO 'cacti'@'localhost'; FLUSH PRIVILEGES; d) Import the default cacti database: mysql --database=cacti -ucacti -p < /usr/local/share/cacti/cacti.sql NOTE: * Cacti does not LOCK TABLES. 2. Edit /usr/local/share/cacti/include/config.php from the template config.php.orig. PHP requires the time zone to be explicitly set rather that rely on the system time zone, otherwise poller complains. I added the following line to my config.php: date_default_timezone_set('America/Los_Angeles'); 3. Add the following line to cron for cacti: */5 * * * * /usr/local/bin/php /usr/local/share/cacti/poller.php > /dev/null 2>&1 4. Example Apache 2.4 configuration: LoadModule php5_module libexec/apache22/libphp5.so SetHandler application/x-httpd-php SetHandler application/x-httpd-php-source DirectoryIndex index.php DocumentRoot "/usr/local/share/cacti" Alias /cacti "/usr/local/share/cacti/" Alias /Cacti "/usr/local/share/cacti/" Require all granted AllowOverride None Order Allow,deny Allow from all 5. Open a Cacti login page in your web browser and login with admin/admin. If you update cacti, open a login page and an updating process will start automatically. NOTEs as of 10Aug2014: 1) Cacti now better supports hier(7) a) Cacti log files are now found under /var/log/cacti where you can manage them using newsyslog. b) Cacti RRD files are now found under /var/db/cacti/rra. If you have an existing Cacti installation these paths are also found in Cacti's SQL database and MUST be updated. These two SQL commands should do the trick: UPDATE settings SET value='/var/log/cacti/log' \ WHERE name='path_cactilog'; UPDATE poller_item SET rrd_path=\ REPLACE(rrd_path,'/usr/local/share/cacti/rra','/var/db/cacti/rra') \ WHERE rrd_path REGEXP '^/usr/local/share/cacti/rra'; 2) The PERL paths in the Cacti PERL scripts have been updated to /usr/local/bin. Other Erratas: Mount linprocfs in /compat/linux/proc will alow most scripts to work. ======================================================================= =========================================================================== ====>> Checking shared library dependencies =================================================== ===> Deinstalling for cacti ===> Deinstalling cacti-0.8.8d Updating database digests format: .......... done Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages (of 0 packages in the universe): Installed packages to be REMOVED: cacti-0.8.8d The operation will free 6 MiB. [pkg-builder.dan.me.uk] [1/1] Deinstalling cacti-0.8.8d... ==> You should manually remove the "cacti" user. [pkg-builder.dan.me.uk] [1/1] Deleting files for cacti-0.8.8d: .......... done =========================================================================== ====>> Checking for extra files and directories [01:17:11] ====>> Installing from package [pkg-builder.dan.me.uk] Installing cacti-0.8.8d... ===> Creating users and/or groups. Using existing group 'cacti'. Using existing user 'cacti'. [pkg-builder.dan.me.uk] Extracting cacti-0.8.8d: .......... done Message for cacti-0.8.8d: ======================================================================= Cacti is now installed. If you intall it for the first time, you may have to follow this steps to make it work correctly: 1. Create the MySQL database, a cacti user, and initialize: a) CREATE DATABASE cacti; b) Create a mysql user/password for cacti: CREATE USER 'cacti'@'localhost' IDENTIFIED BY 'password'; FLUSH PRIVILEGES; c) Add GRANTS: GRANT ALL ON cacti.* TO 'cacti'@'localhost'; FLUSH PRIVILEGES; d) Import the default cacti database: mysql --database=cacti -ucacti -p < /usr/local/share/cacti/cacti.sql NOTE: * Cacti does not LOCK TABLES. 2. Edit /usr/local/share/cacti/include/config.php from the template config.php.orig. PHP requires the time zone to be explicitly set rather that rely on the system time zone, otherwise poller complains. I added the following line to my config.php: date_default_timezone_set('America/Los_Angeles'); 3. Add the following line to cron for cacti: */5 * * * * /usr/local/bin/php /usr/local/share/cacti/poller.php > /dev/null 2>&1 4. Example Apache 2.4 configuration: LoadModule php5_module libexec/apache22/libphp5.so SetHandler application/x-httpd-php SetHandler application/x-httpd-php-source DirectoryIndex index.php DocumentRoot "/usr/local/share/cacti" Alias /cacti "/usr/local/share/cacti/" Alias /Cacti "/usr/local/share/cacti/" Require all granted AllowOverride None Order Allow,deny Allow from all 5. Open a Cacti login page in your web browser and login with admin/admin. If you update cacti, open a login page and an updating process will start automatically. NOTEs as of 10Aug2014: 1) Cacti now better supports hier(7) a) Cacti log files are now found under /var/log/cacti where you can manage them using newsyslog. b) Cacti RRD files are now found under /var/db/cacti/rra. If you have an existing Cacti installation these paths are also found in Cacti's SQL database and MUST be updated. These two SQL commands should do the trick: UPDATE settings SET value='/var/log/cacti/log' \ WHERE name='path_cactilog'; UPDATE poller_item SET rrd_path=\ REPLACE(rrd_path,'/usr/local/share/cacti/rra','/var/db/cacti/rra') \ WHERE rrd_path REGEXP '^/usr/local/share/cacti/rra'; 2) The PERL paths in the Cacti PERL scripts have been updated to /usr/local/bin. Other Erratas: Mount linprocfs in /compat/linux/proc will alow most scripts to work. ======================================================================= [01:17:13] ====>> Cleaning up ===> Cleaning for cacti-0.8.8d [01:17:26] ====>> Deinstalling package Updating database digests format: . done Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages (of 0 packages in the universe): Installed packages to be REMOVED: cacti-0.8.8d The operation will free 6 MiB. [pkg-builder.dan.me.uk] [1/1] Deinstalling cacti-0.8.8d... ==> You should manually remove the "cacti" user. [pkg-builder.dan.me.uk] [1/1] Deleting files for cacti-0.8.8d: .......... done build of net-mgmt/cacti ended at Fri Jun 19 10:02:00 BST 2015 build time: 00:38:14