[package - head-amd64-default][databases/soci] Failed for soci-3.2.2_4 in build

pkg-fallout at FreeBSD.org pkg-fallout at FreeBSD.org
Thu Jul 6 23:33:55 UTC 2017


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:     jlaffaye at FreeBSD.org
Last committer: linimon at FreeBSD.org
Ident:          $FreeBSD: head/databases/soci/Makefile 440865 2017-05-14 06:52:09Z linimon $
Log URL:        http://beefy12.nyi.freebsd.org/data/head-amd64-default/p445114_s320698/logs/soci-3.2.2_4.log
Build URL:      http://beefy12.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p445114_s320698
Log:

====>> Building databases/soci
build started at Thu Jul  6 23:33:28 UTC 2017
port directory: /usr/ports/databases/soci
building for: FreeBSD head-amd64-default-job-18 12.0-CURRENT FreeBSD 12.0-CURRENT 1200037 amd64
maintained by: jlaffaye at FreeBSD.org
Makefile ident:      $FreeBSD: head/databases/soci/Makefile 440865 2017-05-14 06:52:09Z linimon $
Poudriere version: 3.1.19-42-g8f09d601
Host OSVERSION: 1200033
Jail OSVERSION: 1200037
Job Id: 18




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



---Begin Environment---
SHELL=/bin/csh
OSVERSION=1200037
UNAME_v=FreeBSD 12.0-CURRENT 1200037
UNAME_r=12.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/head-amd64-default/ref
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNAME=soci-3.2.2_4
OLDPWD=/
PWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p/pool
MASTERNAME=head-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
POUDRIERE_VERSION=3.1.19-42-g8f09d601
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 soci-3.2.2_4:
     BOOST=on: Enable support for additional types using Boost
     FIREBIRD=on: Firebird (Interbase) database support
     MYSQL=on: MySQL database support
     ODBC=on: ODBC database backend
     PGSQL=on: PostgreSQL database support
     SQLITE=on: SQLite database support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/databases/soci/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/soci/work  HOME=/wrkdirs/usr/ports/databases/soci/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/databases/soci/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/soci/work  HOME=/wrkdirs/usr/ports/databases/soci/work TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES DESTDIR=/wrkdirs/usr/ports/databases/soci/work/stage PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector -fno-strict-aliasing"  CPP="cpp" CPPFLAGS="-I/usr/local/include"  LDFLAGS=" -L/usr/local/lib -fstack-protector" LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -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--
BOOST=""
NO_BOOST="@comment
"
FIREBIRD=""
NO_FIREBIRD="@comment
"
MYSQL=""
NO_MYSQL="@comment
"
ODBC=""
NO_ODBC="@comment
"
PGSQL=""
NO_PGSQL="@comment
"
SQLITE=""
NO_SQLITE="@comment
"
CMAKE_BUILD_TYPE="release"
OSREL=12.0
PREFIX=%D
LOCALBASE=/usr/local
RESETPREFIX=/usr/local
PORTDOCS=""
PORTEXAMPLES=""
LIB32DIR=lib
DOCSDIR="share/doc/soci"
EXAMPLESDIR="share/examples/soci"
DATADIR="share/soci"
WWWDIR="www/soci"
ETCDIR="etc/soci"
--End PLIST_SUB--

