Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 492442 - app-admin/rsyslog should depend on dev-libs/json-c:=
Summary: app-admin/rsyslog 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: Ultrabug
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-24 16:56 UTC by Thomas Deutschmann (RETIRED)
Modified: 2013-12-24 12:24 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 Thomas Deutschmann (RETIRED) gentoo-dev 2013-11-24 16:56:28 UTC
Hi,

app-admin/rsyslog depends on dev-libs/json-c.

dev-libs/json-c supports sub slots.

If you would change the "dev-libs/json-c" line to "dev-libs/json-c:=" in rsyslog's ebuild (and bump the ebuild to EAPI 5) a new "dev-libs/json-c" sub slot would trigger an automatic rebuild of "app-admin/rsyslog".

See https://wiki.gentoo.org/wiki/Sub-slots_and_Slot-Operators


PS: Is there a reason why you are listening all the dependencies in RDEPEND *and* DEPEND? Splitting things up would improve parallel builds (emerge --jobs), wouldn't it?

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-11-24 17:06:40 UTC
(In reply to Thomas D. from comment #0)
> PS: Is there a reason why you are listening all the dependencies in RDEPEND
> *and* DEPEND? Splitting things up would improve parallel builds (emerge
> --jobs), wouldn't it?

They all look like valid build time dependencies so DEPEND=$RDEPEND is correct. How would not having that improve parallel builds?
Comment 2 Ultrabug gentoo-dev 2013-12-24 12:24:04 UTC
Hi Thomas, this is an interesting feature indeed which I hadn't used so far.

I've pushed it on the latest ebuild, hope this will work well :)

Cheers

+*rsyslog-7.4.7 (24 Dec 2013)
+
+  24 Dec 2013; Ultrabug <ultrabug@gentoo.org> rsyslog-7.2.7.ebuild,
+  rsyslog-7.4.3.ebuild, rsyslog-7.4.4.ebuild, rsyslog-7.4.6.ebuild,
+  +rsyslog-7.4.7.ebuild, metadata.xml:
+  Fix #490992, #494150 thx to Marcin Mirosław & Andrey Volkov. Fix #492442,
+  #494532 using slot operators thx to Thomas D. Add mongodb to IUSE fix #494268
+  thx to Vadim Kuznetsov. Version bump.
+