fluent / fluent/fluent-bit

Unable to build `flb-wamrc`

Open
#7,580 11 comments 0 reactions 0 assignees View on GitHub
enhancement status: waiting-for-triage
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.