--SUB_LIST--
BOOST=""
NO_BOOST="@comment
"
FIREBIRD=""
NO_FIREBIRD="@comment
"
MYSQL=""
NO_MYSQL="@comment
"
ODBC=""
NO_ODBC="@comment
"
PGSQL=""
NO_PGSQL="@comment
"
SQLITE=""
NO_SQLITE="@comment
"
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/soci
DOCSDIR=/usr/local/share/doc/soci
EXAMPLESDIR=/usr/local/share/examples/soci
WWWDIR=/usr/local/www/soci
ETCDIR=/usr/local/etc/soci
--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=amd64
CONFIGURE_MAX_CMD_LEN=262144
HAVE_COMPAT_IA32_KERN=YES
OPSYS=FreeBSD
OSREL=12.0
OSVERSION=1200037
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)  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--
=======================<phase: check-sanity   >============================
===>  License BSL accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   soci-3.2.2_4 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.1.txz
[head-amd64-default-job-18] Installing pkg-1.10.1...
[head-amd64-default-job-18] Extracting pkg-1.10.1: .......... done
===>   soci-3.2.2_4 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of soci-3.2.2_4
===========================================================================
=======================<phase: fetch-depends  >============================
<snip>
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...
===>   soci-3.2.2_4 depends on shared library: libpq.so.5 - found (/usr/local/lib/libpq.so.5)
===>   Returning to build of soci-3.2.2_4
===>   soci-3.2.2_4 depends on shared library: libsqlite3.so - not found
===>   Installing existing package /packages/All/sqlite3-3.19.3_1.txz
[head-amd64-default-job-18] Installing sqlite3-3.19.3_1...
[head-amd64-default-job-18] Extracting sqlite3-3.19.3_1: .......... done
===>   soci-3.2.2_4 depends on shared library: libsqlite3.so - found (/usr/local/lib/libsqlite3.so)
===>   Returning to build of soci-3.2.2_4
===>   soci-3.2.2_4 depends on shared library: libmysqlclient.so.18 - not found
===>   Installing existing package /packages/All/mysql56-client-5.6.36.txz
[head-amd64-default-job-18] Installing mysql56-client-5.6.36...
[head-amd64-default-job-18] `-- Installing libevent-2.1.8...
[head-amd64-default-job-18] `-- Extracting libevent-2.1.8: .......... done
[head-amd64-default-job-18] Extracting mysql56-client-5.6.36: .......... done
Message from mysql56-client-5.6.36:
* * * * * * * * * * * * * * * * * * * * * * * *

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.

