Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83629 - sys-apps/apcupsd should not rdepend on sys-apps/hotplug
Summary: sys-apps/apcupsd should not rdepend on sys-apps/hotplug
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Michael Imhof (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-28 19:29 UTC by Keith Constable
Modified: 2005-03-28 10:40 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 Keith Constable 2005-02-28 19:29:12 UTC
On a fresh install of Gentoo x86 2004.3, I attempted to emerge apcupsd.  Portage wished to merge the following:
[ebuild  N    ] net-mail/mailbase-0.00-r8  +pam 0 kB 
[ebuild  N    ] mail-mta/ssmtp-2.61  -ipv6 -mailwrapper -md5sum +ssl 52 kB 
[ebuild  N    ] sys-apps/pciutils-2.1.11-r3  -debug 202 kB 
[ebuild  N    ] sys-apps/usbutils-0.11-r3  267 kB 
[ebuild  N    ] sys-apps/hotplug-20040923  43 kB 
[ebuild  N    ] sys-apps/apcupsd-3.10.16-r3  -apache2 -doc -gd -snmp +usb 4,919 kB

I had specifically avoided merging both coldplug and hotplug due to the fact that this would be a headless box, and I would not be "hotswapping" anything in it (be it USB or otherwise).  I had it working just fine adding any needed modules to the appropriate /etc/modules.autoload/kernel-*.

I added sys-apps/hotplug to /etc/portage/profile/package.provided, and afterwards, portage wanted to merge something much more reasonable:
[ebuild  N    ] net-mail/mailbase-0.00-r8  +pam 0 kB 
[ebuild  N    ] mail-mta/ssmtp-2.61  -ipv6 -mailwrapper -md5sum +ssl 52 kB 
[ebuild  N    ] sys-apps/apcupsd-3.10.16-r3  -apache2 -doc -gd -snmp +usb 4,919 kB

The merge completed successfully and apcupsd works just fine without hotplug, pciutils, and usbutils.  As such, I recommend that sys-apps/hotplug be removed from RDEPEND.

(Also, this may be out of the scope of this bug, but it's semi-related: virtual/mta should probably be in RDEPEND rather than DEPEND.  As far as I know, an mta would just be necessary for sending automated mail to the sysadmin and is not necessary to compile the program.  I may be wrong, though; I haven't tested it.)
Comment 1 Michael Imhof (RETIRED) gentoo-dev 2005-03-28 10:40:22 UTC
Fixed in apcupsd-3.10.17
Thanks for your help.