FreeBSD Bugzilla – Attachment 187221 Details for
Bug 223053
databases/py-MySQLdb doesn't compile with MariaDB 10.2.x ('my_config.h' file not found)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
poudriere build log file of php 7.1
py27-MySQLdb-1.2.5.log (text/plain), 14.10 KB, created by
rainer
on 2017-10-16 20:52:51 UTC
(
hide
)
Description:
poudriere build log file of php 7.1
Filename:
MIME Type:
Creator:
rainer
Created:
2017-10-16 20:52:51 UTC
Size:
14.10 KB
patch
obsolete
>====>> Building databases/py-MySQLdb >build started at Mon Oct 16 14:24:39 CEST 2017 >port directory: /usr/ports/databases/py-MySQLdb >building for: FreeBSD 11_1-amd64-2017Q4-php71-mariadb102-job-01 11.1-RELEASE-p1 FreeBSD 11.1-RELEASE-p1 amd64 >maintained by: python@FreeBSD.org >Makefile ident: $FreeBSD: branches/2017Q4/databases/py-MySQLdb/Makefile 447420 2017-08-05 23:11:08Z sunpoet $ >Poudriere version: 3.1.19 >Host OSVERSION: 1101001 >Jail OSVERSION: 1101001 >Job Id: 01 > >---Begin Environment--- >SHELL=/bin/csh >OSVERSION=1101001 >UNAME_v=FreeBSD 11.1-RELEASE-p1 >UNAME_r=11.1-RELEASE-p1 >BLOCKSIZE=K >MAIL=/var/mail/root >STATUS=1 >SAVED_TERM=screen >MASTERMNT=/usr/local/poudriere/data/.m/11_1-amd64-2017Q4-php71-mariadb102/ref >PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin >POUDRIERE_BUILD_TYPE=bulk >PKGNAME=py27-MySQLdb-1.2.5 >OLDPWD=/ >PWD=/usr/local/poudriere/data/.m/11_1-amd64-2017Q4-php71-mariadb102/ref/.p/pool >MASTERNAME=11_1-amd64-2017Q4-php71-mariadb102 >SCRIPTPREFIX=/usr/local/share/poudriere >USER=root >HOME=/root >POUDRIERE_VERSION=3.1.19 >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 py27-MySQLdb-1.2.5: > DOCS=on: Build and/or install documentation > MYSQLCLIENT_R=on: Use libmysqlclient_r (thread safe) >===> Use 'make config' to modify these settings >---End OPTIONS List--- > >--CONFIGURE_ARGS-- > >--End CONFIGURE_ARGS-- > >--CONFIGURE_ENV-- >PYTHON="/usr/local/bin/python2.7" XDG_DATA_HOME=/wrkdirs/usr/ports/databases/py-MySQLdb/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/py-MySQLdb/work HOME=/wrkdirs/usr/ports/databases/py-MySQLdb/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh >--End CONFIGURE_ENV-- > >--MAKE_ENV-- >XDG_DATA_HOME=/wrkdirs/usr/ports/databases/py-MySQLdb/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/py-MySQLdb/work HOME=/wrkdirs/usr/ports/databases/py-MySQLdb/work TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES LDSHARED="cc -shared" PYTHONDONTWRITEBYTECODE= PYTHONOPTIMIZE= PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS=" -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-- >PYTHON_INCLUDEDIR=include/python2.7 >PYTHON_LIBDIR=lib/python2.7 >PYTHON_PLATFORM=freebsd11 >PYTHON_PYOEXTENSION=pyo >PYTHON_SITELIBDIR=lib/python2.7/site-packages >PYTHON_SUFFIX=27 >PYTHON_VER=2.7 >PYTHON_VERSION=python2.7 >PYTHON2="" >PYTHON3="@comment >" >OSREL=11.1 >PREFIX=%D >LOCALBASE=/usr/local >RESETPREFIX=/usr/local >PORTDOCS="" >PORTEXAMPLES="" >LIB32DIR=lib >DOCSDIR="share/doc/py27-MySQLdb" >EXAMPLESDIR="share/examples/MySQLdb" >DATADIR="share/MySQLdb" >WWWDIR="www/MySQLdb" >ETCDIR="etc/MySQLdb" >--End PLIST_SUB-- > >--SUB_LIST-- >PREFIX=/usr/local >LOCALBASE=/usr/local >DATADIR=/usr/local/share/MySQLdb >DOCSDIR=/usr/local/share/doc/py27-MySQLdb >EXAMPLESDIR=/usr/local/share/examples/MySQLdb >WWWDIR=/usr/local/www/MySQLdb >ETCDIR=/usr/local/etc/MySQLdb >--End SUB_LIST-- > >---Begin make.conf--- >USE_PACKAGE_DEPENDS=yes >BATCH=yes >WRKDIRPREFIX=/wrkdirs >PORTSDIR=/usr/ports >PACKAGES=/packages >DISTDIR=/distfiles >FORCE_PACKAGE=yes >PACKAGE_BUILDING=yes >#### /usr/local/etc/poudriere.d/11_1-amd64-2017Q4-php71-mariadb102-make.conf #### >WITH_PKGNG=yes >INSTALL_NODEBUG="yes" >A4=yes >WITH_UTF8=yes >WITHOUT_X11=yes >WITHOUT_X=yes >OPTIONS_UNSET="X11 DOCS" > >NO_PROFILE=true >WITH_MPM=event >WANT_OPENLDAP_SASL=YES >WITH_GSSAPI=YES > > >#APACHE_PORT=www/apache24 >DEFAULT_VERSIONS+=php=7.1 mysql=10.2m apache=2.4 ruby=2.3 pgsql=9.6 perl5=5.24 python=2.7 >PARALLEL_JOBS=8 > ># deprecated: >#OPTIONS_UNSET=DOCS > >#SUEXEC_DOCROOT=/home >#SUEXEC_UIDMIN=80 >#SUEXEC_GIDMIN=80 > >#### /usr/ports/Mk/Scripts/ports_env.sh #### >ARCH=amd64 >CONFIGURE_MAX_CMD_LEN=262144 >HAVE_COMPAT_IA32_KERN=YES >OPSYS=FreeBSD >OSREL=11.1 >OSVERSION=1101001 >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=11.1-RELEASE-p1 >_SMP_CPUS=24 >#### 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) 63766 >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 GPLv2 accepted by the user >=========================================================================== >=======================<phase: pkg-depends >============================ >===> py27-MySQLdb-1.2.5 depends on file: /usr/local/sbin/pkg - not found >===> Installing existing package /packages/All/pkg-1.10.1.txz >[11_1-amd64-2017Q4-php71-mariadb102-job-01] Installing pkg-1.10.1... >[11_1-amd64-2017Q4-php71-mariadb102-job-01] Extracting pkg-1.10.1: .......... done >===> py27-MySQLdb-1.2.5 depends on file: /usr/local/sbin/pkg - found >===> Returning to build of py27-MySQLdb-1.2.5 >=========================================================================== >=======================<phase: fetch-depends >============================ >=========================================================================== >=======================<phase: fetch >============================ >===> License GPLv2 accepted by the user >===> Fetching all distfiles required by py27-MySQLdb-1.2.5 for building >=========================================================================== >=======================<phase: checksum >============================ >===> License GPLv2 accepted by the user >===> Fetching all distfiles required by py27-MySQLdb-1.2.5 for building >=> SHA256 Checksum OK for farcepest-MySQLdb1-MySQLdb-1.2.5_GH0.tar.gz. >=========================================================================== >=======================<phase: extract-depends>============================ >=========================================================================== >=======================<phase: extract >============================ >===> License GPLv2 accepted by the user >===> Fetching all distfiles required by py27-MySQLdb-1.2.5 for building >===> Extracting for py27-MySQLdb-1.2.5 >=> SHA256 Checksum OK for farcepest-MySQLdb1-MySQLdb-1.2.5_GH0.tar.gz. >=========================================================================== >=======================<phase: patch-depends >============================ >=========================================================================== >=======================<phase: patch >============================ >===> Patching for py27-MySQLdb-1.2.5 >===> Applying FreeBSD patches for py27-MySQLdb-1.2.5 >=========================================================================== >=======================<phase: build-depends >============================ >===> py27-MySQLdb-1.2.5 depends on package: py27-setuptools>0 - not found >===> Installing existing package /packages/All/py27-setuptools-36.2.2.txz >[11_1-amd64-2017Q4-php71-mariadb102-job-01] Installing py27-setuptools-36.2.2... >[11_1-amd64-2017Q4-php71-mariadb102-job-01] `-- Installing python27-2.7.14... >[11_1-amd64-2017Q4-php71-mariadb102-job-01] | `-- Installing gettext-runtime-0.19.8.1_1... >[11_1-amd64-2017Q4-php71-mariadb102-job-01] | | `-- Installing indexinfo-0.2.6... >[11_1-amd64-2017Q4-php71-mariadb102-job-01] | | `-- Extracting indexinfo-0.2.6: .... done >[11_1-amd64-2017Q4-php71-mariadb102-job-01] | `-- Extracting gettext-runtime-0.19.8.1_1: .......... done >[11_1-amd64-2017Q4-php71-mariadb102-job-01] | `-- Installing libffi-3.2.1_1... >[11_1-amd64-2017Q4-php71-mariadb102-job-01] | `-- Extracting libffi-3.2.1_1: .......... done >[11_1-amd64-2017Q4-php71-mariadb102-job-01] | `-- Installing readline-7.0.3... >[11_1-amd64-2017Q4-php71-mariadb102-job-01] | `-- Extracting readline-7.0.3: .......... done >[11_1-amd64-2017Q4-php71-mariadb102-job-01] `-- Extracting python27-2.7.14: .......... done >[11_1-amd64-2017Q4-php71-mariadb102-job-01] Extracting py27-setuptools-36.2.2: .......... done >Message from python27-2.7.14: >=========================================================================== > >Note that some standard Python modules are provided as separate ports >as they require additional dependencies. They are available as: > >bsddb databases/py-bsddb >gdbm databases/py-gdbm >sqlite3 databases/py-sqlite3 >tkinter x11-toolkits/py-tkinter > >=========================================================================== >===> py27-MySQLdb-1.2.5 depends on package: py27-setuptools>0 - found >===> Returning to build of py27-MySQLdb-1.2.5 >===> py27-MySQLdb-1.2.5 depends on file: /usr/local/bin/python2.7 - found >===> py27-MySQLdb-1.2.5 depends on executable: python2 - not found >===> Installing existing package /packages/All/python2-2_3.txz >[11_1-amd64-2017Q4-php71-mariadb102-job-01] Installing python2-2_3... >[11_1-amd64-2017Q4-php71-mariadb102-job-01] Extracting python2-2_3: ...... done >===> py27-MySQLdb-1.2.5 depends on executable: python2 - found >===> Returning to build of py27-MySQLdb-1.2.5 >=========================================================================== >=======================<phase: lib-depends >============================ >===> py27-MySQLdb-1.2.5 depends on shared library: libmariadb.so.3 - not found >===> Installing existing package /packages/All/mariadb102-client-10.2.9.txz >[11_1-amd64-2017Q4-php71-mariadb102-job-01] Installing mariadb102-client-10.2.9... >[11_1-amd64-2017Q4-php71-mariadb102-job-01] `-- Installing libedit-3.1.20170329_2,1... >[11_1-amd64-2017Q4-php71-mariadb102-job-01] `-- Extracting libedit-3.1.20170329_2,1: .......... done >[11_1-amd64-2017Q4-php71-mariadb102-job-01] `-- Installing libiconv-1.14_11... >[11_1-amd64-2017Q4-php71-mariadb102-job-01] `-- Extracting libiconv-1.14_11: .......... done >[11_1-amd64-2017Q4-php71-mariadb102-job-01] Extracting mariadb102-client-10.2.9: .......... done >Message from mariadb102-client-10.2.9: >************************************************************************ > >MariaDB respects hier(7) and doesn't check /etc and /etc/mysql for >my.cnf. Please move existing my.cnf files from those paths to >/usr/local/etc and /usr/local/etc/mysql. > >************************************************************************ >===> py27-MySQLdb-1.2.5 depends on shared library: libmariadb.so.3 - found (/usr/local/lib/mysql/libmariadb.so.3) >===> Returning to build of py27-MySQLdb-1.2.5 >=========================================================================== >=======================<phase: configure >============================ >===> Configuring for py27-MySQLdb-1.2.5 >/usr/bin/sed -i.bak -e '/threadsafe = / s|True|False|' /wrkdirs/usr/ports/databases/py-MySQLdb/work/MySQLdb1-MySQLdb-1.2.5/site.cfg >running config >=========================================================================== >=======================<phase: build >============================ >===> Building for py27-MySQLdb-1.2.5 >running build >running build_py >creating build >creating build/lib.freebsd-11.1-RELEASE-p1-amd64-2.7 >copying _mysql_exceptions.py -> build/lib.freebsd-11.1-RELEASE-p1-amd64-2.7 >creating build/lib.freebsd-11.1-RELEASE-p1-amd64-2.7/MySQLdb >copying MySQLdb/__init__.py -> build/lib.freebsd-11.1-RELEASE-p1-amd64-2.7/MySQLdb >copying MySQLdb/converters.py -> build/lib.freebsd-11.1-RELEASE-p1-amd64-2.7/MySQLdb >copying MySQLdb/connections.py -> build/lib.freebsd-11.1-RELEASE-p1-amd64-2.7/MySQLdb >copying MySQLdb/cursors.py -> build/lib.freebsd-11.1-RELEASE-p1-amd64-2.7/MySQLdb >copying MySQLdb/release.py -> build/lib.freebsd-11.1-RELEASE-p1-amd64-2.7/MySQLdb >copying MySQLdb/times.py -> build/lib.freebsd-11.1-RELEASE-p1-amd64-2.7/MySQLdb >creating build/lib.freebsd-11.1-RELEASE-p1-amd64-2.7/MySQLdb/constants >copying MySQLdb/constants/__init__.py -> build/lib.freebsd-11.1-RELEASE-p1-amd64-2.7/MySQLdb/constants >copying MySQLdb/constants/CR.py -> build/lib.freebsd-11.1-RELEASE-p1-amd64-2.7/MySQLdb/constants >copying MySQLdb/constants/FIELD_TYPE.py -> build/lib.freebsd-11.1-RELEASE-p1-amd64-2.7/MySQLdb/constants >copying MySQLdb/constants/ER.py -> build/lib.freebsd-11.1-RELEASE-p1-amd64-2.7/MySQLdb/constants >copying MySQLdb/constants/FLAG.py -> build/lib.freebsd-11.1-RELEASE-p1-amd64-2.7/MySQLdb/constants >copying MySQLdb/constants/REFRESH.py -> build/lib.freebsd-11.1-RELEASE-p1-amd64-2.7/MySQLdb/constants >copying MySQLdb/constants/CLIENT.py -> build/lib.freebsd-11.1-RELEASE-p1-amd64-2.7/MySQLdb/constants >running build_ext >building '_mysql' extension >creating build/temp.freebsd-11.1-RELEASE-p1-amd64-2.7 >cc -DNDEBUG -O2 -pipe -fstack-protector -fno-strict-aliasing -fPIC -Dversion_info=(1,2,5,'final',1) -D__version__=1.2.5 -I/usr/local/include/mysql -I/usr/local/include/mysql/.. -I/usr/local/include/python2.7 -c _mysql.c -o build/temp.freebsd-11.1-RELEASE-p1-amd64-2.7/_mysql.o >_mysql.c:44:10: fatal error: 'my_config.h' file not found >#include "my_config.h" > ^~~~~~~~~~~~~ >1 error generated. >error: command 'cc' failed with exit status 1 >*** Error code 1 > >Stop. >make: stopped in /usr/ports/databases/py-MySQLdb >====>> Cleaning up wrkdir >===> Cleaning for py27-MySQLdb-1.2.5 >build of databases/py-MySQLdb ended at Mon Oct 16 14:24:46 CEST 2017 >build time: 00:00:07 >!!! build failure encountered !!!
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 223053
: 187221