Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Oct 2017 20:30:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 222965] Error when building databases/py3-mysqlclient
Message-ID:  <bug-222965-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222965

            Bug ID: 222965
           Summary: Error when building databases/py3-mysqlclient
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: samorders@gmail.com
                CC: neel@neelc.org
             Flags: maintainer-feedback?(neel@neelc.org)
                CC: neel@neelc.org

When building databases/py3-mysqlclient via poudriere I get this error. I am
building with mariadb 10.2 instead of mysql, if that makes a difference.

make.conf settings: DEFAULT_VERSIONS+=3Dbdb=3D5 perl5=3D5.24 pgsql=3D10 php=
=3D7.1
python=3D3.6 mysql=3D10.2m


=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase=
: build          >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D>  Building for py36-mysqlclient-1.3.8
running build
running build_py
creating build
creating build/lib.freebsd-11.1-RELEASE-p1-amd64-3.6
copying _mysql_exceptions.py -> build/lib.freebsd-11.1-RELEASE-p1-amd64-3.6
creating build/lib.freebsd-11.1-RELEASE-p1-amd64-3.6/MySQLdb
copying MySQLdb/__init__.py ->
build/lib.freebsd-11.1-RELEASE-p1-amd64-3.6/MySQLdb
copying MySQLdb/compat.py ->
build/lib.freebsd-11.1-RELEASE-p1-amd64-3.6/MySQLdb
copying MySQLdb/converters.py ->
build/lib.freebsd-11.1-RELEASE-p1-amd64-3.6/MySQLdb
copying MySQLdb/connections.py ->
build/lib.freebsd-11.1-RELEASE-p1-amd64-3.6/MySQLdb
copying MySQLdb/cursors.py ->
build/lib.freebsd-11.1-RELEASE-p1-amd64-3.6/MySQLdb
copying MySQLdb/release.py ->
build/lib.freebsd-11.1-RELEASE-p1-amd64-3.6/MySQLdb
copying MySQLdb/times.py -> build/lib.freebsd-11.1-RELEASE-p1-amd64-3.6/MyS=
QLdb
creating build/lib.freebsd-11.1-RELEASE-p1-amd64-3.6/MySQLdb/constants
copying MySQLdb/constants/__init__.py ->
build/lib.freebsd-11.1-RELEASE-p1-amd64-3.6/MySQLdb/constants
copying MySQLdb/constants/CR.py ->
build/lib.freebsd-11.1-RELEASE-p1-amd64-3.6/MySQLdb/constants
copying MySQLdb/constants/FIELD_TYPE.py ->
build/lib.freebsd-11.1-RELEASE-p1-amd64-3.6/MySQLdb/constants
copying MySQLdb/constants/ER.py ->
build/lib.freebsd-11.1-RELEASE-p1-amd64-3.6/MySQLdb/constants
copying MySQLdb/constants/FLAG.py ->
build/lib.freebsd-11.1-RELEASE-p1-amd64-3.6/MySQLdb/constants
copying MySQLdb/constants/REFRESH.py ->
build/lib.freebsd-11.1-RELEASE-p1-amd64-3.6/MySQLdb/constants
copying MySQLdb/constants/CLIENT.py ->
build/lib.freebsd-11.1-RELEASE-p1-amd64-3.6/MySQLdb/constants
running build_ext
building '_mysql' extension
creating build/temp.freebsd-11.1-RELEASE-p1-amd64-3.6
cc -DNDEBUG -O2 -pipe -fstack-protector -fno-strict-aliasing -fPIC
-Dversion_info=3D(1,3,8,'final',1) -D__version__=3D1.3.8 -I/usr/local/inclu=
de/mysql
-I/usr/local/include/mysql/.. -I/usr/local/include/python3.6m -c _mysql.c -o
build/temp.freebsd-11.1-RELEASE-p1-amd64-3.6/_mysql.o
_mysql.c:29: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/py3-mysqlclient
=3D=3D=3D=3D>> Cleaning up wrkdir
=3D=3D=3D>  Cleaning for py36-mysqlclient-1.3.8
build of databases/py3-mysqlclient ended at Thu Oct 12 14:06:02 CDT 2017
build time: 00:00:12
!!! build failure encountered !!!

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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