Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 881291

Summary: net-misc/chrony-4.3-r2: wrong dep
Product: Gentoo Linux Reporter: Perfect Gentleman <perfect007gentleman>
Component: Current packagesAssignee: Sam James <sam>
Status: RESOLVED INVALID    
Severity: normal CC: base-system, fturco, ionen
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=920571
Whiteboard:
Package list:
Runtime testing required: ---

Description Perfect Gentleman 2022-11-14 11:55:31 UTC
readline? ( dev-libs/libedit )
should be
readline? ( dev-libs/readline )



Reproducible: Always
Comment 1 Perfect Gentleman 2022-11-14 11:59:37 UTC
readline? ( dev-libs/libedit )
should be
readline? ( sys-libs/readline )
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-14 12:49:06 UTC
No, it's right.

We have a tendency to reuse the same name for features.

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c02869eecf10098e7a8622a95448f0cc9d973ac0
Comment 3 Perfect Gentleman 2022-11-14 15:10:23 UTC
(In reply to Sam James from comment #2)
> No, it's right.
> 
> We have a tendency to reuse the same name for features.
> 
> https://gitweb.gentoo.org/repo/gentoo.git/commit/
> ?id=c02869eecf10098e7a8622a95448f0cc9d973ac0

I built fine chrony without libedit
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-14 15:30:44 UTC
Then turn off USE=readline?
Comment 5 Ionen Wolkens gentoo-dev 2022-11-15 05:37:14 UTC
In case haven't seen it and still unclear, the ebuild has this comment explaining it:

        # USE=readline here means "readline-like functionality"
        # chrony only supports libedit in terms of the library providing
        # it.
        $(usev !readline '--without-editline --disable-readline')

./configure only tests editline/readline.h rather than readline/readline.h:

    if test_code editline 'stdio.h editline/readline.h' '' '-ledit'

So as mentioned above, if you don't want readline-like functionality using libedit, just disable USE=readline because you're not using sys-libs/readline either way (no support).