Bug 209035 - databases/mysql-proxy: build failure with MySQL 5.7 (CLIENT_SECURE_CONNECTION undeclared)
Summary: databases/mysql-proxy: build failure with MySQL 5.7 (CLIENT_SECURE_CONNECTION...
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Steve Wills
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-25 14:07 UTC by Erik Cederstrand
Modified: 2020-11-09 15:54 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (swills)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Cederstrand 2016-04-25 14:07:26 UTC
I'm getting this build failure on 10.3-RELEASE #0 r297264 using the latest mysql57 (5.7.10_4) client and server. It seems MySQL 5.7 renamed CLIENT_SECURE_CONNECTION to CLIENT_RESERVED2 (see https://bugs.mysql.com/bug.php?id=78028). Renaming the define at least lets me compile. I have no idea if functionality is broken.


sudo MAKE_JOBS_UNSAFE=yes make install clean
===>  License GPLv2 accepted by the user
===>   mysql-proxy-0.8.4_2 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by mysql-proxy-0.8.4_2 for building
===>  Extracting for mysql-proxy-0.8.4_2
=> SHA256 Checksum OK for mysql-proxy-0.8.4.tar.gz.
===>  Patching for mysql-proxy-0.8.4_2
===>  Applying FreeBSD patches for mysql-proxy-0.8.4_2
===>   mysql-proxy-0.8.4_2 depends on package: pkgconf>=0.9.10 - found
===>   mysql-proxy-0.8.4_2 depends on package: libiconv>=1.14_9 - found
===>   mysql-proxy-0.8.4_2 depends on shared library: libevent.so - found (/usr/local/lib/libevent.so)
===>   mysql-proxy-0.8.4_2 depends on shared library: libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so)
===>   mysql-proxy-0.8.4_2 depends on shared library: liblua-5.1.so - found (/usr/local/lib/liblua-5.1.so)
===>   mysql-proxy-0.8.4_2 depends on shared library: libmysqlclient.so.20 - found (/usr/local/lib/mysql/libmysqlclient.so.20)
===>  Configuring for mysql-proxy-0.8.4_2
===>   FreeBSD 10 autotools fix applied to /usr/ports/databases/mysql-proxy/work/mysql-proxy-0.8.4/configure
===>   FreeBSD 10 autotools fix applied to /usr/ports/databases/mysql-proxy/work/mysql-proxy-0.8.4/m4/libtool.m4
configure: loading site script /usr/ports/Templates/config.site
checking build system type... amd64-portbld-freebsd10.3
checking host system type... amd64-portbld-freebsd10.3
checking target system type... amd64-portbld-freebsd10.3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
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 dependency style of cc... gcc3
checking how to run the C preprocessor... cpp
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 for minix/config.h... (cached) no
checking whether it is safe to define __EXTENSIONS__... yes
checking for library containing strerror... none required
checking for gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... (cached) none needed
checking dependency style of cc... (cached) gcc3
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... (cached) /usr/bin/fgrep
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... (cached) /usr/bin/awk
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking how to run the C preprocessor... cpp
checking whether ln -s works... yes
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking whether make sets $(MAKE)... (cached) yes
checking whether cc understands -c and -o together... yes
checking whether byte ordering is bigendian... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... (cached) 262144
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for dlfcn.h... (cached) yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd10.3 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking shared library path variable... LD_LIBRARY_PATH
checking lua module suffix... so
checking plugin suffix... so
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking for arpa/inet.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking sys/filio.h usability... yes
checking sys/filio.h presence... yes
checking for sys/filio.h... yes
checking for sys/socket.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/un.h... (cached) yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking for sys/ioctl.h... (cached) yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for pwd.h... (cached) yes
checking for signal.h... (cached) yes
checking for fcntl.h... (cached) yes
checking libproc.h usability... yes
checking libproc.h presence... yes
checking for libproc.h... yes
checking valgrind/valgrind.h usability... no
checking valgrind/valgrind.h presence... no
checking for valgrind/valgrind.h... no
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for sys/time.h... (cached) yes
checking for time.h... (cached) yes
checking asm/msr.h usability... no
checking asm/msr.h presence... no
checking for asm/msr.h... no
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking for sys/times.h... (cached) yes
checking ia64intrin.h usability... no
checking ia64intrin.h presence... no
checking for ia64intrin.h... no
checking for rdtscll... no
checking for ftime... no
checking for times... yes
checking for clock_gettime... (cached) yes
checking for get_hrtime... no
checking for read_real_time... no
checking for gettimeofday... (cached) yes
checking for time... (cached) yes
checking for wait4... yes
checking cc is Sun CC... no 
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether char is unsigned... no
checking return type of signal handlers... void
checking whether lstat dereferences a symlink specified with a trailing slash... (cached) yes
checking whether stat accepts an empty string... no
checking for strftime... (cached) yes
checking for library containing socket... none required
checking for library containing gethostbyname... none required
checking for library containing hstrerror... none required
checking for socklen_t... (cached) yes
checking for ulong... no
checking for ulong_t... no
checking for MySQL support... yes
checking for MySQL includes at... -I/usr/local/include/mysql
checking errmsg.h usability... yes
checking errmsg.h presence... yes
checking for errmsg.h... yes
checking mysql.h usability... yes
checking mysql.h presence... yes
checking for mysql.h... yes
checking for mysqltest binary... /usr/local/bin/mysqltest
checking for mysql libs... -L/usr/local/lib/mysql -lmysqlclient -pthread -lm -lrt
checking if build will be self-contained... yes
checking if we have a build number to use... no build-tag
checking which pkg-config file to use to find Lua... lua-5.1.pc
checking for LUA... yes
checking for GLIB... yes
checking for GMODULE... yes
checking for GTHREAD... yes
checking for inet_ntoa... (cached) yes
checking for inet_ntop... (cached) yes
checking for strerror... (cached) yes
checking for getcwd... (cached) yes
checking for chdir... yes
checking for writev... yes
checking for gmtime_r... yes
checking for sigaction... (cached) yes
checking for getaddrinfo... (cached) yes
checking size of rlim_t... 8
checking for event_init in -levent... yes
checking for event_base_new in -levent... yes
checking for event_base_free in -levent... yes
checking event.h usability... yes
checking event.h presence... no
configure: WARNING: event.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: event.h: proceeding with the compiler's result
checking for event.h... yes
checking for dtrace... dtrace
checking sys/sdt.h usability... yes
checking sys/sdt.h presence... yes
checking for sys/sdt.h... yes
checking if dtrace probes are enabled... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating cmake/Makefile
config.status: creating m4/Makefile
config.status: creating src/Makefile
config.status: creating plugins/Makefile
config.status: creating examples/Makefile
config.status: creating lib/Makefile
config.status: creating lib/proxy/Makefile
config.status: creating tests/Makefile
config.status: creating tests/suite/Makefile
config.status: creating tests/suite/base/Makefile
config.status: creating tests/suite/base/t/Makefile
config.status: creating tests/suite/base/r/Makefile
config.status: creating tests/suite/bugs/Makefile
config.status: creating tests/suite/bugs/t/Makefile
config.status: creating tests/suite/bugs/r/Makefile
config.status: creating tests/unit/Makefile
config.status: creating tests/unit/lua/Makefile
config.status: creating mysql-proxy.spec
config.status: creating plugins/admin/Makefile
config.status: creating plugins/proxy/Makefile
config.status: creating plugins/replicant/Makefile
config.status: creating plugins/debug/Makefile
config.status: creating scripts/Makefile
config.status: creating scripts/mysql-myisam-dump
config.status: creating scripts/mysql-binlog-dump
config.status: creating scripts/mysql-proxy
config.status: creating mysql-proxy.pc
config.status: creating mysql-chassis.pc
config.status: creating doc/Makefile
config.status: creating doc/chapter/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
===>  Building for mysql-proxy-0.8.4_2
/usr/bin/make  all-recursive
Making all in cmake
Making all in src
/usr/bin/make  all-am
/bin/sh ../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I/usr/local/include/mysql -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DLIBICONV_PLUG  -O2 -pipe  -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_chassis_glibext_la-glib-ext.lo -MD -MP -MF .deps/libmysql_chassis_glibext_la-glib-ext.Tpo -c -o libmysql_chassis_glibext_la-glib-ext.lo `test -f 'glib-ext.c' || echo './'`glib-ext.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/mysql -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_chassis_glibext_la-glib-ext.lo -MD -MP -MF .deps/libmysql_chassis_glibext_la-glib-ext.Tpo -c glib-ext.c  -fPIC -DPIC -o .libs/libmysql_chassis_glibext_la-glib-ext.o
glib-ext.c:122:2: warning: 'g_static_mutex_get_mutex_impl' is deprecated [-Wdeprecated-declarations]
        g_static_mutex_lock(&m);
        ^
