| Summary: | vcron 3.0.1-r4 gives DEPEND/*DEPEND error | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Gert-Jan Rodenburg <hertog> |
| Component: | [OLD] Core system | Assignee: | Preston A. Elder (RETIRED) <prez> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | gentoo-bugs2, weeve |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
Fixed ebuild for cronbase
Fixes cronbase dependancy |
||
Alternatively, if the version info is intentional, changing it to:
[code]
RDEPEND="!virtual/cron
>=sys-apps/cronbase-0.2.1-r3
virtual/mta
selinux? ( sys-libs/libselinux )"
[/code]
or
[code]
RDEPEND="!virtual/cron
=sys-apps/cronbase-0.2.1-r3
virtual/mta
selinux? ( sys-libs/libselinux )"
[/code]
would work.
Created attachment 20944 [details, diff]
Fixed ebuild for cronbase
Here's a little patch that should solve the problem. Woohoo - my first patch contrib :) Created attachment 20951 [details, diff]
Fixes cronbase dependancy
This patch should actually work ;)
cd /usr/portage/sys-apps/vcron
patch -p0 < /path/to/vcron-3.0.1-r4-cronbasefix.patch
|
in the ebuild for vcron 3.0.1-r4 the RDEPEND line shows the following: [code] RDEPEND="!virtual/cron sys-apps/cronbase-0.2.1-r3 virtual/mta selinux? ( sys-libs/libselinux )" [/code] the r3 version of vcron has: [code] RDEPEND="!virtual/cron sys-apps/cronbase virtual/mta selinux? ( sys-libs/libselinux )" [/code] the r4 ebuild crashes while emerging with: [code] emerge --deep -up world These are the packages that I would merge, in order: Calculating world dependencies \ emerge: there are no masked or unmasked ebuilds to satisfy "sys-apps/cronbase-0.2.1-r3". !!! Problem with ebuild sys-apps/vcron-3.0.1-r4 !!! Possibly a DEPEND/*DEPEND problem. !!! Depgraph creation failed. [/code] When I remove the version number from the RDEPEND part of the r4 ebuild, and make it more like the r3 ebuild (exactly the same actually), it [i]and[/i] updates the cronbase to the latest version, [i]and[/i] emerges vcron r4 like a charm. Now I am not an ebuild expert, but should there be version info in the RDEPEND section? Reproducible: Always Steps to Reproduce: 1.emerge sync 2.emerge --deep -up world 3. Actual Results: emerge stops with the following error: emerge --deep -up world These are the packages that I would merge, in order: Calculating world dependencies \ emerge: there are no masked or unmasked ebuilds to satisfy "sys-apps/cronbase-0.2.1-r3". !!! Problem with ebuild sys-apps/vcron-3.0.1-r4 !!! Possibly a DEPEND/*DEPEND problem. !!! Depgraph creation failed. Expected Results: upgrade system (including vcron) make the RDEPEND section of the r4 version of vcron look like this: [code] RDEPEND="!virtual/cron sys-apps/cronbase virtual/mta selinux? ( sys-libs/libselinux )" [/code] and everything works.