coolsnowwolf / packages

Community maintained packages for OpenWrt.
GNU General Public License v2.0
182 stars 544 forks source link

packages/net/haproxy dependent on liblua5.3 #77

Closed 02015678 closed 3 years ago

02015678 commented 3 years ago

Maintainer: @coolsnowwolf Environment: Friendlyarm NanoPi R2S Rockchip RK3328 ARM Cortex-A53, Openwrt 19.07

Description: Consider NOT to put haproxy new version into default branch master? New version haproxy depend on liblua5.3, while liblua5.3 is not available in package feed. Previous version (branch openwrt-19.07) does not depend on liblua5.3, instead Makefile download lua 5.X by itself.

It will make compilation fails due to lua5.3 not found. Workaround is specity branch in src-git src-git packages https://github.com/coolsnowwolf/packages;openwrt-19.07

02015678 commented 3 years ago

For branch master, net/haproxy (new version) depend on lua5.3, but this src-git does not provide lua5.3. If switch to openwrt-19.07 branch, haproxy makefile download & install lua5.3 by itself, no dependency issue.

For branch openwrt-19.07, utils/coreutils (old version) conflict with ALTERNATIVE busybox. The ALTERNATIVE handling fix from upstream is marked as master branch, but NOT avialable in branch openwrt-19.07.

02015678 commented 3 years ago

Another workaround is to copy lua5.3 from coolsnowwolf/lede to package directory of openwrt. https://github.com/coolsnowwolf/lede/tree/master/package/utils/lua5.3