/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -Isrc -I../../generated -I../../backend/wbpublic -I../../library/grt/src -I../../library/base -I../../modules/interfaces -I../../modules -I../../library/grt/src/diff -I../../library/sql-parser/include -I../../library/sql-parser/source -I../../library/sql-parser/source/linux -I../../ext/vsqlite++/include -I../../ext/vsqlite -I../../library/base -I/usr/include/mysql -fPIC -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -DBIG_JOINS=1 -fomit-frame-pointer -g -I/usr/include/python2.7 -DENABLE_LUA_MODULES -DENABLE_PYTHON_MODULES -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -march=core2 -mtune=core2 -O3 -mfpmath=sse -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wextra -Wall -Wno-unused -Wno-deprecated -DTIXML_USE_STL=1 -MT mysql_sql_parser_fe.lo -MD -MP -MF .deps/mysql_sql_parser_fe.Tpo -c -o mysql_sql_parser_fe.lo `test -f 'src/mysql_sql_parser_fe.cpp' || echo './'`src/mysql_sql_parser_fe.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Isrc -I../../generated -I../../backend/wbpublic -I../../library/grt/src -I../../library/base -I../../modules/interfaces -I../../modules -I../../library/grt/src/diff -I../../library/sql-parser/include -I../../library/sql-parser/source -I../../library/sql-parser/source/linux -I../../ext/vsqlite++/include -I../../ext/vsqlite -I../../library/base -I/usr/include/mysql -fPIC -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -DBIG_JOINS=1 -fomit-frame-pointer -g -I/usr/include/python2.7 -DENABLE_LUA_MODULES -DENABLE_PYTHON_MODULES -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -march=core2 -mtune=core2 -O3 -mfpmath=sse -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wextra -Wall -Wno-unused -Wno-deprecated -DTIXML_USE_STL=1 -MT mysql_sql_parser_fe.lo -MD -MP -MF .deps/mysql_sql_parser_fe.Tpo -c src/mysql_sql_parser_fe.cpp -fPIC -DPIC -o .libs/mysql_sql_parser_fe.o
In file included from /usr/include/glib-2.0/glib/gtypes.h:36:0,
from /usr/include/glib-2.0/glib/gquark.h:34,
from /usr/include/glib-2.0/glib/gerror.h:30,
from /usr/include/glib-2.0/glib/gunicode.h:29,
from src/mysql_sql_parser_fe.cpp:23:
/usr/include/glib-2.0/glib/gversionmacros.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from ../../backend/wbpublic/grt/grt_dispatcher.h:23:0,
from ../../backend/wbpublic/grt/grt_manager.h:26,
from src/mysql_sql_parser_fe.cpp:25:
../../library/grt/src/grtpp_util.h: In function `grt::Ref<Class> grt::find_named_object_in_list(const grt::ListRef<T>&, const string&, bool, const string&)':
../../library/grt/src/grtpp_util.h:139:33: warning: `gint g_strcasecmp(const gchar*, const gchar*)' is deprecated (declared at /usr/include/glib-2.0/glib/gstrfuncs.h:172) [-Wdeprecated-declarations]
src/mysql_sql_parser_fe.cpp: At global scope:
src/mysql_sql_parser_fe.cpp:346:43: warning: missing initializer for member `GStaticMutex::unused' [-Wmissing-field-initializers]
make[3]: *** [mysql_sql_parser_fe.lo] Error 1
make[3]: Leaving directory `/tmp/packerbuild-0/mysql-workbench/mysql-workbench/src/mysql-workbench-gpl-5.2.38-src/modules/db.mysql.sqlparser'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/packerbuild-0/mysql-workbench/mysql-workbench/src/mysql-workbench-gpl-5.2.38-src/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/packerbuild-0/mysql-workbench/mysql-workbench/src/mysql-workbench-gpl-5.2.38-src'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
The build failed.