=> Building databases/mysql2odbc Started : Friday, 8 JUN 2018 at 08:40:45 UTC Platform: 5.3-DEVELOPMENT DragonFly v5.3.0.242.g757c0-DEVELOPMENT #30: Tue May 8 14:06:27 PDT 2018 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.2-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.2-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/databases/mysql2odbc XDG_CONFIG_HOME=/construction/databases/mysql2odbc HOME=/construction/databases/mysql2odbc TMPDIR="/tmp" PATH=/construction/databases/mysql2odbc/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- --with-unixodbc=/usr/local --libdir=/usr/local/mysql2odbc --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/databases/mysql2odbc XDG_CONFIG_HOME=/construction/databases/mysql2odbc HOME=/construction/databases/mysql2odbc TMPDIR="/tmp" PATH=/construction/databases/mysql2odbc/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin 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 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 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/databases/mysql2odbc/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" OSREL=5.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/mysql2odbc" EXAMPLESDIR="share/examples/mysql2odbc" DATADIR="share/mysql2odbc" WWWDIR="www/mysql2odbc" ETCDIR="etc/mysql2odbc" -------------------------------------------------- -- 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 -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-5.2 USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.26.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500200 OSVERSION=9999999 OSREL=5.2 _OSRELEASE=5.2-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> mysql2odbc-0.99.2_5 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_1.txz Installing pkg-1.10.5_1... Extracting pkg-1.10.5_1: .......... done ===> mysql2odbc-0.99.2_5 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of mysql2odbc-0.99.2_5 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> Fetching all distfiles required by mysql2odbc-0.99.2_5 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> Fetching all distfiles required by mysql2odbc-0.99.2_5 for building => SHA256 Checksum OK for mysql2odbc-0.99.2.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> 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. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for mysql2odbc-0.99.2_5 ===> Applying ports patches for mysql2odbc-0.99.2_5 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- ===> mysql2odbc-0.99.2_5 depends on shared library: libodbc.so - not found ===> Installing existing package /packages/All/unixODBC-2.3.6.txz Installing unixODBC-2.3.6... Extracting unixODBC-2.3.6: .......... done ===> 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 -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for mysql2odbc-0.99.2_5 configure: loading site script /xports/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-dragonfly5.2 checking host system type... x86_64-portbld-dragonfly5.2 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... dragonfly5.2 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... (cached) 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 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> 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 /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') 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 -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for mysql2odbc-0.99.2_5 ===> Generating temporary packing list /usr/bin/make INSTALL_PROGRAM="/bin/sh /construction/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 /construction/databases/mysql2odbc/stage/usr/local/mysql2odbc mkdir -p -- /construction/databases/mysql2odbc/stage/usr/local/mysql2odbc /bin/sh ./libtool --mode=install /usr/bin/install -c -s libmysqlclient.la /construction/databases/mysql2odbc/stage/usr/local/mysql2odbc/libmysqlclient.la /usr/bin/install -c .libs/libmysqlclient.so.10.0.0 /construction/databases/mysql2odbc/stage/usr/local/mysql2odbc/libmysqlclient.so.10.0.0 strip --strip-unneeded /construction/databases/mysql2odbc/stage/usr/local/mysql2odbc/libmysqlclient.so.10.0.0 (cd /construction/databases/mysql2odbc/stage/usr/local/mysql2odbc && rm -f libmysqlclient.so.10 && ln -s libmysqlclient.so.10.0.0 libmysqlclient.so.10) (cd /construction/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 /construction/databases/mysql2odbc/stage/usr/local/mysql2odbc/libmysqlclient.la /usr/bin/install -c .libs/libmysqlclient.a /construction/databases/mysql2odbc/stage/usr/local/mysql2odbc/libmysqlclient.a strip --strip-debug /construction/databases/mysql2odbc/stage/usr/local/mysql2odbc/libmysqlclient.a ranlib /construction/databases/mysql2odbc/stage/usr/local/mysql2odbc/libmysqlclient.a chmod 644 /construction/databases/mysql2odbc/stage/usr/local/mysql2odbc/libmysqlclient.a libtool: install: warning: remember to run `libtool --finish /usr/local/mysql2odbc' ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for mysql2odbc-0.99.2_5 file sizes/checksums [4]: . done packing files [4]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Friday, 8 JUN 2018 at 08:41:01 UTC Duration: 00:00:16