Page MenuHomeFreeBSD

Update bsd.defaults.mk for lua to 5.3 and questions about lua.mk
AbandonedPublic

Authored by russ.haley_gmail.com on Dec 30 2017, 7:35 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Mar 13, 9:42 PM
Unknown Object (File)
Dec 20 2023, 1:51 AM
Unknown Object (File)
Dec 10 2023, 8:32 PM
Unknown Object (File)
Dec 10 2023, 2:36 AM
Unknown Object (File)
Oct 25 2023, 12:47 AM
Unknown Object (File)
Oct 10 2023, 4:50 PM
Unknown Object (File)
Oct 8 2023, 9:55 PM
Unknown Object (File)
Oct 8 2023, 9:55 PM
Subscribers

Details

Reviewers
jbeich
antoine
Group Reviewers
portmgr
Summary

Hi, I saw that the default version of lua is still 5.2 so thought I'd attempt to push that up. I'd also like to ask some questions about the lua.mk file and possibly "clean it up"?

Test Plan

Looking for input.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

Mk/Uses/lua.mk
80

So I don't really know if using ${PORTNAME} is valid or not, but wanted to look at standardizing it with the lua ports themselves (at least 5.3 and anything forward). Just looking for input really. How do I test this without modifying my actual ports dir (which I use as a reference)?

antoine requested changes to this revision.Dec 30 2017, 7:47 AM
antoine added a subscriber: antoine.

There was an exp-run a few months ago and the results were bad.
Maybe lua ports could be flavored...

Using ${PORTNAME} in Uses/lua.mk is really wrong.

This revision now requires changes to proceed.Dec 30 2017, 7:47 AM

There was an exp-run a few months ago and the results were bad.
Maybe lua ports could be flavored...

Sorry, could you expand on exp-run and what you mean by flavored?

Using ${PORTNAME} in Uses/lua.mk is really wrong.

I thought it might be but didn't know.

Before the change in default version can go in, an exp-run needs to be requested. See 19.8.5. How can an experimental test build of the ports tree (exp-run) be requested?

Much appreciated. I'll start going through these failures. Given that some of these may be "unfixable"/unused/unmaintained, what is the expectation for "pass level" for an exp-run?

Is there any way to cross check how many of these failures build using Lua 5.2? Is is possible/acceptable to pin items to 5.2 that fail and let others use the default?

lzlib for instance is:

Can I ((propose a patch to) pin it to 5.2 (if it builds with 5.2) and allow the dependents to build?

Removed changes to lua.mk. Review is tracking questions on exp-run failures. Alternatively we can close this and I can use bugzilla.

Hi, I've looked over the failures and I think I'd rather just close this review and comment on the original bugzilla ticket. Not sure how to close a review?

Would really like it if we could all work towards getting Lua 5.4 as the default version on FreeBSD!