/usr/local/include/glib-2.0/glib/deprecated/gthread.h:143:19: note: expanded from macro 'g_static_mutex_lock'
    g_mutex_lock (g_static_mutex_get_mutex (mutex))
                  ^
/usr/local/include/glib-2.0/glib/deprecated/gthread.h:131:34: note: expanded from macro 'g_static_mutex_get_mutex'
#define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl
                                 ^
/usr/local/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: 'g_static_mutex_get_mutex_impl' declared here
GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
        ^
glib-ext.c:126:2: warning: 'g_static_mutex_get_mutex_impl' is deprecated [-Wdeprecated-declarations]
        g_static_mutex_unlock(&m);
        ^
/usr/local/include/glib-2.0/glib/deprecated/gthread.h:147:21: note: expanded from macro 'g_static_mutex_unlock'
    g_mutex_unlock (g_static_mutex_get_mutex (mutex))
                    ^
/usr/local/include/glib-2.0/glib/deprecated/gthread.h:131:34: note: expanded from macro 'g_static_mutex_get_mutex'
#define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl
                                 ^
/usr/local/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: 'g_static_mutex_get_mutex_impl' declared here
GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
        ^
2 warnings generated.
mv -f .deps/libmysql_chassis_glibext_la-glib-ext.Tpo .deps/libmysql_chassis_glibext_la-glib-ext.Plo
/bin/sh ../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I/usr/local/include/mysql -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DLIBICONV_PLUG  -O2 -pipe  -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_chassis_glibext_la-glib-ext-ref.lo -MD -MP -MF .deps/libmysql_chassis_glibext_la-glib-ext-ref.Tpo -c -o libmysql_chassis_glibext_la-glib-ext-ref.lo `test -f 'glib-ext-ref.c' || echo './'`glib-ext-ref.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/mysql -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_chassis_glibext_la-glib-ext-ref.lo -MD -MP -MF .deps/libmysql_chassis_glibext_la-glib-ext-ref.Tpo -c glib-ext-ref.c  -fPIC -DPIC -o .libs/libmysql_chassis_glibext_la-glib-ext-ref.o
mv -f .deps/libmysql_chassis_glibext_la-glib-ext-ref.Tpo .deps/libmysql_chassis_glibext_la-glib-ext-ref.Plo
/bin/sh ../libtool --tag=CC    --mode=link cc   -O2 -pipe  -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -export-dynamic -no-undefined -dynamic  -L/usr/local/lib -L/usr/local/lib -fstack-protector -o libmysql-chassis-glibext.la -rpath /usr/local/lib libmysql_chassis_glibext_la-glib-ext.lo  libmysql_chassis_glibext_la-glib-ext-ref.lo -L/usr/local/lib -lglib-2.0 -lintl 
libtool: link: cc -shared  .libs/libmysql_chassis_glibext_la-glib-ext.o .libs/libmysql_chassis_glibext_la-glib-ext-ref.o   -L/usr/local/lib -lglib-2.0 -lintl  -fstack-protector -fstack-protector   -Wl,-soname -Wl,libmysql-chassis-glibext.so.0 -o .libs/libmysql-chassis-glibext.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libmysql-chassis-glibext.so.0" && ln -s "libmysql-chassis-glibext.so.0.0.0" "libmysql-chassis-glibext.so.0")
libtool: link: (cd ".libs" && rm -f "libmysql-chassis-glibext.so" && ln -s "libmysql-chassis-glibext.so.0.0.0" "libmysql-chassis-glibext.so")
libtool: link: ( cd ".libs" && rm -f "libmysql-chassis-glibext.la" && ln -s "../libmysql-chassis-glibext.la" "libmysql-chassis-glibext.la" )
/bin/sh ../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I/usr/local/include/mysql -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include  -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include  -DLIBICONV_PLUG  -O2 -pipe  -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_chassis_timing_la-chassis-timings.lo -MD -MP -MF .deps/libmysql_chassis_timing_la-chassis-timings.Tpo -c -o libmysql_chassis_timing_la-chassis-timings.lo `test -f 'chassis-timings.c' || echo './'`chassis-timings.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/mysql -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_chassis_timing_la-chassis-timings.lo -MD -MP -MF .deps/libmysql_chassis_timing_la-chassis-timings.Tpo -c chassis-timings.c  -fPIC -DPIC -o .libs/libmysql_chassis_timing_la-chassis-timings.o
mv -f .deps/libmysql_chassis_timing_la-chassis-timings.Tpo .deps/libmysql_chassis_timing_la-chassis-timings.Plo
/bin/sh ../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I/usr/local/include/mysql -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include  -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include  -DLIBICONV_PLUG  -O2 -pipe  -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_chassis_timing_la-chassis-gtimeval.lo -MD -MP -MF .deps/libmysql_chassis_timing_la-chassis-gtimeval.Tpo -c -o libmysql_chassis_timing_la-chassis-gtimeval.lo `test -f 'chassis-gtimeval.c' || echo './'`chassis-gtimeval.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/mysql -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_chassis_timing_la-chassis-gtimeval.lo -MD -MP -MF .deps/libmysql_chassis_timing_la-chassis-gtimeval.Tpo -c chassis-gtimeval.c  -fPIC -DPIC -o .libs/libmysql_chassis_timing_la-chassis-gtimeval.o
mv -f .deps/libmysql_chassis_timing_la-chassis-gtimeval.Tpo .deps/libmysql_chassis_timing_la-chassis-gtimeval.Plo
/bin/sh ../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I/usr/local/include/mysql -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include  -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include  -DLIBICONV_PLUG  -O2 -pipe  -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_chassis_timing_la-my_rdtsc.lo -MD -MP -MF .deps/libmysql_chassis_timing_la-my_rdtsc.Tpo -c -o libmysql_chassis_timing_la-my_rdtsc.lo `test -f 'my_rdtsc.c' || echo './'`my_rdtsc.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/mysql -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_chassis_timing_la-my_rdtsc.lo -MD -MP -MF .deps/libmysql_chassis_timing_la-my_rdtsc.Tpo -c my_rdtsc.c  -fPIC -DPIC -o .libs/libmysql_chassis_timing_la-my_rdtsc.o
mv -f .deps/libmysql_chassis_timing_la-my_rdtsc.Tpo .deps/libmysql_chassis_timing_la-my_rdtsc.Plo
/bin/sh ../libtool --tag=CC    --mode=link cc   -O2 -pipe  -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -export-dynamic -no-undefined -dynamic  -L/usr/local/lib -L/usr/local/lib -fstack-protector -o libmysql-chassis-timing.la -rpath /usr/local/lib libmysql_chassis_timing_la-chassis-timings.lo  libmysql_chassis_timing_la-chassis-gtimeval.lo  libmysql_chassis_timing_la-my_rdtsc.lo -L/usr/local/lib -lglib-2.0 -lintl libmysql-chassis-glibext.la 
libtool: link: cc -shared  .libs/libmysql_chassis_timing_la-chassis-timings.o .libs/libmysql_chassis_timing_la-chassis-gtimeval.o .libs/libmysql_chassis_timing_la-my_rdtsc.o   -Wl,-rpath -Wl,/usr/ports/databases/mysql-proxy/work/mysql-proxy-0.8.4/src/.libs -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib ./.libs/libmysql-chassis-glibext.so -lglib-2.0 -lintl  -fstack-protector -fstack-protector   -Wl,-soname -Wl,libmysql-chassis-timing.so.0 -o .libs/libmysql-chassis-timing.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libmysql-chassis-timing.so.0" && ln -s "libmysql-chassis-timing.so.0.0.0" "libmysql-chassis-timing.so.0")
libtool: link: (cd ".libs" && rm -f "libmysql-chassis-timing.so" && ln -s "libmysql-chassis-timing.so.0.0.0" "libmysql-chassis-timing.so")
libtool: link: ( cd ".libs" && rm -f "libmysql-chassis-timing.la" && ln -s "../libmysql-chassis-timing.la" "libmysql-chassis-timing.la" )
/bin/sh ../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I/usr/local/include/mysql  -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DPLUGINDIR="\"/usr/local/lib/mysql-proxy/plugins\""  -DEXEC_PREFIX="\"/usr/local\"" -DLIBICONV_PLUG  -O2 -pipe  -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_chassis_la-lua-load-factory.lo -MD -MP -MF .deps/libmysql_chassis_la-lua-load-factory.Tpo -c -o libmysql_chassis_la-lua-load-factory.lo `test -f 'lua-load-factory.c' || echo './'`lua-load-factory.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/mysql -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DPLUGINDIR=\"/usr/local/lib/mysql-proxy/plugins\" -DEXEC_PREFIX=\"/usr/local\" -DLIBICONV_PLUG -O2 -pipe -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_chassis_la-lua-load-factory.lo -MD -MP -MF .deps/libmysql_chassis_la-lua-load-factory.Tpo -c lua-load-factory.c  -fPIC -DPIC -o .libs/libmysql_chassis_la-lua-load-factory.o
mv -f .deps/libmysql_chassis_la-lua-load-factory.Tpo .deps/libmysql_chassis_la-lua-load-factory.Plo
/bin/sh ../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I/usr/local/include/mysql  -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DPLUGINDIR="\"/usr/local/lib/mysql-proxy/plugins\""  -DEXEC_PREFIX="\"/usr/local\"" -DLIBICONV_PLUG  -O2 -pipe  -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_chassis_la-lua-scope.lo -MD -MP -MF .deps/libmysql_chassis_la-lua-scope.Tpo -c -o libmysql_chassis_la-lua-scope.lo `test -f 'lua-scope.c' || echo './'`lua-scope.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/mysql -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DPLUGINDIR=\"/usr/local/lib/mysql-proxy/plugins\" -DEXEC_PREFIX=\"/usr/local\" -DLIBICONV_PLUG -O2 -pipe -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_chassis_la-lua-scope.lo -MD -MP -MF .deps/libmysql_chassis_la-lua-scope.Tpo -c lua-scope.c  -fPIC -DPIC -o .libs/libmysql_chassis_la-lua-scope.o
lua-scope.c:67:14: warning: 'g_mutex_new' is deprecated [-Wdeprecated-declarations]
        sc->mutex = g_mutex_new();
                    ^
