Bug 243430 - Mk/Scripts/qa.sh: Stage-QA fails to detect USES=lua
Summary: Mk/Scripts/qa.sh: Stage-QA fails to detect USES=lua
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Port Management Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-18 14:22 UTC by Jason W. Bacon
Modified: 2022-07-08 08:40 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason W. Bacon freebsd_committer freebsd_triage 2020-01-18 14:22:30 UTC
====> Running Q/A tests (stage-qa)
Error: /usr/local/lib/slurm/job_submit_lua.so is linked to /usr/local/lib/liblua
-5.3.so from lang/lua53 but it is not declared as a dependency
Warning: you need USES+=lua

<<<ROOT@unixdev.ceas>>> /usr/ports/wip/slurm-wlm 1064 # grep lua Makefile 
USES=		compiler:c11 gmake gnome libtool lua pkgconfig python:build \
Comment 1 Alexey Dokuchaev freebsd_committer freebsd_triage 2022-07-08 08:40:54 UTC
I observe this as well with e.g. `x11-fm/worker' port:

$ make showconfig | grep LUA 
     LUA=on: Lua scripting language support
$ grep LUA_USES Makefile
LUA_USES=       lua
$ make stage-qa
====> Running Q/A tests (stage-qa)
Error: /usr/local/bin/worker is linked to /usr/local/lib/liblua-5.1.so from lang/lua51 but it is not declared as a dependency
Warning: you need USES+=lua
$ _