-
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
fluent-bit 3.0.3+ fails to build with -Wincompatible-pointer-types and -Wpointer-sign #8858
Comments
Update: After patching the code to prevent the warnings, the build fails on other warnings, a -Wformat in I can't build 3.0.2 either, this used to work before, but in the log file of an earlier build of 3.0.2, the -Wincompatible-pointer-types and -Wpointer-sign warnings were already there, without failing the build. Something must have changed in Archlinux itself. I'll keep investigating... |
@j0057 could this be due to an upgrade of GCC to 14.1? https://gcc.gnu.org/gcc-14/porting_to.html#warnings-as-errors
I checked with 13.2 and the program still compiles, from 14.1 this warning is now an error so compilation fails. |
Yes, that must be it! My last successful builds were on GCC 13.2. |
I've made a PR here that might be able to fix it: #8901. If nothing else you could probably turn that into a patch for the package to fix it until it's sorted out upstream. |
Javex changes are working fine in latest Arch |
Bug Report
Describe the bug
When building the fluent-bit AUR package for versions 3.0.3 or 3.0.4 on Archlinux, the build fails with these errors:
This is code introduced in commits 1feb741 and 5340b4c.
Is the intention to be able to build with -Wincompatible-pointer-types and -Wpointer-sign, or should I relax the build options for the fluent-bit AUR package?
To Reproduce
extra-x86_64-build
Your Environment
Additional context
N/A
The text was updated successfully, but these errors were encountered: