Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Apr 2023 08:53:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 270666] devel/apr1: Broken with MySQL 5.7
Message-ID:  <bug-270666-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270666

            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+=3D mysql=3D5.7 is set:
/bin/sh /usr/ports/devel/apr1/work/apr-1.7.3/libtool --silent --mode=3Dcomp=
ile
--tag=3DCC cc   -O2 -pipe  -DLIBICONV_PLUG -DLDAP_DEPRECATED
-fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H=20=20=20
-DLIBICONV_PLUG -I/usr/ports/devel/apr1/work/apr-util-1.6.3/include
-I/usr/ports/devel/apr1/work/apr-util-1.6.3/include/private
-I/usr/local/include/mysql  -I/usr/ports/devel/apr1/work/apr-1.7.3/include=
=20
-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
dbm/apr_dbm_berkeleydb.lo
--- 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_i=
nit'
is invalid in C99 [-Wimplicit-function-declaration]
    my_init();
    ^
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

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

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

--=20
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-270666-7788>