Skip to content
This repository has been archived by the owner on Jan 7, 2023. It is now read-only.

Build failed on macOS 10.12.6 #12

Open
houstonheat opened this issue Jun 19, 2019 · 0 comments
Open

Build failed on macOS 10.12.6 #12

houstonheat opened this issue Jun 19, 2019 · 0 comments

Comments

@houstonheat
Copy link

houstonheat commented Jun 19, 2019

Subject of the issue

Build failed on macOS 10.12.6. As mentioned in README.md, all the steps have been done as is.

Environment

$> system_profiler SPSoftwareDataType                                                                                                                                                                                                   
Software:
    System Software Overview:

      System Version: macOS 10.12.6 (16G1815)
      Kernel Version: Darwin 16.7.0
      Boot Mode: Normal
      Secure Virtual Memory: Enabled
      System Integrity Protection: Enabled
      Time since boot: 32 days 18:45
$> brew config
HOMEBREW_VERSION: 2.1.6
ORIGIN: https://github.com/Homebrew/brew
HEAD: fddf5b16bd8df577380a1d810d17825ef611b81f
Last commit: 4 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 5999646ce1df332eeb3c9fed7e38c5b8cd9e8625
Core tap last commit: 4 hours ago
HOMEBREW_PREFIX: /usr/local
CPU: quad-core 64-bit haswell
Homebrew Ruby: 2.3.7 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby
Clang: 9.0 build 900
Git: 2.14.3 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 7.54.0 => /usr/bin/curl
Java: 1.8.0_201
macOS: 10.12.6-x86_64
CLT: 9.2.0.0.1.1510905681
Xcode: N/A

Steps to reproduce

brew tap arduanov/clickhouse
brew upgrade
brew install clickhouse

Expected behaviour

Clickhouse-client installed.

Actual behaviour

ninja: build stopped: subcommand failed.

==> ninja
Last 15 lines from /Users/reusin/Library/Logs/Homebrew/clickhouse/02.ninja:
/Library/Developer/CommandLineTools/usr/include/c++/v1/__mutex_base:121:28: note: template is declared here
class _LIBCPP_TEMPLATE_VIS unique_lock
                           ^
1 error generated.
[1896/3050] Building CXX object libs/libdaemon/CMakeFiles/daemon.dir/src/OwnPatternFormatter.cpp.o
FAILED: libs/libdaemon/CMakeFiles/daemon.dir/src/OwnPatternFormatter.cpp.o
/usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang++  -DBOOST_SYSTEM_NO_DEPRECATED -DPOCO_STATIC -DPOCO_UNBUNDLED_ZLIB -DUNALIGNED_OK -DWITH_GZFILEOP -DX86_64 -DZLIB_COMPAT -I../libs/libdaemon/include -I../libs/libpocoext/include -I../dbms/src -Idbms/src -I../libs/libcommon/include -Ilibs/libcommon/include -I../contrib/zlib-ng -Icontrib/zlib-ng -I../contrib/cityhash102/include -I../contrib/croaring -isystem ../contrib/double-conversion -isystem ../contrib/re2 -isystem ../contrib/libpcg-random/include -isystem ../contrib/poco/Foundation/include -isystem ../contrib/boost -isystem ../contrib/poco/Net/include -isystem ../contrib/poco/Util/include -isystem ../contrib/poco/XML/include -isystem ../contrib/poco/JSON/include -isystem contrib/re2_st -fdiagnostics-color=always  -msse4.1 -msse4.2 -mpopcnt  -fno-omit-frame-pointer  -Wall -Wno-unused-command-line-argument  -Wnon-virtual-dtor -Werror -DNDEBUG   -std=c++1z -MD -MT libs/libdaemon/CMakeFiles/daemon.dir/src/OwnPatternFormatter.cpp.o -MF libs/libdaemon/CMakeFiles/daemon.dir/src/OwnPatternFormatter.cpp.o.d -o libs/libdaemon/CMakeFiles/daemon.dir/src/OwnPatternFormatter.cpp.o -c ../libs/libdaemon/src/OwnPatternFormatter.cpp
../libs/libdaemon/src/OwnPatternFormatter.cpp:9:10: fatal error: 'optional' file not found
#include <optional>
         ^~~~~~~~~~
1 error generated.
[1897/3050] Building C object contrib/hyperscan/CMakeFiles/hs_exec.dir/src/rose/program_runtime.c.o
warning: unknown warning option '-Wno-tautological-constant-compare'; did you mean '-Wno-tautological-pointer-compare'? [-Wunknown-warning-option]
1 warning generated.
ninja: build stopped: subcommand failed.

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
  https://github.com/arduanov/homebrew-clickhouse/issues```

[Full brew log](https://pastebin.com/umXcEUKL)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant