Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 726648 - net-analyzer/netdata should depend on dev-libs/json-c:=
Summary: net-analyzer/netdata should depend on dev-libs/json-c:=
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-01 14:07 UTC by Daniel M. Weeks
Modified: 2020-06-06 01:38 UTC (History)
0 users

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 Daniel M. Weeks 2020-06-01 14:07:08 UTC
>>> package: dev-libs/json-c-0.14-r3
 *  - /usr/lib64/libjson-c.so.4
 *  - /usr/lib64/libjson-c.so.4.0.0
 *      used by /usr/sbin/netdata (net-analyzer/netdata-1.21.1-r1)

Reproducible: Always
Comment 1 Craig Andrews gentoo-dev 2020-06-01 18:21:25 UTC
net-analyzer/netdata-1.21.1-r1 already has this dependency:
jsonc? ( dev-libs/json-c )

Are you saying it always depends on json-c, even with USE="-jsonc"? Or you saying the dependency needs to be changed to dev-libs/json-c:=? Or both?

Thanks!
Comment 2 Daniel M. Weeks 2020-06-04 15:26:30 UTC
(In reply to Craig Andrews from comment #1)
> net-analyzer/netdata-1.21.1-r1 already has this dependency:
> jsonc? ( dev-libs/json-c )
> 
> Are you saying it always depends on json-c, even with USE="-jsonc"? Or you
> saying the dependency needs to be changed to dev-libs/json-c:=? Or both?
> 
> Thanks!

I can only confirm the latter as I have (had) it installed with USE=jsonc.
Comment 3 Larry the Git Cow gentoo-dev 2020-06-04 15:55:26 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bb67db7a2901e8efcdefd8daf45fc68dc80d024

commit 9bb67db7a2901e8efcdefd8daf45fc68dc80d024
Author:     Craig Andrews <candrews@gentoo.org>
AuthorDate: 2020-06-04 15:28:57 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2020-06-04 15:55:18 +0000

    net-analyzer/netdata: Depend on dev-libs/json-c:=
    
    Closes: https://bugs.gentoo.org/726648
    Package-Manager: Portage-2.3.100, Repoman-2.3.22
    Signed-off-by: Craig Andrews <candrews@gentoo.org>

 net-analyzer/netdata/netdata-1.22.1-r1.ebuild | 2 +-
 net-analyzer/netdata/netdata-9999.ebuild      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Comment 4 Daniel M. Weeks 2020-06-06 01:38:39 UTC
I believe this type of change needs to be a revbump otherwise binary packages will have stale data and will be installed broken.