Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Oct 2023 13:25:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 274494] databases/mariadb106: fix build with LibreSSL
Message-ID:  <bug-274494-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 274494
           Summary: databases/mariadb106: fix build with LibreSSL
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: rozhuk.im@gmail.com

Created attachment 245639
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D245639&action=
=3Dedit
patch

Same for 10.11.5:

FAILED: mysys_ssl/CMakeFiles/mysys_ssl.dir/openssl.c.o=20
/usr/local/libexec/ccache/cc -DHAVE_CONFIG_H -DHAVE_OPENSSL
-I/tmp/ports/usr/ports/databases/mariadb1011-client/work/mariadb-10.11.5/in=
clude
-I/tmp/ports/usr/ports/databases/mariadb1011-client/work/mariadb-10.11.5/in=
clude/providers
-I/tmp/ports/usr/ports/databases/mariadb1011-client/work/mariadb-10.11.5/my=
sys_ssl
-I/usr/local/include -O2 -pipe -O3 -pipe -funroll-loops -mretpoline
-fno-delete-null-pointer-checks  -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing=20
-fdebug-prefix-map=3D/tmp/ports/usr/ports/databases/mariadb1011-client/work=
/mariadb-10.11.5=3D.
-fstack-protector --param=3Dssp-buffer-size=3D4 -O2 -pipe -O3 -pipe -funrol=
l-loops
-mretpoline -fno-delete-null-pointer-checks  -fstack-protector-strong -isys=
tem
/usr/local/include -fno-strict-aliasing=20
-fdebug-prefix-map=3D/tmp/ports/usr/ports/databases/mariadb1011-client/work=
/mariadb-10.11.5=3D.
-DNDEBUG -D_FORTIFY_SOURCE=3D2 -DDBUG_OFF -std=3Dgnu99   -I/usr/local/inclu=
de
-isystem /usr/local/include -fPIC -MD -MT
mysys_ssl/CMakeFiles/mysys_ssl.dir/openssl.c.o -MF
mysys_ssl/CMakeFiles/mysys_ssl.dir/openssl.c.o.d -o
mysys_ssl/CMakeFiles/mysys_ssl.dir/openssl.c.o -c
/tmp/ports/usr/ports/databases/mariadb1011-client/work/mariadb-10.11.5/mysy=
s_ssl/openssl.c
mysys_ssl/openssl.c:55:33: error: incompatible function pointer types passi=
ng
'void *(size_t, const char *, int)' (aka 'void *(unsigned long, const char =
*,
int)') to parameter of type 'void *(*)(size_t)' (aka 'void *(*)(unsigned
long)') [-Wincompatible-function-pointer-types]
  if (!CRYPTO_set_mem_functions(coc_malloc, NULL, NULL))
                                ^~~~~~~~~~
/usr/local/include/openssl/crypto.h:408:38: note: passing argument to param=
eter
'm' here
int CRYPTO_set_mem_functions(void *(*m)(size_t), void *(*r)(void *, size_t),
void (*f)(void *));
                                     ^
1 error generated.

--=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-274494-7788>