/usr/local/include/glib-2.0/glib/deprecated/gthread.h:277:17: note: 'g_mutex_new' declared here
GMutex *        g_mutex_new             (void);
                ^
lua-scope.c:91:2: warning: 'g_mutex_free' is deprecated [-Wdeprecated-declarations]
        g_mutex_free(sc->mutex);
        ^
/usr/local/include/glib-2.0/glib/deprecated/gthread.h:279:17: note: 'g_mutex_free' declared here
void            g_mutex_free            (GMutex *mutex);
                ^
2 warnings generated.
mv -f .deps/libmysql_chassis_la-lua-scope.Tpo .deps/libmysql_chassis_la-lua-scope.Plo
/bin/sh ../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I/usr/local/include/mysql  -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DPLUGINDIR="\"/usr/local/lib/mysql-proxy/plugins\""  -DEXEC_PREFIX="\"/usr/local\"" -DLIBICONV_PLUG  -O2 -pipe  -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_chassis_la-chassis-plugin.lo -MD -MP -MF .deps/libmysql_chassis_la-chassis-plugin.Tpo -c -o libmysql_chassis_la-chassis-plugin.lo `test -f 'chassis-plugin.c' || echo './'`chassis-plugin.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/mysql -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DPLUGINDIR=\"/usr/local/lib/mysql-proxy/plugins\" -DEXEC_PREFIX=\"/usr/local\" -DLIBICONV_PLUG -O2 -pipe -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_chassis_la-chassis-plugin.lo -MD -MP -MF .deps/libmysql_chassis_la-chassis-plugin.Tpo -c chassis-plugin.c  -fPIC -DPIC -o .libs/libmysql_chassis_la-chassis-plugin.o
mv -f .deps/libmysql_chassis_la-chassis-plugin.Tpo .deps/libmysql_chassis_la-chassis-plugin.Plo
/bin/sh ../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I/usr/local/include/mysql  -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DPLUGINDIR="\"/usr/local/lib/mysql-proxy/plugins\""  -DEXEC_PREFIX="\"/usr/local\"" -DLIBICONV_PLUG  -O2 -pipe  -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_chassis_la-chassis-log.lo -MD -MP -MF .deps/libmysql_chassis_la-chassis-log.Tpo -c -o libmysql_chassis_la-chassis-log.lo `test -f 'chassis-log.c' || echo './'`chassis-log.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/mysql -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DPLUGINDIR=\"/usr/local/lib/mysql-proxy/plugins\" -DEXEC_PREFIX=\"/usr/local\" -DLIBICONV_PLUG -O2 -pipe -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_chassis_la-chassis-log.lo -MD -MP -MF .deps/libmysql_chassis_la-chassis-log.Tpo -c chassis-log.c  -fPIC -DPIC -o .libs/libmysql_chassis_la-chassis-log.o
chassis-log.c:463:2: warning: 'g_static_mutex_get_mutex_impl' is deprecated [-Wdeprecated-declarations]
        g_static_mutex_lock(&log_mutex);
        ^
