[Bug 254650] lang/lua*: Installation of some Lua packages result in multiple/additional Lua versions to be installed
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Mar 30 15:58:30 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254650
andrew at tao11.riddles.org.uk changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andrew at tao11.riddles.org.uk
--- Comment #4 from andrew at tao11.riddles.org.uk ---
So the issue here is that the port origin "security/luasec" actually builds
four packages, one for each supported lua version, and "pkg install
security/luasec" is an explicit request to install all four, not just the ones
matching the already installed lua versions.
"pkg install lua52-luasec lua54-luasec" would install just the two specified
versions.
This behavior (having each port origin build packages for every version) is
necessary in order to satisfy dependencies from other ports. For example, a
package which supports only lua53 and requires luasec will have a dependency on
lua53-luasec (built from security/luasec at lua53). In such a case, you would need
the lua53 language package to be brought in even if not already installed.
lua52 is the current "default" version (see Mk/bsd.default-versions.mk) which
means that many prebuilt packages will depend on it (but not all, because not
all ports support lua 5.2 and those that don't will build with the nearest
version that they support).
(tl,dr: works as designed, no bug here)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list