FS#50191 - [lua] does not have a library symlink in same format as legacy lua packages

Attached to Project: Arch Linux
Opened by Crazy Lemon (Crazylemon64) - Thursday, 28 July 2016, 21:25 GMT
Last edited by Anatol Pomozov (anatolik) - Saturday, 24 June 2017, 00:17 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Anatol Pomozov (anatolik)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
The Lua package does not have a library symlink in the form of "liblua5.3.so", unlike the legacy packages such as lua52, which do.
This results in cmake finding the wrong version of the library, resulting in compilations with the lua library failing.

Additional info:
* Lua 5.3.3-1
* Cmake 3.6.1-1
* "-- Found Lua: /usr/lib64/liblua5.2.so;/usr/lib64/libm.so (found version "5.3.3")"


Steps to reproduce:
1. Run cmake with a file that has "include(FindLua)"
This task depends upon

Closed by  Anatol Pomozov (anatolik)
Saturday, 24 June 2017, 00:17 GMT
Reason for closing:  Fixed
Additional comments about closing:  lua-5.3.4-2
Comment by Crazy Lemon (Crazylemon64) - Friday, 29 July 2016, 00:06 GMT
I've attached a patch for the PKGBUILD to add a symlink to the package
Comment by Chet Gurevitch (chetgurevitch) - Friday, 23 June 2017, 23:23 GMT
Bump. This is causing issues with packaging various lua bindings.
Comment by Anatol Pomozov (anatolik) - Friday, 23 June 2017, 23:34 GMT
The bug completely fell off my radar. Thanks for reminding it to me.

I just pushed the fix proposed by Crazy Lemon (cool nickname!) and pushed lua-5.3.4-2 to [testing]. Please verify it.
Comment by Chet Gurevitch (chetgurevitch) - Saturday, 24 June 2017, 00:15 GMT
That did the trick, thanks!

Loading...