Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 923424 - dev-build/autoconf: !~sys-devel/autoconf:2.5 in RDEPEND triggers package move and emerge --changed-deps
Summary: dev-build/autoconf: !~sys-devel/autoconf:2.5 in RDEPEND triggers package move...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-31 16:07 UTC by Zac Medico
Modified: 2024-03-26 23:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zac Medico gentoo-dev 2024-01-31 16:07:43 UTC
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
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-31 16:09:02 UTC
I wonder why it didn't just use ${CATEGORY}.
Comment 2 Larry the Git Cow gentoo-dev 2024-01-31 16:14:50 UTC
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(-)
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-31 16:19:42 UTC
Filed https://github.com/pkgcore/pkgcheck/issues/659 too
Comment 4 Larry the Git Cow gentoo-dev 2024-03-26 23:18:30 UTC
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(-)