=> Building databases/mysql2odbc build started at Tue Oct 4 19:16:44 PDT 2016 port directory: /usr/ports/databases/mysql2odbc building for: DragonFly pkgbox64.dragonflybsd.org 4.7-DEVELOPMENT DragonFly v4.7.0.78.g7d868-DEVELOPMENT #7: Mon Aug 1 22:25:32 PDT 2016 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 maintained by: fjoe@FreeBSD.org ident warning: no id keywords in /build/boomdata/data/.m/bleeding-edge-default/ref/../07//usr/ports/databases/mysql2odbc/Makefile Makefile ident: Poudriere version: 3.1-pre Host OSVERSION: 400700 Jail OSVERSION: 400702 !!! Jail is newer than host. (Jail: 400702, Host: 400700) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- STATUS=1 SAVED_TERM=screen MASTERMNT=/build/boomdata/data/.m/bleeding-edge-default/ref PATH=/usr/local/libexec/poudriere:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/pkg/xorg/bin:/usr/X11R6/bin:/root/bin:/sbin:/usr/sbin POUDRIERE_BUILD_TYPE=bulk PKGNAME=mysql2odbc-0.99.2_5 OLDPWD=/root/boom PWD=/build/boomdata/data/.m/bleeding-edge-default/ref/.p/pool MASTERNAME=bleeding-edge-default TERM=cons25 USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ---End OPTIONS List--- --CONFIGURE_ARGS-- --with-unixodbc=/usr/local --libdir=/usr/local/mysql2odbc --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/databases/mysql2odbc XDG_CONFIG_HOME=/wrkdirs/databases/mysql2odbc HOME=/wrkdirs/databases/mysql2odbc TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/databases/mysql2odbc XDG_CONFIG_HOME=/wrkdirs/databases/mysql2odbc HOME=/wrkdirs/databases/mysql2odbc TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS=" -lpthread" LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=4.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/mysql2odbc" EXAMPLESDIR="share/examples/mysql2odbc" DATADIR="share/mysql2odbc" WWWDIR="www/mysql2odbc" ETCDIR="etc/mysql2odbc" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/mysql2odbc DOCSDIR=/usr/local/share/doc/mysql2odbc EXAMPLESDIR=/usr/local/share/examples/mysql2odbc WWWDIR=/usr/local/www/mysql2odbc ETCDIR=/usr/local/etc/mysql2odbc --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs NO_BACKUP=yes USE_PACKAGE_DEPENDS=yes PKG_CREATE_VERBOSE=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORT_DBDIR=/options PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles MAKE_JOBS_NUMBER=5 ---End make.conf--- =================================================== =========================================================================== =================================================== ===> mysql2odbc-0.99.2_5 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.8.7_3.txz Installing pkg-1.8.7_3... Extracting pkg-1.8.7_3: .......... done ===> mysql2odbc-0.99.2_5 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of mysql2odbc-0.99.2_5 =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by mysql2odbc-0.99.2_5 for building =========================================================================== =================================================== ===> Fetching all distfiles required by mysql2odbc-0.99.2_5 for building => SHA256 Checksum OK for mysql2odbc-0.99.2.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by mysql2odbc-0.99.2_5 for building ===> Extracting for mysql2odbc-0.99.2_5 => SHA256 Checksum OK for mysql2odbc-0.99.2.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for mysql2odbc-0.99.2_5 ===> Applying ports patches for mysql2odbc-0.99.2_5 =========================================================================== =================================================== =========================================================================== =================================================== ===> mysql2odbc-0.99.2_5 depends on shared library: libodbc.so - not found ===> Installing existing package /packages/All/unixODBC-2.3.4.txz Installing unixODBC-2.3.4... Extracting unixODBC-2.3.4: .......... done Message from unixODBC-2.3.4: ===> NOTICE: The unixODBC port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> mysql2odbc-0.99.2_5 depends on shared library: libodbc.so - found (/usr/local/lib/libodbc.so) ===> Returning to build of mysql2odbc-0.99.2_5 =========================================================================== =================================================== ===> Configuring for mysql2odbc-0.99.2_5 configure: loading site script /usr/ports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes checking build system type... x86_64-portbld-dragonfly4.7 checking host system type... x86_64-portbld-dragonfly4.7 checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... cc checking for C compiler default output... 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 ANSI C... none needed checking for style of include used by make... GNU checking dependency style of cc... gcc3 checking whether cc understands -c and -o together... yes checking how to run the C preprocessor... cpp checking for an ANSI C-conforming const... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking how to recognise dependant libraries... pass_all checking command to parse /usr/bin/nm -B output... ok checking for egrep... grep -E 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 dlfcn.h... (cached) yes checking for ranlib... ranlib checking for strip... strip checking for objdir... .libs checking for cc option to produce PIC... -fPIC checking if cc PIC flag -fPIC 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.lo... yes checking if cc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... dragonfly4.7 ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether -lc should be explicitly linked in... no creating libtool checking for ANSI C header files... (cached) yes checking for malloc.h... (cached) no checking for memory.h... (cached) yes checking for string.h... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... (cached) yes checking for memset... (cached) yes checking for strchr... yes checking for strdup... (cached) yes checking for dlopen in -ldl... yes checking for gzopen in -lz... yes checking for UnixODBC support... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing default commands =========================================================================== =================================================== ===> Building for mysql2odbc-0.99.2_5 --- all --- /usr/bin/make all-am --- libfakesql.lo --- --- mtest.o --- --- libfakesql.lo --- if /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -pipe -O2 -fno-strict-aliasing -MT libfakesql.lo -MD -MP -MF ".deps/libfakesql.Tpo" -c -o libfakesql.lo `test -f 'libfakesql.c' || echo './'`libfakesql.c; then mv ".deps/libfakesql.Tpo" ".deps/libfakesql.Plo"; else rm -f ".deps/libfakesql.Tpo"; exit 1; fi --- mtest.o --- if cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -pipe -O2 -fno-strict-aliasing -MT mtest.o -MD -MP -MF ".deps/mtest.Tpo" -c -o mtest.o `test -f 'mtest.c' || echo './'`mtest.c; then mv ".deps/mtest.Tpo" ".deps/mtest.Po"; else rm -f ".deps/mtest.Tpo"; exit 1; fi --- libfakesql.lo --- mkdir .libs cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -pipe -O2 -fno-strict-aliasing -MT libfakesql.lo -MD -MP -MF .deps/libfakesql.Tpo -c libfakesql.c -fPIC -DPIC -o .libs/libfakesql.lo libfakesql.c: In function '_alloc_db': libfakesql.c:130:42: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] mysql->net.vio = pDB = (TSQLPrivate *) calloc (1, sizeof (TSQLPrivate)); ^ libfakesql.c:130:42: warning: incompatible implicit declaration of built-in function 'calloc' libfakesql.c:130:42: note: include '' or provide a declaration of 'calloc' libfakesql.c: In function '_free_db': libfakesql.c:168:7: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free (pDB); ^ libfakesql.c:168:7: warning: incompatible implicit declaration of built-in function 'free' libfakesql.c:168:7: note: include '' or provide a declaration of 'free' libfakesql.c: In function '_fetch_db_errors': libfakesql.c:363:7: warning: incompatible implicit declaration of built-in function 'free' free (copy); ^ libfakesql.c:363:7: note: include '' or provide a declaration of 'free' libfakesql.c: In function '_alloc_fields': libfakesql.c:411:27: warning: incompatible implicit declaration of built-in function 'calloc' f = (MYSQL_FIELD *) calloc (field_count, sizeof (MYSQL_FIELD)); ^ libfakesql.c:411:27: note: include '' or provide a declaration of 'calloc' libfakesql.c: In function '_free_fields': libfakesql.c:53:32: warning: incompatible implicit declaration of built-in function 'free' #define safe_free(x) { if (x) free(x); } ^ libfakesql.c:438:4: note: in expansion of macro 'safe_free' safe_free (f->name); ^ libfakesql.c:53:32: note: include '' or provide a declaration of 'free' #define safe_free(x) { if (x) free(x); } ^ libfakesql.c:438:4: note: in expansion of macro 'safe_free' safe_free (f->name); ^ libfakesql.c:53:32: warning: incompatible implicit declaration of built-in function 'free' #define safe_free(x) { if (x) free(x); } ^ libfakesql.c:439:4: note: in expansion of macro 'safe_free' safe_free (f->table); ^ libfakesql.c:53:32: note: include '' or provide a declaration of 'free' #define safe_free(x) { if (x) free(x); } ^ libfakesql.c:439:4: note: in expansion of macro 'safe_free' safe_free (f->table); ^ libfakesql.c:53:32: warning: incompatible implicit declaration of built-in function 'free' #define safe_free(x) { if (x) free(x); } ^ libfakesql.c:440:4: note: in expansion of macro 'safe_free' safe_free (f->def); ^ libfakesql.c:53:32: note: include '' or provide a declaration of 'free' #define safe_free(x) { if (x) free(x); } ^ libfakesql.c:440:4: note: in expansion of macro 'safe_free' safe_free (f->def); ^ libfakesql.c:442:7: warning: incompatible implicit declaration of built-in function 'free' free (mysql->fields); ^ libfakesql.c:442:7: note: include '' or provide a declaration of 'free' libfakesql.c: In function '_alloc_res': libfakesql.c:459:28: warning: incompatible implicit declaration of built-in function 'calloc' if ((res = (MYSQL_RES *) calloc (1, sizeof (MYSQL_RES))) == NULL) ^ libfakesql.c:459:28: note: include '' or provide a declaration of 'calloc' libfakesql.c:470:36: warning: incompatible implicit declaration of built-in function 'calloc' res->lengths = (unsigned long *) calloc (res->field_count, sizeof (SQLLEN)); ^ libfakesql.c:470:36: note: include '' or provide a declaration of 'calloc' libfakesql.c:479:26: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] if ((res->row[j] = malloc (res->fields[j].max_length)) == NULL) ^ libfakesql.c:479:26: warning: incompatible implicit declaration of built-in function 'malloc' libfakesql.c:479:26: note: include '' or provide a declaration of 'malloc' libfakesql.c: In function '_free_res': libfakesql.c:501:2: warning: incompatible implicit declaration of built-in function 'free' free (res->lengths); ^ libfakesql.c:501:2: note: include '' or provide a declaration of 'free' libfakesql.c:507:3: warning: incompatible implicit declaration of built-in function 'free' free (res->row[j]); ^ libfakesql.c:507:3: note: include '' or provide a declaration of 'free' libfakesql.c:509:4: warning: incompatible implicit declaration of built-in function 'free' free (res->row); ^ libfakesql.c:509:4: note: include '' or provide a declaration of 'free' libfakesql.c:514:2: warning: incompatible implicit declaration of built-in function 'free' free (res->current_row); ^ libfakesql.c:514:2: note: include '' or provide a declaration of 'free' libfakesql.c:515:7: warning: incompatible implicit declaration of built-in function 'free' free (res); ^ libfakesql.c:515:7: note: include '' or provide a declaration of 'free' libfakesql.c: In function '_append_row': libfakesql.c:525:25: warning: incompatible implicit declaration of built-in function 'calloc' rows = (MYSQL_ROWS *) calloc (1, ^ libfakesql.c:525:25: note: include '' or provide a declaration of 'calloc' libfakesql.c: In function '_free_data': libfakesql.c:563:4: warning: incompatible implicit declaration of built-in function 'free' free (r->data[j]); /* char * */ ^ libfakesql.c:563:4: note: include '' or provide a declaration of 'free' libfakesql.c:567:8: warning: incompatible implicit declaration of built-in function 'free' free (r); /* MYSQL_ROWS */ ^ libfakesql.c:567:8: note: include '' or provide a declaration of 'free' libfakesql.c:570:7: warning: incompatible implicit declaration of built-in function 'free' free (data); /* MYSQL_DATA */ ^ libfakesql.c:570:7: note: include '' or provide a declaration of 'free' libfakesql.c: In function '_impl_init': libfakesql.c:588:20: warning: incompatible implicit declaration of built-in function 'malloc' if ((mysql = malloc (sizeof (MYSQL))) == NULL) ^ libfakesql.c:588:20: note: include '' or provide a declaration of 'malloc' libfakesql.c: In function '_impl_close': libfakesql.c:53:32: warning: incompatible implicit declaration of built-in function 'free' #define safe_free(x) { if (x) free(x); } ^ libfakesql.c:603:7: note: in expansion of macro 'safe_free' safe_free (mysql->host); ^ libfakesql.c:53:32: note: include '' or provide a declaration of 'free' #define safe_free(x) { if (x) free(x); } ^ libfakesql.c:603:7: note: in expansion of macro 'safe_free' safe_free (mysql->host); ^ libfakesql.c:53:32: warning: incompatible implicit declaration of built-in function 'free' #define safe_free(x) { if (x) free(x); } ^ libfakesql.c:604:7: note: in expansion of macro 'safe_free' safe_free (mysql->user); ^ libfakesql.c:53:32: note: include '' or provide a declaration of 'free' #define safe_free(x) { if (x) free(x); } ^ libfakesql.c:604:7: note: in expansion of macro 'safe_free' safe_free (mysql->user); ^ libfakesql.c:53:32: warning: incompatible implicit declaration of built-in function 'free' #define safe_free(x) { if (x) free(x); } ^ libfakesql.c:605:7: note: in expansion of macro 'safe_free' safe_free (mysql->passwd); ^ libfakesql.c:53:32: note: include '' or provide a declaration of 'free' #define safe_free(x) { if (x) free(x); } ^ libfakesql.c:605:7: note: in expansion of macro 'safe_free' safe_free (mysql->passwd); ^ libfakesql.c:53:32: warning: incompatible implicit declaration of built-in function 'free' #define safe_free(x) { if (x) free(x); } ^ libfakesql.c:606:7: note: in expansion of macro 'safe_free' safe_free (mysql->unix_socket); ^ libfakesql.c:53:32: note: include '' or provide a declaration of 'free' #define safe_free(x) { if (x) free(x); } ^ libfakesql.c:606:7: note: in expansion of macro 'safe_free' safe_free (mysql->unix_socket); ^ libfakesql.c:53:32: warning: incompatible implicit declaration of built-in function 'free' #define safe_free(x) { if (x) free(x); } ^ libfakesql.c:607:7: note: in expansion of macro 'safe_free' safe_free (mysql->server_version); ^ libfakesql.c:53:32: note: include '' or provide a declaration of 'free' #define safe_free(x) { if (x) free(x); } ^ libfakesql.c:607:7: note: in expansion of macro 'safe_free' safe_free (mysql->server_version); ^ libfakesql.c:53:32: warning: incompatible implicit declaration of built-in function 'free' #define safe_free(x) { if (x) free(x); } ^ libfakesql.c:608:7: note: in expansion of macro 'safe_free' safe_free (mysql->host_info); ^ libfakesql.c:53:32: note: include '' or provide a declaration of 'free' #define safe_free(x) { if (x) free(x); } ^ libfakesql.c:608:7: note: in expansion of macro 'safe_free' safe_free (mysql->host_info); ^ libfakesql.c:53:32: warning: incompatible implicit declaration of built-in function 'free' #define safe_free(x) { if (x) free(x); } ^ libfakesql.c:609:7: note: in expansion of macro 'safe_free' safe_free (mysql->info); ^ libfakesql.c:53:32: note: include '' or provide a declaration of 'free' #define safe_free(x) { if (x) free(x); } ^ libfakesql.c:609:7: note: in expansion of macro 'safe_free' safe_free (mysql->info); ^ libfakesql.c:53:32: warning: incompatible implicit declaration of built-in function 'free' #define safe_free(x) { if (x) free(x); } ^ libfakesql.c:610:7: note: in expansion of macro 'safe_free' safe_free (mysql->db); ^ libfakesql.c:53:32: note: include '' or provide a declaration of 'free' #define safe_free(x) { if (x) free(x); } ^ libfakesql.c:610:7: note: in expansion of macro 'safe_free' safe_free (mysql->db); ^ libfakesql.c:614:2: warning: incompatible implicit declaration of built-in function 'free' free (mysql); ^ libfakesql.c:614:2: note: include '' or provide a declaration of 'free' libfakesql.c: In function '_impl_query': libfakesql.c:746:50: warning: passing argument 7 of 'SQLColAttribute' from incompatible pointer type [-Wincompatible-pointer-types] value, (SQLSMALLINT) sizeof (value), &retLen, &lValue); ^ In file included from libfakesql.c:31:0: /usr/local/include/sql.h:613:24: note: expected 'SQLLEN * {aka long int *}' but argument is of type 'SQLINTEGER * {aka int *}' SQLRETURN SQL_API SQLColAttribute(SQLHSTMT StatementHandle, ^ libfakesql.c:754:50: warning: passing argument 7 of 'SQLColAttribute' from incompatible pointer type [-Wincompatible-pointer-types] value, (SQLSMALLINT) sizeof (value), &retLen, &lValue); ^ In file included from libfakesql.c:31:0: /usr/local/include/sql.h:613:24: note: expected 'SQLLEN * {aka long int *}' but argument is of type 'SQLINTEGER * {aka int *}' SQLRETURN SQL_API SQLColAttribute(SQLHSTMT StatementHandle, ^ libfakesql.c:762:50: warning: passing argument 7 of 'SQLColAttribute' from incompatible pointer type [-Wincompatible-pointer-types] value, (SQLSMALLINT) sizeof (value), &retLen, &lValue); ^ In file included from libfakesql.c:31:0: /usr/local/include/sql.h:613:24: note: expected 'SQLLEN * {aka long int *}' but argument is of type 'SQLINTEGER * {aka int *}' SQLRETURN SQL_API SQLColAttribute(SQLHSTMT StatementHandle, ^ libfakesql.c:773:34: warning: passing argument 2 of 'SQLRowCount' from incompatible pointer type [-Wincompatible-pointer-types] ret = SQLRowCount (pDB->hStmt, &numRows); ^ In file included from libfakesql.c:31:0: /usr/local/include/sql.h:767:24: note: expected 'SQLLEN * {aka long int *}' but argument is of type 'SQLINTEGER * {aka int *}' SQLRETURN SQL_API SQLRowCount(SQLHSTMT StatementHandle, ^ libfakesql.c: In function '_impl_use_result': libfakesql.c:801:34: warning: incompatible implicit declaration of built-in function 'calloc' res->current_row = (MYSQL_ROW) calloc (res->field_count, sizeof (char *)); ^ libfakesql.c:801:34: note: include '' or provide a declaration of 'calloc' libfakesql.c:815:4: warning: passing argument 6 of 'SQLBindCol' from incompatible pointer type [-Wincompatible-pointer-types] (SQLLEN *) &res->lengths[j]); ^ In file included from libfakesql.c:31:0: /usr/local/include/sql.h:590:24: note: expected 'SQLLEN * {aka long int *}' but argument is of type 'SQLINTEGER * {aka int *}' SQLRETURN SQL_API SQLBindCol(SQLHSTMT StatementHandle, ^ libfakesql.c: In function '_impl_store_result': libfakesql.c:860:4: warning: passing argument 6 of 'SQLBindCol' from incompatible pointer type [-Wincompatible-pointer-types] (SQLLEN *) &res->lengths[j]); ^ In file included from libfakesql.c:31:0: /usr/local/include/sql.h:590:24: note: expected 'SQLLEN * {aka long int *}' but argument is of type 'SQLINTEGER * {aka int *}' SQLRETURN SQL_API SQLBindCol(SQLHSTMT StatementHandle, ^ libfakesql.c:869:30: warning: incompatible implicit declaration of built-in function 'calloc' res->data = (MYSQL_DATA *) calloc (1, sizeof (MYSQL_DATA)); ^ libfakesql.c:869:30: note: include '' or provide a declaration of 'calloc' cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -pipe -O2 -fno-strict-aliasing -MT libfakesql.lo -MD -MP -MF .deps/libfakesql.Tpo -c libfakesql.c -o libfakesql.o >/dev/null 2>&1 mv -f .libs/libfakesql.lo libfakesql.lo --- libmysqlclient.la --- /bin/sh ./libtool --mode=link cc -pipe -O2 -fno-strict-aliasing -lpthread -o libmysqlclient.la -rpath /usr/local/mysql2odbc -version-info 10:0:0 libfakesql.lo -L/usr/local/lib -lodbc -lz -ldl rm -fr .libs/libmysqlclient.la .libs/libmysqlclient.* .libs/libmysqlclient.* cc -shared libfakesql.lo -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -lpthread -L/usr/local/lib /usr/local/lib/libodbc.so -lz -ldl -Wl,-soname -Wl,libmysqlclient.so.10 -o .libs/libmysqlclient.so.10.0.0 (cd .libs && rm -f libmysqlclient.so.10 && ln -s libmysqlclient.so.10.0.0 libmysqlclient.so.10) (cd .libs && rm -f libmysqlclient.so && ln -s libmysqlclient.so.10.0.0 libmysqlclient.so) ar cru .libs/libmysqlclient.a libfakesql.o ranlib .libs/libmysqlclient.a creating libmysqlclient.la (cd .libs && rm -f libmysqlclient.la && ln -s ../libmysqlclient.la libmysqlclient.la) --- mtest --- /bin/sh ./libtool --mode=link cc -pipe -O2 -fno-strict-aliasing -lpthread -o mtest mtest.o libmysqlclient.la -L/usr/local/lib -lodbc -lz -ldl cc -pipe -O2 -fno-strict-aliasing -o .libs/mtest mtest.o ./.libs/libmysqlclient.so -L/usr/local/lib /usr/local/lib/libodbc.so -lpthread -lz -ldl -Wl,--rpath -Wl,/usr/local/mysql2odbc -Wl,--rpath -Wl,/usr/local/lib creating mtest =========================================================================== =================================================== =========================================================================== =================================================== ===> Staging for mysql2odbc-0.99.2_5 ===> Generating temporary packing list /usr/bin/make INSTALL_PROGRAM="/bin/sh /wrkdirs/databases/mysql2odbc/mysql2odbc-0.99.2/admin/install-sh -c -s" INSTALL_STRIP_FLAG=-s `test -z 'strip' || echo "INSTALL_PROGRAM_ENV=STRIPPROG='strip'"` install /bin/sh ./admin/mkinstalldirs /wrkdirs/databases/mysql2odbc/stage/usr/local/mysql2odbc mkdir -p -- /wrkdirs/databases/mysql2odbc/stage/usr/local/mysql2odbc /bin/sh ./libtool --mode=install /usr/bin/install -c -s libmysqlclient.la /wrkdirs/databases/mysql2odbc/stage/usr/local/mysql2odbc/libmysqlclient.la /usr/bin/install -c .libs/libmysqlclient.so.10.0.0 /wrkdirs/databases/mysql2odbc/stage/usr/local/mysql2odbc/libmysqlclient.so.10.0.0 strip --strip-unneeded /wrkdirs/databases/mysql2odbc/stage/usr/local/mysql2odbc/libmysqlclient.so.10.0.0 (cd /wrkdirs/databases/mysql2odbc/stage/usr/local/mysql2odbc && rm -f libmysqlclient.so.10 && ln -s libmysqlclient.so.10.0.0 libmysqlclient.so.10) (cd /wrkdirs/databases/mysql2odbc/stage/usr/local/mysql2odbc && rm -f libmysqlclient.so && ln -s libmysqlclient.so.10.0.0 libmysqlclient.so) /usr/bin/install -c .libs/libmysqlclient.lai /wrkdirs/databases/mysql2odbc/stage/usr/local/mysql2odbc/libmysqlclient.la /usr/bin/install -c .libs/libmysqlclient.a /wrkdirs/databases/mysql2odbc/stage/usr/local/mysql2odbc/libmysqlclient.a strip --strip-debug /wrkdirs/databases/mysql2odbc/stage/usr/local/mysql2odbc/libmysqlclient.a ranlib /wrkdirs/databases/mysql2odbc/stage/usr/local/mysql2odbc/libmysqlclient.a chmod 644 /wrkdirs/databases/mysql2odbc/stage/usr/local/mysql2odbc/libmysqlclient.a libtool: install: warning: remember to run `libtool --finish /usr/local/mysql2odbc' ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for mysql2odbc-0.99.2_5 file sizes/checksums [4]: . done packing files [4]: . done packing directories [0]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for mysql2odbc-0.99.2_5 build of databases/mysql2odbc ended at Tue Oct 4 19:16:57 PDT 2016 build time: 00:00:13