Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.2.18, 10.3.9
-
None
-
Mac OS X 10.8.5, Homebrew
Description
When attempting to compile either MariaDB 10.2.18 or 10.3.9 from source on MacOS X 10.8.5 using Homebrew, in accordance with the instructions, make fails at around 20% with the following (10.3.9 example, 10.2.18 is very similar):
==> cmake . -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/mariadb/10.3.9 -
==> make
Last 15 lines from /Users/username/Library/Logs/Homebrew/mariadb/02.make:
/usr/bin/ranlib: file: libgroonga.a(mrb_table_cursor.c.o) has no symbols
/usr/bin/ranlib: file: libgroonga.a(mrb_table_cursor_flags.c.o) has no symbols
/usr/bin/ranlib: file: libgroonga.a(mrb_table_group_flags.c.o) has no symbols
/usr/bin/ranlib: file: libgroonga.a(mrb_table_group_result.c.o) has no symbols
/usr/bin/ranlib: file: libgroonga.a(mrb_table_sort_flags.c.o) has no symbols
/usr/bin/ranlib: file: libgroonga.a(mrb_table_sort_key.c.o) has no symbols
/usr/bin/ranlib: file: libgroonga.a(mrb_thread.c.o) has no symbols
/usr/bin/ranlib: file: libgroonga.a(mrb_type.c.o) has no symbols
/usr/bin/ranlib: file: libgroonga.a(mrb_variable_size_column.c.o) has no symbols
/usr/bin/ranlib: file: libgroonga.a(mrb_void.c.o) has no symbols
/usr/bin/ranlib: file: libgroonga.a(mrb_window_definition.c.o) has no symbols
/usr/bin/ranlib: file: libgroonga.a(mrb_writer.c.o) has no symbols
/usr/bin/ranlib: file: libgroonga.a(ts_plan.c.o) has no symbols
[ 19%] Built target libgroonga
make: *** [all] Error 2
The problem is not in the Homebrew formulae or the groonga package.
Related mysql bug: https://bugs.mysql.com/bug.php?id=81652
Meanwhile, MariaDB 10.1.36 builds fine. According to the comments on the Library page with instructions, the 10.1.x branch has a fix in place regarding llvm, but 10.2.x and 10.3.x do not.