From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6DF9E1387FD for ; Mon, 9 Jun 2014 15:39:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CC202E08A8; Mon, 9 Jun 2014 15:39:19 +0000 (UTC) Received: from mail.muc.de (colin.muc.de [193.149.48.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 77679E086A for ; Mon, 9 Jun 2014 15:39:18 +0000 (UTC) Received: (qmail 42115 invoked by uid 3782); 9 Jun 2014 15:39:16 -0000 Received: from acm.muc.de (pD951A23E.dip0.t-ipconnect.de [217.81.162.62]) by colin.muc.de (tmda-ofmipd) with ESMTP; Mon, 09 Jun 2014 17:39:15 +0200 Received: (qmail 19474 invoked by uid 1000); 9 Jun 2014 15:34:55 -0000 Date: Mon, 9 Jun 2014 15:34:55 +0000 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Systemd upower Message-ID: <20140609153454.GD3473@acm.acm> References: <20140603161406.0400709b5f38540475ac4c1f@web.de> <20140603171132.ae75635803e717fa6e8d0ec1@web.de> 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 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20140603171132.ae75635803e717fa6e8d0ec1@web.de> User-Agent: Mutt/1.5.21 (2010-09-15) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Archives-Salt: e8fd11f8-52ee-4e6f-bbd2-fcb280c13077 X-Archives-Hash: bf1b3922a1832b24203ca61ddae06dff On Tue, Jun 03, 2014 at 05:11:32PM +0200, Silvio Siefke wrote: > On Tue, 3 Jun 2014 09:29:35 -0500 Canek Peláez Valdés > wrote: > > If I understood correctly, you need to: > > emerge -C sys-power/upower > > emerge -1v sys-power/upower-pm-utils > > and then update world as usual. > Yes is correct, i has find out after read ebuilds from the packages which > need upower. I do this: emerge --unmerge upower emerge -1vp sys-power/upower-pm-utils , and I still get portage threatening to merge that other init system: These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] dev-python/lxml-3.3.5 USE="threads -beautifulsoup3 -doc -examples" PYTHON_TARGETS="python2_7 python3_3 -python3_2 (-python3_4)" 3,387 kB [ebuild N ] sys-apps/systemd-212-r5:0/2 USE="acl filecaps firmware-loader gudev introspection kmod pam policykit python seccomp -audit -cryptsetup -doc -gcrypt -http (-kdbus) -lzma -qrcode (-selinux) (-ssl) {-test} -vanilla -xattr" ABI_X86="(64) (-32) (-x32)" PYTHON_SINGLE_TARGET="python2_7 -python3_2 -python3_3" PYTHON_TARGETS="python2_7 python3_3 -python3_2" 2,659 kB [ebuild N ] sys-apps/gentoo-systemd-integration-4 52 kB [ebuild N ] virtual/libgudev-208 USE="introspection -static-libs" ABI_X86="(64) (-32) (-x32)" 0 kB [ebuild N ] sys-power/upower-pm-utils-0.9.23 USE="introspection -doc -ios" 416 kB [blocks B ] sys-fs/udev ("sys-fs/udev" is blocking sys-apps/systemd-212-r5, sys-apps/gentoo-systemd-integration-4) [blocks B ] sys-apps/systemd ("sys-apps/systemd" is blocking sys-fs/udev-208) Total: 5 packages (5 new), Size of downloads: 6,513 kB Conflict: 2 blocks (2 unsatisfied) Would somebody please help me sort this out. What am I doing wrong? Where is systemd coming from? I look in upower-pm-utils-0.9.23.ebuild, and the only reference to systemd seems to be right at the beginning: EAPI=5 inherit eutils systemd (, plus a couple of inconsequential references near the end.) I'm not quite sure exactly what "inherit" means here, but the FM (man (5) ebuild) says: Inherit is portage's maintenance of extra classes of functions that are external to ebuilds and provided as inheritable capabilities and data. They define functions and set data types as drop-in replacements, expanded, and simplified routines for extremely common tasks to streamline the build process. Call to inherit cannot depend on conditions which can vary in given ebuild. Specification of the eclasses contains only their name and not the .eclass extension. Also note that the inherit statement must come before other variable declarations unless these variables are used in global scope of eclasses. , which, being vague, leaves me still unsure what "inherit" means. ;-( Is there any documentation anywhere of what "inherit" actually DOES? What am I doing wrong? > Thanks for help & Nice Day > Silvio -- Alan Mackenzie (Nuremberg, Germany).