Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Sep 2018 02:50:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        perl@FreeBSD.org
Subject:   [Bug 231271] databases/p5-DBD-mysql: update 4.046 -> 4.047
Message-ID:  <bug-231271-14331-nj7uC3eb5H@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-231271-14331@https.bugs.freebsd.org/bugzilla/>
References:  <bug-231271-14331@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231271

dewayne@heuristicsystems.com.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dewayne@heuristicsystems.co
                   |                            |m.au

--- Comment #1 from dewayne@heuristicsystems.com.au ---
(In reply to Kurt Jaeger from comment #0)
Unfortunately 4.047 fails with mariadb-10.3 (on FreeBSD 11.2S i386 & amd64)
using clang 6.0.1 or gcc8.2. I suspect that the update to the port missed the
files/patch-dbimp.c  =:-0

When the patch is applied, the following goes away ;)

--- dbdimp.o ---
In file included from /usr/local/include/mysql/mysql.h:60,
                 from dbdimp.h:21,
                 from dbdimp.c:15:
dbdimp.c: In function 'mysql_dr_connect':
/usr/local/include/mysql/mariadb_version.h:14:31: error: token ""mariadb-10.3""
is not valid in preprocessor expressions
 #define MARIADB_BASE_VERSION  "mariadb-10.3"
                               ^~~~~~~~~~~~~~
dbdimp.c:1910:56: note: in expansion of macro 'MARIADB_BASE_VERSION'
 #if (MYSQL_VERSION_ID >= 50723) && (MYSQL_VERSION_ID < MARIADB_BASE_VERSION)
                                                        ^~~~~~~~~~~~~~~~~~~~
/usr/local/include/mysql/mariadb_version.h:14:31: error: token ""mariadb-10.3""
is not valid in preprocessor expressions
 #define MARIADB_BASE_VERSION  "mariadb-10.3"
                               ^~~~~~~~~~~~~~
dbdimp.c:1917:56: note: in expansion of macro 'MARIADB_BASE_VERSION'
 #if (MYSQL_VERSION_ID >= 50600) && (MYSQL_VERSION_ID < MARIADB_BASE_VERSION)
                                                        ^~~~~~~~~~~~~~~~~~~~
dbdimp.c: In function 'mysql_st_prepare':
dbdimp.c:3200:24: warning: assignment to 'my_bool *' {aka 'char *'} from
incompatible pointer type '_Bool *' [-Wincompatible-pointer-types]
           bind->is_null=      (_Bool*) &(fbind->is_null);
                        ^
*** [dbdimp.o] Error code 1

make[1]: stopped in
/var/ports/usr/ports/databases/p5-DBD-mysql/work/DBD-mysql-4.047

-- 
You are receiving this mail because:
You are the assignee for the bug.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-231271-14331-nj7uC3eb5H>