Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jan 2018 11:09:05 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - 111arm64-default][databases/p5-DBD-mysql] Failed for p5-DBD-mysql-4.044 in build
Message-ID:  <201801291109.w0TB95EH028108@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:     perl@FreeBSD.org
Last committer: sunpoet@FreeBSD.org
Ident:          $FreeBSD: head/databases/p5-DBD-mysql/Makefile 460092 2018-01-27 10:24:03Z sunpoet $
Log URL:        http://thunderx1.nyi.freebsd.org/data/111arm64-default/460241/logs/p5-DBD-mysql-4.044.log
Build URL:      http://thunderx1.nyi.freebsd.org/build.html?mastername=111arm64-default&build=460241
Log:

=>> Building databases/p5-DBD-mysql
build started at Mon Jan 29 11:08:06 UTC 2018
port directory: /usr/ports/databases/p5-DBD-mysql
package name: p5-DBD-mysql-4.044
building for: FreeBSD 111arm64-default-job-19 11.1-RELEASE-p6 FreeBSD 11.1-RELEASE-p6 1101001 arm64
maintained by: perl@FreeBSD.org
Makefile ident:      $FreeBSD: head/databases/p5-DBD-mysql/Makefile 460092 2018-01-27 10:24:03Z sunpoet $
Poudriere version: 3.2.4-20-g3ab5fc55
Host OSVERSION: 1200054
Jail OSVERSION: 1101001
Job Id: 19

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1101001
UNAME_v=FreeBSD 11.1-RELEASE-p6 1101001
UNAME_r=11.1-RELEASE-p6
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/111arm64-default/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-default/ref/.p
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
PWD=/usr/local/poudriere/data/.m/111arm64-default/ref/.p/pool
MASTERNAME=111arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
P_PYTHON_MAJOR_VER=2
POUDRIERE_VERSION=3.2.4-20-g3ab5fc55
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 p5-DBD-mysql-4.044:
     SSL=off: SSL protocol support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
perl@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--nossl INSTALLDIRS="site" CC="cc" CCFLAGS="-O2 -pipe  -fno-strict-aliasing" LD="cc" PREFIX="/usr/local"  INSTALLPRIVLIB="/usr/local/lib" INSTALLARCHLIB="/usr/local/lib"
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl  PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/databases/p5-DBD-mysql/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/p5-DBD-mysql/work  HOME=/wrkdirs/usr/ports/databases/p5-DBD-mysql/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/databases/p5-DBD-mysql/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh PERL_EXTUTILS_AUTOINSTALL="--skipdeps" PERL_MM_USE_DEFAULT="YES"
--End CONFIGURE_ENV--

