[package - 111arm64-quarterly][databases/postgresql10-pgtcl] Failed for pgtcl-postgresql10-2.0.0_1 in build

pkg-fallout at FreeBSD.org pkg-fallout at FreeBSD.org
Tue Feb 6 11:25:16 UTC 2018


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:     mi at aldan.algebra.com
Last committer: girgen at FreeBSD.org
Ident:          $FreeBSD: branches/2018Q1/databases/postgresql10-pgtcl/Makefile 447680 2017-08-10 14:23:31Z girgen $
Log URL:        http://thunderx1.nyi.freebsd.org/data/111arm64-quarterly/461031/logs/pgtcl-postgresql10-2.0.0_1.log
Build URL:      http://thunderx1.nyi.freebsd.org/build.html?mastername=111arm64-quarterly&build=461031
Log:

=>> Building databases/postgresql10-pgtcl
build started at Tue Feb  6 11:23:58 UTC 2018
port directory: /usr/ports/databases/postgresql10-pgtcl
package name: pgtcl-postgresql10-2.0.0_1
building for: FreeBSD 111arm64-quarterly-job-04 11.1-RELEASE FreeBSD 11.1-RELEASE arm64
maintained by: mi at aldan.algebra.com
Makefile ident:      $FreeBSD: branches/2018Q1/databases/postgresql10-pgtcl/Makefile 447680 2017-08-10 14:23:31Z girgen $
Poudriere version: 3.2.4-42-g98f2e28b
Host OSVERSION: 1200052
Jail OSVERSION: 1101001
Job Id: 04

---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
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/111arm64-quarterly/ref
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
OLDPWD=/usr/local/poudriere/data/.m/111arm64-quarterly/ref/.p
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
PWD=/usr/local/poudriere/data/.m/111arm64-quarterly/ref/.p/pool
MASTERNAME=111arm64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
POUDRIERE_VERSION=3.2.4-42-g98f2e28b
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
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 pgtcl-postgresql10-2.0.0_1:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
mi at aldan.algebra.com
--End MAINTAINER--

