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

Dimitry Andric dim at FreeBSD.org
Tue Apr 3 18:54:02 UTC 2018


> On 3 Apr 2018, at 19:34, Michael Grimm <trashcan at ellael.org> wrote:
> 
> Dimitry Andric <dim at FreeBSD.org> wrote:
>> 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.
> 
> With "USE_CXXSTD=gnu++98" added into that port's Makefile poudriere has been able to compile that port. Thank you.

Alternatively, please try the patch in <https://bugs.freebsd.org/227209>.

-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/20180403/853b7560/attachment.sig>


More information about the freebsd-ports mailing list