-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
build: fix Kafka support needs a toolchain w/ C++ #7765
build: fix Kafka support needs a toolchain w/ C++ #7765
Conversation
It looks like AppVeyor is failing so suggests a Windows build issue.
I cannot comment on the specific change itself: I think the typical approach is to fix it in the upstream dependency then update to the fixed version in Fluent Bit. We don't want to keep patching future dependency updates but it sounds like this is what you've done... |
Yes, I've pushed a commit upstream, I'm awaiting response on that. I will
definitely ping you if this is the case.
About the build failures, these are not very clean to me. I don't see how
the changes in this PR could cause regression. But never say never indeed.
Please double check.
Op di 1 aug. 2023 21:33 schreef Pat ***@***.***>:
… It looks like AppVeyor is failing so suggests a Windows build issue.
Triggering a full set of target builds to confirm but it looks like a unit
test issue:
https://ci.appveyor.com/project/fluent/fluent-bit-2e87g/builds/47658687/job/1w6aewjhg84vkw87
Test cache_basic_timeout...
------------------------
[ FAILED ]
log.c:16: Check (*interval >= timeout - 1) && *interval <= timeout... failed
interval error. got=3 expect=4-5
log.c:92: Check ret == 0... failed
update_and_check_interval for TEST_RECORD_01 failed. i=9
log.c:16: Check (*interval >= timeout - 1) && *interval <= timeout... failed
interval error. got=3 expect=4-5
log.c:98: Check ret == 0... failed
update_and_check_interval for TEST_RECORD_02 failed. i=9
Test cache_one_slot...
[ OK ]
FAILED: 1 of 2 unit tests has failed.
Start 32: flb-it-processor
I cannot comment on the specific change itself: I think the typical
approach is to fix it in the upstream dependency then update to the fixed
version in Fluent Bit. We don't want to keep patching future dependency
updates but it sounds like this is what you've done...
—
Reply to this email directly, view it on GitHub
<#7765 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACDAFBIHP4CCCOYFDCQXA6DXTFKYVANCNFSM6AAAAAA23BI754>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
macOS unit tests failures can be ignored. |
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days. |
…fluent#7741 e.g. fluent-bit is a c-only library, so allow compilation without cxx Upstream: confluentinc/librdkafka#4366 Signed-off-by: Thomas Devoogdt <[email protected]>
Fluent-bit is c only, so no need to compile cxx. This fixes also a compile error in buildroot. Signed-off-by: Thomas Devoogdt <[email protected]>
c9b4c0c
to
f1ec3b7
Compare
@edsiper @patrick-stephens @celalettin1286 My upstream patch confluentinc/librdkafka#4366 is still not taken upstream, even not considered or an answer on my PR. I don't know what to do with it. I rebased this PR to the current master. But I can understand that you guys are not really keen to merge something that is not yet upstream. |
I'll leave this with @edsiper as not really a CI question for me :) |
This PR is overruled by #9277, so I will close it. (Please have a look at that one!) |
While building fluent-bit on buildroot, I saw some build failures for toolchains that are lacking C++ support.
Kafka needs a C++ compiler to get compiled, but given the C codebase, it should be possible to compile it without.
Issue:
Logs:
Upstream:
Buildroot:
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.