[Bug 270666] devel/apr1: Broken with MySQL 5.7

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 06 Apr 2023 08:53:36 UTC

            Bug ID: 270666
           Summary: devel/apr1: Broken with MySQL 5.7
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: apache@FreeBSD.org
          Reporter: denis.kachurin@gmail.com
             Flags: maintainer-feedback?(apache@FreeBSD.org)
          Assignee: apache@FreeBSD.org

devel/apr1 not build if DEFAULT_VERSIONS+= mysql=5.7 is set:
/bin/sh /usr/ports/devel/apr1/work/apr-1.7.3/libtool --silent --mode=compile
-fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H   
-DLIBICONV_PLUG -I/usr/ports/devel/apr1/work/apr-util-1.6.3/include
-I/usr/local/include/mysql  -I/usr/ports/devel/apr1/work/apr-1.7.3/include 
-I/usr/include -I/usr/local/include -I/usr/local/include/db18  -o
dbm/apr_dbm_berkeleydb.lo -c dbm/apr_dbm_berkeleydb.c && touch
--- dbd/apr_dbd_mysql.lo ---
dbd/apr_dbd_mysql.c:49:14: error: typedef redefinition with different types
('bool' vs 'char')
typedef bool my_bool;
/usr/local/include/mysql/mysql.h:49:14: note: previous definition is here
typedef char my_bool;
dbd/apr_dbd_mysql.c:1271:5: warning: implicit declaration of function 'my_init'
is invalid in C99 [-Wimplicit-function-declaration]
1 warning and 1 error generated.
*** [dbd/apr_dbd_mysql.lo] Error code 1

make[3]: stopped in /usr/ports/devel/apr1/work/apr-util-1.6.3
1 error

make[3]: stopped in /usr/ports/devel/apr1/work/apr-util-1.6.3
*** [all-recursive] Error code 1

make[2]: stopped in /usr/ports/devel/apr1/work/apr-util-1.6.3
1 error

make[2]: stopped in /usr/ports/devel/apr1/work/apr-util-1.6.3
*** Error code 2

make[1]: stopped in /usr/ports/devel/apr1
*** Error code 1

make: stopped in /usr/ports/devel/apr1

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