-
Notifications
You must be signed in to change notification settings - Fork 259
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
lua5.3, lua5.4 - package cleanups and rebuild #34985
Conversation
A build of lua5.4 right now will not 'provide: so:liblua5.4.so' due to /usr/lib/liblua* being symlinks. We need a build chainguard-dev/melange#1662 to fix that. Other things here are: * build 5.4 with V=5.4 (not V=5.3) * build 5.4 with compath for 5.3 not the non-existant 5.2 https://gitlab.alpinelinux.org/alpine/aports/-/issues/13257 * split libs out from the main package (main package will get a dep on the libs so that will be fine) * rename patches in lua5.4/ to not be redundantly lua-5.4-thing * define and use a var 'luaMM' for the major.minor everywhere. * use one patch section with 3 patches rather than 3 patch sections * do not install liblua.la * improve tests a bit to check for version in '-v' output * add a test to make sure lua5.4-libs provides the desired so: * fix typo in configure.ac (top_builddir, not 'top_buildir').
OK, I'm going to write a summary of the lua5.4/rrdtool madness here.
A rebuild, and a test to ensure the so is provided is included in this PR.
The fix for rrdtool is #34944 . They depend on the lua5.4 rebuild so they can install.
To get this resolved we will
|
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.
A bit too verbose and too generic, but it is fine.
I'm interested in some more info on that.
I agree that testing in shell is long, error-prone, hard to read and hard to write. I want to fix that with sane re-usable testing tools written in a sane language. |
|
lua5.4 - updates to package and a rebuild.
A build of lua5.4 right now will not 'provide: so:liblua5.4.so' due
to /usr/lib/liblua* being symlinks.
We need a build Consider symlinks as potential provides for so: chainguard-dev/melange#1662
to fix that.
Other things here are:
https://gitlab.alpinelinux.org/alpine/aports/-/issues/13257
(main package will get a dep on the libs so that will be fine)
lua5.3 - apply the same changes, but leave it building with linenoise
instead of readline.