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

Bug 841401

Summary: dev-libs/json-c: automagic dev-libs/libbsd dependency
Product: Gentoo Linux Reporter: Sam James <sam>
Component: Current packagesAssignee: Jakov Smolić <jsmolic>
Status: RESOLVED FIXED    
Severity: normal CC: luka.perkov, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-04-28 01:39:14 UTC
From iwdevtools on merge:
 * VDB: detected possibly incorrect RDEPEND (dev-libs/json-c-0.16)
 *  > dev-libs/libbsd

Seems right: https://github.com/json-c/json-c/commit/041cef434afe0d0c6da8b6ac1d1fa26087246dda.
Comment 1 Larry the Git Cow gentoo-dev 2022-04-28 06:54:18 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88b6a5ef36144818e4376da7dd8e7a368d995aff

commit 88b6a5ef36144818e4376da7dd8e7a368d995aff
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2022-04-28 06:50:06 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2022-04-28 06:53:58 +0000

    dev-libs/json-c: Drop automagic libbsd dependency
    
    The only use of libbsd seems to be for additional arc4random function,
    so let's entirely avoid depending on libbsd.
    
    Closes: https://bugs.gentoo.org/841401
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 dev-libs/json-c/{json-c-0.16.ebuild => json-c-0.16-r1.ebuild} | 1 +
 dev-libs/json-c/json-c-9999.ebuild                            | 1 +
 2 files changed, 2 insertions(+)
Comment 2 Jakov Smolić archtester gentoo-dev 2022-04-28 06:57:17 UTC
(In reply to Sam James from comment #0)
> From iwdevtools on merge:
>  * VDB: detected possibly incorrect RDEPEND (dev-libs/json-c-0.16)
>  *  > dev-libs/libbsd
> 
> Seems right:
> https://github.com/json-c/json-c/commit/
> 041cef434afe0d0c6da8b6ac1d1fa26087246dda.

Thanks for catching this, I missed it while diffing the changes between versions! I do need to start using iwdevtools more :D