=>> Building databases/postgresql-plruby build started at Fri Apr 12 01:13:24 UTC 2019 port directory: /usr/ports/databases/postgresql-plruby package name: postgresql-plruby-0.5.7_3 building for: FreeBSD ppcports 13.0-CURRENT FreeBSD 13.0-CURRENT 1300013 powerpc maintained by: knu@FreeBSD.org Makefile ident: $FreeBSD: head/databases/postgresql-plruby/Makefile 487272 2018-12-12 01:35:33Z gerald $ Poudriere version: 3.2.8 Host OSVERSION: 1300012 Jail OSVERSION: 1300013 Job Id: 67 !!! Jail is newer than host. (Jail: 1300013, Host: 1300012) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/csh OSVERSION=1300013 UNAME_v=FreeBSD 13.0-CURRENT 1300013 UNAME_r=13.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin LOCALBASE=/usr/local USER=root TRYBROKEN=yes LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.2.8 MASTERMNT=/zfs/poudriere/data/.m/head-head-powerpc64-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen GID=0 UID=0 PWD=/zfs/poudriere/data/.m/head-head-powerpc64-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=head-head-powerpc64-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/zfs/poudriere/data/.m/head-head-powerpc64-default/ref/.p SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= DEPENDS_ARGS= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for postgresql-plruby-0.5.7_3: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- knu@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --with-pg-config="/usr/local/bin/pg_config" --with-pgsql-srcinc="`cd /usr/ports/databases/postgresql95-server && /usr/bin/make -V WRKSRC`/src/include" --with-opt-dir="/usr/local" --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- RB_USER_INSTALL=yes XDG_DATA_HOME=/wrkdirs/usr/ports/databases/postgresql-plruby/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/postgresql-plruby/work HOME=/wrkdirs/usr/ports/databases/postgresql-plruby/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/databases/postgresql-plruby/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/databases/postgresql-plruby/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/postgresql-plruby/work HOME=/wrkdirs/usr/ports/databases/postgresql-plruby/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/databases/postgresql-plruby/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-I/usr/local/include" LDFLAGS=" -L/usr/local/lib " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -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" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" RUBY_LIBDIR="lib/ruby/2.4" RUBY_ARCHLIBDIR="lib/ruby/2.4/powerpc64-freebsd13" RUBY_SITELIBDIR="lib/ruby/site_ruby/2.4" RUBY_SITEARCHLIBDIR="lib/ruby/site_ruby/2.4/powerpc64-freebsd13" RUBY_VENDORLIBDIR="lib/ruby/vendor_ruby/2.4" RUBY_VENDORARCHLIBDIR="lib/ruby/vendor_ruby/2.4/powerpc64-freebsd13" RUBY_MODDOCDIR="share/doc/ruby24/postgresql-plruby" RUBY_MODEXAMPLESDIR="share/examples/ruby24/postgresql-plruby" RUBY_DOCDIR="share/doc/ruby24" RUBY_EXAMPLESDIR="share/examples/ruby24" RUBY_RIDIR="share/ri/2.4/system" RUBY_SITERIDIR="share/ri/2.4/site" RUBY_VERSION="2.4.5" RUBY_VER="2.4" RUBY_SHLIBVER="24" RUBY_ARCH="powerpc64-freebsd13" RUBY_SUFFIX="24" RUBY_NAME="ruby24" RUBY_DEFAULT_SUFFIX="24" RUBY24="" RUBY25="@comment " OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/postgresql-plruby" EXAMPLESDIR="share/examples/postgresql-plruby" DATADIR="share/postgresql-plruby" WWWDIR="www/postgresql-plruby" ETCDIR="etc/postgresql-plruby" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/postgresql-plruby DOCSDIR=/usr/local/share/doc/postgresql-plruby EXAMPLESDIR=/usr/local/share/examples/postgresql-plruby WWWDIR=/usr/local/www/postgresql-plruby ETCDIR=/usr/local/etc/postgresql-plruby --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### /usr/ports/Mk/Scripts/ports_env.sh #### _CCVERSION_921dbbb2=cc (GCC) 4.2.1 20070831 patched [FreeBSD] Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. _ALTCCVERSION_921dbbb2=none _CXXINTERNAL_acaad9ca=Using built-in specs. Target: powerpc64-undermydesk-freebsd Configured with: FreeBSD/powerpc64 system compiler Thread model: posix gcc version 4.2.1 20070831 patched [FreeBSD] "/usr/bin/ld" "--eh-frame-hdr" "-Qy" "-melf64ppc_fbsd" "--enable-new-dtags" "-dynamic-linker" "/libexec/ld-elf.so.1" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "-L/usr/lib" "/dev/null" "-lstdc++" "-lm" "-lgcc_s" "-lgcc" "-lc" "-lgcc_s" "-lgcc" "/usr/lib/crtsavres.o" "/usr/lib/crtend.o" "/usr/lib/crtn.o" CC_OUTPUT_921dbbb2_58173849=yes CC_OUTPUT_921dbbb2_9bdba57c=yes CC_OUTPUT_921dbbb2_6a4fe7f5=cc1: error: unrecognized command line option "-std=c11" CC_OUTPUT_921dbbb2_6bcac02b=yes CC_OUTPUT_921dbbb2_67d20829=yes CC_OUTPUT_921dbbb2_bfa62e83=cc1: error: unrecognized command line option "-std=gnu11" CC_OUTPUT_921dbbb2_f0b4d593=yes CC_OUTPUT_921dbbb2_308abb44=cc1plus: error: unrecognized command line option "-std=c++0x" CC_OUTPUT_921dbbb2_f00456e5=cc1plus: error: unrecognized command line option "-std=c++11" CC_OUTPUT_921dbbb2_65ad290d=cc1plus: error: unrecognized command line option "-std=c++14" CC_OUTPUT_921dbbb2_f2776b26=cc1plus: error: unrecognized command line option "-std=c++17" CC_OUTPUT_921dbbb2_b2657cc3=yes CC_OUTPUT_921dbbb2_380987f7=cc1plus: error: unrecognized command line option "-std=gnu++11" CC_OUTPUT_921dbbb2_160933ec=cc1plus: error: unrecognized command line option "-std=gnu++14" CC_OUTPUT_921dbbb2_fb62803b=cc1plus: error: unrecognized command line option "-std=gnu++17" _OBJC_CCVERSION_921dbbb2=cc (GCC) 4.2.1 20070831 patched [FreeBSD] Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. _OBJC_ALTCCVERSION_921dbbb2=none ARCH=powerpc64 OPSYS=FreeBSD _OSRELEASE=13.0-CURRENT OSREL=13.0 OSVERSION=1300013 PYTHONBASE=/usr/local _SMP_CPUS=80 CONFIGURE_MAX_CMD_LEN=262144 HAVE_PORTS_ENV=1 #### Misc Poudriere #### DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 1024 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===> License BSD2CLAUSE RUBY accepted by the user =========================================================================== =================================================== ===> postgresql-plruby-0.5.7_3 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_5.txz [ppcports] Installing pkg-1.10.5_5... [ppcports] Extracting pkg-1.10.5_5: .......... done ===> postgresql-plruby-0.5.7_3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of postgresql-plruby-0.5.7_3 =========================================================================== =================================================== =========================================================================== =================================================== ===> License BSD2CLAUSE RUBY accepted by the user ===> Fetching all distfiles required by postgresql-plruby-0.5.7_3 for building cd /usr/ports/databases/postgresql95-server && /usr/bin/make -DBATCH patch ===> License PostgreSQL accepted by the user => postgresql-9.5.16.tar.bz2 doesn't seem to exist in /portdistfiles/postgresql. => Attempting to fetch https://ftp.postgresql.org/pub/source/v9.5.16/postgresql-9.5.16.tar.bz2 postgresql-9.5.16.tar.bz2 16 MB 1310 kBps 13s ===> Fetching all distfiles required by postgresql95-server-9.5.16 for building ===> Extracting for postgresql95-server-9.5.16 => SHA256 Checksum OK for postgresql/postgresql-9.5.16.tar.bz2. ===> Patching for postgresql95-server-9.5.16 ===> Applying FreeBSD patches for postgresql95-server-9.5.16 =========================================================================== =================================================== ===> License BSD2CLAUSE RUBY accepted by the user ===> Fetching all distfiles required by postgresql-plruby-0.5.7_3 for building cd /usr/ports/databases/postgresql95-server && /usr/bin/make -DBATCH patch => SHA256 Checksum OK for ruby/devrimgunduz-postgresql-plruby-0.5.7_GH0.tar.gz. =========================================================================== =================================================== ===> postgresql-plruby-0.5.7_3 depends on file: /usr/local/bin/ruby24 - not found ===> Installing existing package /packages/All/ruby-2.4.5_1,1.txz [ppcports] Installing ruby-2.4.5_1,1... [ppcports] `-- Installing gcc8-8.3.0_1... [ppcports] | `-- Installing binutils-2.32,1... [ppcports] | | `-- Installing gettext-runtime-0.19.8.1_2... [ppcports] | | `-- Installing indexinfo-0.3.1... [ppcports] | | `-- Extracting indexinfo-0.3.1: .... done [ppcports] | | `-- Extracting gettext-runtime-0.19.8.1_2: .......... done [ppcports] | `-- Extracting binutils-2.32,1: .....make: Working in: /usr/ports/databases/postgresql-plruby ...make: Working in: /usr/ports/databases/postgresql-plruby .. done [ppcports] | `-- Installing gmp-6.1.2_1... [ppcports] | `-- Extracting gmp-6.1.2_1: .......... done [ppcports] | `-- Installing mpc-1.1.0_2... [ppcports] | | `-- Installing mpfr-4.0.2... [ppcports] | | `-- Extracting mpfr-4.0.2: .......... done [ppcports] | `-- Extracting mpc-1.1.0_2: ......... done [ppcports] `-- Extracting gcc8-8.3.0_1: .........make: Working in: /usr/ports/databases/postgresql-plruby make: Working in: /usr/ports/databases/postgresql-plruby . done [ppcports] `-- Installing libedit-3.1.20181209_2,1... [ppcports] `-- Extracting libedit-3.1.20181209_2,1: .......... done [ppcports] `-- Installing libffi-3.2.1_3... [ppcports] `-- Extracting libffi-3.2.1_3: .......... done [ppcports] `-- Installing libyaml-0.2.1... [ppcports] `-- Extracting libyaml-0.2.1: ......... done [ppcports] Extracting ruby-2.4.5_1,1: .....make: Working in: /usr/ports/databases/postgresql-plruby ..... done make: Working in: /usr/ports/databases/postgresql-plruby Message from gcc8-8.3.0_1: To ensure binaries built with this toolchain find appropriate versions of the necessary run-time libraries, you may want to link using -Wl,-rpath=/usr/local/lib/gcc8 For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens transparently. Message from ruby-2.4.5_1,1: ==== Some of the standard commands are provided as separate ports for ease of upgrading: devel/ruby-gems: gem - RubyGems package manager devel/rubygem-rake: rake - Ruby Make And some of the standard libraries are provided as separate ports since they require extra dependencies: databases/rubygem-gdbm: GDBM module Install them as occasion demands. ==== ===> postgresql-plruby-0.5.7_3 depends on file: /usr/local/bin/ruby24 - found ===> Returning to build of postgresql-plruby-0.5.7_3 =========================================================================== =================================================== ===> License BSD2CLAUSE RUBY accepted by the user ===> Fetching all distfiles required by postgresql-plruby-0.5.7_3 for building cd /usr/ports/databases/postgresql95-server && /usr/bin/make -DBATCH patch ===> Extracting for postgresql-plruby-0.5.7_3 => SHA256 Checksum OK for ruby/devrimgunduz-postgresql-plruby-0.5.7_GH0.tar.gz. =========================================================================== =================================================== ===> postgresql-plruby-0.5.7_3 depends on file: /usr/local/bin/ruby24 - found =========================================================================== =================================================== ===> Patching for postgresql-plruby-0.5.7_3 ===> Applying FreeBSD patches for postgresql-plruby-0.5.7_3 =========================================================================== =================================================== ===> postgresql-plruby-0.5.7_3 depends on file: /usr/local/bin/ruby24 - found ===> postgresql-plruby-0.5.7_3 depends on executable: postgres - not found ===> Installing existing package /packages/All/postgresql95-server-9.5.16.txz [ppcports] Installing postgresql95-server-9.5.16... [ppcports] `-- Installing postgresql95-client-9.5.16... [ppcports] | `-- Installing perl5-5.28.1_1... [ppcports] | `-- Extracting perl5-5.28.1_1: .......... done [ppcports] | `-- Installing readline-7.0.5... [ppcports] | `-- Extracting readline-7.0.5: .......... done [ppcports] `-- Extracting postgresql95-client-9.5.16: .......... done ===> Creating groups. Creating group 'pgsql' with gid '70'. ===> Creating users 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. =========================================== [ppcports] Extracting postgresql95-server-9.5.16: .......... done Message from perl5-5.28.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 postgresql95-client-9.5.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-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 postgresql95-server-9.5.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 NB. If you're not using a checksumming filesystem like ZFS, you might wish to enable data checksumming. It can only be enabled during the initdb phase, by adding the "--data-checksums" flag to the postgres_initdb_flags rcvar. Check the initdb(1) manpage for more info and make sure you understand the performance implications. ====================================================================== To run PostgreSQL at startup, add 'postgresql_enable="YES"' to /etc/rc.conf ===> postgresql-plruby-0.5.7_3 depends on executable: postgres - found ===> Returning to build of postgresql-plruby-0.5.7_3 =========================================================================== =================================================== =========================================================================== =================================================== ===> Configuring for postgresql-plruby-0.5.7_3 ===> Running extconf.rb to configure checking for catalog/pg_proc.h... yes checking for rb_hash_delete() in ruby.h... yes checking for rb_block_call()... yes checking for st.h... yes checking for server/utils/array.h... no checking for utils/array.h... yes creating Makefile creating Makefile creating Makefile creating Makefile creating Makefile creating Makefile ======================================================================== After the installation use *something like this* to create the language plruby CREATE FUNCTION plruby_call_handler () RETURNS language_handler AS '$libdir/plruby' LANGUAGE C; CREATE OR REPLACE LANGUAGE plruby HANDLER plruby_call_handler; ======================================================================== =========================================================================== =================================================== ===> Building for postgresql-plruby-0.5.7_3 compiling plruby.c In file included from /usr/local/include/ruby-2.4/ruby.h:33, from plruby.h:50, from plruby.c:47: In function 'pl_init_all', inlined from 'pl_internal_call_handler' at plruby.c:526:9: /usr/local/include/ruby-2.4/ruby/ruby.h:628:35: error: call to 'ruby_safe_level_2_error' declared with attribute error: $SAFE=2 to 4 are obsolete # define rb_set_safe_level(level) rb_set_safe_level(RUBY_SAFE_LEVEL_CHECK(level, error)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ plruby.c:1659:5: note: in expansion of macro 'rb_set_safe_level' rb_set_safe_level(MAIN_SAFE_LEVEL); ^~~~~~~~~~~~~~~~~ *** Error code 1 Stop. make[2]: stopped in /wrkdirs/usr/ports/databases/postgresql-plruby/work/postgresql-plruby-0.5.7/src *** Error code 1 Stop. make[1]: stopped in /wrkdirs/usr/ports/databases/postgresql-plruby/work/postgresql-plruby-0.5.7 *** Error code 1 Stop. make: stopped in /usr/ports/databases/postgresql-plruby =>> Cleaning up wrkdir ===> Cleaning for postgresql-plruby-0.5.7_3 build of databases/postgresql-plruby | postgresql-plruby-0.5.7_3 ended at Fri Apr 12 01:53:23 UTC 2019 build time: 00:40:01 !!! build failure encountered !!!