-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
fluent/fluent-bit-docs
#1951Description
Bug Report
Describe the bug
Following https://docs.fluentbit.io/manual/installation/macos#create-macos-installer-from-source to build a macOS package installer fails on a fresh macOS install. Even after all previous steps have been followed, cmakefails with
-- Performing Test FLB_HAVE_LIBYAML - Failed
CMake Error at CMakeLists.txt:1016 (message):
YAML development dependencies required for YAML configuration format
handling.
This is a build time dependency, you can either install the dependencies or
disable the feature setting the CMake option -DFLB_CONFIG_YAML=Off .
-- Configuring incomplete, errors occurred!
- Steps to reproduce the problem:
On a fresh macOS installation, install homebrew, then follow the steps outlined in https://docs.fluentbit.io/manual/installation/macos#create-macos-installer-from-source
Expected behavior
No more errors, all required dependencies are listed in https://docs.fluentbit.io/manual/installation/macos#create-macos-installer-from-source and the build succeeds,
Your Environment
$ brew config
HOMEBREW_VERSION: 4.5.9
ORIGIN: https://github.com/Homebrew/brew
HEAD: 700d67a85e0129ab8a893ff69246943479e33df1
Last commit: 3 days ago
Branch: stable
Core tap JSON: 10 Jul 12:57 UTC
Core cask tap JSON: 10 Jul 12:57 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_EDITOR: vi
HOMEBREW_MAKE_JOBS: 4
HOMEBREW_NO_ENV_HINTS: set
Homebrew Ruby: 3.4.4 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.4.4/bin/ruby
CPU: quad-core 64-bit dunno
Clang: 17.0.0 build 1700
Git: 2.50.1 => /opt/homebrew/bin/git
Curl: 8.7.1 => /usr/bin/curl
macOS: 15.5-arm64
CLT: 16.3.0.0.1.1742442376
Xcode: N/A
Rosetta 2: false