Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33815 - vcron 3.0.1-r4 gives DEPEND/*DEPEND error
Summary: vcron 3.0.1-r4 gives DEPEND/*DEPEND error
Status: RESOLVED DUPLICATE of bug 33820
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Preston A. Elder (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-19 03:54 UTC by Gert-Jan Rodenburg
Modified: 2005-07-17 13:06 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Fixed ebuild for cronbase (vcron-3.0.1-r4-cronbasefix.patch,325 bytes, patch)
2003-11-19 04:34 UTC, Roy Marples (RETIRED)
Details | Diff
Fixes cronbase dependancy (vcron-3.0.1-r4-cronbasefix.patch,320 bytes, patch)
2003-11-19 09:35 UTC, Roy Marples (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gert-Jan Rodenburg 2003-11-19 03:54:26 UTC
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.
Comment 1 Simon Farnsworth 2003-11-19 04:34:17 UTC
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.
Comment 2 Roy Marples (RETIRED) gentoo-dev 2003-11-19 04:34:18 UTC
Created attachment 20944 [details, diff]
Fixed ebuild for cronbase
Comment 3 Roy Marples (RETIRED) gentoo-dev 2003-11-19 04:35:52 UTC
Here's a little patch that should solve the problem.

Woohoo - my first patch contrib  :)
Comment 4 Roy Marples (RETIRED) gentoo-dev 2003-11-19 09:35:02 UTC
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
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2003-11-19 12:12:43 UTC

*** This bug has been marked as a duplicate of 33820 ***