[Bug 231271] databases/p5-DBD-mysql: update 4.046 -> 4.047

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Sep 11 02:50:46 UTC 2018


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

dewayne at heuristicsystems.com.au changed:

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

--- Comment #1 from dewayne at 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.


More information about the freebsd-perl mailing list