[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
Wed Mar 31 02:58:06 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254650
parv <parv.0zero9+freebsd at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |parv.0zero9+freebsd at gmail.c
| |om
--- Comment #5 from parv <parv.0zero9+freebsd at gmail.com> ---
> 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.
Thanks for the pointer.
So one cannot simply rely on Ports tree structure anymore to generally
install a package simply based on the port directory hierarchy; really
would have to search first to find available packages (& make judgement
calls based on package names) to avoid extraneous software.
Or, one could just try to install from Ports (unless Rust); adjust
installed software after the fact if so desired.
> 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.
...
Of course, I do not have any issue with dependency requirements+solution as
mentioned.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list