* * * * * * * * * * * * * * * * * * * * * * * *
===>   soci-3.2.2_4 depends on shared library: libmysqlclient.so.18 - found (/usr/local/lib/mysql/libmysqlclient.so.18)
===>   Returning to build of soci-3.2.2_4
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for soci-3.2.2_4
===>  Performing in-source build
/bin/mkdir -p /wrkdirs/usr/ports/databases/soci/work/soci-3.2.2
-- The C compiler identification is Clang 4.0.0
-- The CXX compiler identification is Clang 4.0.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring SOCI: 
-- SOCI_VERSION                             = 3.2.2 
-- SOCI_ABI_VERSION                         = 3.2 
-- SOCI_PLATFORM_NAME                       = x86 
-- SOCI_COMPILER_NAME                       = gcc-4.2.1 
-- SOCI_STATIC                              = ON 
-- SOCI_TESTS                               = ON 
-- Looking for SOCI dependencies: 
-- Boost: 
-- Boost_RELEASE_VERSION                    = 1.64.0 
-- Boost_INCLUDE_DIR                        = /usr/local/include 
-- Boost_LIBRARIES                          =  
-- MySQL: 
-- Performing Test HAVE_MYSQL_OPT_EMBEDDED_CONNECTION
-- Performing Test HAVE_MYSQL_OPT_EMBEDDED_CONNECTION - Success
-- Found MySQL: /usr/local/include/mysql, /usr/local/lib/mysql/libmysqlclient.so
-- MySQL Embedded not found.
-- MYSQL_INCLUDE_DIR                        = /usr/local/include/mysql 
-- MYSQL_LIBRARIES                          = /usr/local/lib/mysql/libmysqlclient.so 
-- ODBC: 
-- ODBC_INCLUDE_DIR                         = /usr/local/include 
-- ODBC_LIBRARIES                           = /usr/local/lib/libodbc.so 
-- Oracle: disabled, since WITH_ORACLE=OFF 
-- PostgreSQL: 
-- PostgreSQL_INCLUDE_DIR                   =  
-- PostgreSQL_LIBRARIES                     =  
-- PostgreSQL_VERSION                       =  
-- SQLite3: 
-- SQLITE3_INCLUDE_DIR                      = /usr/local/include 
-- SQLITE3_LIBRARIES                        = /usr/local/lib/libsqlite3.so 
-- Firebird: 
-- Firebird_INCLUDE_DIR                     =  
-- Firebird_LIBRARIES                       =  
-- Firebird_VERSION                         =  
-- DB2: 
-- WARNING: 
-- DB2 not found, some libraries or features will be disabled. 
-- See the documentation for DB2 or manually set these variables: 
-- DB2_INCLUDE_DIR                          = DB2_INCLUDE_DIR-NOTFOUND 
-- DB2_LIBRARIES                            = DB2_LIBRARY-NOTFOUND 
-- Configuring SOCI core library: 
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Found Threads: TRUE  
-- SOCI_CORE_TARGET                         = soci_core 
-- SOCI_CORE_TARGET_OUTPUT_NAME             = soci_core 
-- SOCI_CORE_DEPENDENCIES                   = -pthread /usr/local/lib/libboost_date_time.a 
-- WITH_BOOST                               = ON 
-- COMPILE_DEFINITIONS                      = SOCI_ABI_VERSION="3.2" SOCI_LIB_PREFIX="libsoci_" SOCI_LIB_SUFFIX=".so" 
-- Configuring SOCI database backends: 
-- Found MySQL: /usr/local/include/mysql, /usr/local/lib/mysql/libmysqlclient.so
-- MySQL Embedded not found.
-- Empty - SOCI backend skeleton for development of new backends 
-- SOCI_EMPTY                               = ON 
-- SOCI_EMPTY_TARGET                        = soci_empty 
-- SOCI_EMPTY_TARGET_OUTPUT_NAME            = soci_empty 
-- SOCI_EMPTY_HEADERS                       = soci-empty.h 
-- COMPILE_DEFINITIONS                      = SOCI_ABI_VERSION="3.2" HAVE_BOOST=1 HAVE_BOOST_DATE_TIME=1 
-- SOCI_EMPTY_TEST_CONNSTR                  = dummy 
-- Firebird - SOCI backend for Firebird database engine 
-- SOCI_FIREBIRD                            = ON 
-- SOCI_FIREBIRD_TARGET                     = soci_firebird 
-- SOCI_FIREBIRD_TARGET_OUTPUT_NAME         = soci_firebird 
-- SOCI_FIREBIRD_HEADERS                    = soci-firebird.h common.h 
-- COMPILE_DEFINITIONS                      = SOCI_ABI_VERSION="3.2" HAVE_BOOST=1 HAVE_BOOST_DATE_TIME=1 HAVE_FIREBIRD=1 
-- SOCI_FIREBIRD_TEST_CONNSTR               = dummy 
-- MySQL - SOCI backend for MySQL database engine 
-- SOCI_MYSQL                               = ON 
-- SOCI_MYSQL_TARGET                        = soci_mysql 
-- SOCI_MYSQL_TARGET_OUTPUT_NAME            = soci_mysql 
-- SOCI_MYSQL_HEADERS                       = soci-mysql.h common.h 
-- COMPILE_DEFINITIONS                      = SOCI_ABI_VERSION="3.2" HAVE_BOOST=1 HAVE_BOOST_DATE_TIME=1 HAVE_MYSQL=1 
-- SOCI_MYSQL_TEST_CONNSTR                  = dummy 
-- ODBC - SOCI backend for ODBC 
-- SOCI_ODBC                                = ON 
-- SOCI_ODBC_TARGET                         = soci_odbc 
-- SOCI_ODBC_TARGET_OUTPUT_NAME             = soci_odbc 
-- SOCI_ODBC_HEADERS                        = soci-odbc.h utility.h 
-- COMPILE_DEFINITIONS                      = SOCI_ABI_VERSION="3.2" HAVE_BOOST=1 HAVE_BOOST_DATE_TIME=1 HAVE_ODBC=1 
-- SOCI_ODBC_TEST_MYSQL_CONNSTR             = test-mysql.dsn 
-- SOCI_ODBC_TEST_POSTGRESQL_CONNSTR        = test-postgresql.dsn 
-- PostgreSQL - SOCI backend for PostgreSQL database engine 
-- SOCI_POSTGRESQL                          = ON 
-- SOCI_POSTGRESQL_TARGET                   = soci_postgresql 
-- SOCI_POSTGRESQL_TARGET_OUTPUT_NAME       = soci_postgresql 
-- SOCI_POSTGRESQL_HEADERS                  = soci-postgresql.h common.h 
-- COMPILE_DEFINITIONS                      = SOCI_ABI_VERSION="3.2" HAVE_BOOST=1 HAVE_BOOST_DATE_TIME=1 HAVE_POSTGRESQL=1 
-- SOCI_POSTGRESQL_NOPARAMS                 = OFF 
-- SOCI_POSTGRESQL_NOBINDBYNAME             = OFF 
-- SOCI_POSTGRESQL_NOPREPARE                = OFF 
-- SOCI_POSTGRESQL_TEST_CONNSTR             = dummy 
-- SQLite3 - SOCI backend for SQLite 3 database engine 
-- SOCI_SQLITE3                             = ON 
-- SOCI_SQLITE3_TARGET                      = soci_sqlite3 
-- SOCI_SQLITE3_TARGET_OUTPUT_NAME          = soci_sqlite3 
-- SOCI_SQLITE3_HEADERS                     = soci-sqlite3.h common.h 
-- COMPILE_DEFINITIONS                      = SOCI_ABI_VERSION="3.2" HAVE_BOOST=1 HAVE_BOOST_DATE_TIME=1 HAVE_SQLITE3=1 
-- SOCI_SQLITE3_TEST_CONNSTR                = soci_test.db 
-- 
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_FLAGS_DEBUG
    CMAKE_C_FLAGS_DEBUG
    CMAKE_C_FLAGS_RELEASE
    CMAKE_MODULE_LINKER_FLAGS
    CMAKE_VERBOSE_MAKEFILE


