=> Building databases/pg_rman Started : Tuesday, 9 MAY 2017 at 20:13:42 UTC Platform: 4.9-DEVELOPMENT DragonFly v4.9.0.208.gfaf21-DEVELOPMENT #17: Sun Apr 16 19:35:15 PDT 2017 marino@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=4.9-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 4.9-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 -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- MAKE=gmake XDG_DATA_HOME=/construction/databases/pg_rman XDG_CONFIG_HOME=/construction/databases/pg_rman HOME=/construction/databases/pg_rman TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/databases/pg_rman XDG_CONFIG_HOME=/construction/databases/pg_rman HOME=/construction/databases/pg_rman 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="-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 -------------------------------------------------- USE_PGXS=1 DESTDIR=/construction/databases/pg_rman/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- OSREL=4.9 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/pg_rman" EXAMPLESDIR="share/examples/pg_rman" DATADIR="share/pg_rman" WWWDIR="www/pg_rman" ETCDIR="etc/pg_rman" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/pg_rman DOCSDIR=/usr/local/share/doc/pg_rman EXAMPLESDIR=/usr/local/share/examples/pg_rman WWWDIR=/usr/local/www/pg_rman ETCDIR=/usr/local/etc/pg_rman -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-BE 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 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=400901 OSVERSION=9999999 OSREL=4.9 _OSRELEASE=4.9-SYNTH -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> License BSD3CLAUSE accepted by the user -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> pg_rman-1.3.3 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.1.txz Installing pkg-1.10.1... Extracting pkg-1.10.1: .......... done ===> pg_rman-1.3.3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of pg_rman-1.3.3 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by pg_rman-1.3.3 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by pg_rman-1.3.3 for building => SHA256 Checksum OK for ossc-db-pg_rman-1.3.3-REL9_3_STABLE_GH0.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by pg_rman-1.3.3 for building ===> Extracting for pg_rman-1.3.3 => SHA256 Checksum OK for ossc-db-pg_rman-1.3.3-REL9_3_STABLE_GH0.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for pg_rman-1.3.3 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> pg_rman-1.3.3 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_1.txz Installing gmake-4.2.1_1... `-- Installing indexinfo-0.2.6... `-- Extracting indexinfo-0.2.6: .... done `-- Installing gettext-runtime-0.19.8.1_1... `-- Extracting gettext-runtime-0.19.8.1_1: .......... done Extracting gmake-4.2.1_1: .......... done ===> pg_rman-1.3.3 depends on executable: gmake - found ===> Returning to build of pg_rman-1.3.3 ===> pg_rman-1.3.3 depends on executable: psql - not found ===> Installing existing package /packages/All/postgresql93-client-9.3.16.txz Installing postgresql93-client-9.3.16... `-- Installing libressl-2.5.4... `-- Extracting libressl-2.5.4: .......... done `-- Installing perl5-5.24.1_1... `-- Extracting perl5-5.24.1_1: .......... done `-- Installing readline-6.3.8_1... | `-- Installing ncurses-6.0_3... | `-- Extracting ncurses-6.0_3: .......... done `-- Extracting readline-6.3.8_1: .......... done Extracting postgresql93-client-9.3.16: .......... done Message from perl5-5.24.1_1: 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 ncurses-6.0_3: ===> NOTICE: The ncurses port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port Message from postgresql93-client-9.3.16: 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-PyGreSQL 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... ===> pg_rman-1.3.3 depends on executable: psql - found ===> Returning to build of pg_rman-1.3.3 ===> pg_rman-1.3.3 depends on executable: postgres - not found ===> Installing existing package /packages/All/postgresql93-server-9.3.16.txz Installing postgresql93-server-9.3.16... `-- Installing libxml2-2.9.4... `-- Extracting libxml2-2.9.4: .......... 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 postgresql93-server-9.3.16: .......... done Message from postgresql93-server-9.3.16: 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. 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 ===> pg_rman-1.3.3 depends on executable: postgres - found ===> Returning to build of pg_rman-1.3.3 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- ===> pg_rman-1.3.3 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for pg_rman-1.3.3 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for pg_rman-1.3.3 gmake[1]: Entering directory '/construction/databases/pg_rman/pg_rman-REL9_3_STABLE' 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 -lm -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 backup.o backup.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 -lm -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 catalog.o catalog.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 -lm -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 data.o data.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 -lm -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 delete.o delete.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 -lm -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 dir.o 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 -lm -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 init.o init.c init.c: In function 'do_init': init.c:125:3: warning: 'checksum_ver' may be used uninitialized in this function [-Wmaybe-uninitialized] fprintf(fp, "DATA_CHECKSUM_VERSION='%u'", checksum_ver); ^ init.c:114:3: warning: 'sysid' may be used uninitialized in this function [-Wmaybe-uninitialized] fprintf(fp, "SYSTEM_IDENTIFIER='" UINT64_FORMAT "'\n", sysid); ^ 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 -lm -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 parray.o parray.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 -lm -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 pg_rman.o pg_rman.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 -lm -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 restore.o restore.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 -lm -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 show.o show.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 -lm -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 util.o util.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 -lm -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 validate.o validate.c backup.c: In function 'do_backup': backup.c:883:2: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] snprintf(sysident_str, sizeof(sysident_str), UINT64_FORMAT, result); ^ 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 -lm -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 xlog.o xlog.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 -lm -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 controlfile.o controlfile.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 -lm -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 pgsql_src/pg_ctl.o pgsql_src/pg_ctl.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 -lm -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 pgut/pgut.o pgut/pgut.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 -lm -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 pgut/pgut-port.o pgut/pgut-port.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 backup.o catalog.o data.o delete.o dir.o init.o parray.o pg_rman.o restore.o show.o util.o validate.o xlog.o controlfile.o pgsql_src/pg_ctl.o pgut/pgut.o pgut/pgut-port.o -L/usr/local/lib -lpgport -lpgcommon -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 -lpgcommon -lintl -lssl -lcrypto -lz -lreadline -lcrypt -lm -o pg_rman gmake[1]: Leaving directory '/construction/databases/pg_rman/pg_rman-REL9_3_STABLE' -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> pg_rman-1.3.3 depends on executable: psql - found ===> pg_rman-1.3.3 depends on executable: postgres - found -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for pg_rman-1.3.3 ===> Generating temporary packing list gmake[1]: Entering directory '/construction/databases/pg_rman/pg_rman-REL9_3_STABLE' /bin/mkdir -p '/construction/databases/pg_rman/stage/usr/local/bin' /usr/bin/install -c pg_rman '/construction/databases/pg_rman/stage/usr/local/bin' gmake[1]: Leaving directory '/construction/databases/pg_rman/pg_rman-REL9_3_STABLE' ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for pg_rman-1.3.3 file sizes/checksums [4]: . done packing files [4]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Tuesday, 9 MAY 2017 at 20:14:18 UTC Duration: 00:00:36