Date: Tue, 01 Jun 2021 13:28:19 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 250335] ports-mgmt/portmaster: tries to build devel/git@lite even if devel/git@default is already installed Message-ID: <bug-250335-7788-tLJ7JrrXTp@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-250335-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-250335-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=3D250335 --- Comment #9 from Stefan E=C3=9Fer <se@FreeBSD.org> --- Created attachment 225451 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D225451&action= =3Dedit Patch to make conflicts check not ignore same origin packages Another comment regarding the root cause of this issue: CONFLICTS_INSTALL is treated differently in bsd.port.mk and by the pkg comm= and. In bsd.port.mk no output is generated by "make check-install-conflicts" for conflicting packages, if the origin is the same. This is despite all other variants than for the currently built FLAVOR are listed in the *_INSTALL_CONFLICTS variables for each FLAVOR. And since "git" and "git-lite" both have the same origin, "make check-install-conflicts" does not list them as conflicting. The pkg command does not care for the origin, and it detects the conflict. IMHO, the test in bsd.port.mk should be aligned with the one in the pkg com= mand to give an early indication of the conflict that else will only be detected during the install phase. The attached patch does only remove the comparison with $orgn - a more comp= lete patch would remove %o from the pkg query string and orgn from the while loo= p. This patch is only meant to demonstrate the effect on the output of "make check-install-conflicts" and to show that it fixes the issue reported in th= is PR. --=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-250335-7788-tLJ7JrrXTp>