Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 468648

Summary: sys-power/apcupsd with sys-apps/sysvinit-2.88-r5 - configure expects wall
Product: Gentoo Linux Reporter: Fabio Coatti <fabio.coatti>
Component: [OLD] ServerAssignee: Matthew Marlowe (RETIRED) <mattm>
Severity: normal CC: bugzie, holger, polynomial-c
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: Apcupsd ebuild that depends on util-linux[tty-helpers]

Description Fabio Coatti 2013-05-05 09:56:52 UTC
the wall command has been removed from sys-apps/sysvinit-2.88-r5 and that's fine, as it is my understanding that some commands are moved to util-linux. However the wall command is not provided in util-linux package (I've emerged 9999 ebuild, that brought to me util-linux 2.23.38-a48c3)
I'm not so worried about wall being missing, but apcupsd relies on wall to do his job and thus the compilation fails on configure phase.
So I'm a bit stuck: no wall in sysvinit neither in util-linux; downgrading to r4 of sysvinit makes my system scream about blockers (some a bit funny, like this one:

 >=sys-apps/sysvinit-2.86-r6 required by (virtual/init-0::gentoo, installed)
what?? r6 ??? it's not even in portage!

[I] sys-apps/sysvinit
     Available versions:  2.87-r3 (~)2.88 2.88-r1 2.88-r2 2.88-r3 2.88-r4 (~)2.88-r5 {ibm selinux static KERNEL="FreeBSD"}
     Installed versions:  2.88-r5(07:37:39 05/05/2013)(-ibm -selinux -static KERNEL="-FreeBSD")

So I'm not sure where to start to tackle this issue... and messages from ups are indeed useful sometimes :D

Reproducible: Always
Comment 1 Billy DeVincentis 2013-05-08 12:44:13 UTC
same thing here, not sure of what to do
Comment 2 Travis Snoozy 2013-05-23 16:10:39 UTC
apcupsd needs to put a dep on util-linux, with the "tty-helpers" use-flag set. In the interim, if you set that use-flag yourself and re-emerge util-linux, it will unblock emerging apcupsd.
Comment 3 Travis Snoozy 2013-05-23 16:32:46 UTC
Created attachment 349004 [details]
Apcupsd ebuild that depends on util-linux[tty-helpers]

Based on apcupsd-3.14.10-r1. Put into local overlay and verified it forces the util-linux package to be rebuilt with the appropriate flag.
Comment 4 Joerg Neikes 2013-06-17 08:52:41 UTC
(In reply to Billy DeVincentis from comment #1)
> same thing here, not sure of what to do

First you have to set up a local Overlay entry or a network overlay.


Just files:

with layman:

network wide

Things for your overlay repository:
cd /path/of/overlay/
mkdir -p sys-power/apcupsd

copy orig files:
cd  /usr/portage/sys-power/apcupsd/
cp -a ChangeLog metadata.xml files/ /path/of/overlay/
cd /path/of/overlay/sys-power/apcupsd/
ebuild apcupsd-3.14.10-r2.ebuild digest

Now you can use the layman tool to get the updated apcupsd-3.14.10-r2.ebuild file and install it.

For file setup:
emerge --sync

For layman setup:
layman -s ALL 

emerge sys-power/apcupsd
Comment 5 Florian Faber 2013-09-02 12:33:05 UTC
The test for util-linux with tty-helpers is still not in place in apcupsd-3.14.10-r2..
Comment 6 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2013-09-11 12:03:50 UTC
*** Bug 483290 has been marked as a duplicate of this bug. ***
Comment 7 Matthew Marlowe (RETIRED) gentoo-dev 2013-10-21 21:29:04 UTC
resolved in 3.4.10-r4 which is in cvs, but without keywords during testing.
See bug 488306.