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

Michael Grimm trashcan at ellael.org
Tue Apr 3 17:34:39 UTC 2018


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.

Regards,
Michael



More information about the freebsd-ports mailing list