Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jul 2017 16:04:19 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - head-arm64-default][databases/postgresql92-pgtcl] Failed for pgtcl-postgresql92-2.0.0_1 in build
Message-ID:  <201707171604.v6HG4JBF081784@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:     mi@aldan.algebra.com
Last committer: antoine@FreeBSD.org
Ident:          $FreeBSD: head/databases/postgresql92-pgtcl/Makefile 355673 2014-05-29 08:12:51Z antoine $
Log URL:        http://thunderx1.nyi.freebsd.org/data/head-arm64-default/p445841_s321002/logs/pgtcl-postgresql92-2.0.0_1.log
Build URL:      http://thunderx1.nyi.freebsd.org/build.html?mastername=head-arm64-default&build=p445841_s321002
Log:

====>> Building databases/postgresql92-pgtcl
build started at Mon Jul 17 16:03:13 UTC 2017
port directory: /usr/ports/databases/postgresql92-pgtcl
building for: FreeBSD head-arm64-default-job-06 12.0-CURRENT FreeBSD 12.0-CURRENT 1200038 arm64
maintained by: mi@aldan.algebra.com
Makefile ident:      $FreeBSD: head/databases/postgresql92-pgtcl/Makefile 355673 2014-05-29 08:12:51Z antoine $
Poudriere version: 3.1.19-48-g1bf78d5a
Host OSVERSION: 1200033
Jail OSVERSION: 1200038
Job Id: 06




!!! Jail is newer than host. (Jail: 1200038, Host: 1200033) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/csh
OSVERSION=1200038
UNAME_v=FreeBSD 12.0-CURRENT 1200038
UNAME_r=12.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/head-arm64-default/ref
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNAME=pgtcl-postgresql92-2.0.0_1
OLDPWD=/
PWD=/usr/local/poudriere/data/.m/head-arm64-default/ref/.p/pool
MASTERNAME=head-arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
POUDRIERE_VERSION=3.1.19-48-g1bf78d5a
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for pgtcl-postgresql92-2.0.0_1:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--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/postgresql92-pgtcl/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/postgresql92-pgtcl/work  HOME=/wrkdirs/usr/ports/databases/postgresql92-pgtcl/work TMPDIR="/tmp" 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/postgresql92-pgtcl/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/postgresql92-pgtcl/work  HOME=/wrkdirs/usr/ports/databases/postgresql92-pgtcl/work TMPDIR="/tmp" 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=12.0
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
#### /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=12.0
OSVERSION=1200038
PYTHONBASE=/usr/local
UID=0
_JAVA_OS_LIST_REGEXP=native|linux
_JAVA_VENDOR_LIST_REGEXP=openjdk|oracle|sun
_JAVA_VERSION_LIST_REGEXP=1.6|1.7|1.8|1.6\+|1.7\+|1.8\+
_OSRELEASE=12.0-CURRENT
#### 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-postgresql92-2.0.0_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.1.txz
[head-arm64-default-job-06] Installing pkg-1.10.1...
[head-arm64-default-job-06] Extracting pkg-1.10.1: .......... done
===>   pgtcl-postgresql92-2.0.0_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of pgtcl-postgresql92-2.0.0_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License PostgreSQL accepted by the user
===> Fetching all distfiles required by pgtcl-postgresql92-2.0.0_1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License PostgreSQL accepted by the user
===> Fetching all distfiles required by pgtcl-postgresql92-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-postgresql92-2.0.0_1 for building
===>  Extracting for pgtcl-postgresql92-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-postgresql92-2.0.0_1
===========================================================================
=======================<phase: build-depends  >============================
===========================================================================
=======================<phase: lib-depends    >============================
===>   pgtcl-postgresql92-2.0.0_1 depends on shared library: libpq.so.5 - not found
===>   Installing existing package /packages/All/postgresql92-client-9.2.21_1.txz
[head-arm64-default-job-06] Installing postgresql92-client-9.2.21_1...
[head-arm64-default-job-06] `-- Installing gettext-runtime-0.19.8.1_1...
[head-arm64-default-job-06] |   `-- Installing indexinfo-0.2.6...
[head-arm64-default-job-06] |   `-- Extracting indexinfo-0.2.6: .... done
[head-arm64-default-job-06] `-- Extracting gettext-runtime-0.19.8.1_1: .......... done
[head-arm64-default-job-06] `-- Installing perl5-5.24.1_1...
[head-arm64-default-job-06] `-- Extracting perl5-5.24.1_1: .......... done
/usr/local/lib/perl5/site_perl/man//mandoc.db: unlink: No such file or directory
[head-arm64-default-job-06] `-- Installing readline-7.0.3...
[head-arm64-default-job-06] `-- Extracting readline-7.0.3: .......... done
[head-arm64-default-job-06] Extracting postgresql92-client-9.2.21_1: .......... 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 postgresql92-client-9.2.21_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-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...
===>   pgtcl-postgresql92-2.0.0_1 depends on shared library: libpq.so.5 - found (/usr/local/lib/libpq.so.5)
===>   Returning to build of pgtcl-postgresql92-2.0.0_1
===>   pgtcl-postgresql92-2.0.0_1 depends on shared library: libtcl86.so - not found
===>   Installing existing package /packages/All/tcl86-8.6.6_2.txz
[head-arm64-default-job-06] Installing tcl86-8.6.6_2...
[head-arm64-default-job-06] Extracting tcl86-8.6.6_2: .......... done
===>   pgtcl-postgresql92-2.0.0_1 depends on shared library: libtcl86.so - found (/usr/local/lib/libtcl86.so)
===>   Returning to build of pgtcl-postgresql92-2.0.0_1
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for pgtcl-postgresql92-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-12.0-CURRENT
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/postgresql92-pgtcl/work/pgtcl2.0.0/Makefile
===========================================================================
=======================<phase: build          >============================
===>  Building for pgtcl-postgresql92-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/postgresql92-pgtcl/work/pgtcl2.0.0
*** Error code 1

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



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