--MAKE_ENV--
PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/databases/p5-DBD-mysql/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/p5-DBD-mysql/work  HOME=/wrkdirs/usr/ports/databases/p5-DBD-mysql/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/databases/p5-DBD-mysql/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=""  LDFLAGS="" 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="" PORTEXAMPLES="" OSREL=11.1 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.24.3  PERL_VER=5.24  PERL5_MAN1=lib/perl5/site_perl/man/man1  PERL5_MAN3=lib/perl5/site_perl/man/man3  SITE_PERL=lib/perl5/site_perl  SITE_ARCH=lib/perl5/site_perl/mach/5.24 DOCSDIR="share/doc/DBD-mysql"  EXAMPLESDIR="share/examples/DBD-mysql"  DATADIR="share/DBD-mysql"  WWWDIR="www/DBD-mysql"  ETCDIR="etc/DBD-mysql"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/DBD-mysql DOCSDIR=/usr/local/share/doc/DBD-mysql EXAMPLESDIR=/usr/local/share/examples/DBD-mysql  WWWDIR=/usr/local/www/DBD-mysql ETCDIR=/usr/local/etc/DBD-mysql
--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-p6
#### 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 ART10 GPLv1+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   p5-DBD-mysql-4.044 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.4.txz
[111arm64-default-job-19] Installing pkg-1.10.4...
[111arm64-default-job-19] Extracting pkg-1.10.4: .......... done
===>   p5-DBD-mysql-4.044 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of p5-DBD-mysql-4.044
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License ART10 GPLv1+ accepted by the user
=> DBD-mysql-4.044.tar.gz doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch http://cpan.metacpan.org/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.044.tar.gz
DBD-mysql-4.044.tar.gz                                   0  B    0  Bps
===> Fetching all distfiles required by p5-DBD-mysql-4.044 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License ART10 GPLv1+ accepted by the user
===> Fetching all distfiles required by p5-DBD-mysql-4.044 for building
=> SHA256 Checksum OK for DBD-mysql-4.044.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License ART10 GPLv1+ accepted by the user
===> Fetching all distfiles required by p5-DBD-mysql-4.044 for building
===>  Extracting for p5-DBD-mysql-4.044
=> SHA256 Checksum OK for DBD-mysql-4.044.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for p5-DBD-mysql-4.044
===>  Applying FreeBSD patches for p5-DBD-mysql-4.044
===========================================================================
=======================<phase: build-depends  >============================
===>   p5-DBD-mysql-4.044 depends on package: p5-DBI>=1.08 - not found
===>   Installing existing package /packages/All/p5-DBI-1.639.txz
[111arm64-default-job-19] Installing p5-DBI-1.639...
[111arm64-default-job-19] `-- Installing perl5-5.24.3...
[111arm64-default-job-19] `-- Extracting perl5-5.24.3: .......... done
[111arm64-default-job-19] Extracting p5-DBI-1.639: .......... 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.
===>   p5-DBD-mysql-4.044 depends on package: p5-DBI>=1.08 - found
===>   Returning to build of p5-DBD-mysql-4.044
===>   p5-DBD-mysql-4.044 depends on package: p5-Devel-CheckLib>=0 - not found
===>   Installing existing package /packages/All/p5-Devel-CheckLib-1.11.txz
[111arm64-default-job-19] Installing p5-Devel-CheckLib-1.11...
[111arm64-default-job-19] Extracting p5-Devel-CheckLib-1.11: ......... done
===>   p5-DBD-mysql-4.044 depends on package: p5-Devel-CheckLib>=0 - found
===>   Returning to build of p5-DBD-mysql-4.044
===>   p5-DBD-mysql-4.044 depends on package: perl5>=5.24<5.25 - found
===========================================================================
=======================<phase: lib-depends    >============================
===>   p5-DBD-mysql-4.044 depends on shared library: libmysqlclient.so.18 - not found
===>   Installing existing package /packages/All/mysql56-client-5.6.39.txz
[111arm64-default-job-19] Installing mysql56-client-5.6.39...
[111arm64-default-job-19] `-- Installing libedit-3.1.20170329_2,1...
[111arm64-default-job-19] `-- Extracting libedit-3.1.20170329_2,1: .......... done
[111arm64-default-job-19] `-- Installing libevent-2.1.8_1...
[111arm64-default-job-19] `-- Extracting libevent-2.1.8_1: .......... done
[111arm64-default-job-19] `-- Installing liblz4-1.8.1.2,1...
[111arm64-default-job-19] `-- Extracting liblz4-1.8.1.2,1: .......... done
[111arm64-default-job-19] 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.

* * * * * * * * * * * * * * * * * * * * * * * *
===>   p5-DBD-mysql-4.044 depends on shared library: libmysqlclient.so.18 - found (/usr/local/lib/mysql/libmysqlclient.so.18)
===>   Returning to build of p5-DBD-mysql-4.044
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for p5-DBD-mysql-4.044


PLEASE NOTE:

For 'make test' to run properly, you must ensure that the
database user 'root' can connect to your MySQL server
and has the proper privileges that these tests require such
as 'drop table', 'create table', 'drop procedure', 'create procedure'
as well as others.

mysql> grant all privileges on test.* to 'root'@'localhost' identified by 's3kr1t';

