public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] sys-devel/autoconf wrong dependency?
@ 2024-01-31 12:56 Andreas Fink
  2024-01-31 16:15 ` Zac Medico
  2024-01-31 16:22 ` Ulrich Mueller
  0 siblings, 2 replies; 3+ messages in thread
From: Andreas Fink @ 2024-01-31 12:56 UTC (permalink / raw)
  To: gentoo-dev

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] sys-devel/autoconf wrong dependency?
  2024-01-31 12:56 [gentoo-dev] sys-devel/autoconf wrong dependency? Andreas Fink
@ 2024-01-31 16:15 ` Zac Medico
  2024-01-31 16:22 ` Ulrich Mueller
  1 sibling, 0 replies; 3+ messages in thread
From: Zac Medico @ 2024-01-31 16:15 UTC (permalink / raw)
  To: gentoo-dev, Andreas Fink


[-- Attachment #1.1: Type: text/plain, Size: 1032 bytes --]

On 1/31/24 04:56, Andreas Fink wrote:
> 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
> 

Yeah, that's not intended. Reported as https://bugs.gentoo.org/923424.
-- 
Thanks,
Zac


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] sys-devel/autoconf wrong dependency?
  2024-01-31 12:56 [gentoo-dev] sys-devel/autoconf wrong dependency? Andreas Fink
  2024-01-31 16:15 ` Zac Medico
@ 2024-01-31 16:22 ` Ulrich Mueller
  1 sibling, 0 replies; 3+ messages in thread
From: Ulrich Mueller @ 2024-01-31 16:22 UTC (permalink / raw)
  To: Andreas Fink; +Cc: gentoo-dev

>>>>> On Wed, 31 Jan 2024, Andreas Fink wrote:

> 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`. [...]

No, it should be ${CATEGORY}/${P} when referring to the package itself.
That's what these variables are for.

Ulrich


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-01-31 16:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-31 12:56 [gentoo-dev] sys-devel/autoconf wrong dependency? Andreas Fink
2024-01-31 16:15 ` Zac Medico
2024-01-31 16:22 ` Ulrich Mueller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox