Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 364799 - cron.eclass blocks all cron daemon installations
Summary: cron.eclass blocks all cron daemon installations
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Cron Team
URL:
Whiteboard:
Keywords:
: 365455 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-04-25 13:51 UTC by Asbjorn Sannes
Modified: 2011-05-02 03:04 UTC (History)
2 users (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 Asbjorn Sannes 2011-04-25 13:51:10 UTC
The cron.eclass has an RDEPEND that blocks all cron daemon installations. This makes it not work on paludis and other tools that honors the dependency.

Maybe it would be better to keep such information in the ebuild of the packages, since some of them can actually be installed in parallel with others. (Such as fcron which does not install a crontab command and keeps its files in seperate directories (if you remove running of /etc/cron.daily and such).
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-04-25 21:25:52 UTC
RCS file: /var/cvsroot/gentoo-x86/eclass/cron.eclass,v
Working file: cron.eclass
head: 1.13
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 14;    selected revisions: 14
description:
----------------------------
revision 1.13
date: 2011-04-20 19:49:19 +0200;  author: ulm;  state: Exp;  lines: +7 -5;  commitid: 3c24daf1c454567;
Don't PROVIDE virtual/cron, bug 360109.
Replace blocker against virtual/cron by explicit blockers against packages.
----------------------------
Comment 2 Ulrich Müller gentoo-dev 2011-04-25 22:49:17 UTC
Shouldn't be a problem according to PMS, which says in section 9.2.5.2, <http://dev.gentoo.org/~ulm/pms/head/pms.html#x1-830009.2.5>:

  "Blocks on the ebuild itself do not count."

Could you please post the concrete error message that you get from the package manager? Which cron package(s) are installed on your system?
Comment 3 Asbjorn Sannes 2011-04-26 06:13:08 UTC
This is on a newly installed system (from stage3) so there should not be any other cron packages installed. I will however double check that now, just in case.

The output from paludis is:
# cave resolve fcron
Done: 317 steps               

These are the actions I will take, in order:

(nothing to do)

I encountered the following errors:

!   sys-process/fcron
    Reasons: target, !sys-process/fcron from sys-process/fcron
    Unsuitable candidates:
      * sys-process/fcron-3.0.5-r2:0::gentoo
        Did not meet !sys-process/fcron, use existing if possible, installing to / from !sys-process/fcron from sys-process/fcron
      * sys-process/fcron-3.0.6-r1:0::gentoo
        Did not meet !sys-process/fcron, use existing if possible, installing to / from !sys-process/fcron from sys-process/fcron
      * sys-process/fcron-3.0.6-r2:0::gentoo
        Did not meet !sys-process/fcron, use existing if possible, installing to / from !sys-process/fcron from sys-process/fcron
Comment 4 Asbjorn Sannes 2011-04-26 06:17:19 UTC
All the packages blocked in cron.eclass blocks themselves on paludis. Also no installed ebuild inherits the cron eclass.
Comment 5 Ulrich Müller gentoo-dev 2011-04-26 11:39:50 UTC
revision 1.14
date: 2011-04-26 13:37:37 +0200;  author: ulm;  state: Exp;  lines: +5 -7;  commitid: 22164db6ae804567;
Avoid self-blocker to work around a problem in paludis, bug 364799.
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2011-05-02 03:04:52 UTC
*** Bug 365455 has been marked as a duplicate of this bug. ***