Date: Tue, 30 Mar 2021 15:58:30 +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-rtyjmMy5yc@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 andrew@tao11.riddles.org.uk changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrew@tao11.riddles.org.uk --- Comment #4 from andrew@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 o= nes 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 dependenc= y 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. lua52 is the current "default" version (see Mk/bsd.default-versions.mk) whi= ch means that many prebuilt packages will depend on it (but not all, because n= ot 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) --=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-rtyjmMy5yc>