-
Notifications
You must be signed in to change notification settings - Fork 1.7k
build: Detect msgpack-c and msgpack-c to be valid msgpack library #10387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Should I update the |
0eb6b5f
to
e06abfe
Compare
Hi, thanks for your work. It seems that the last commit didn't include signed-off line. So, could you amend and commit with signed-off line again? |
Plus, in Ubuntu environment, libmsgpack is provided as libmsgpack and pkg-config picks up that library as msgpack:
Which Linux distributions do you use? |
So it seems that starting 4.0.0. msgpack was split into two divergent branches and versions and codebases. a header-only And distros seem to be handling it differently. NixOS and ArchLinux have separate However ubuntu and Debian has a I think the fix here is to have CMake look for both Fedora is still in |
Hmm seems version is too old in CI. Shall I remove the check again?:
|
No, we need to do this. Plus, could you split your commit into 2 commits? One is: |
The pc file is called differently on Ubuntu than on Arch Linux Signed-off-by: Arian van Putten <[email protected]>
Signed-off-by: Arian van Putten <[email protected]>
Signed-off-by: Hiroshi Hatake <[email protected]>
since this touch workflows, adding @patrick-stephens for visibility |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks lovely from the CI side so all good as long as it's green
Hi all, Thanks for applying this patch. I also saw the same problem in Buildroot, but didn't send a patch yet. Also nice to see that it is getting used. Kr, Thomas |
Follow-up on #9572 as I noticed
msgpack-c
system library was not being picked up.the PkgConfig file is called
msgpack-c
notmsgpack
https://github.com/msgpack/msgpack-c/blob/c_master/msgpack-c.pc.inBefore:
After:
Enter
[N/A]
in the box, if an item is not applicable to your change.Testing
Before we can approve your change; please submit the following in a comment:
If this is a change to packaging of containers or native binaries then please confirm it works for all targets.
ok-package-test
label to test for all targets (requires maintainer to do).Documentation
Backporting
Fluent Bit is licensed under Apache 2.0, by submitting this pull request I understand that this code will be released under the terms of that license.