FreeBSD 11.1-STABLE #0 r331865: mariadb102-server-10.2.14 compilation fails

Dimitry Andric dim at FreeBSD.org
Mon Apr 2 21:56:31 UTC 2018


On 2 Apr 2018, at 21:40, Michael Grimm <trashcan at ellael.org> wrote:
> 
> since the recent upgrade of llvm et al in STABLE-11.1 mariadb102-server-10.2.14  fails to compile (poudriere):
> 
> 
> 
> --- storage/connect/CMakeFiles/connect.dir/all ---
> --- storage/connect/CMakeFiles/connect.dir/table.cpp.o ---
> --- storage/connect/CMakeFiles/connect.dir/tabjson.cpp.o ---
> /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/storage/connect/tabjson.cpp:198:10: error: cannot initialize return object of type 'int' with an rvalue of type 'nullptr_t'
>                return NULL;
>                       ^~~~

The code is likely buggy, but you can try adding USE_CXXSTD=gnu++98 in
the port Makefile as a workaround.

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 223 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20180402/26981848/attachment.sig>


More information about the freebsd-ports mailing list