Toku build failure on Mac OS X 10.12

Bug #1627738 reported by Laurynas Biveinis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Status tracked in 5.7
5.5
Invalid
Undecided
Unassigned
5.6
Triaged
Low
Unassigned
5.7
New
Low
Unassigned

Bug Description

cmake ... -DWITH_DEBUG=ON -DWITH_ASAN=ON
...
make VERBOSE=1
...
[ 58%] Linking CXX executable logformat
cd /Users/laurynas/percona/obj-percona-5.6-asan/storage/tokudb/PerconaFT/ft && /usr/local/Cellar/cmake/3.6.2/bin/cmake -E cmake_link_script CMakeFiles/logformat.dir/link.txt --verbose=1
/usr/local/opt/ccache/libexec/c++ -std=c++11 -Wall -Werror -Wshadow -Wmissing-format-attribute -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wno-missing-noreturn -Wbad-function-cast -Wextra -Wno-error=strict-overflow -fno-omit-frame-pointer -fno-exceptions -fno-rtti -Wno-pointer-bool-conversion -Wno-error=extern-c-compat -Wno-ignored-attributes -Wno-error=tautological-constant-out-of-range-compare -Wno-error=address-of-array-temporary -Wno-error=missing-format-attribute -Wmissing-format-attribute -Wswitch -Winit-self -Wno-missing-field-initializers -Wno-missing-field-initializers -std=c++11 -Wno-deprecated-declarations -Wall -Wextra -Wformat-security -Wvla -Woverloaded-virtual -Wno-unused-parameter -Wno-null-conversion -Wno-unused-private-field -Wno-vla -g3 -O0 -g -fno-omit-frame-pointer -fno-strict-aliasing -fsanitize=address -O1 -Wno-error -fPIC -DENABLED_DEBUG_SYNC -DSAFE_MUTEX -DTOKUDB_DEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Wno-error=strict-overflow CMakeFiles/logformat.dir/logger/logformat.cc.o -o logformat ../portability/libtokuportability_static.a -lrt
ld: library not found for -lrt
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [storage/tokudb/PerconaFT/ft/logformat] Error 1
make[1]: *** [storage/tokudb/PerconaFT/ft/CMakeFiles/logformat.dir/all] Error 2
make: *** [all] Error 2

Tags: tokudb
tags: added: tokudb
Revision history for this message
George Ormond Lorch III (gl-az) wrote :

Laurynas, is this still an issue? I seem to remember either you or Vlad fixing this.

Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote :

It has been an issue the last I checked, and there are further macOS issues, that I have stopped trying building it there for now.

Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-2205

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.