Skip to contentSkip to conversation

lighttpd: drop hard-coded lua version in PACKAGECONFIG

PATCH New Trevor Gamblin 1 participant 1 message Aug 22, 2019

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 lighttpd: drop hard-coded lua version in PACKAGECONFIG

From: Trevor Gamblin <[email protected]>

When building lighttpd with PACKAGECONFIG_append_pn-lighttpd = "lua" in local.conf, bitbake gives the following error:

ERROR: Nothing PROVIDES 'lua5.1' (but /home/tgamblin/build/oe-core/meta/recipes-extended/lighttpd/lighttpd_1.4.54.bb DEPENDS on or otherwise requires it)
NOTE: Runtime target 'lighttpd' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['lighttpd', 'lua5.1']

Removing the "5.1" from the PACKAGECONFIG line in lighttpd_1.4.54.bb fixes the issue.

---
 meta/recipes-extended/lighttpd/lighttpd_1.4.54.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-extended/lighttpd/lighttpd_1.4.54.bb +1 -1
index ba1a2c5..72990d0 100644
@@ -44,7 +44,7 @@ PACKAGECONFIG[webdav-props] = "--with-webdav-props,--without-webdav-props,libxml
 PACKAGECONFIG[webdav-locks] = "--with-webdav-locks,--without-webdav-locks,util-linux"
 PACKAGECONFIG[gdbm] = "--with-gdbm,--without-gdbm,gdbm"
 PACKAGECONFIG[memcache] = "--with-memcached,--without-memcached,libmemcached"
-PACKAGECONFIG[lua] = "--with-lua,--without-lua,lua5.1"
+PACKAGECONFIG[lua] = "--with-lua,--without-lua,lua"
 
 EXTRA_OECONF += "--enable-lfs"
 
Signature · 1 line
2.7.4