/usr/local/include/glib-2.0/glib/deprecated/gthread.h:143:19: note: expanded from macro 'g_static_mutex_lock'
    g_mutex_lock (g_static_mutex_get_mutex (mutex))
                  ^
/usr/local/include/glib-2.0/glib/deprecated/gthread.h:131:34: note: expanded from macro 'g_static_mutex_get_mutex'
#define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl
                                 ^
/usr/local/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: 'g_static_mutex_get_mutex_impl' declared here
GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
        ^
chassis-log.c:467:2: warning: 'g_static_mutex_get_mutex_impl' is deprecated [-Wdeprecated-declarations]
        g_static_mutex_unlock(&log_mutex);
        ^
/usr/local/include/glib-2.0/glib/deprecated/gthread.h:147:21: note: expanded from macro 'g_static_mutex_unlock'
    g_mutex_unlock (g_static_mutex_get_mutex (mutex))
                    ^
/usr/local/include/glib-2.0/glib/deprecated/gthread.h:131:34: note: expanded from macro 'g_static_mutex_get_mutex'
#define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl
                                 ^
/usr/local/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: 'g_static_mutex_get_mutex_impl' declared here
GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
        ^
2 warnings generated.
mv -f .deps/libmysql_chassis_la-chassis-log.Tpo .deps/libmysql_chassis_la-chassis-log.Plo
/bin/sh ../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I/usr/local/include/mysql  -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DPLUGINDIR="\"/usr/local/lib/mysql-proxy/plugins\""  -DEXEC_PREFIX="\"/usr/local\"" -DLIBICONV_PLUG  -O2 -pipe  -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_chassis_la-chassis-mainloop.lo -MD -MP -MF .deps/libmysql_chassis_la-chassis-mainloop.Tpo -c -o libmysql_chassis_la-chassis-mainloop.lo `test -f 'chassis-mainloop.c' || echo './'`chassis-mainloop.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/mysql -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DPLUGINDIR=\"/usr/local/lib/mysql-proxy/plugins\" -DEXEC_PREFIX=\"/usr/local\" -DLIBICONV_PLUG -O2 -pipe -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_chassis_la-chassis-mainloop.lo -MD -MP -MF .deps/libmysql_chassis_la-chassis-mainloop.Tpo -c chassis-mainloop.c  -fPIC -DPIC -o .libs/libmysql_chassis_la-chassis-mainloop.o
mv -f .deps/libmysql_chassis_la-chassis-mainloop.Tpo .deps/libmysql_chassis_la-chassis-mainloop.Plo
/bin/sh ../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I/usr/local/include/mysql  -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DPLUGINDIR="\"/usr/local/lib/mysql-proxy/plugins\""  -DEXEC_PREFIX="\"/usr/local\"" -DLIBICONV_PLUG  -O2 -pipe  -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_chassis_la-chassis-event-thread.lo -MD -MP -MF .deps/libmysql_chassis_la-chassis-event-thread.Tpo -c -o libmysql_chassis_la-chassis-event-thread.lo `test -f 'chassis-event-thread.c' || echo './'`chassis-event-thread.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/mysql -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DPLUGINDIR=\"/usr/local/lib/mysql-proxy/plugins\" -DEXEC_PREFIX=\"/usr/local\" -DLIBICONV_PLUG -O2 -pipe -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_chassis_la-chassis-event-thread.lo -MD -MP -MF .deps/libmysql_chassis_la-chassis-event-thread.Tpo -c chassis-event-thread.c  -fPIC -DPIC -o .libs/libmysql_chassis_la-chassis-event-thread.o
chassis-event-thread.c:320:23: warning: 'g_private_new' is deprecated [-Wdeprecated-declarations]
        tls_event_base_key = g_private_new(NULL);
                             ^
/usr/local/include/glib-2.0/glib/deprecated/gthread.h:237:17: note: 'g_private_new' declared here
GPrivate *      g_private_new             (GDestroyNotify notify);
                ^
chassis-event-thread.c:497:23: warning: 'g_thread_create' is deprecated [-Wdeprecated-declarations]
                event_thread->thr = g_thread_create((GThreadFunc)chassis_event_thread_loop, event_thread, TRUE, &gerr);
                                    ^
/usr/local/include/glib-2.0/glib/deprecated/gthread.h:104:10: note: 'g_thread_create' declared here
GThread *g_thread_create       (GThreadFunc       func,
         ^
2 warnings generated.
mv -f .deps/libmysql_chassis_la-chassis-event-thread.Tpo .deps/libmysql_chassis_la-chassis-event-thread.Plo
/bin/sh ../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I/usr/local/include/mysql  -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DPLUGINDIR="\"/usr/local/lib/mysql-proxy/plugins\""  -DEXEC_PREFIX="\"/usr/local\"" -DLIBICONV_PLUG  -O2 -pipe  -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_chassis_la-chassis-keyfile.lo -MD -MP -MF .deps/libmysql_chassis_la-chassis-keyfile.Tpo -c -o libmysql_chassis_la-chassis-keyfile.lo `test -f 'chassis-keyfile.c' || echo './'`chassis-keyfile.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/mysql -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DPLUGINDIR=\"/usr/local/lib/mysql-proxy/plugins\" -DEXEC_PREFIX=\"/usr/local\" -DLIBICONV_PLUG -O2 -pipe -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_chassis_la-chassis-keyfile.lo -MD -MP -MF .deps/libmysql_chassis_la-chassis-keyfile.Tpo -c chassis-keyfile.c  -fPIC -DPIC -o .libs/libmysql_chassis_la-chassis-keyfile.o
mv -f .deps/libmysql_chassis_la-chassis-keyfile.Tpo .deps/libmysql_chassis_la-chassis-keyfile.Plo
/bin/sh ../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I/usr/local/include/mysql  -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DPLUGINDIR="\"/usr/local/lib/mysql-proxy/plugins\""  -DEXEC_PREFIX="\"/usr/local\"" -DLIBICONV_PLUG  -O2 -pipe  -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_chassis_la-chassis-path.lo -MD -MP -MF .deps/libmysql_chassis_la-chassis-path.Tpo -c -o libmysql_chassis_la-chassis-path.lo `test -f 'chassis-path.c' || echo './'`chassis-path.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/mysql -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DPLUGINDIR=\"/usr/local/lib/mysql-proxy/plugins\" -DEXEC_PREFIX=\"/usr/local\" -DLIBICONV_PLUG -O2 -pipe -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_chassis_la-chassis-path.lo -MD -MP -MF .deps/libmysql_chassis_la-chassis-path.Tpo -c chassis-path.c  -fPIC -DPIC -o .libs/libmysql_chassis_la-chassis-path.o
mv -f .deps/libmysql_chassis_la-chassis-path.Tpo .deps/libmysql_chassis_la-chassis-path.Plo
/bin/sh ../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I/usr/local/include/mysql  -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DPLUGINDIR="\"/usr/local/lib/mysql-proxy/plugins\""  -DEXEC_PREFIX="\"/usr/local\"" -DLIBICONV_PLUG  -O2 -pipe  -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_chassis_la-chassis-filemode.lo -MD -MP -MF .deps/libmysql_chassis_la-chassis-filemode.Tpo -c -o libmysql_chassis_la-chassis-filemode.lo `test -f 'chassis-filemode.c' || echo './'`chassis-filemode.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/mysql -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DPLUGINDIR=\"/usr/local/lib/mysql-proxy/plugins\" -DEXEC_PREFIX=\"/usr/local\" -DLIBICONV_PLUG -O2 -pipe -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_chassis_la-chassis-filemode.lo -MD -MP -MF .deps/libmysql_chassis_la-chassis-filemode.Tpo -c chassis-filemode.c  -fPIC -DPIC -o .libs/libmysql_chassis_la-chassis-filemode.o
mv -f .deps/libmysql_chassis_la-chassis-filemode.Tpo .deps/libmysql_chassis_la-chassis-filemode.Plo
/bin/sh ../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I/usr/local/include/mysql  -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DPLUGINDIR="\"/usr/local/lib/mysql-proxy/plugins\""  -DEXEC_PREFIX="\"/usr/local\"" -DLIBICONV_PLUG  -O2 -pipe  -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_chassis_la-chassis-limits.lo -MD -MP -MF .deps/libmysql_chassis_la-chassis-limits.Tpo -c -o libmysql_chassis_la-chassis-limits.lo `test -f 'chassis-limits.c' || echo './'`chassis-limits.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/mysql -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DPLUGINDIR=\"/usr/local/lib/mysql-proxy/plugins\" -DEXEC_PREFIX=\"/usr/local\" -DLIBICONV_PLUG -O2 -pipe -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_chassis_la-chassis-limits.lo -MD -MP -MF .deps/libmysql_chassis_la-chassis-limits.Tpo -c chassis-limits.c  -fPIC -DPIC -o .libs/libmysql_chassis_la-chassis-limits.o
mv -f .deps/libmysql_chassis_la-chassis-limits.Tpo .deps/libmysql_chassis_la-chassis-limits.Plo
/bin/sh ../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I/usr/local/include/mysql  -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DPLUGINDIR="\"/usr/local/lib/mysql-proxy/plugins\""  -DEXEC_PREFIX="\"/usr/local\"" -DLIBICONV_PLUG  -O2 -pipe  -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_chassis_la-chassis-shutdown-hooks.lo -MD -MP -MF .deps/libmysql_chassis_la-chassis-shutdown-hooks.Tpo -c -o libmysql_chassis_la-chassis-shutdown-hooks.lo `test -f 'chassis-shutdown-hooks.c' || echo './'`chassis-shutdown-hooks.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/mysql -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DPLUGINDIR=\"/usr/local/lib/mysql-proxy/plugins\" -DEXEC_PREFIX=\"/usr/local\" -DLIBICONV_PLUG -O2 -pipe -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_chassis_la-chassis-shutdown-hooks.lo -MD -MP -MF .deps/libmysql_chassis_la-chassis-shutdown-hooks.Tpo -c chassis-shutdown-hooks.c  -fPIC -DPIC -o .libs/libmysql_chassis_la-chassis-shutdown-hooks.o
chassis-shutdown-hooks.c:55:17: warning: 'g_mutex_new' is deprecated [-Wdeprecated-declarations]
        hooks->mutex = g_mutex_new();
                       ^
/usr/local/include/glib-2.0/glib/deprecated/gthread.h:277:17: note: 'g_mutex_new' declared here
GMutex *        g_mutex_new             (void);
                ^
chassis-shutdown-hooks.c:62:2: warning: 'g_mutex_free' is deprecated [-Wdeprecated-declarations]
        g_mutex_free(hooks->mutex);
        ^
/usr/local/include/glib-2.0/glib/deprecated/gthread.h:279:17: note: 'g_mutex_free' declared here
void            g_mutex_free            (GMutex *mutex);
                ^
2 warnings generated.
mv -f .deps/libmysql_chassis_la-chassis-shutdown-hooks.Tpo .deps/libmysql_chassis_la-chassis-shutdown-hooks.Plo
/bin/sh ../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I/usr/local/include/mysql  -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DPLUGINDIR="\"/usr/local/lib/mysql-proxy/plugins\""  -DEXEC_PREFIX="\"/usr/local\"" -DLIBICONV_PLUG  -O2 -pipe  -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_chassis_la-chassis-stats.lo -MD -MP -MF .deps/libmysql_chassis_la-chassis-stats.Tpo -c -o libmysql_chassis_la-chassis-stats.lo `test -f 'chassis-stats.c' || echo './'`chassis-stats.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/mysql -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DPLUGINDIR=\"/usr/local/lib/mysql-proxy/plugins\" -DEXEC_PREFIX=\"/usr/local\" -DLIBICONV_PLUG -O2 -pipe -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_chassis_la-chassis-stats.lo -MD -MP -MF .deps/libmysql_chassis_la-chassis-stats.Tpo -c chassis-stats.c  -fPIC -DPIC -o .libs/libmysql_chassis_la-chassis-stats.o
mv -f .deps/libmysql_chassis_la-chassis-stats.Tpo .deps/libmysql_chassis_la-chassis-stats.Plo
/bin/sh ../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I/usr/local/include/mysql  -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DPLUGINDIR="\"/usr/local/lib/mysql-proxy/plugins\""  -DEXEC_PREFIX="\"/usr/local\"" -DLIBICONV_PLUG  -O2 -pipe  -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_chassis_la-chassis-frontend.lo -MD -MP -MF .deps/libmysql_chassis_la-chassis-frontend.Tpo -c -o libmysql_chassis_la-chassis-frontend.lo `test -f 'chassis-frontend.c' || echo './'`chassis-frontend.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/mysql -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DPLUGINDIR=\"/usr/local/lib/mysql-proxy/plugins\" -DEXEC_PREFIX=\"/usr/local\" -DLIBICONV_PLUG -O2 -pipe -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_chassis_la-chassis-frontend.lo -MD -MP -MF .deps/libmysql_chassis_la-chassis-frontend.Tpo -c chassis-frontend.c  -fPIC -DPIC -o .libs/libmysql_chassis_la-chassis-frontend.o
chassis-frontend.c:90:2: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations]
        g_thread_init(NULL);
        ^
