Building pg_rman-1.2.3_1.txz (origin /buildshare/ports/355755/databases/pg_rman) for powerpc-10-0 on XXX slot1: created x distfiles/ x distfiles/pg_rman-1.2.3.tar.gz x packages/ x packages/libxml2-2.9.1_1.txz x packages/pkg-1.2.7_2.txz x packages/pkgconf-0.9.5.txz x packages/postgresql92-server-9.2.8_1.txz x packages/gettext-0.18.3.1_1.txz x packages/gmake-3.82_1.txz x packages/postgresql92-client-9.2.8_1.txz ELF ldconfig path: /lib /usr/lib /usr/lib/compat Make depends ===> pg_rman-1.2.3_1 depends on file: /usr/local/sbin/pkg - not found ===> Verifying install for /usr/local/sbin/pkg in /buildshare/ports/355755/ports-mgmt/pkg ===> Installing existing package /packages/pkg-1.2.7_2.txz Installing pkg-1.2.7_2... done If you are upgrading from the old package format, first run: # pkg2ng ===> Returning to build of pg_rman-1.2.3_1 ===> pg_rman-1.2.3_1 depends on executable: gmake - not found ===> Verifying install for gmake in /buildshare/ports/355755/devel/gmake ===> Installing existing package /packages/gmake-3.82_1.txz Installing gmake-3.82_1...Installing gettext-0.18.3.1_1... done done ===> Returning to build of pg_rman-1.2.3_1 ===> pg_rman-1.2.3_1 depends on executable: psql - not found ===> Verifying install for psql in /buildshare/ports/355755/databases/postgresql92-client ===> Installing existing package /packages/postgresql92-client-9.2.8_1.txz Installing postgresql92-client-9.2.8_1...Installing libxml2-2.9.1_1... done done 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... ===> Returning to build of pg_rman-1.2.3_1 ===> pg_rman-1.2.3_1 depends on executable: postgres - not found ===> Verifying install for postgres in /buildshare/ports/355755/databases/postgresql92-server ===> Installing existing package /packages/postgresql92-server-9.2.8_1.txz Installing postgresql92-server-9.2.8_1...===> Creating users and/or groups. Creating group 'pgsql' with gid '70'. Creating user 'pgsql' with uid '70'. =========== 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. =========================================== done 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 perfom vacuum on all databases nightly. Per default, it perfoms `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 ===> Returning to build of pg_rman-1.2.3_1 ===> pg_rman-1.2.3_1 depends on executable: psql - found ===> pg_rman-1.2.3_1 depends on executable: postgres - found Make install ===> pg_rman-1.2.3_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by pg_rman-1.2.3_1 for building ===> Extracting for pg_rman-1.2.3_1 => SHA256 Checksum OK for pg_rman-1.2.3.tar.gz. ===> Patching for pg_rman-1.2.3_1 ===> pg_rman-1.2.3_1 depends on executable: gmake - found ===> pg_rman-1.2.3_1 depends on executable: psql - found ===> pg_rman-1.2.3_1 depends on executable: postgres - found ===> Configuring for pg_rman-1.2.3_1 ===> Building for pg_rman-1.2.3_1 gmake[1]: Entering directory `/obj/buildshare/ports/355755/databases/pg_rman/work/pg_rman-1.2.3' cc -O2 -pipe -fno-strict-aliasing -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I/usr/local/include -I. -I. -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/local/include -c -o backup.o backup.c backup.c: In function 'delete_old_files': backup.c:1341: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t' backup.c:1341: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'time_t' backup.c:1345: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t' backup.c:1345: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'time_t' cc -O2 -pipe -fno-strict-aliasing -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I/usr/local/include -I. -I. -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/local/include -c -o catalog.o catalog.c cc -O2 -pipe -fno-strict-aliasing -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I/usr/local/include -I. -I. -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/local/include -c -o data.o data.c cc -O2 -pipe -fno-strict-aliasing -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I/usr/local/include -I. -I. -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/local/include -c -o delete.o delete.c delete.c: In function 'pgBackupDelete': delete.c:131: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t' delete.c:155: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t' delete.c:155: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'time_t' delete.c:160: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t' delete.c:160: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'time_t' cc -O2 -pipe -fno-strict-aliasing -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I/usr/local/include -I. -I. -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/local/include -c -o dir.o dir.c cc -O2 -pipe -fno-strict-aliasing -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I/usr/local/include -I. -I. -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/local/include -c -o init.o init.c cc -O2 -pipe -fno-strict-aliasing -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I/usr/local/include -I. -I. -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/local/include -c -o parray.o parray.c cc -O2 -pipe -fno-strict-aliasing -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I/usr/local/include -I. -I. -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/local/include -c -o pg_rman.o pg_rman.c cc -O2 -pipe -fno-strict-aliasing -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I/usr/local/include -I. -I. -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/local/include -c -o restore.o restore.c cc -O2 -pipe -fno-strict-aliasing -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I/usr/local/include -I. -I. -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/local/include -c -o show.o show.c show.c: In function 'show_backup_list': show.c:192: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'int' show.c:192: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'int' cc -O2 -pipe -fno-strict-aliasing -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I/usr/local/include -I. -I. -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/local/include -c -o util.o util.c cc -O2 -pipe -fno-strict-aliasing -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I/usr/local/include -I. -I. -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/local/include -c -o validate.o validate.c cc -O2 -pipe -fno-strict-aliasing -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I/usr/local/include -I. -I. -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/local/include -c -o xlog.o xlog.c cc -O2 -pipe -fno-strict-aliasing -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I/usr/local/include -I. -I. -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/local/include -c -o pgsql_src/pg_ctl.o pgsql_src/pg_ctl.c cc -O2 -pipe -fno-strict-aliasing -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I/usr/local/include -I. -I. -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/local/include -c -o pgsql_src/pg_crc.o pgsql_src/pg_crc.c cc -O2 -pipe -fno-strict-aliasing -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I/usr/local/include -I. -I. -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/local/include -c -o pgut/pgut.o pgut/pgut.c cc -O2 -pipe -fno-strict-aliasing -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I/usr/local/include -I. -I. -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/local/include -c -o pgut/pgut-port.o pgut/pgut-port.c cc -O2 -pipe -fno-strict-aliasing -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv 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 pgsql_src/pg_ctl.o pgsql_src/pg_crc.o pgut/pgut.o pgut/pgut-port.o -L/usr/local/lib -lpgport -L/usr/local/lib -lpq -L/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/lib:/usr/local/lib -L/usr/local/lib -L/usr/lib -L/usr/local/lib -Wl,--as-needed -Wl,-R'/usr/local/lib' -lpgport -lintl -lssl -lcrypto -lz -lreadline -lcrypt -lm -o pg_rman gmake[1]: Leaving directory `/obj/buildshare/ports/355755/databases/pg_rman/work/pg_rman-1.2.3' ===> Staging for pg_rman-1.2.3_1 ===> pg_rman-1.2.3_1 depends on executable: psql - found ===> pg_rman-1.2.3_1 depends on executable: postgres - found ===> Generating temporary packing list gmake[1]: Entering directory `/obj/buildshare/ports/355755/databases/pg_rman/work/pg_rman-1.2.3' /bin/mkdir -p '/obj/buildshare/ports/355755/databases/pg_rman/work/stage/usr/local/bin' /bin/sh /usr/local/lib/postgresql/pgxs/src/makefiles/../../config/install-sh -c pg_rman '/obj/buildshare/ports/355755/databases/pg_rman/work/stage/usr/local/bin' gmake[1]: Leaving directory `/obj/buildshare/ports/355755/databases/pg_rman/work/pg_rman-1.2.3' ====> Compressing man pages (compress-man) ===> Installing for pg_rman-1.2.3_1 ===> Checking if databases/pg_rman already installed ===> Registering installation for pg_rman-1.2.3_1 Installing pg_rman-1.2.3_1... done Make package ===> Building package for pg_rman-1.2.3_1 slot1: removed