Bug 2440977
| Summary: | luaL_openlibs not exported | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jaroslav Škarvada <jskarvad> |
| Component: | lua | Assignee: | Tom "spot" Callaway <spotrh> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | 4le, drjohnson1, lua-packagers-sig, mhroncok, michel, spotrh |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | --- | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2026-02-19 14:28:55 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2440557 | ||
|
Description
Jaroslav Škarvada
2026-02-19 13:32:16 UTC
Related rrdtool FTBFS: https://bugzilla.redhat.com/show_bug.cgi?id=2440557 rrdtool configure output: checking for lua... /usr/bin/lua checking for lua >= 5.0... 5.5 found checking for lua55/lua.h... no checking for lua5.5/lua.h... no checking for lua.h... yes checking for lualib.h... yes checking for lauxlib.h... yes checking for library containing lua_call... -llua checking for library containing luaL_openlibs... no checking for library containing luaL_module... no checking for library containing luaL_openlib... no Lua headers found but not the libraries! Please reinstall the dev packages for Lua 5.5 So, the Lua 5.5 docs are wrong: there is no luaL_openlibs() function in the code anymore. It's been replaced with luaL_openselectedlibs(), and you can see that in the lualib.h header: #define luaL_openlibs(L) luaL_openselectedlibs(L, ~0, 0) The rrdtool configure check needs to be updated to look for luaL_openselectedlibs(), ideally when lua 5.5+ is found, but crudely, as an optional function in the list it is already trying. Thanks, I will forward to rrdool upstream. |