FS#46189 - [lua] Add 'staticlibs' option to package

Attached to Project: Arch Linux
Opened by Pierre Chapuis (catwell) - Thursday, 03 September 2015, 14:26 GMT
Last edited by Caleb Maclennan (alerque) - Wednesday, 20 September 2023, 07:13 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Anatol Pomozov (anatolik)
Caleb Maclennan (alerque)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The Lua package explicitly builds and installs liblua.a,
and then strips it out because it does not have the "staticlibs"
option.

I think it would be a good idea to add that option to
the PKGBUILD, or otherwise make it clearer that liblua.a
is not going to be installed.
This task depends upon

Closed by  Caleb Maclennan (alerque)
Wednesday, 20 September 2023, 07:13 GMT
Reason for closing:  Fixed
Additional comments about closing:  5.4.6-2
Comment by Doug Newgard (Scimmia) - Friday, 04 September 2015, 15:12 GMT
Arch's policy is to not ship static libs unless absolutely necessary. This is across everything, so I don't see the need to "make it clearer" for this one package. Is there a reason you want the static lib?
Comment by Anatol Pomozov (anatolik) - Friday, 04 September 2015, 16:05 GMT
> it would be a good idea to add that option to the PKGBUILD

Please provide more information behind this argument. Why it is a good idea? What problems it suppose to fix?
Comment by Pierre Chapuis (catwell) - Saturday, 05 September 2015, 08:41 GMT
Having the static library is useful when developing with Lua, and some software has build systems that only know how to link Lua statically.

It doesn't really bother me if you don't ship the static library though, it is easy to rebuild myself. However I was puzzled because the PKGBUILD installs the static library at the packaging step (make TO_LIB="liblua.a ..." install). I suggest removing liblua.a from TO_LIB since it will be stripped out later.
Comment by Lex Black (TrialnError) - Monday, 20 March 2023, 10:23 GMT
The point about TO_LIB is still valid[0].
Reassign to the current maintainer? If this line should be adjusted or not?
In regards of adding staticlibs there weren't breaking packages reported so alone in that regard this issue could be closed.
__________
[0] https://github.com/archlinux/svntogit-packages/blob/4d745dc13992534be6bb02df4d1ab052fbdc4a0e/trunk/PKGBUILD#L41
Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.

Loading...