-- Build files have been written to: /wrkdirs/usr/ports/databases/soci/work/soci-3.2.2
===========================================================================
=======================<phase: build          >============================
===>  Building for soci-3.2.2_4
[1/207] /usr/bin/c++  -DHAVE_BOOST=1 -DHAVE_BOOST_DATE_TIME=1 -DHAVE_MYSQL=1 -DSOCI_ABI_VERSION=\"3.2\" -I/usr/local/include/mysql -Icore -O2 -pipe -fstack-protector -fno-strict-aliasing -pedantic -ansi -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wfloat-equal -Wredundant-decls -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -MD -MT backends/mysql/CMakeFiles/soci_mysql_static.dir/factory.cpp.o -MF backends/mysql/CMakeFiles/soci_mysql_static.dir/factory.cpp.o.d -o backends/mysql/CMakeFiles/soci_mysql_static.dir/factory.cpp.o -c backends/mysql/factory.cpp
[2/207] /usr/bin/c++  -DHAVE_BOOST=1 -DHAVE_BOOST_DATE_TIME=1 -DHAVE_MYSQL=1 -DSOCI_ABI_VERSION=\"3.2\" -I/usr/local/include/mysql -Icore -O2 -pipe -fstack-protector -fno-strict-aliasing -pedantic -ansi -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wfloat-equal -Wredundant-decls -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -MD -MT backends/mysql/CMakeFiles/soci_mysql_static.dir/row-id.cpp.o -MF backends/mysql/CMakeFiles/soci_mysql_static.dir/row-id.cpp.o.d -o backends/mysql/CMakeFiles/soci_mysql_static.dir/row-id.cpp.o -c backends/mysql/row-id.cpp
[3/207] /usr/bin/c++  -DHAVE_BOOST=1 -DHAVE_BOOST_DATE_TIME=1 -DHAVE_MYSQL=1 -DSOCI_ABI_VERSION=\"3.2\" -I/usr/local/include/mysql -Icore -O2 -pipe -fstack-protector -fno-strict-aliasing -pedantic -ansi -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wfloat-equal -Wredundant-decls -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -MD -MT backends/mysql/CMakeFiles/soci_mysql_static.dir/session.cpp.o -MF backends/mysql/CMakeFiles/soci_mysql_static.dir/session.cpp.o.d -o backends/mysql/CMakeFiles/soci_mysql_static.dir/session.cpp.o -c backends/mysql/session.cpp
FAILED: backends/mysql/CMakeFiles/soci_mysql_static.dir/session.cpp.o 
/usr/bin/c++  -DHAVE_BOOST=1 -DHAVE_BOOST_DATE_TIME=1 -DHAVE_MYSQL=1 -DSOCI_ABI_VERSION=\"3.2\" -I/usr/local/include/mysql -Icore -O2 -pipe -fstack-protector -fno-strict-aliasing -pedantic -ansi -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wfloat-equal -Wredundant-decls -Wno-long-long -O2 -pipe -fstack-protector -fno-strict-aliasing -MD -MT backends/mysql/CMakeFiles/soci_mysql_static.dir/session.cpp.o -MF backends/mysql/CMakeFiles/soci_mysql_static.dir/session.cpp.o.d -o backends/mysql/CMakeFiles/soci_mysql_static.dir/session.cpp.o -c backends/mysql/session.cpp
backends/mysql/session.cpp:202:22: error: ordered comparison between pointer and zero ('int *' and 'int')
            if (port < 0)
                ~~~~ ^ ~
1 error generated.
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/soci


More information about the freebsd-pkg-fallout mailing list