/usr/local/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: 'g_thread_init' declared here
void     g_thread_init                   (gpointer vtable);
         ^
1 warning generated.
mv -f .deps/libmysql_chassis_la-chassis-frontend.Tpo .deps/libmysql_chassis_la-chassis-frontend.Plo
/bin/sh ../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I/usr/local/include/mysql  -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DPLUGINDIR="\"/usr/local/lib/mysql-proxy/plugins\""  -DEXEC_PREFIX="\"/usr/local\"" -DLIBICONV_PLUG  -O2 -pipe  -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_chassis_la-chassis-options.lo -MD -MP -MF .deps/libmysql_chassis_la-chassis-options.Tpo -c -o libmysql_chassis_la-chassis-options.lo `test -f 'chassis-options.c' || echo './'`chassis-options.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/mysql -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DPLUGINDIR=\"/usr/local/lib/mysql-proxy/plugins\" -DEXEC_PREFIX=\"/usr/local\" -DLIBICONV_PLUG -O2 -pipe -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_chassis_la-chassis-options.lo -MD -MP -MF .deps/libmysql_chassis_la-chassis-options.Tpo -c chassis-options.c  -fPIC -DPIC -o .libs/libmysql_chassis_la-chassis-options.o
mv -f .deps/libmysql_chassis_la-chassis-options.Tpo .deps/libmysql_chassis_la-chassis-options.Plo
/bin/sh ../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I/usr/local/include/mysql  -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DPLUGINDIR="\"/usr/local/lib/mysql-proxy/plugins\""  -DEXEC_PREFIX="\"/usr/local\"" -DLIBICONV_PLUG  -O2 -pipe  -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_chassis_la-chassis-unix-daemon.lo -MD -MP -MF .deps/libmysql_chassis_la-chassis-unix-daemon.Tpo -c -o libmysql_chassis_la-chassis-unix-daemon.lo `test -f 'chassis-unix-daemon.c' || echo './'`chassis-unix-daemon.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/mysql -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DPLUGINDIR=\"/usr/local/lib/mysql-proxy/plugins\" -DEXEC_PREFIX=\"/usr/local\" -DLIBICONV_PLUG -O2 -pipe -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_chassis_la-chassis-unix-daemon.lo -MD -MP -MF .deps/libmysql_chassis_la-chassis-unix-daemon.Tpo -c chassis-unix-daemon.c  -fPIC -DPIC -o .libs/libmysql_chassis_la-chassis-unix-daemon.o
mv -f .deps/libmysql_chassis_la-chassis-unix-daemon.Tpo .deps/libmysql_chassis_la-chassis-unix-daemon.Plo
/bin/sh ../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I/usr/local/include/mysql  -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DPLUGINDIR="\"/usr/local/lib/mysql-proxy/plugins\""  -DEXEC_PREFIX="\"/usr/local\"" -DLIBICONV_PLUG  -O2 -pipe  -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_chassis_la-chassis-win32-service.lo -MD -MP -MF .deps/libmysql_chassis_la-chassis-win32-service.Tpo -c -o libmysql_chassis_la-chassis-win32-service.lo `test -f 'chassis-win32-service.c' || echo './'`chassis-win32-service.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/mysql -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DPLUGINDIR=\"/usr/local/lib/mysql-proxy/plugins\" -DEXEC_PREFIX=\"/usr/local\" -DLIBICONV_PLUG -O2 -pipe -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_chassis_la-chassis-win32-service.lo -MD -MP -MF .deps/libmysql_chassis_la-chassis-win32-service.Tpo -c chassis-win32-service.c  -fPIC -DPIC -o .libs/libmysql_chassis_la-chassis-win32-service.o
mv -f .deps/libmysql_chassis_la-chassis-win32-service.Tpo .deps/libmysql_chassis_la-chassis-win32-service.Plo
/bin/sh ../libtool --tag=CC    --mode=link cc  -O2 -pipe  -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing  -export-dynamic -no-undefined -dynamic -L/usr/local/lib -L/usr/local/lib -fstack-protector -o libmysql-chassis.la -rpath /usr/local/lib libmysql_chassis_la-lua-load-factory.lo  libmysql_chassis_la-lua-scope.lo  libmysql_chassis_la-chassis-plugin.lo  libmysql_chassis_la-chassis-log.lo  libmysql_chassis_la-chassis-mainloop.lo  libmysql_chassis_la-chassis-event-thread.lo  libmysql_chassis_la-chassis-keyfile.lo  libmysql_chassis_la-chassis-path.lo  libmysql_chassis_la-chassis-filemode.lo  libmysql_chassis_la-chassis-limits.lo  libmysql_chassis_la-chassis-shutdown-hooks.lo  libmysql_chassis_la-chassis-stats.lo  libmysql_chassis_la-chassis-frontend.lo  libmysql_chassis_la-chassis-options.lo  libmysql_chassis_la-chassis-unix-daemon.lo  libmysql_chassis_la-chassis-win32-service.lo -levent   -L/usr/local/lib -lglib-2.0 -lintl   -L/usr/local/lib -llua-5.1 -lm -L/usr/local/lib -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lintl -L/usr/local/lib -lgthread-2.0 -pthread -lglib-2.0 -lintl libmysql-chassis-timing.la libmysql-chassis-glibext.la 
libtool: link: cc -shared  .libs/libmysql_chassis_la-lua-load-factory.o .libs/libmysql_chassis_la-lua-scope.o .libs/libmysql_chassis_la-chassis-plugin.o .libs/libmysql_chassis_la-chassis-log.o .libs/libmysql_chassis_la-chassis-mainloop.o .libs/libmysql_chassis_la-chassis-event-thread.o .libs/libmysql_chassis_la-chassis-keyfile.o .libs/libmysql_chassis_la-chassis-path.o .libs/libmysql_chassis_la-chassis-filemode.o .libs/libmysql_chassis_la-chassis-limits.o .libs/libmysql_chassis_la-chassis-shutdown-hooks.o .libs/libmysql_chassis_la-chassis-stats.o .libs/libmysql_chassis_la-chassis-frontend.o .libs/libmysql_chassis_la-chassis-options.o .libs/libmysql_chassis_la-chassis-unix-daemon.o .libs/libmysql_chassis_la-chassis-win32-service.o   -Wl,-rpath -Wl,/usr/ports/databases/mysql-proxy/work/mysql-proxy-0.8.4/src/.libs -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -levent -llua-5.1 -lm -lgmodule-2.0 -lgthread-2.0 ./.libs/libmysql-chassis-timing.so /usr/ports/databases/mysql-proxy/work/mysql-proxy-0.8.4/src/.libs/libmysql-chassis-glibext.so ./.libs/libmysql-chassis-glibext.so -lglib-2.0 -lintl  -fstack-protector -fstack-protector -Wl,--export-dynamic -pthread -pthread   -pthread -Wl,-soname -Wl,libmysql-chassis.so.0 -o .libs/libmysql-chassis.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libmysql-chassis.so.0" && ln -s "libmysql-chassis.so.0.0.0" "libmysql-chassis.so.0")
libtool: link: (cd ".libs" && rm -f "libmysql-chassis.so" && ln -s "libmysql-chassis.so.0.0.0" "libmysql-chassis.so")
libtool: link: ( cd ".libs" && rm -f "libmysql-chassis.la" && ln -s "../libmysql-chassis.la" "libmysql-chassis.la" )
/bin/sh ../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I/usr/local/include/mysql -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DLIBICONV_PLUG  -O2 -pipe  -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_proxy_la-network-packet.lo -MD -MP -MF .deps/libmysql_proxy_la-network-packet.Tpo -c -o libmysql_proxy_la-network-packet.lo `test -f 'network-packet.c' || echo './'`network-packet.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/mysql -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_proxy_la-network-packet.lo -MD -MP -MF .deps/libmysql_proxy_la-network-packet.Tpo -c network-packet.c  -fPIC -DPIC -o .libs/libmysql_proxy_la-network-packet.o
mv -f .deps/libmysql_proxy_la-network-packet.Tpo .deps/libmysql_proxy_la-network-packet.Plo
/bin/sh ../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I/usr/local/include/mysql -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DLIBICONV_PLUG  -O2 -pipe  -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_proxy_la-network-mysqld.lo -MD -MP -MF .deps/libmysql_proxy_la-network-mysqld.Tpo -c -o libmysql_proxy_la-network-mysqld.lo `test -f 'network-mysqld.c' || echo './'`network-mysqld.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/mysql -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_proxy_la-network-mysqld.lo -MD -MP -MF .deps/libmysql_proxy_la-network-mysqld.Tpo -c network-mysqld.c  -fPIC -DPIC -o .libs/libmysql_proxy_la-network-mysqld.o
mv -f .deps/libmysql_proxy_la-network-mysqld.Tpo .deps/libmysql_proxy_la-network-mysqld.Plo
/bin/sh ../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I/usr/local/include/mysql -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DLIBICONV_PLUG  -O2 -pipe  -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_proxy_la-network-mysqld-lua.lo -MD -MP -MF .deps/libmysql_proxy_la-network-mysqld-lua.Tpo -c -o libmysql_proxy_la-network-mysqld-lua.lo `test -f 'network-mysqld-lua.c' || echo './'`network-mysqld-lua.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/mysql -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_proxy_la-network-mysqld-lua.lo -MD -MP -MF .deps/libmysql_proxy_la-network-mysqld-lua.Tpo -c network-mysqld-lua.c  -fPIC -DPIC -o .libs/libmysql_proxy_la-network-mysqld-lua.o
mv -f .deps/libmysql_proxy_la-network-mysqld-lua.Tpo .deps/libmysql_proxy_la-network-mysqld-lua.Plo
/bin/sh ../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I/usr/local/include/mysql -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DLIBICONV_PLUG  -O2 -pipe  -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_proxy_la-network-mysqld-proto.lo -MD -MP -MF .deps/libmysql_proxy_la-network-mysqld-proto.Tpo -c -o libmysql_proxy_la-network-mysqld-proto.lo `test -f 'network-mysqld-proto.c' || echo './'`network-mysqld-proto.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/mysql -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_proxy_la-network-mysqld-proto.lo -MD -MP -MF .deps/libmysql_proxy_la-network-mysqld-proto.Tpo -c network-mysqld-proto.c  -fPIC -DPIC -o .libs/libmysql_proxy_la-network-mysqld-proto.o
mv -f .deps/libmysql_proxy_la-network-mysqld-proto.Tpo .deps/libmysql_proxy_la-network-mysqld-proto.Plo
/bin/sh ../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I/usr/local/include/mysql -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DLIBICONV_PLUG  -O2 -pipe  -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_proxy_la-network-mysqld-binlog.lo -MD -MP -MF .deps/libmysql_proxy_la-network-mysqld-binlog.Tpo -c -o libmysql_proxy_la-network-mysqld-binlog.lo `test -f 'network-mysqld-binlog.c' || echo './'`network-mysqld-binlog.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/mysql -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_proxy_la-network-mysqld-binlog.lo -MD -MP -MF .deps/libmysql_proxy_la-network-mysqld-binlog.Tpo -c network-mysqld-binlog.c  -fPIC -DPIC -o .libs/libmysql_proxy_la-network-mysqld-binlog.o
mv -f .deps/libmysql_proxy_la-network-mysqld-binlog.Tpo .deps/libmysql_proxy_la-network-mysqld-binlog.Plo
/bin/sh ../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I/usr/local/include/mysql -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DLIBICONV_PLUG  -O2 -pipe  -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_proxy_la-network-mysqld-packet.lo -MD -MP -MF .deps/libmysql_proxy_la-network-mysqld-packet.Tpo -c -o libmysql_proxy_la-network-mysqld-packet.lo `test -f 'network-mysqld-packet.c' || echo './'`network-mysqld-packet.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/mysql -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/lua51 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT libmysql_proxy_la-network-mysqld-packet.lo -MD -MP -MF .deps/libmysql_proxy_la-network-mysqld-packet.Tpo -c network-mysqld-packet.c  -fPIC -DPIC -o .libs/libmysql_proxy_la-network-mysqld-packet.o
network-mysqld-packet.c:66:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
network-mysqld-packet.c:1125:3: error: use of undeclared identifier 'CLIENT_SECURE_CONNECTION'
                CLIENT_SECURE_CONNECTION |
                ^
