Gentoo Archives: gentoo-user

From: "Arttu V." <arttuv69@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] sys-power/nut-2.4.3-r2 fails to compile driver
Date: Thu, 15 Jul 2010 12:26:22
Message-Id: AANLkTikymKIOIADxbTjPGeceY_1JUvLWiOrJ_-LC00LQ@mail.gmail.com
In Reply to: [gentoo-user] sys-power/nut-2.4.3-r2 fails to compile driver by Dale
1 On 7/15/10, Dale <rdalek1967@×××××.com> wrote:
2 > Hi folks,
3 >
4 > I'm trying to upgrade nut to the latest stable version. I have the
5 > driver set in make.conf and according to the website, it is the correct
6 > driver. I also while searching around noticed I need to make sure I
7 > have the driver in /lib/nut and sure enough, it is there. In make.conf
8 > I have this:
9 >
10 > NUT_DRIVERS="cyberpower"
11 >
12 > This is the error I am getting:
13 >
14 > make[1]: Entering directory
15 > `/var/tmp/portage/sys-power/nut-2.4.3-r2/work/nut-2.4.3/drivers'
16 > make[1]: *** No rule to make target `cyberpower', needed by `all-am'. Stop.
17 > make[1]: Leaving directory
18 > `/var/tmp/portage/sys-power/nut-2.4.3-r2/work/nut-2.4.3/drivers'
19 > make: *** [all-recursive] Error 1
20 > * ERROR: sys-power/nut-2.4.3-r2 failed:
21 > * emake failed
22 > *
23 > * Call stack:
24 > * ebuild.sh, line 48: Called src_compile
25 > * environment, line 2904: Called _eapi2_src_compile
26 > * ebuild.sh, line 640: Called die
27 > * The specific snippet of code:
28 > * emake || die "emake failed"
29 > *
30 > * If you need support, post the output of 'emerge --info
31 > =sys-power/nut-2.4.3-r2',
32 > * the complete build log and the output of 'emerge -pqv
33 > =sys-power/nut-2.4.3-r2'.
34 > * The complete build log is located at
35 > '/var/log/portage/elog/sys-power:nut-2.4.3-r2:20100715-034546.log'.
36 > * The ebuild environment file is located at
37 > '/var/tmp/portage/sys-power/nut-2.4.3-r2/temp/environment'.
38 > * S: '/var/tmp/portage/sys-power/nut-2.4.3-r2/work/nut-2.4.3'
39 >
40 > >>> Failed to emerge sys-power/nut-2.4.3-r2, Log file:
41 >
42 > >>> '/var/log/portage/elog/sys-power:nut-2.4.3-r2:20100715-034546.log'
43 > *
44 > * The following package has failed to build or install:
45 > *
46 > * ('ebuild', '/', 'sys-power/nut-2.4.3-r2', 'merge'), Log file:
47 > * '/var/log/portage/elog/sys-power:nut-2.4.3-r2:20100715-034546.log'
48 > *
49 > root@smoker / #
50 >
51 > Any idea why it can't make my driver when it is the right one and is set
52 > in make.conf? What am I missing? Oh, this is connected to my serial
53 > port, NOT the USB port.
54
55 Wrong driver combined with outdated website info or other docs?
56
57 I have no idea of their driver model but a hunch from the basis of
58 cups and a quick grep would lead me to suggest that cyberpower driver
59 possibly no longer exists. It might have been replaced by powerpanel:
60
61 drivers/powerpanel.c: * powerpanel.c - Model specific routines for
62 CyberPower text/binary
63
64 --
65 Arttu V. -- Running Gentoo is like running with scissors

Replies

Subject Author
Re: [gentoo-user] sys-power/nut-2.4.3-r2 fails to compile driver Dale <rdalek1967@×××××.com>