From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OZNW9-00043W-SH for garchives@archives.gentoo.org; Thu, 15 Jul 2010 12:26:22 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 78137E0B92; Thu, 15 Jul 2010 12:25:38 +0000 (UTC) Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com [209.85.214.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 32AC8E0B92 for ; Thu, 15 Jul 2010 12:25:38 +0000 (UTC) Received: by bwz6 with SMTP id 6so872467bwz.40 for ; Thu, 15 Jul 2010 05:25:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=QvBKtSyLkCYvj3Af3ZNRcgsgLuCG2gX4z5m3E/tg8gM=; b=AO9xdBHM7StjJ9IZ3TGvyRdCU4QaaxP7nAnOxiMYFZ5bJvmHQliSlkolj6rk+ZW3r8 o7WN967kZw3D4dHH3FBg16g/rDf/COxrI4q6HfwSLWUvm5RSQobKvKROFxkURyzZ65HZ f5reQm8GF1Z1dYMTy4GQWhkJa14no2UP1134o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=O43fkV50B8njFRp58Mex3h5YJx1g4OVgdWUzTxAZMsIdONnvlmltHpOx9erv8l8L58 iiFkFGLaF7OfNo+ZfYgBrpfDXsfKyfPR1YGt8CpZmldiV0hqXZ27hek63Y0Fd84NGN23 S6zKSd4sgsZbomK5AIPRDa/67O/ASM65JPt1I= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.204.51.77 with SMTP id c13mr14727368bkg.98.1279196737483; Thu, 15 Jul 2010 05:25:37 -0700 (PDT) Received: by 10.204.80.75 with HTTP; Thu, 15 Jul 2010 05:25:37 -0700 (PDT) In-Reply-To: <4C3E88E4.3000509@gmail.com> References: <4C3E88E4.3000509@gmail.com> Date: Thu, 15 Jul 2010 15:25:37 +0300 Message-ID: Subject: Re: [gentoo-user] sys-power/nut-2.4.3-r2 fails to compile driver From: "Arttu V." To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 X-Archives-Salt: e29d4cc0-e9f9-4c47-a0c2-7bf90f7d31ce X-Archives-Hash: b57cb7cca26a41bd36bd9392d09ed8d8 On 7/15/10, Dale wrote: > Hi folks, > > I'm trying to upgrade nut to the latest stable version. I have the > driver set in make.conf and according to the website, it is the correct > driver. I also while searching around noticed I need to make sure I > have the driver in /lib/nut and sure enough, it is there. In make.conf > I have this: > > NUT_DRIVERS="cyberpower" > > This is the error I am getting: > > make[1]: Entering directory > `/var/tmp/portage/sys-power/nut-2.4.3-r2/work/nut-2.4.3/drivers' > make[1]: *** No rule to make target `cyberpower', needed by `all-am'. Stop. > make[1]: Leaving directory > `/var/tmp/portage/sys-power/nut-2.4.3-r2/work/nut-2.4.3/drivers' > make: *** [all-recursive] Error 1 > * ERROR: sys-power/nut-2.4.3-r2 failed: > * emake failed > * > * Call stack: > * ebuild.sh, line 48: Called src_compile > * environment, line 2904: Called _eapi2_src_compile > * ebuild.sh, line 640: Called die > * The specific snippet of code: > * emake || die "emake failed" > * > * If you need support, post the output of 'emerge --info > =sys-power/nut-2.4.3-r2', > * the complete build log and the output of 'emerge -pqv > =sys-power/nut-2.4.3-r2'. > * The complete build log is located at > '/var/log/portage/elog/sys-power:nut-2.4.3-r2:20100715-034546.log'. > * The ebuild environment file is located at > '/var/tmp/portage/sys-power/nut-2.4.3-r2/temp/environment'. > * S: '/var/tmp/portage/sys-power/nut-2.4.3-r2/work/nut-2.4.3' > > >>> Failed to emerge sys-power/nut-2.4.3-r2, Log file: > > >>> '/var/log/portage/elog/sys-power:nut-2.4.3-r2:20100715-034546.log' > * > * The following package has failed to build or install: > * > * ('ebuild', '/', 'sys-power/nut-2.4.3-r2', 'merge'), Log file: > * '/var/log/portage/elog/sys-power:nut-2.4.3-r2:20100715-034546.log' > * > root@smoker / # > > Any idea why it can't make my driver when it is the right one and is set > in make.conf? What am I missing? Oh, this is connected to my serial > port, NOT the USB port. Wrong driver combined with outdated website info or other docs? I have no idea of their driver model but a hunch from the basis of cups and a quick grep would lead me to suggest that cyberpower driver possibly no longer exists. It might have been replaced by powerpanel: drivers/powerpanel.c: * powerpanel.c - Model specific routines for CyberPower text/binary -- Arttu V. -- Running Gentoo is like running with scissors