network-mysqld-packet.c:1253:36: error: use of undeclared identifier 'CLIENT_SECURE_CONNECTION'
                } else if (shake->capabilities & CLIENT_SECURE_CONNECTION) {
                                                 ^
network-mysqld-packet.c:1299:36: error: use of undeclared identifier 'CLIENT_SECURE_CONNECTION'
                } else if (shake->capabilities & CLIENT_SECURE_CONNECTION) {
                                                 ^
network-mysqld-packet.c:1312:36: error: use of undeclared identifier 'CLIENT_SECURE_CONNECTION'
                } else if (shake->capabilities & CLIENT_SECURE_CONNECTION) {
                                                 ^
network-mysqld-packet.c:1380:35: error: use of undeclared identifier 'CLIENT_SECURE_CONNECTION'
        } else if (shake->capabilities & CLIENT_SECURE_CONNECTION) {
                                         ^
network-mysqld-packet.c:1406:30: error: use of undeclared identifier 'CLIENT_SECURE_CONNECTION'
        auth->client_capabilities = CLIENT_SECURE_CONNECTION | CLIENT_PROTOCOL_41;
                                    ^
network-mysqld-packet.c:1463:36: error: use of undeclared identifier 'CLIENT_SECURE_CONNECTION'
                if ((auth->server_capabilities & CLIENT_SECURE_CONNECTION) &&
                                                 ^
network-mysqld-packet.c:1464:36: error: use of undeclared identifier 'CLIENT_SECURE_CONNECTION'
                    (auth->server_capabilities & CLIENT_SECURE_CONNECTION)) {
                                                 ^
network-mysqld-packet.c:1531:35: error: use of undeclared identifier 'CLIENT_SECURE_CONNECTION'
                if (auth->server_capabilities & CLIENT_SECURE_CONNECTION) {
                                                ^
1 warning and 9 errors generated.
*** Error code 1

Stop.
make[4]: stopped in /usr/ports/databases/mysql-proxy/work/mysql-proxy-0.8.4/src
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/databases/mysql-proxy/work/mysql-proxy-0.8.4/src
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/databases/mysql-proxy/work/mysql-proxy-0.8.4
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/databases/mysql-proxy/work/mysql-proxy-0.8.4
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/mysql-proxy
Comment 1 Steve Wills freebsd_committer freebsd_triage 2017-12-31 01:06:05 UTC
Sorry, can't help with this one. Upstream no longer recommends use of mysql-proxy, see:

https://downloads.mysql.com/archives/proxy/

Perhaps if someone is interested they can patch and test, but it's probably better to port MySQL Router:

https://dev.mysql.com/doc/mysql-router/2.1/en/