Date: Wed, 31 Mar 2021 02:58:05 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 254650] lang/lua*: Installation of some Lua packages result in multiple/additional Lua versions to be installed Message-ID: <bug-254650-7788-Am4rOzPaCE@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-254650-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-254650-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254650 parv <parv.0zero9+freebsd@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |parv.0zero9+freebsd@gmail.c | |om --- Comment #5 from parv <parv.0zero9+freebsd@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@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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254650-7788-Am4rOzPaCE>