Unable to build `flb-wamrc`
- Dominant language
- C
- Stars
- 8.1k
- Forks
- 2k
- Avg merge
- 4d 16h
- Merged PRs (30d)
- 58
Description
## Bug Report
**Describe the bug**
Failing to build `fluent-bit` with `flb-wamrc`, with `cmake .. -DFLB_WAMRC=On`, after running make I see this error:
```
make[2]: *** No rule to make target '/usr/lib/llvm-14/lib/libMLIRSupportIndentedOstream.a', needed by 'bin/flb-wamrc'. Stop.
make[1]: *** [CMakeFiles/Makefile2:7775: src/wamrc/CMakeFiles/flb-wamrc-bin.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
```
**To Reproduce**
- Steps to reproduce the problem:
```
git clone https://github.com/fluent/fluent-bit
cd fluent-bit/build
cmake .. -DFLB_WAMRC=On
make
```
**Expected behavior**
It should successfully built the `fluent-bit` and `flb-wamrc` binaries
**Screenshots**
**Your Environment**
* Version used: `master` branch and `v2.1.4` tag
* Configuration: N/A
* Environment name and version (e.g. Kubernetes? What version?): WSL2
* Server type and version:
* Operating System and version: Ubuntu 22.04
* Filters and plugins:
**Additional context**
Contributor guide
Assessment
This issue has not been assessed yet.