Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Feb 2018 04:21:19 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - 111arm64-quarterly][databases/postgresql-mysql_fdw] Failed for postgresql95-mysql_fdw-2.2.0 in build
Message-ID:  <201802200421.w1K4LJQx056371@thunderx1.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help

You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     amutu@amutu.com
Last committer: tz@FreeBSD.org
Ident:          $FreeBSD: branches/2018Q1/databases/postgresql-mysql_fdw/Makefile 444170 2017-06-23 09:02:17Z tz $
Log URL:        http://thunderx1.nyi.freebsd.org/data/111arm64-quarterly/462367/logs/postgresql95-mysql_fdw-2.2.0.log
Build URL:      http://thunderx1.nyi.freebsd.org/build.html?mastername=111arm64-quarterly&build=462367
Log:

=>> Building databases/postgresql-mysql_fdw
build started at Tue Feb 20 04:19:47 UTC 2018
port directory: /usr/ports/databases/postgresql-mysql_fdw
package name: postgresql95-mysql_fdw-2.2.0
building for: FreeBSD 111arm64-quarterly-job-02 11.1-RELEASE FreeBSD 11.1-RELEASE arm64
maintained by: amutu@amutu.com
Makefile ident:      $FreeBSD: branches/2018Q1/databases/postgresql-mysql_fdw/Makefile 444170 2017-06-23 09:02:17Z tz $
Poudriere version: 3.2.4-56-g0fd5b0e3
Host OSVERSION: 1200052
Jail OSVERSION: 1101001
Job Id: 02

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1101001
UNAME_v=FreeBSD 11.1-RELEASE
UNAME_r=11.1-RELEASE
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
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.4-56-g0fd5b0e3
MASTERMNT=/usr/local/poudriere/data/.m/111arm64-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/111arm64-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=111arm64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/111arm64-quarterly/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---
---End OPTIONS List---

--MAINTAINER--
amutu@amutu.com
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/databases/postgresql-mysql_fdw/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/postgresql-mysql_fdw/work  HOME=/wrkdirs/usr/ports/databases/postgresql-mysql_fdw/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/databases/postgresql-mysql_fdw/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--
USE_PGXS=1 XDG_DATA_HOME=/wrkdirs/usr/ports/databases/postgresql-mysql_fdw/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/postgresql-mysql_fdw/work  HOME=/wrkdirs/usr/ports/databases/postgresql-mysql_fdw/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/databases/postgresql-mysql_fdw/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  LIBDIR="/usr/lib"  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--
OSREL=11.1 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib DOCSDIR="share/doc/mysql_fdw"  EXAMPLESDIR="share/examples/mysql_fdw"  DATADIR="share/mysql_fdw"  WWWDIR="www/mysql_fdw"  ETCDIR="etc/mysql_fdw"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/mysql_fdw DOCSDIR=/usr/local/share/doc/mysql_fdw EXAMPLESDIR=/usr/local/share/examples/mysql_fdw  WWWDIR=/usr/local/www/mysql_fdw ETCDIR=/usr/local/etc/mysql_fdw
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
ARCH=aarch64
CONFIGURE_MAX_CMD_LEN=262144
OPSYS=FreeBSD
OSREL=11.1
OSVERSION=1101001
PYTHONBASE=/usr/local
UID=0
_OSRELEASE=11.1-RELEASE
#### Misc Poudriere ####
GID=0
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)  1048576
stack size              (kbytes, -s)  1048576
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--
=======================<phase: check-sanity   >============================
===>  License PostgreSQL accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   postgresql95-mysql_fdw-2.2.0 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.3_1.txz
[111arm64-quarterly-job-02] Installing pkg-1.10.3_1...
[111arm64-quarterly-job-02] Extracting pkg-1.10.3_1: .......... done
===>   postgresql95-mysql_fdw-2.2.0 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of postgresql95-mysql_fdw-2.2.0
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License PostgreSQL accepted by the user
===> Fetching all distfiles required by postgresql95-mysql_fdw-2.2.0 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License PostgreSQL accepted by the user
===> Fetching all distfiles required by postgresql95-mysql_fdw-2.2.0 for building
=> SHA256 Checksum OK for EnterpriseDB-mysql_fdw-2.2.0-c14ee1d_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License PostgreSQL accepted by the user
===> Fetching all distfiles required by postgresql95-mysql_fdw-2.2.0 for building
===>  Extracting for postgresql95-mysql_fdw-2.2.0
=> SHA256 Checksum OK for EnterpriseDB-mysql_fdw-2.2.0-c14ee1d_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for postgresql95-mysql_fdw-2.2.0
/usr/bin/sed -i '.orig' 's/#if defined(__APPLE__)/& || defined(__FreeBSD__)/' /wrkdirs/usr/ports/databases/postgresql-mysql_fdw/work/mysql_fdw-c14ee1d/mysql_fdw.c
===========================================================================
=======================<phase: build-depends  >============================
===>   postgresql95-mysql_fdw-2.2.0 depends on executable: gmake - not found
===>   Installing existing package /packages/All/gmake-4.2.1_1.txz
[111arm64-quarterly-job-02] Installing gmake-4.2.1_1...
[111arm64-quarterly-job-02] `-- Installing gettext-runtime-0.19.8.1_1...
[111arm64-quarterly-job-02] |   `-- Installing indexinfo-0.3.1...
[111arm64-quarterly-job-02] |   `-- Extracting indexinfo-0.3.1: .... done
[111arm64-quarterly-job-02] `-- Extracting gettext-runtime-0.19.8.1_1: .......... done
[111arm64-quarterly-job-02] Extracting gmake-4.2.1_1: .......... done
===>   postgresql95-mysql_fdw-2.2.0 depends on executable: gmake - found
===>   Returning to build of postgresql95-mysql_fdw-2.2.0
===>   postgresql95-mysql_fdw-2.2.0 depends on executable: postgres - not found
===>   Installing existing package /packages/All/postgresql95-server-9.5.10.txz
[111arm64-quarterly-job-02] Installing postgresql95-server-9.5.10...
[111arm64-quarterly-job-02] `-- Installing libxml2-2.9.7...
[111arm64-quarterly-job-02] `-- Extracting libxml2-2.9.7: .......... done
[111arm64-quarterly-job-02] `-- Installing postgresql95-client-9.5.10...
[111arm64-quarterly-job-02] |   `-- Installing perl5-5.24.3...
[111arm64-quarterly-job-02] |   `-- Extracting perl5-5.24.3: .......... done
[111arm64-quarterly-job-02] |   `-- Installing readline-7.0.3_1...
[111arm64-quarterly-job-02] |   `-- Extracting readline-7.0.3_1: .......... done
[111arm64-quarterly-job-02] `-- Extracting postgresql95-client-9.5.10: .......... 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.
  ===========================================
[111arm64-quarterly-job-02] Extracting postgresql95-server-9.5.10: .......... 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 postgresql95-client-9.5.10:

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.10:

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
===>   postgresql95-mysql_fdw-2.2.0 depends on executable: postgres - found
===>   Returning to build of postgresql95-mysql_fdw-2.2.0
===========================================================================
=======================<phase: lib-depends    >============================
===>   postgresql95-mysql_fdw-2.2.0 depends on shared library: libmysqlclient.so.18 - not found
===>   Installing existing package /packages/All/mysql56-client-5.6.39.txz
[111arm64-quarterly-job-02] Installing mysql56-client-5.6.39...
[111arm64-quarterly-job-02] `-- Installing libedit-3.1.20170329_2,1...
[111arm64-quarterly-job-02] `-- Extracting libedit-3.1.20170329_2,1: .......... done
[111arm64-quarterly-job-02] `-- Installing libevent-2.1.8_1...
[111arm64-quarterly-job-02] `-- Extracting libevent-2.1.8_1: .......... done
[111arm64-quarterly-job-02] `-- Installing liblz4-1.8.0,1...
[111arm64-quarterly-job-02] `-- Extracting liblz4-1.8.0,1: .......... done
[111arm64-quarterly-job-02] Extracting mysql56-client-5.6.39: .......... done
Message from mysql56-client-5.6.39:

* * * * * * * * * * * * * * * * * * * * * * * *

Please be aware the database client is vulnerable
to CVE-2015-3152 - SSL Downgrade aka "BACKRONYM".
You may find more information at the following URL:

http://www.vuxml.org/freebsd/36bd352d-299b-11e5-86ff-14dae9d210b8.html

Although this database client is not listed as
"affected", it is vulnerable and will not be
receiving a patch. Please take note of this when
deploying this software.

* * * * * * * * * * * * * * * * * * * * * * * *
===>   postgresql95-mysql_fdw-2.2.0 depends on shared library: libmysqlclient.so.18 - found (/usr/local/lib/mysql/libmysqlclient.so.18)
===>   Returning to build of postgresql95-mysql_fdw-2.2.0
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for postgresql95-mysql_fdw-2.2.0
===========================================================================
=======================<phase: build          >============================
===>  Building for postgresql95-mysql_fdw-2.2.0
gmake[1]: Entering directory '/wrkdirs/usr/ports/databases/postgresql-mysql_fdw/work/mysql_fdw-c14ee1d'
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fno-strict-aliasing -fPIC -DPIC -I/usr/local/include/mysql -D _MYSQL_LIBNAME=\"libmysqlclient.so\" -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 connection.o connection.c
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fno-strict-aliasing -fPIC -DPIC -I/usr/local/include/mysql -D _MYSQL_LIBNAME=\"libmysqlclient.so\" -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 option.o option.c
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fno-strict-aliasing -fPIC -DPIC -I/usr/local/include/mysql -D _MYSQL_LIBNAME=\"libmysqlclient.so\" -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 deparse.o deparse.c
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fno-strict-aliasing -fPIC -DPIC -I/usr/local/include/mysql -D _MYSQL_LIBNAME=\"libmysqlclient.so\" -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 mysql_query.o mysql_query.c
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fno-strict-aliasing -fPIC -DPIC -I/usr/local/include/mysql -D _MYSQL_LIBNAME=\"libmysqlclient.so\" -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 mysql_fdw.o mysql_fdw.c
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fno-strict-aliasing -fPIC -DPIC -shared -o mysql_fdw.so connection.o option.o deparse.o mysql_query.o mysql_fdw.o -L/usr/local/lib -L/usr/local/lib -lpthread -L/usr/local/lib  -fuse-ld=bfd  -L/usr/local/lib -Wl,--as-needed -Wl,-R'/usr/local/lib'  
cc: error: invalid linker name in argument '-fuse-ld=bfd'
gmake[1]: *** [/usr/local/lib/postgresql/pgxs/src/makefiles/../../src/Makefile.shlib:311: mysql_fdw.so] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/databases/postgresql-mysql_fdw/work/mysql_fdw-c14ee1d'
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/postgresql-mysql_fdw



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802200421.w1K4LJQx056371>