You can also optionally set the user to run 'make test' with:

perl Makefile.PL --testuser=username

I will use the following settings for compiling and testing:

  cflags        (mysql_config ) = -I/usr/local/include/mysql -isystem /usr/local/include -fno-strict-aliasing  -g -fno-omit-frame-pointer -fno-strict-aliasing
  embedded      (mysql_config ) = 
  ldflags       (guessed      ) = -pthread
  libs          (mysql_config ) = -L/usr/local/lib/mysql -lmysqlclient -lz -lm -lexecinfo -lssl -lcrypto
  mysql_config  (guessed      ) = mysql_config
  nocatchstderr (default      ) = 0
  nofoundrows   (default      ) = 0
  nossl         (User's choice) = 1
  testdb        (default      ) = test
  testhost      (default      ) = 
  testpassword  (default      ) = 
  testport      (default      ) = 
  testsocket    (default      ) = 
  testuser      (guessed      ) = root

To change these settings, see 'perl Makefile.PL --help' and
'perldoc DBD::mysql::INSTALL'.

Checking if your kit is complete...
Looks good
Using DBI 1.639 (for perl 5.024003 on arm64-freebsd-thread-multi) installed in /usr/local/lib/perl5/site_perl/mach/5.24/auto/DBI/
Generating a Unix-style Makefile
Writing Makefile for DBD::mysql
Writing MYMETA.yml and MYMETA.json
===========================================================================
=======================<phase: build          >============================
===>  Building for p5-DBD-mysql-4.044
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
Running Mkbootstrap for DBD::mysql ()
chmod 644 "mysql.bs"
cc -c  -I/usr/local/lib/perl5/site_perl/mach/5.24/auto/DBI -I/usr/local/include/mysql -isystem /usr/local/include -fno-strict-aliasing  -g -fno-omit-frame-pointer -fno-strict-aliasing -DDBD_MYSQL_INSERT_ID_IS_GOOD -g  -O2 -pipe  -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing    -DVERSION=\"4.044\"  -DXS_VERSION=\"4.044\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.24/mach/CORE"   dbdimp.c
"/usr/local/bin/perl5.24.3" -p -e "s/~DRIVER~/mysql/g" /usr/local/lib/perl5/site_perl/mach/5.24/auto/DBI/Driver.xst > mysql.xsi
"/usr/local/bin/perl5.24.3" "/usr/local/lib/perl5/5.24/ExtUtils/xsubpp"  -typemap "/usr/local/lib/perl5/5.24/ExtUtils/typemap"  mysql.xs > mysql.xsc && mv mysql.xsc mysql.c
Warning: duplicate function definition 'do' detected in mysql.xs, line 249
Warning: duplicate function definition 'rows' detected in mysql.xs, line 670
cc -c  -I/usr/local/lib/perl5/site_perl/mach/5.24/auto/DBI -I/usr/local/include/mysql -isystem /usr/local/include -fno-strict-aliasing  -g -fno-omit-frame-pointer -fno-strict-aliasing -DDBD_MYSQL_INSERT_ID_IS_GOOD -g  -O2 -pipe  -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing    -DVERSION=\"4.044\"  -DXS_VERSION=\"4.044\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.24/mach/CORE"   mysql.c
rm -f blib/arch/auto/DBD/mysql/mysql.so
LD_RUN_PATH="/usr/local/lib/mysql:/usr/lib" cc  -shared  -L/usr/local/lib/perl5/5.24/mach/CORE -lperl -L/usr/local/lib -fstack-protector-strong dbdimp.o  mysql.o  -o blib/arch/auto/DBD/mysql/mysql.so 	  -L/usr/local/lib/mysql -lmysqlclient -lz -lm -lexecinfo -lssl -lcrypto  	 
/usr/bin/ld: Undefined symbol "stat"
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/databases/p5-DBD-mysql/work/DBD-mysql-4.044
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/p5-DBD-mysql



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