Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] sys-power/nut-2.4.3-r2 fails to compile driver
Date: Thu, 15 Jul 2010 04:06:06
Message-Id: 4C3E88E4.3000509@gmail.com
1 Hi folks,
2
3 I'm trying to upgrade nut to the latest stable version. I have the
4 driver set in make.conf and according to the website, it is the correct
5 driver. I also while searching around noticed I need to make sure I
6 have the driver in /lib/nut and sure enough, it is there. In make.conf
7 I have this:
8
9 NUT_DRIVERS="cyberpower"
10
11 This is the error I am getting:
12
13 make[1]: Entering directory
14 `/var/tmp/portage/sys-power/nut-2.4.3-r2/work/nut-2.4.3/drivers'
15 make[1]: *** No rule to make target `cyberpower', needed by `all-am'. Stop.
16 make[1]: Leaving directory
17 `/var/tmp/portage/sys-power/nut-2.4.3-r2/work/nut-2.4.3/drivers'
18 make: *** [all-recursive] Error 1
19 * ERROR: sys-power/nut-2.4.3-r2 failed:
20 * emake failed
21 *
22 * Call stack:
23 * ebuild.sh, line 48: Called src_compile
24 * environment, line 2904: Called _eapi2_src_compile
25 * ebuild.sh, line 640: Called die
26 * The specific snippet of code:
27 * emake || die "emake failed"
28 *
29 * If you need support, post the output of 'emerge --info
30 =sys-power/nut-2.4.3-r2',
31 * the complete build log and the output of 'emerge -pqv
32 =sys-power/nut-2.4.3-r2'.
33 * The complete build log is located at
34 '/var/log/portage/elog/sys-power:nut-2.4.3-r2:20100715-034546.log'.
35 * The ebuild environment file is located at
36 '/var/tmp/portage/sys-power/nut-2.4.3-r2/temp/environment'.
37 * S: '/var/tmp/portage/sys-power/nut-2.4.3-r2/work/nut-2.4.3'
38
39 >>> Failed to emerge sys-power/nut-2.4.3-r2, Log file:
40
41 >>> '/var/log/portage/elog/sys-power:nut-2.4.3-r2:20100715-034546.log'
42 *
43 * The following package has failed to build or install:
44 *
45 * ('ebuild', '/', 'sys-power/nut-2.4.3-r2', 'merge'), Log file:
46 * '/var/log/portage/elog/sys-power:nut-2.4.3-r2:20100715-034546.log'
47 *
48 root@smoker / #
49
50 Any idea why it can't make my driver when it is the right one and is set
51 in make.conf? What am I missing? Oh, this is connected to my serial
52 port, NOT the USB port.
53
54 Thanks.
55
56 Dale
57
58 :-) :-)

Replies

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