=> Building databases/mysac Started : Monday, 29 JUL 2019 at 21:30:59 UTC Platform: 5.7-DEVELOPMENT DragonFly v5.7.0.83.g49866-DEVELOPMENT #40: Sun Jun 30 03:00:04 PDT 2019 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.6-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.6-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/mysac XDG_CONFIG_HOME=/construction/databases/mysac HOME=/construction/databases/mysac TMPDIR="/tmp" PATH=/construction/databases/mysac/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/databases/mysac XDG_CONFIG_HOME=/construction/databases/mysac HOME=/construction/databases/mysac TMPDIR="/tmp" PATH=/construction/databases/mysac/.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=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -I/usr/local/include -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -I/usr/local/lib " LIBS="" CXX="c++" CXXFLAGS=" -pipe -I/usr/local/include -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/mysac/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- OSREL=5.6 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/mysac" EXAMPLESDIR="share/examples/mysac" DATADIR="share/mysac" WWWDIR="www/mysac" ETCDIR="etc/mysac" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/mysac DOCSDIR=/usr/local/share/doc/mysac EXAMPLESDIR=/usr/local/share/examples/mysac WWWDIR=/usr/local/www/mysac ETCDIR=/usr/local/etc/mysac -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-5.6 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.28.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500601 OSVERSION=9999999 OSREL=5.6 _OSRELEASE=5.6-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> License LGPL3 accepted by the user -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> mysac-1.1.2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.11.1.txz Installing pkg-1.11.1... Extracting pkg-1.11.1: .......... done ===> mysac-1.1.2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of mysac-1.1.2 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> License LGPL3 accepted by the user ===> Fetching all distfiles required by mysac-1.1.2 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> License LGPL3 accepted by the user ===> Fetching all distfiles required by mysac-1.1.2 for building => SHA256 Checksum OK for mysac-1.1.2.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> License LGPL3 accepted by the user ===> Fetching all distfiles required by mysac-1.1.2 for building ===> Extracting for mysac-1.1.2 => SHA256 Checksum OK for mysac-1.1.2.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for mysac-1.1.2 ===> Applying ports patches for mysac-1.1.2 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- ===> mysac-1.1.2 depends on shared library: libmysqlclient.so.20 - not found ===> Installing existing package /packages/All/mysql57-client-5.7.26.txz Installing mysql57-client-5.7.26... `-- Installing curl-7.65.1_1... | `-- Installing ca_root_nss-3.45... | `-- Extracting ca_root_nss-3.45: ........ done | `-- Installing libnghttp2-1.39.1... | `-- Extracting libnghttp2-1.39.1: .......... done | `-- Installing libressl-2.9.2... | `-- Extracting libressl-2.9.2: .......... done `-- Extracting curl-7.65.1_1: .......... done `-- Installing cyrus-sasl-2.1.27... *** Added group `cyrus' (id 60) *** Added user `cyrus' (id 60) `-- Extracting cyrus-sasl-2.1.27: .......... done `-- Installing libedit-3.1.20190324,1... | `-- Installing ncurses-6.1.20190525... | `-- Extracting ncurses-6.1.20190525: .......... done `-- Extracting libedit-3.1.20190324,1: .......... done `-- Installing libevent-2.1.10... `-- Extracting libevent-2.1.10: .......... done `-- Installing liblz4-1.9.1,1... `-- Extracting liblz4-1.9.1,1: .......... done `-- Installing perl5-5.28.2... `-- Extracting perl5-5.28.2: .......... done `-- Installing protobuf-3.8.0,1... `-- Extracting protobuf-3.8.0,1: .......... done Extracting mysql57-client-5.7.26: .......... done Message from ca_root_nss-3.45: ********************************* WARNING ********************************* FreeBSD does not, and can not warrant that the certification authorities whose certificates are included in this package have in any way been audited for trustworthiness or RFC 3647 compliance. Assessment and verification of trust is the complete responsibility of the system administrator. *********************************** NOTE ********************************** This package installs symlinks to support root certificates discovery by default for software that uses OpenSSL. This enables SSL Certificate Verification by client software without manual intervention. If you prefer to do this manually, replace the following symlinks with either an empty file or your site-local certificate bundle. * /etc/ssl/cert.pem * /usr/local/etc/ssl/cert.pem * /usr/local/openssl/cert.pem *************************************************************************** Message from cyrus-sasl-2.1.27: You can use sasldb2 for authentication, to add users use: saslpasswd2 -c username If you want to enable SMTP AUTH with the system Sendmail, read Sendmail.README NOTE: This port has been compiled with a default pwcheck_method of auxprop. If you want to authenticate your user by /etc/passwd, PAM or LDAP, install ports/security/cyrus-sasl2-saslauthd and set sasl_pwcheck_method to saslauthd after installing the Cyrus-IMAPd 2.X port. You should also check the /usr/local/lib/sasl2/*.conf files for the correct pwcheck_method. If you want to use GSSAPI mechanism, install ports/security/cyrus-sasl2-gssapi. If you want to use SRP mechanism, install ports/security/cyrus-sasl2-srp. If you want to use LDAP auxprop plugin, install ports/security/cyrus-sasl2-ldapdb. Message from perl5-5.28.2: The /usr/bin/perl symlink has been removed starting with Perl 5.20. For shebangs, you should either use: #!/usr/local/bin/perl or #!/usr/bin/env perl The first one will only work if you have a /usr/local/bin/perl, the second will work as long as perl is in PATH. Message from mysql57-client-5.7.26: * * * * * * * * * * * * * * * * * * * * * * * * This is the mysql CLIENT without the server. for complete server and client, please install databases/mysql57-server * * * * * * * * * * * * * * * * * * * * * * * * ===> mysac-1.1.2 depends on shared library: libmysqlclient.so.20 - found (/usr/local/lib/mysql/libmysqlclient.so.20) ===> Returning to build of mysac-1.1.2 -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for mysac-1.1.2 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for mysac-1.1.2 /usr/bin/touch /construction/databases/mysac/mysac-1.1.2/make.deps --- build --- /usr/bin/make lib --- mysac.o --- --- mysac_net.o --- --- mysac_decode_field.o --- --- mysac_decode_row.o --- --- mysac_encode_values.o --- --- mysac_net.o --- cc -pipe -I/usr/local/include -O2 -fno-strict-aliasing -DBUILDVER= -I/usr/local/include/mysql -O0 -g -Wall -fpic -c mysac_net.c --- mysac.o --- cc -pipe -I/usr/local/include -O2 -fno-strict-aliasing -DBUILDVER= -I/usr/local/include/mysql -O0 -g -Wall -fpic -c mysac.c --- mysac_decode_row.o --- cc -pipe -I/usr/local/include -O2 -fno-strict-aliasing -DBUILDVER= -I/usr/local/include/mysql -O0 -g -Wall -fpic -c mysac_decode_row.c --- mysac_encode_values.o --- cc -pipe -I/usr/local/include -O2 -fno-strict-aliasing -DBUILDVER= -I/usr/local/include/mysql -O0 -g -Wall -fpic -c mysac_encode_values.c --- mysac_decode_field.o --- cc -pipe -I/usr/local/include -O2 -fno-strict-aliasing -DBUILDVER= -I/usr/local/include/mysql -O0 -g -Wall -fpic -c mysac_decode_field.c --- mysac_decode_row.o --- In file included from mysac_decode_row.c:33: mysac_utils.h: In function 'my_lcb_ll': mysac_utils.h:137:18: warning: pointer targets in passing argument 1 of 'uint2korr' differ in signedness [-Wpointer-sign] *r = uint2korr(&m[1]); ^~~~~ In file included from /usr/local/include/mysql/my_byteorder.h:26, from /usr/local/include/mysql/my_global.h:580, from mysac_decode_row.c:21: /usr/local/include/mysql/byte_order_generic_x86.h:29:22: note: expected 'const uchar *' {aka 'const unsigned char *'} but argument is of type 'char *' static inline uint16 uint2korr(const uchar *A) { return *((uint16*) A); } ^~~~~~~~~ In file included from mysac_decode_row.c:33: mysac_utils.h:144:18: warning: pointer targets in passing argument 1 of 'uint3korr' differ in signedness [-Wpointer-sign] *r = uint3korr(&m[1]); ^~~~~ In file included from /usr/local/include/mysql/my_global.h:580, from mysac_decode_row.c:21: /usr/local/include/mysql/my_byteorder.h:45:22: note: expected 'const uchar *' {aka 'const unsigned char *'} but argument is of type 'char *' static inline uint32 uint3korr(const uchar *A) ^~~~~~~~~ In file included from mysac_decode_row.c:33: mysac_utils.h:151:18: warning: pointer targets in passing argument 1 of 'uint8korr' differ in signedness [-Wpointer-sign] *r = uint8korr(&m[1]); ^~~~~ In file included from /usr/local/include/mysql/my_byteorder.h:26, from /usr/local/include/mysql/my_global.h:580, from mysac_decode_row.c:21: /usr/local/include/mysql/byte_order_generic_x86.h:35:25: note: expected 'const uchar *' {aka 'const unsigned char *'} but argument is of type 'char *' static inline ulonglong uint8korr(const uchar *A) { return *((ulonglong*) A);} ^~~~~~~~~ --- mysac_encode_values.o --- In file included from mysac_encode_values.c:33: mysac_utils.h: In function 'my_lcb_ll': mysac_utils.h:137:18: warning: pointer targets in passing argument 1 of 'uint2korr' differ in signedness [-Wpointer-sign] *r = uint2korr(&m[1]); ^~~~~ In file included from /usr/local/include/mysql/my_byteorder.h:26, from /usr/local/include/mysql/my_global.h:580, from mysac_encode_values.c:21: /usr/local/include/mysql/byte_order_generic_x86.h:29:22: note: expected 'const uchar *' {aka 'const unsigned char *'} but argument is of type 'char *' static inline uint16 uint2korr(const uchar *A) { return *((uint16*) A); } ^~~~~~~~~ In file included from mysac_encode_values.c:33: mysac_utils.h:144:18: warning: pointer targets in passing argument 1 of 'uint3korr' differ in signedness [-Wpointer-sign] *r = uint3korr(&m[1]); ^~~~~ In file included from /usr/local/include/mysql/my_global.h:580, from mysac_encode_values.c:21: /usr/local/include/mysql/my_byteorder.h:45:22: note: expected 'const uchar *' {aka 'const unsigned char *'} but argument is of type 'char *' static inline uint32 uint3korr(const uchar *A) ^~~~~~~~~ In file included from mysac_encode_values.c:33: mysac_utils.h:151:18: warning: pointer targets in passing argument 1 of 'uint8korr' differ in signedness [-Wpointer-sign] *r = uint8korr(&m[1]); ^~~~~ In file included from /usr/local/include/mysql/my_byteorder.h:26, from /usr/local/include/mysql/my_global.h:580, from mysac_encode_values.c:21: /usr/local/include/mysql/byte_order_generic_x86.h:35:25: note: expected 'const uchar *' {aka 'const unsigned char *'} but argument is of type 'char *' static inline ulonglong uint8korr(const uchar *A) { return *((ulonglong*) A);} ^~~~~~~~~ --- mysac_decode_row.o --- mysac_decode_row.c: In function 'mysac_decode_binary_row': mysac_decode_row.c:134:37: warning: pointer targets in passing argument 1 of 'sint2korr' differ in signedness [-Wpointer-sign] row->data[j].ssmall = sint2korr(&buf[i]); ^~~~~~~ In file included from /usr/local/include/mysql/my_byteorder.h:26, from /usr/local/include/mysql/my_global.h:580, from mysac_decode_row.c:21: /usr/local/include/mysql/byte_order_generic_x86.h:23:22: note: expected 'const uchar *' {aka 'const unsigned char *'} but argument is of type 'char *' static inline int16 sint2korr(const uchar *A) { return *((int16*) A); } ^~~~~~~~~ mysac_decode_row.c:142:35: warning: pointer targets in passing argument 1 of 'sint4korr' differ in signedness [-Wpointer-sign] row->data[j].sint = sint4korr(&buf[i]); ^~~~~~~ In file included from /usr/local/include/mysql/my_byteorder.h:26, from /usr/local/include/mysql/my_global.h:580, from mysac_decode_row.c:21: /usr/local/include/mysql/byte_order_generic_x86.h:26:21: note: expected 'const uchar *' {aka 'const unsigned char *'} but argument is of type 'char *' static inline int32 sint4korr(const uchar *A) { return *((int32*) A); } ^~~~~~~~~ mysac_decode_row.c:149:38: warning: pointer targets in passing argument 1 of 'sint8korr' differ in signedness [-Wpointer-sign] row->data[j].sbigint = sint8korr(&buf[i]); ^~~~~~~ In file included from /usr/local/include/mysql/my_byteorder.h:26, from /usr/local/include/mysql/my_global.h:580, from mysac_decode_row.c:21: /usr/local/include/mysql/byte_order_generic_x86.h:38:25: note: expected 'const uchar *' {aka 'const unsigned char *'} but argument is of type 'char *' static inline longlong sint8korr(const uchar *A) { return *((longlong*) A); } ^~~~~~~~~ --- mysac_encode_values.o --- mysac_encode_values.c: In function 'mysac_encode_value': --- mysac_decode_row.o --- mysac_decode_row.c:156:27: error: incompatible type for argument 1 of 'float4get' float4get(row->data[j].mfloat, &buf[i]); ~~~~~~~~~~~~^~~~~~~ --- mysac_encode_values.o --- mysac_encode_values.c:132:15: warning: pointer targets in passing argument 1 of 'float4store' differ in signedness [-Wpointer-sign] float4store(out, *(float *)val->value); ^~~ --- mysac_decode_row.o --- In file included from /usr/local/include/mysql/my_byteorder.h:191, from /usr/local/include/mysql/my_global.h:580, from mysac_decode_row.c:21: /usr/local/include/mysql/little_endian.h:24:40: note: expected 'float *' but argument is of type 'float' static inline void float4get (float *V, const uchar *M) ~~~~~~~~^ mysac_decode_row.c:156:36: warning: pointer targets in passing argument 2 of 'float4get' differ in signedness [-Wpointer-sign] float4get(row->data[j].mfloat, &buf[i]); ^~~~~~~ --- mysac_encode_values.o --- In file included from /usr/local/include/mysql/my_byteorder.h:191, from /usr/local/include/mysql/my_global.h:580, from mysac_encode_values.c:21: /usr/local/include/mysql/little_endian.h:29:20: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' static inline void float4store(uchar *V, float M) ^~~~~~~~~~~ --- mysac_decode_row.o --- In file included from /usr/local/include/mysql/my_byteorder.h:191, from /usr/local/include/mysql/my_global.h:580, from mysac_decode_row.c:21: /usr/local/include/mysql/little_endian.h:24:20: note: expected 'const uchar *' {aka 'const unsigned char *'} but argument is of type 'char *' static inline void float4get (float *V, const uchar *M) ^~~~~~~~~ --- mysac_encode_values.o --- mysac_encode_values.c:139:15: warning: pointer targets in passing argument 1 of 'float8store' differ in signedness [-Wpointer-sign] float8store(out, *(double *)val->value); ^~~ In file included from /usr/local/include/mysql/my_byteorder.h:191, from /usr/local/include/mysql/my_global.h:580, from mysac_encode_values.c:21: /usr/local/include/mysql/little_endian.h:39:20: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' static inline void float8store(uchar *V, double M) ^~~~~~~~~~~ --- mysac_decode_row.o --- mysac_decode_row.c:163:27: error: incompatible type for argument 1 of 'float8get' float8get(row->data[j].mdouble, &buf[i]); ~~~~~~~~~~~~^~~~~~~~ In file included from /usr/local/include/mysql/my_byteorder.h:191, from /usr/local/include/mysql/my_global.h:580, from mysac_decode_row.c:21: /usr/local/include/mysql/little_endian.h:34:40: note: expected 'double *' but argument is of type 'double' static inline void float8get (double *V, const uchar *M) ~~~~~~~~^ mysac_decode_row.c:163:37: warning: pointer targets in passing argument 2 of 'float8get' differ in signedness [-Wpointer-sign] float8get(row->data[j].mdouble, &buf[i]); ^~~~~~~ In file included from /usr/local/include/mysql/my_byteorder.h:191, from /usr/local/include/mysql/my_global.h:580, from mysac_decode_row.c:21: /usr/local/include/mysql/little_endian.h:34:20: note: expected 'const uchar *' {aka 'const unsigned char *'} but argument is of type 'char *' static inline void float8get (double *V, const uchar *M) ^~~~~~~~~ mysac_decode_row.c:181:32: warning: pointer targets in passing argument 1 of 'uint4korr' differ in signedness [-Wpointer-sign] ( uint4korr(&buf[i+1]) * 86400 ) + ^~~~~~~~~ In file included from /usr/local/include/mysql/my_byteorder.h:26, from /usr/local/include/mysql/my_global.h:580, from mysac_decode_row.c:21: /usr/local/include/mysql/byte_order_generic_x86.h:32:22: note: expected 'const uchar *' {aka 'const unsigned char *'} but argument is of type 'char *' static inline uint32 uint4korr(const uchar *A) { return *((uint32*) A); } ^~~~~~~~~ --- mysac_decode_field.o --- In file included from mysac_decode_field.c:27: mysac_utils.h: In function 'my_lcb_ll': --- mysac_decode_row.o --- mysac_decode_row.c:188:43: warning: pointer targets in passing argument 1 of 'uint4korr' differ in signedness [-Wpointer-sign] row->data[j].tv.tv_usec = uint4korr(&buf[i+8]); ^~~~~~~~~ In file included from /usr/local/include/mysql/my_byteorder.h:26, from /usr/local/include/mysql/my_global.h:580, from mysac_decode_row.c:21: /usr/local/include/mysql/byte_order_generic_x86.h:32:22: note: expected 'const uchar *' {aka 'const unsigned char *'} but argument is of type 'char *' static inline uint32 uint4korr(const uchar *A) { return *((uint32*) A); } ^~~~~~~~~ --- mysac_decode_field.o --- mysac_utils.h:137:18: warning: pointer targets in passing argument 1 of 'uint2korr' differ in signedness [-Wpointer-sign] *r = uint2korr(&m[1]); ^~~~~ --- mysac_decode_row.o --- mysac_decode_row.c:196:42: warning: pointer targets in passing argument 1 of 'uint2korr' differ in signedness [-Wpointer-sign] row->data[j].tm->tm_year = uint2korr(&buf[i]) - 1900; ^~~~~~~ In file included from /usr/local/include/mysql/my_byteorder.h:26, from /usr/local/include/mysql/my_global.h:580, from mysac_decode_row.c:21: /usr/local/include/mysql/byte_order_generic_x86.h:29:22: note: expected 'const uchar *' {aka 'const unsigned char *'} but argument is of type 'char *' static inline uint16 uint2korr(const uchar *A) { return *((uint16*) A); } ^~~~~~~~~ --- mysac_encode_values.o --- mysac_encode_values.c:62:2: warning: enumeration value 'MYSQL_TYPE_TIMESTAMP2' not handled in switch [-Wswitch] switch (val->type) { ^~~~~~ mysac_encode_values.c:62:2: warning: enumeration value 'MYSQL_TYPE_DATETIME2' not handled in switch [-Wswitch] mysac_encode_values.c:62:2: warning: enumeration value 'MYSQL_TYPE_TIME2' not handled in switch [-Wswitch] mysac_encode_values.c:62:2: warning: enumeration value 'MYSQL_TYPE_JSON' not handled in switch [-Wswitch] --- mysac_decode_field.o --- In file included from /usr/local/include/mysql/my_byteorder.h:26, from /usr/local/include/mysql/my_global.h:580, from mysac_decode_field.c:24: /usr/local/include/mysql/byte_order_generic_x86.h:29:22: note: expected 'const uchar *' {aka 'const unsigned char *'} but argument is of type 'char *' static inline uint16 uint2korr(const uchar *A) { return *((uint16*) A); } ^~~~~~~~~ In file included from mysac_decode_field.c:27: mysac_utils.h:144:18: warning: pointer targets in passing argument 1 of 'uint3korr' differ in signedness [-Wpointer-sign] *r = uint3korr(&m[1]); ^~~~~ --- mysac_decode_row.o --- mysac_decode_row.c:214:42: warning: pointer targets in passing argument 1 of 'uint2korr' differ in signedness [-Wpointer-sign] row->data[j].tm->tm_year = uint2korr(&buf[i+0]) - 1900; ^~~~~~~~~ In file included from /usr/local/include/mysql/my_byteorder.h:26, from /usr/local/include/mysql/my_global.h:580, from mysac_decode_row.c:21: /usr/local/include/mysql/byte_order_generic_x86.h:29:22: note: expected 'const uchar *' {aka 'const unsigned char *'} but argument is of type 'char *' static inline uint16 uint2korr(const uchar *A) { return *((uint16*) A); } ^~~~~~~~~ --- mysac_decode_field.o --- In file included from /usr/local/include/mysql/my_global.h:580, from mysac_decode_field.c:24: /usr/local/include/mysql/my_byteorder.h:45:22: note: expected 'const uchar *' {aka 'const unsigned char *'} but argument is of type 'char *' static inline uint32 uint3korr(const uchar *A) ^~~~~~~~~ In file included from mysac_decode_field.c:27: mysac_utils.h:151:18: warning: pointer targets in passing argument 1 of 'uint8korr' differ in signedness [-Wpointer-sign] *r = uint8korr(&m[1]); ^~~~~ In file included from /usr/local/include/mysql/my_byteorder.h:26, from /usr/local/include/mysql/my_global.h:580, from mysac_decode_field.c:24: /usr/local/include/mysql/byte_order_generic_x86.h:35:25: note: expected 'const uchar *' {aka 'const unsigned char *'} but argument is of type 'char *' static inline ulonglong uint8korr(const uchar *A) { return *((ulonglong*) A);} ^~~~~~~~~ --- mysac_decode_row.o --- mysac_decode_row.c:240:42: warning: pointer targets in passing argument 1 of 'uint2korr' differ in signedness [-Wpointer-sign] row->data[j].tm->tm_year = uint2korr(&buf[i+0]) - 1900; ^~~~~~~~~ In file included from /usr/local/include/mysql/my_byteorder.h:26, from /usr/local/include/mysql/my_global.h:580, from mysac_decode_row.c:21: /usr/local/include/mysql/byte_order_generic_x86.h:29:22: note: expected 'const uchar *' {aka 'const unsigned char *'} but argument is of type 'char *' static inline uint16 uint2korr(const uchar *A) { return *((uint16*) A); } ^~~~~~~~~ mysac_decode_row.c:84:4: warning: enumeration value 'MYSQL_TYPE_TIMESTAMP2' not handled in switch [-Wswitch] switch (res->cols[j].type) { ^~~~~~ mysac_decode_row.c:84:4: warning: enumeration value 'MYSQL_TYPE_DATETIME2' not handled in switch [-Wswitch] mysac_decode_row.c:84:4: warning: enumeration value 'MYSQL_TYPE_TIME2' not handled in switch [-Wswitch] mysac_decode_row.c:84:4: warning: enumeration value 'MYSQL_TYPE_JSON' not handled in switch [-Wswitch] --- mysac_decode_field.o --- mysac_decode_field.c: In function 'mysac_decode_field': mysac_decode_field.c:164:29: warning: pointer targets in passing argument 1 of 'uint2korr' differ in signedness [-Wpointer-sign] col->charsetnr = uint2korr(&buf[i]); ^~~~~~~ In file included from /usr/local/include/mysql/my_byteorder.h:26, from /usr/local/include/mysql/my_global.h:580, from mysac_decode_field.c:24: /usr/local/include/mysql/byte_order_generic_x86.h:29:22: note: expected 'const uchar *' {aka 'const unsigned char *'} but argument is of type 'char *' static inline uint16 uint2korr(const uchar *A) { return *((uint16*) A); } ^~~~~~~~~ mysac_decode_field.c:168:26: warning: pointer targets in passing argument 1 of 'uint4korr' differ in signedness [-Wpointer-sign] col->length = uint4korr(&buf[i]); ^~~~~~~ In file included from /usr/local/include/mysql/my_byteorder.h:26, from /usr/local/include/mysql/my_global.h:580, from mysac_decode_field.c:24: /usr/local/include/mysql/byte_order_generic_x86.h:32:22: note: expected 'const uchar *' {aka 'const unsigned char *'} but argument is of type 'char *' static inline uint32 uint4korr(const uchar *A) { return *((uint32*) A); } ^~~~~~~~~ mysac_decode_field.c:176:25: warning: pointer targets in passing argument 1 of 'uint3korr' differ in signedness [-Wpointer-sign] col->flags = uint3korr(&buf[i]); ^~~~~~~ In file included from /usr/local/include/mysql/my_global.h:580, from mysac_decode_field.c:24: /usr/local/include/mysql/my_byteorder.h:45:22: note: expected 'const uchar *' {aka 'const unsigned char *'} but argument is of type 'char *' static inline uint32 uint3korr(const uchar *A) ^~~~~~~~~ --- mysac_decode_row.o --- mysac_decode_row.c: In function 'mysac_decode_string_row': mysac_decode_row.c:300:3: warning: enumeration value 'MYSQL_TYPE_TIMESTAMP2' not handled in switch [-Wswitch] switch (res->cols[j].type) { ^~~~~~ mysac_decode_row.c:300:3: warning: enumeration value 'MYSQL_TYPE_DATETIME2' not handled in switch [-Wswitch] mysac_decode_row.c:300:3: warning: enumeration value 'MYSQL_TYPE_TIME2' not handled in switch [-Wswitch] mysac_decode_row.c:300:3: warning: enumeration value 'MYSQL_TYPE_JSON' not handled in switch [-Wswitch] *** [mysac_decode_row.o] Error code 1 make[2]: stopped in /construction/databases/mysac/mysac-1.1.2 --- mysac.o --- In file included from mysac.c:33: mysac_utils.h: In function 'my_lcb_ll': mysac_utils.h:137:18: warning: pointer targets in passing argument 1 of 'uint2korr' differ in signedness [-Wpointer-sign] *r = uint2korr(&m[1]); ^~~~~ In file included from /usr/local/include/mysql/my_byteorder.h:26, from /usr/local/include/mysql/my_global.h:580, from mysac.c:25: /usr/local/include/mysql/byte_order_generic_x86.h:29:22: note: expected 'const uchar *' {aka 'const unsigned char *'} but argument is of type 'char *' static inline uint16 uint2korr(const uchar *A) { return *((uint16*) A); } ^~~~~~~~~ In file included from mysac.c:33: mysac_utils.h:144:18: warning: pointer targets in passing argument 1 of 'uint3korr' differ in signedness [-Wpointer-sign] *r = uint3korr(&m[1]); ^~~~~ In file included from /usr/local/include/mysql/my_global.h:580, from mysac.c:25: /usr/local/include/mysql/my_byteorder.h:45:22: note: expected 'const uchar *' {aka 'const unsigned char *'} but argument is of type 'char *' static inline uint32 uint3korr(const uchar *A) ^~~~~~~~~ In file included from mysac.c:33: mysac_utils.h:151:18: warning: pointer targets in passing argument 1 of 'uint8korr' differ in signedness [-Wpointer-sign] *r = uint8korr(&m[1]); ^~~~~ In file included from /usr/local/include/mysql/my_byteorder.h:26, from /usr/local/include/mysql/my_global.h:580, from mysac.c:25: /usr/local/include/mysql/byte_order_generic_x86.h:35:25: note: expected 'const uchar *' {aka 'const unsigned char *'} but argument is of type 'char *' static inline ulonglong uint8korr(const uchar *A) { return *((ulonglong*) A);} ^~~~~~~~~ mysac.c: In function 'my_response': mysac.c:280:32: warning: pointer targets in passing argument 1 of 'uint3korr' differ in signedness [-Wpointer-sign] m->packet_length = uint3korr(&m->read[0]); ^~~~~~~~~~~ In file included from /usr/local/include/mysql/my_global.h:580, from mysac.c:25: /usr/local/include/mysql/my_byteorder.h:45:22: note: expected 'const uchar *' {aka 'const unsigned char *'} but argument is of type 'char *' static inline uint32 uint3korr(const uchar *A) ^~~~~~~~~ mysac.c:369:27: warning: pointer targets in passing argument 1 of 'uint2korr' differ in signedness [-Wpointer-sign] m->status = uint2korr(read); ^~~~ In file included from /usr/local/include/mysql/my_byteorder.h:26, from /usr/local/include/mysql/my_global.h:580, from mysac.c:25: /usr/local/include/mysql/byte_order_generic_x86.h:29:22: note: expected 'const uchar *' {aka 'const unsigned char *'} but argument is of type 'char *' static inline uint16 uint2korr(const uchar *A) { return *((uint16*) A); } ^~~~~~~~~ mysac.c:373:29: warning: pointer targets in passing argument 1 of 'uint2korr' differ in signedness [-Wpointer-sign] m->warnings = uint2korr(read); ^~~~ In file included from /usr/local/include/mysql/my_byteorder.h:26, from /usr/local/include/mysql/my_global.h:580, from mysac.c:25: /usr/local/include/mysql/byte_order_generic_x86.h:29:22: note: expected 'const uchar *' {aka 'const unsigned char *'} but argument is of type 'char *' static inline uint16 uint2korr(const uchar *A) { return *((uint16*) A); } ^~~~~~~~~ mysac.c:385:29: warning: pointer targets in passing argument 1 of 'uint2korr' differ in signedness [-Wpointer-sign] m->warnings = uint2korr(&m->read[1]); ^~~~~~~~~~~ In file included from /usr/local/include/mysql/my_byteorder.h:26, from /usr/local/include/mysql/my_global.h:580, from mysac.c:25: /usr/local/include/mysql/byte_order_generic_x86.h:29:22: note: expected 'const uchar *' {aka 'const unsigned char *'} but argument is of type 'char *' static inline uint16 uint2korr(const uchar *A) { return *((uint16*) A); } ^~~~~~~~~ mysac.c:386:27: warning: pointer targets in passing argument 1 of 'uint2korr' differ in signedness [-Wpointer-sign] m->status = uint2korr(&m->read[3]); ^~~~~~~~~~~ In file included from /usr/local/include/mysql/my_byteorder.h:26, from /usr/local/include/mysql/my_global.h:580, from mysac.c:25: /usr/local/include/mysql/byte_order_generic_x86.h:29:22: note: expected 'const uchar *' {aka 'const unsigned char *'} but argument is of type 'char *' static inline uint16 uint2korr(const uchar *A) { return *((uint16*) A); } ^~~~~~~~~ mysac.c: In function 'mysac_connect': mysac.c:480:4: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close(mysac->fd); ^~~~~ pclose mysac.c:527:31: warning: pointer targets in passing argument 1 of 'uint4korr' differ in signedness [-Wpointer-sign] mysac->threadid = uint4korr(&mysac->buf[i]); ^~~~~~~~~~~~~~ In file included from /usr/local/include/mysql/my_byteorder.h:26, from /usr/local/include/mysql/my_global.h:580, from mysac.c:25: /usr/local/include/mysql/byte_order_generic_x86.h:32:22: note: expected 'const uchar *' {aka 'const unsigned char *'} but argument is of type 'char *' static inline uint32 uint4korr(const uchar *A) { return *((uint32*) A); } ^~~~~~~~~ mysac.c:530:42: error: 'SCRAMBLE_LENGTH_323' undeclared (first use in this function); did you mean 'SCRAMBLE_LENGTH'? strncpy(mysac->salt, &mysac->buf[i+4], SCRAMBLE_LENGTH_323); ^~~~~~~~~~~~~~~~~~~ SCRAMBLE_LENGTH mysac.c:530:42: note: each undeclared identifier is reported only once for each function it appears in mysac.c:534:30: warning: pointer targets in passing argument 1 of 'uint2korr' differ in signedness [-Wpointer-sign] mysac->options = uint2korr(&mysac->buf[i]); ^~~~~~~~~~~~~~ In file included from /usr/local/include/mysql/my_byteorder.h:26, from /usr/local/include/mysql/my_global.h:580, from mysac.c:25: /usr/local/include/mysql/byte_order_generic_x86.h:29:22: note: expected 'const uchar *' {aka 'const unsigned char *'} but argument is of type 'char *' static inline uint16 uint2korr(const uchar *A) { return *((uint16*) A); } ^~~~~~~~~ mysac.c:540:29: warning: pointer targets in passing argument 1 of 'uint2korr' differ in signedness [-Wpointer-sign] mysac->status = uint2korr(&mysac->buf[i+3]); ^~~~~~~~~~~~~~~~ In file included from /usr/local/include/mysql/my_byteorder.h:26, from /usr/local/include/mysql/my_global.h:580, from mysac.c:25: /usr/local/include/mysql/byte_order_generic_x86.h:29:22: note: expected 'const uchar *' {aka 'const unsigned char *'} but argument is of type 'char *' static inline uint16 uint2korr(const uchar *A) { return *((uint16*) A); } ^~~~~~~~~ mysac.c:564:19: error: 'CLIENT_SECURE_CONNECTION' undeclared (first use in this function); did you mean 'COM_RESET_CONNECTION'? CLIENT_SECURE_CONNECTION; ^~~~~~~~~~~~~~~~~~~~~~~~ COM_RESET_CONNECTION mysac.c: In function 'mysac_send_stmt_prepare': mysac.c:960:31: warning: pointer targets in passing argument 1 of 'uint4korr' differ in signedness [-Wpointer-sign] *mysac->stmt_id = uint4korr(&mysac->buf[1]); ^~~~~~~~~~~~~~ In file included from /usr/local/include/mysql/my_byteorder.h:26, from /usr/local/include/mysql/my_global.h:580, from mysac.c:25: /usr/local/include/mysql/byte_order_generic_x86.h:32:22: note: expected 'const uchar *' {aka 'const unsigned char *'} but argument is of type 'char *' static inline uint32 uint4korr(const uchar *A) { return *((uint32*) A); } ^~~~~~~~~ mysac.c:967:30: warning: pointer targets in passing argument 1 of 'uint2korr' differ in signedness [-Wpointer-sign] mysac->nb_cols = uint2korr(&mysac->buf[5]); ^~~~~~~~~~~~~~ In file included from /usr/local/include/mysql/my_byteorder.h:26, from /usr/local/include/mysql/my_global.h:580, from mysac.c:25: /usr/local/include/mysql/byte_order_generic_x86.h:29:22: note: expected 'const uchar *' {aka 'const unsigned char *'} but argument is of type 'char *' static inline uint16 uint2korr(const uchar *A) { return *((uint16*) A); } ^~~~~~~~~ mysac.c:970:32: warning: pointer targets in passing argument 1 of 'uint2korr' differ in signedness [-Wpointer-sign] mysac->nb_plhold = uint2korr(&mysac->buf[7]); ^~~~~~~~~~~~~~ In file included from /usr/local/include/mysql/my_byteorder.h:26, from /usr/local/include/mysql/my_global.h:580, from mysac.c:25: /usr/local/include/mysql/byte_order_generic_x86.h:29:22: note: expected 'const uchar *' {aka 'const unsigned char *'} but argument is of type 'char *' static inline uint16 uint2korr(const uchar *A) { return *((uint16*) A); } ^~~~~~~~~ mysac.c: In function 'mysac_send_query': mysac.c:1532:3: warning: enumeration value 'MYSQL_TYPE_TIMESTAMP2' not handled in switch [-Wswitch] switch(mysac->res->cols[i].type) { ^~~~~~ mysac.c:1532:3: warning: enumeration value 'MYSQL_TYPE_DATETIME2' not handled in switch [-Wswitch] mysac.c:1532:3: warning: enumeration value 'MYSQL_TYPE_TIME2' not handled in switch [-Wswitch] mysac.c:1532:3: warning: enumeration value 'MYSQL_TYPE_JSON' not handled in switch [-Wswitch] *** [mysac.o] Error code 1 make[2]: stopped in /construction/databases/mysac/mysac-1.1.2 2 errors make[2]: stopped in /construction/databases/mysac/mysac-1.1.2 *** [build] Error code 2 make[1]: stopped in /construction/databases/mysac/mysac-1.1.2 1 error make[1]: stopped in /construction/databases/mysac/mysac-1.1.2 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /xports/databases/mysac -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Monday, 29 JUL 2019 at 21:31:13 UTC Duration: 00:00:13