Skip to content
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

[master] Build is broken due to lua code change #8114

Closed
PettitWesley opened this issue Oct 31, 2023 · 4 comments
Closed

[master] Build is broken due to lua code change #8114

PettitWesley opened this issue Oct 31, 2023 · 4 comments

Comments

@PettitWesley
Copy link
Contributor

[ 45%] Building C object plugins/filter_lua/CMakeFiles/flb-plugin-filter_lua.dir/lua.c.o
/home/ec2-user/fluent-bit/plugins/filter_lua/lua.c:115:9: note: ‘#pragma message: This code does not support the new log event encoding format’
  115 | #pragma message "This code does not support the new log event encoding format"
      |         ^~~~~~~
/home/ec2-user/fluent-bit/plugins/filter_lua/lua.c: In function ‘pack_result_mpack’:
/home/ec2-user/fluent-bit/plugins/filter_lua/lua.c:135:11: error: too few arguments to function ‘flb_lua_arraylength’
  135 |     len = flb_lua_arraylength(l);
      |           ^~~~~~~~~~~~~~~~~~~
In file included from /home/ec2-user/fluent-bit/plugins/filter_lua/lua.c:25:
/home/ec2-user/fluent-bit/include/fluent-bit/flb_lua.h:88:5: note: declared here
   88 | int flb_lua_arraylength(lua_State *l, int index);
      |     ^~~~~~~~~~~~~~~~~~~
make[2]: *** [plugins/filter_lua/CMakeFiles/flb-plugin-filter_lua.dir/build.make:90: plugins/filter_lua/CMakeFiles/flb-plugin-filter_lua.dir/lua.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:7403: plugins/filter_lua/CMakeFiles/flb-plugin-filter_lua.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
[ec2-user@ip-10-192-10-69 build]$ git log --oneline
2702f4f9d (HEAD -> master, origin/master, origin/HEAD) workflows: update to handle 2.2 releases (#8113)
d918e40e8 workflows: bump hashicorp/setup-terraform from 2 to 3 (#8109)
0ae1dba37 workflows: ensure we do non-interactive set up (#8107)
415481027 workflows: bump ossf/scorecard-action from 2.3.0 to 2.3.1 (#8084)
99d568b7c in_calyptia_fleet: check cfg parameter in is_old_fleet_config.
@tarruda
Copy link

tarruda commented Nov 1, 2023

Are you enabling mpack on the build? If so, try disabling the FLB_FILTER_LUA_USE_MPACK cmake variable

@nokute78
Copy link
Collaborator

nokute78 commented Nov 2, 2023

The patch is #8103

Copy link
Contributor

github-actions bot commented Feb 1, 2024

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days. Maintainers can add the exempt-stale label.

@github-actions github-actions bot added the Stale label Feb 1, 2024
Copy link
Contributor

github-actions bot commented Feb 7, 2024

This issue was closed because it has been stalled for 5 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants