=> Building databases/postgresql-repmgr2 Started : Sunday, 31 DEC 2017 at 03:52:02 UTC Platform: 5.1-DEVELOPMENT DragonFly v5.1.0.522.g6ad62-DEVELOPMENT #25: Sat Dec 30 08:26:48 PST 2017 marino@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.0-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.0-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- ===> The following configuration options are available for postgresql-repmgr2-2.0.3_1: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- MAKE=gmake XDG_DATA_HOME=/construction/databases/postgresql-repmgr2 XDG_CONFIG_HOME=/construction/databases/postgresql-repmgr2 HOME=/construction/databases/postgresql-repmgr2 TMPDIR="/tmp" PATH=/construction/databases/postgresql-repmgr2/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- USE_PGXS=1 XDG_DATA_HOME=/construction/databases/postgresql-repmgr2 XDG_CONFIG_HOME=/construction/databases/postgresql-repmgr2 HOME=/construction/databases/postgresql-repmgr2 TMPDIR="/tmp" PATH=/construction/databases/postgresql-repmgr2/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin 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="-I/usr/local/include" LDFLAGS=" -L/usr/local/lib" 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 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/databases/postgresql-repmgr2/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- OSREL=5.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/postgresql-repmgr" EXAMPLESDIR="share/examples/postgresql-repmgr" DATADIR="share/postgresql-repmgr" WWWDIR="www/postgresql-repmgr" ETCDIR="etc/postgresql-repmgr" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/postgresql-repmgr DOCSDIR=/usr/local/share/doc/postgresql-repmgr EXAMPLESDIR=/usr/local/share/examples/postgresql-repmgr WWWDIR=/usr/local/www/postgresql-repmgr ETCDIR=/usr/local/etc/postgresql-repmgr -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-5.0 USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500000 OSVERSION=9999999 OSREL=5.0 _OSRELEASE=5.0-SYNTH -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> License GPLv3 accepted by the user -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> postgresql-repmgr2-2.0.3_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.3_1.txz Installing pkg-1.10.3_1... Extracting pkg-1.10.3_1: .......... done ===> postgresql-repmgr2-2.0.3_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of postgresql-repmgr2-2.0.3_1 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> License GPLv3 accepted by the user ===> Fetching all distfiles required by postgresql-repmgr2-2.0.3_1 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> License GPLv3 accepted by the user ===> Fetching all distfiles required by postgresql-repmgr2-2.0.3_1 for building => SHA256 Checksum OK for repmgr-2.0.3.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> License GPLv3 accepted by the user ===> Fetching all distfiles required by postgresql-repmgr2-2.0.3_1 for building ===> Extracting for postgresql-repmgr2-2.0.3_1 => SHA256 Checksum OK for repmgr-2.0.3.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for postgresql-repmgr2-2.0.3_1 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> postgresql-repmgr2-2.0.3_1 depends on executable: msgfmt - not found ===> Installing existing package /packages/All/gettext-tools-0.19.8.1.txz Installing gettext-tools-0.19.8.1... `-- Installing gettext-runtime-0.19.8.1_1... | `-- Installing indexinfo-0.3.1... | `-- Extracting indexinfo-0.3.1: .... done `-- Extracting gettext-runtime-0.19.8.1_1: .......... done Extracting gettext-tools-0.19.8.1: .......... done ===> postgresql-repmgr2-2.0.3_1 depends on executable: msgfmt - found ===> Returning to build of postgresql-repmgr2-2.0.3_1 ===> postgresql-repmgr2-2.0.3_1 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_1.txz Installing gmake-4.2.1_1... Extracting gmake-4.2.1_1: .......... done ===> postgresql-repmgr2-2.0.3_1 depends on executable: gmake - found ===> Returning to build of postgresql-repmgr2-2.0.3_1 ===> postgresql-repmgr2-2.0.3_1 depends on executable: postgres - not found ===> Installing existing package /packages/All/postgresql92-server-9.2.24.txz Installing postgresql92-server-9.2.24... `-- Installing libressl-2.6.4... `-- Extracting libressl-2.6.4: .......... done `-- Installing libxml2-2.9.7... `-- Extracting libxml2-2.9.7: .......... done `-- Installing postgresql92-client-9.2.24... | `-- Installing perl5-5.24.3... | `-- Extracting perl5-5.24.3: .......... done | `-- Installing readline-7.0.3_1... | | `-- Installing ncurses-6.0.0s20171007_1... | | `-- Extracting ncurses-6.0.0s20171007_1: .......... done | `-- Extracting readline-7.0.3_1: .......... done `-- Extracting postgresql92-client-9.2.24: .......... done ===> Creating groups. Creating group 'pgsql' with gid '150'. ===> Creating users Creating user 'pgsql' with uid '150'. =========== BACKUP YOUR DATA! ============= As always, backup your data before upgrading. If the upgrade leads to a higher minor revision (e.g. 8.3.x -> 8.4), a dump and restore of all databases is required. This is *NOT* done by the port! Press ctrl-C *now* if you need to pg_dump. =========================================== Extracting postgresql92-server-9.2.24: .......... done Message from perl5-5.24.3: 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. Message from postgresql92-client-9.2.24: The PostgreSQL port has a collection of "side orders": postgresql-docs For all of the html documentation p5-Pg A perl5 API for client access to PostgreSQL databases. postgresql-tcltk If you want tcl/tk client support. postgresql-jdbc For Java JDBC support. postgresql-odbc For client access from unix applications using ODBC as access method. Not needed to access unix PostgreSQL servers from Win32 using ODBC. See below. ruby-postgres, py-psycopg2 For client access to PostgreSQL databases using the ruby & python languages. postgresql-plperl, postgresql-pltcl & postgresql-plruby For using perl5, tcl & ruby as procedural languages. postgresql-contrib Lots of contributed utilities, postgresql functions and datatypes. There you find pg_standby, pgcrypto and many other cool things. etc... Message from postgresql92-server-9.2.24: For procedural languages and postgresql functions, please note that you might have to update them when updating the server. If you have many tables and many clients running, consider raising kern.maxfiles using sysctl(8), or reconfigure your kernel appropriately. The port is set up to use autovacuum for new databases, but you might also want to vacuum and perhaps backup your database regularly. There is a periodic script, /usr/local/etc/periodic/daily/502.pgsql, that you may find useful. You can use it to backup and perform vacuum on all databases nightly. Per default, it performs `vacuum analyze'. See the script for instructions. For autovacuum settings, please review ~pgsql/data/postgresql.conf. To allow many simultaneous connections to your PostgreSQL server, you should raise the SystemV shared memory limits in your kernel. Here are example values for allowing up to 180 clients (configurations in postgresql.conf also needed, of course): options SYSVSHM options SYSVSEM options SYSVMSG options SHMMAXPGS=65536 options SEMMNI=40 options SEMMNS=240 options SEMUME=40 options SEMMNU=120 If you plan to access your PostgreSQL server using ODBC, please consider running the SQL script /usr/local/share/postgresql/odbc.sql to get the functions required for ODBC compliance. Please note that if you use the rc script, /usr/local/etc/rc.d/postgresql, to initialize the database, unicode (UTF-8) will be used to store character data by default. Set postgresql_initdb_flags or use login.conf settings described below to alter this behaviour. See the start rc script for more info. To set limits, environment stuff like locale and collation and other things, you can set up a class in /etc/login.conf before initializing the database. Add something similar to this to /etc/login.conf: --- postgres:\ :lang=en_US.UTF-8:\ :setenv=LC_COLLATE=C:\ :tc=default: --- and run `cap_mkdb /etc/login.conf'. Then add 'postgresql_class="postgres"' to /etc/rc.conf. ====================================================================== To initialize the database, run /usr/local/etc/rc.d/postgresql initdb You can then start PostgreSQL by running: /usr/local/etc/rc.d/postgresql start For postmaster settings, see ~pgsql/data/postgresql.conf NB. FreeBSD's PostgreSQL port logs to syslog by default See ~pgsql/data/postgresql.conf for more info ====================================================================== To run PostgreSQL at startup, add 'postgresql_enable="YES"' to /etc/rc.conf ===> postgresql-repmgr2-2.0.3_1 depends on executable: postgres - found ===> Returning to build of postgresql-repmgr2-2.0.3_1 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- ===> postgresql-repmgr2-2.0.3_1 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for postgresql-repmgr2-2.0.3_1 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for postgresql-repmgr2-2.0.3_1 gmake[1]: Entering directory '/construction/databases/postgresql-repmgr2/repmgr-2.0.3' cc -pipe -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -I/usr/local/include -I. -I. -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include -I/usr/local/include -c -o dbutils.o dbutils.c cc -pipe -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -I/usr/local/include -I. -I. -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include -I/usr/local/include -c -o config.o config.c cc -pipe -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -I/usr/local/include -I. -I. -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include -I/usr/local/include -c -o repmgrd.o repmgrd.c cc -pipe -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -I/usr/local/include -I. -I. -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include -I/usr/local/include -c -o log.o log.c cc -pipe -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -I/usr/local/include -I. -I. -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include -I/usr/local/include -c -o strutil.o strutil.c cc -pipe -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -I/usr/local/include -I. -I. -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include -I/usr/local/include -c -o check_dir.o check_dir.c cc -pipe -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -I/usr/local/include -I. -I. -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include -I/usr/local/include -c -o repmgr.o repmgr.c cc -pipe -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard dbutils.o config.o repmgrd.o log.o strutil.o -L/usr/local/lib -lpgport -L/usr/local/lib -lpq -L/usr/local/lib -L/usr/local/lib -lpthread -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -Wl,--as-needed -Wl,-R'/usr/local/lib' -lpgport -lintl -lssl -lcrypto -lz -lreadline -lcrypt -lm -o repmgrd gmake -C sql gmake[2]: Entering directory '/construction/databases/postgresql-repmgr2/repmgr-2.0.3/sql' sed 's,MODULE_PATHNAME,$libdir/repmgr_funcs,g' repmgr_funcs.sql.in >repmgr_funcs.sql cc -pipe -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -fPIC -DPIC -I. -I. -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include -I/usr/local/include -c -o repmgr_funcs.o repmgr_funcs.c cc -pipe -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -fPIC -DPIC -shared -o repmgr_funcs.so repmgr_funcs.o -L/usr/local/lib -L/usr/local/lib -lpthread -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -Wl,--as-needed -Wl,-R'/usr/local/lib' gmake[2]: Leaving directory '/construction/databases/postgresql-repmgr2/repmgr-2.0.3/sql' cc -pipe -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard dbutils.o check_dir.o config.o repmgr.o log.o strutil.o -L/usr/local/lib -lpgport -L/usr/local/lib -lpq -L/usr/local/lib -L/usr/local/lib -lpthread -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -Wl,--as-needed -Wl,-R'/usr/local/lib' -lpgport -lintl -lssl -lcrypto -lz -lreadline -lcrypt -lm -o repmgr gmake -C sql gmake[2]: Entering directory '/construction/databases/postgresql-repmgr2/repmgr-2.0.3/sql' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/construction/databases/postgresql-repmgr2/repmgr-2.0.3/sql' gmake[1]: Leaving directory '/construction/databases/postgresql-repmgr2/repmgr-2.0.3' -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> postgresql-repmgr2-2.0.3_1 depends on executable: rsync - not found ===> Installing existing package /packages/All/rsync-3.1.2_8.txz Installing rsync-3.1.2_8... `-- Installing libiconv-1.14_11... `-- Extracting libiconv-1.14_11: .......... done Extracting rsync-3.1.2_8: .......... done ===> postgresql-repmgr2-2.0.3_1 depends on executable: rsync - found ===> Returning to build of postgresql-repmgr2-2.0.3_1 ===> postgresql-repmgr2-2.0.3_1 depends on executable: postgres - found -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for postgresql-repmgr2-2.0.3_1 ===> Generating temporary packing list install -s -m 555 /construction/databases/postgresql-repmgr2/repmgr-2.0.3/repmgr /construction/databases/postgresql-repmgr2/stage/usr/local/bin install -s -m 555 /construction/databases/postgresql-repmgr2/repmgr-2.0.3/repmgrd /construction/databases/postgresql-repmgr2/stage/usr/local/sbin install -m 0644 /construction/databases/postgresql-repmgr2/repmgr-2.0.3/repmgr.conf.sample /construction/databases/postgresql-repmgr2/stage/usr/local/etc install -m 0644 /construction/databases/postgresql-repmgr2/repmgr-2.0.3/README.rst /construction/databases/postgresql-repmgr2/stage/usr/local/share/doc/postgresql-repmgr install -m 0644 /construction/databases/postgresql-repmgr2/repmgr-2.0.3/repmgr.sql /construction/databases/postgresql-repmgr2/stage/usr/local/share/postgresql-repmgr install -m 0644 /construction/databases/postgresql-repmgr2/repmgr-2.0.3/sql/repmgr_funcs.sql /construction/databases/postgresql-repmgr2/stage/usr/local/share/postgresql-repmgr install -m 0644 /construction/databases/postgresql-repmgr2/repmgr-2.0.3/sql/uninstall_repmgr_funcs.sql /construction/databases/postgresql-repmgr2/stage/usr/local/share/postgresql-repmgr install -s -m 0644 /construction/databases/postgresql-repmgr2/repmgr-2.0.3/sql/repmgr_funcs.so /construction/databases/postgresql-repmgr2/stage/usr/local/lib/postgresql ====> Compressing man pages (compress-man) ===> Staging rc.d startup script(s) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for postgresql-repmgr2-2.0.3_1 file sizes/checksums [12]: . done packing files [12]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Sunday, 31 DEC 2017 at 03:52:19 UTC Duration: 00:00:17