--CONFIGURE_ARGS--
--exec-prefix=/usr/local  --with-tcl=/usr/local/lib/tcl8.6  --with-tclinclude=/usr/local/include/tcl8.6 --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/databases/postgresql10-pgtcl/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/postgresql10-pgtcl/work  HOME=/wrkdirs/usr/ports/databases/postgresql10-pgtcl/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/databases/postgresql10-pgtcl/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/databases/postgresql10-pgtcl/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/postgresql10-pgtcl/work  HOME=/wrkdirs/usr/ports/databases/postgresql10-pgtcl/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/databases/postgresql10-pgtcl/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/local/lib/pgtcl"  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--
PORTVERSION=2.0.0 TCL_PKG=pg2.0.0 OSREL=11.1 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib DOCSDIR="share/doc/pgtcl"  EXAMPLESDIR="share/examples/pgtcl"  DATADIR="share/pgtcl"  WWWDIR="www/pgtcl"  ETCDIR="etc/pgtcl"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/pgtcl DOCSDIR=/usr/local/share/doc/pgtcl EXAMPLESDIR=/usr/local/share/examples/pgtcl  WWWDIR=/usr/local/www/pgtcl ETCDIR=/usr/local/etc/pgtcl
--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    >============================
===>   pgtcl-postgresql10-2.0.0_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.3_1.txz
[111arm64-quarterly-job-04] Installing pkg-1.10.3_1...
[111arm64-quarterly-job-04] Extracting pkg-1.10.3_1: .......... done
===>   pgtcl-postgresql10-2.0.0_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of pgtcl-postgresql10-2.0.0_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License PostgreSQL accepted by the user
===> Fetching all distfiles required by pgtcl-postgresql10-2.0.0_1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License PostgreSQL accepted by the user
===> Fetching all distfiles required by pgtcl-postgresql10-2.0.0_1 for building
=> SHA256 Checksum OK for pgtcl2.0.0.tar.gz.
=> SHA256 Checksum OK for pgtcldocs-20110918.zip.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License PostgreSQL accepted by the user
===> Fetching all distfiles required by pgtcl-postgresql10-2.0.0_1 for building
===>  Extracting for pgtcl-postgresql10-2.0.0_1
=> SHA256 Checksum OK for pgtcl2.0.0.tar.gz.
=> SHA256 Checksum OK for pgtcldocs-20110918.zip.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for pgtcl-postgresql10-2.0.0_1
===========================================================================
=======================<phase: build-depends  >============================
===========================================================================
=======================<phase: lib-depends    >============================
===>   pgtcl-postgresql10-2.0.0_1 depends on shared library: libpq.so.5 - not found
===>   Installing existing package /packages/All/postgresql10-client-10.1.txz
[111arm64-quarterly-job-04] Installing postgresql10-client-10.1...
[111arm64-quarterly-job-04] `-- Installing gettext-runtime-0.19.8.1_1...
[111arm64-quarterly-job-04] |   `-- Installing indexinfo-0.3.1...
[111arm64-quarterly-job-04] |   `-- Extracting indexinfo-0.3.1: .... done
[111arm64-quarterly-job-04] `-- Extracting gettext-runtime-0.19.8.1_1: .......... done
[111arm64-quarterly-job-04] `-- Installing perl5-5.24.3...
[111arm64-quarterly-job-04] `-- Extracting perl5-5.24.3: .......... done
[111arm64-quarterly-job-04] `-- Installing readline-7.0.3_1...
[111arm64-quarterly-job-04] `-- Extracting readline-7.0.3_1: .......... done
[111arm64-quarterly-job-04] Extracting postgresql10-client-10.1: .......... 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 postgresql10-client-10.1:

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...
===>   pgtcl-postgresql10-2.0.0_1 depends on shared library: libpq.so.5 - found (/usr/local/lib/libpq.so.5)
===>   Returning to build of pgtcl-postgresql10-2.0.0_1
===>   pgtcl-postgresql10-2.0.0_1 depends on shared library: libtcl86.so - not found
===>   Installing existing package /packages/All/tcl86-8.6.7.txz
[111arm64-quarterly-job-04] Installing tcl86-8.6.7...
[111arm64-quarterly-job-04] Extracting tcl86-8.6.7: .......... done
===>   pgtcl-postgresql10-2.0.0_1 depends on shared library: libtcl86.so - found (/usr/local/lib/libtcl86.so)
===>   Returning to build of pgtcl-postgresql10-2.0.0_1
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for pgtcl-postgresql10-2.0.0_1
configure: loading site script /usr/ports/Templates/config.site
checking for correct TEA configuration... ok (TEA 3.5)
checking for Tcl configuration... found /usr/local/lib/tcl8.6/tclConfig.sh
checking for existence of /usr/local/lib/tcl8.6/tclConfig.sh... loading
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cpp
checking whether make sets $(MAKE)... yes
checking for ranlib... ranlib
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking if the compiler understands -pipe... yes
checking whether byte ordering is bigendian... no
checking for sin... no
checking for main in -lieee... no
checking for main in -linet... no
checking net/errno.h usability... no
checking net/errno.h presence... no
checking for net/errno.h... no
checking for connect... yes
checking for gethostbyname... (cached) yes
checking dirent.h... yes
checking for errno.h... (cached) yes
checking for float.h... (cached) yes
checking values.h usability... no
checking values.h presence... no
checking for values.h... no
checking for limits.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/wait.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for Tcl public headers... /usr/local/include/tcl8.6
checking how to build libraries... shared
checking if 64bit support is requested... no
checking if 64bit Sparc VIS support is requested... no
checking system version... FreeBSD-11.1-RELEASE
checking for dlopen in -ldl... no
checking for ar... ar
checking for required early compiler flags... none
checking for 64-bit integer type... using long
checking for build with symbols... no
checking for pg_config... /usr/local/bin/pg_config
configure: pg_config says includedir is /usr/local/include
configure: pg_config says libdir is /usr/local/lib
checking for lo_truncate... yes
checking for PQencryptPassword... yes
checking for PQescapeStringConn... yes
checking for PQescapeByteaConn... yes
checking for PQdescribePrepared... yes
checking for tclsh... /usr/local/bin/tclsh8.6
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pkgIndex.tcl
/usr/bin/sed -i.bak -e 's,tclstub,tcl,g'  -e 's,-DUSE_TCL_STUBS=1,-UUSE_TCL_STUBS,g'  /wrkdirs/usr/ports/databases/postgresql10-pgtcl/work/pgtcl2.0.0/Makefile
===========================================================================
=======================<phase: build          >============================
===>  Building for pgtcl-postgresql10-2.0.0_1
cc -pipe -DPACKAGE_NAME=\"pgtcl\" -DPACKAGE_TARNAME=\"pgtcl\" -DPACKAGE_VERSION=\"2.0.0\" -DPACKAGE_STRING=\"pgtcl\ 2.0.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DTCL_WIDE_INT_IS_LONG=1 -UUSE_TCL_STUBS -DHAVE_LO_TRUNCATE=1 -DHAVE_PQENCRYPTPASSWORD=1 -DHAVE_PQESCAPESTRINGCONN=1 -DHAVE_PQESCAPEBYTEACONN=1 -DHAVE_PQDESCRIBEPREPARED=1  -I/usr/local/include -I"/usr/local/include/tcl8.6"  -I/usr/local/include  -O2 -pipe  -fno-strict-aliasing -pthread -O2 -Wall -Wno-implicit-int -fPIC -c `echo pgtcl.c` -o pgtcl.o
cc -pipe -DPACKAGE_NAME=\"pgtcl\" -DPACKAGE_TARNAME=\"pgtcl\" -DPACKAGE_VERSION=\"2.0.0\" -DPACKAGE_STRING=\"pgtcl\ 2.0.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DTCL_WIDE_INT_IS_LONG=1 -UUSE_TCL_STUBS -DHAVE_LO_TRUNCATE=1 -DHAVE_PQENCRYPTPASSWORD=1 -DHAVE_PQESCAPESTRINGCONN=1 -DHAVE_PQESCAPEBYTEACONN=1 -DHAVE_PQDESCRIBEPREPARED=1  -I/usr/local/include -I"/usr/local/include/tcl8.6"  -I/usr/local/include  -O2 -pipe  -fno-strict-aliasing -pthread -O2 -Wall -Wno-implicit-int -fPIC -c `echo pgtclCmds.c` -o pgtclCmds.o
cc -pipe -DPACKAGE_NAME=\"pgtcl\" -DPACKAGE_TARNAME=\"pgtcl\" -DPACKAGE_VERSION=\"2.0.0\" -DPACKAGE_STRING=\"pgtcl\ 2.0.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DTCL_WIDE_INT_IS_LONG=1 -UUSE_TCL_STUBS -DHAVE_LO_TRUNCATE=1 -DHAVE_PQENCRYPTPASSWORD=1 -DHAVE_PQESCAPESTRINGCONN=1 -DHAVE_PQESCAPEBYTEACONN=1 -DHAVE_PQDESCRIBEPREPARED=1  -I/usr/local/include -I"/usr/local/include/tcl8.6"  -I/usr/local/include  -O2 -pipe  -fno-strict-aliasing -pthread -O2 -Wall -Wno-implicit-int -fPIC -c `echo pgtclId.c` -o pgtclId.o
pgtclId.c:238:54: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast]
        connid->notifier_channel = Tcl_MakeTcpClientChannel((ClientData) PQsocket(conn));
                                                            ^
1 warning generated.
rm -f libpgtcl2.0.0.so
ld -Bshareable -x -o libpgtcl2.0.0.so pgtcl.o pgtclCmds.o pgtclId.o  -L/usr/local/lib -ltcl86 -L/usr/local/lib -lpq   -lm  -rpath /usr/local/lib -rpath /usr/local/lib
ld: error: unable to find library -lm
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/databases/postgresql10-pgtcl/work/pgtcl2.0.0
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/postgresql10-pgtcl


More information about the freebsd-pkg-fallout mailing list