The !~sys-devel/${P}:2.5 in RDEPEND triggers and immediate package move and emerge --changed-deps: https://gitweb.gentoo.org/repo/gentoo.git/commit/dev-build/autoconf/autoconf-2.72-r1.ebuild?id=1ee062ba1d57ad391adee1c135dcf474dc30d6b4 Previously reported to gentoo-dev: > From: Andreas Fink <finkandreas@web.de> > To: gentoo-dev@lists.gentoo.org > Subject: [gentoo-dev] sys-devel/autoconf wrong dependency? > > With the move of sys-devel/autoconf to dev-build/autoconf the ebuild > has some inconsistency, namely in the RDEPEND section, it is saying: > > RDEPEND=" > ${BDEPEND} > >=dev-build/autoconf-wrapper-20231224 > sys-devel/gnuconfig > !~sys-devel/${P}:2.5 > " > > This should probably be `!~dev-build/${P}:2.5`. It shows up in the > following as a problem: > emerge -auvDN --changed-deps=y --with-bdeps=y @world # --> merges autoconf-2.72-r1 > > Now: > emaint --fix all # --> fixes dependency from sys-devel/autoconf to dev-build/autoconf > > and again a full system update: > emerge -auvDN --changed-deps=y --with-bdeps=y @world # --> merges autoconf-2.72-r1 > > This would want to again install autoconf, due to the changed-deps flag. > > I am quite sure that this is not the intended behaviour, or is it? > > Best > Andreas
I wonder why it didn't just use ${CATEGORY}.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5ed276f70cc61e7236a5e7bc4d7db50543d74d3 commit f5ed276f70cc61e7236a5e7bc4d7db50543d74d3 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-01-31 16:13:49 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-01-31 16:14:06 +0000 dev-build/autoconf: fix blocker after pkgmove Closes: https://bugs.gentoo.org/923424 Signed-off-by: Sam James <sam@gentoo.org> dev-build/autoconf/autoconf-2.69-r9.ebuild | 2 +- dev-build/autoconf/autoconf-2.71-r6.ebuild | 2 +- dev-build/autoconf/autoconf-2.71-r7.ebuild | 2 +- dev-build/autoconf/autoconf-2.72-r1.ebuild | 2 +- dev-build/autoconf/autoconf-9999.ebuild | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-)
Filed https://github.com/pkgcore/pkgcheck/issues/659 too
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f295ec3cd0c8bf7b105ee4f7e59197f1db90a3b commit 0f295ec3cd0c8bf7b105ee4f7e59197f1db90a3b Author: Sam James <sam@gentoo.org> AuthorDate: 2024-03-26 23:17:48 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-03-26 23:17:48 +0000 dev-build/autoconf-vanilla: update blocker for pkgmove As we did for autoconf earlier. Bug: https://bugs.gentoo.org/923424 Signed-off-by: Sam James <sam@gentoo.org> dev-build/autoconf-vanilla/autoconf-vanilla-2.69.ebuild | 2 +- dev-build/autoconf-vanilla/autoconf-vanilla-2.71.ebuild | 2 +- dev-build/autoconf-vanilla/autoconf-vanilla-2.72.ebuild | 2 +- dev-build/autoconf-vanilla/autoconf-vanilla-9999.ebuild | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)