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 1Qa7so-0006m4-RR for garchives@archives.gentoo.org; Fri, 24 Jun 2011 15:01:23 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D13E91C075; Fri, 24 Jun 2011 14:58:13 +0000 (UTC) Received: from mail-ww0-f53.google.com (mail-ww0-f53.google.com [74.125.82.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 702DF1C075 for ; Fri, 24 Jun 2011 14:58:12 +0000 (UTC) Received: by wwf26 with SMTP id 26so2608494wwf.10 for ; Fri, 24 Jun 2011 07:58:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=Z7K6QiAg+mXcKd2lQkUf4pBDki4KgSmI4sIOXCzy4WY=; b=gtO4ZQPcjuMTx97j79HtdACYB/S55v+61LoZjNODkzbsKV6kkKE4+JPuX9GOHgWXEe 7OoEjvIhwcWfhM9bAgeYp6C0/e4VrQs98TxjLnxaZFYBeTPUf6Fjpbu/d1KAVIszTP3Q 7L53sGR+V+vP79TW8q0mng6vr2CkoYxwEPjZA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:user-agent:in-reply-to:references :mime-version:content-transfer-encoding:content-type; b=BkzEW2FaDV1p3AUoIvCpZe92fVzKA18dbVGLjiCQ8CDfi1uBJGqvJDeeeUPN4/EhrX kbhQC4BtuZrn301MTASJw69E7oEpJepQVwlfC3B/tRl6fUa2jmRTEixaDaJF6c5Iornk e88LeHMyxHYa8vrhcLoUFDc407slw+NKOUYXE= Received: by 10.227.172.206 with SMTP id m14mr3306050wbz.29.1308927492239; Fri, 24 Jun 2011 07:58:12 -0700 (PDT) Received: from nazgul.localnet (196-210-183-215.dynamic.isadsl.co.za [196.210.183.215]) by mx.google.com with ESMTPS id o19sm2070586wbh.21.2011.06.24.07.58.09 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 24 Jun 2011 07:58:10 -0700 (PDT) From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] no keyboard no mouse Date: Fri, 24 Jun 2011 16:57:05 +0200 Message-ID: <6358552.mjGuFfGUtd@nazgul> User-Agent: KMail/4.6.0 (Linux/2.6.39-ck; KDE/4.6.4; x86_64; ; ) In-Reply-To: <20110624144224.GC7217@acm.acm> References: <1308905235.4e044f1384787@imp.free.fr> <20110624144224.GC7217@acm.acm> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" X-Archives-Salt: X-Archives-Hash: 5ad00a2fb32873c959970f38fc92f603 On Friday 24 June 2011 14:42:24 Alan Mackenzie did opine thusly: > Hi, Adam. > > On Fri, Jun 24, 2011 at 10:07:02PM +1000, Adam Carter wrote: > > >> No you just need to rebuild it, so emerge xf86-input-evdev > > > > > > This problem hit me too. Can you give us an explanation for > > > needing to rebuild evdev? Was there some missing > > > dependency in an ebuild, or something? > > > > If you update xorg (which OP didnt list, but a new version just > > went stable) you need to rebuild its drivers (unless they were > > automatically rebuilt due to version bump). > > Hmm. Recompiling the same source code produces a different binary? Not quite: Rebuilding the same sources against different headers produces a different binary. > Presumably, it uses C macros in a .h file which is part of xorg. Or > something like that. > > So evdev depends on xorg. Isn't there a way of expressing this in > evdev's ebuild? Something like the DEPEND variable? It's already there, but doesn't help as the update trigger never happens. Actually, you have the depend the wrong way round - evdev depends on xorg-server; to have the driver and for it to be useful, the xorg- server must be present, otherwise there is nothing for the drivers to build against. You want to force a rebuild that is the opposite of the DEPEND, but portage does not support that (it's a circular dependency). It will also not rebuild the driver as part of a regular update as there is not a new version of the driver, hence according to normal portage logic there is no need to do so. Make sense? -- alan dot mckinnon at gmail dot com