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 96056138CBF for ; Tue, 17 Mar 2015 20:31:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 80237E0AD8; Tue, 17 Mar 2015 20:31:48 +0000 (UTC) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 199EFE0AD1 for ; Tue, 17 Mar 2015 20:31:47 +0000 (UTC) Received: by wixw10 with SMTP id w10so21266957wix.0 for ; Tue, 17 Mar 2015 13:31:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=SYdP5PYnJY1k1Ak6iqhTetXXzT5aPbSP07dv+woCrBo=; b=EBVDRYS6mwjKl4NtUYankKUSCTwezfhRcKgLXxUbG5p99oAEInAxHrj3PPnREZg+kB xbEbXtEc8L7QIprAnkf9zLX+JMQJSycYGgiy45+4SnESawbmc3XJme6RrB7Vv7Ku3IYV Dtqvzhbqtg+n1H77yMlocOJv7OHTWjJRnQJghbMeR4pjF1i4Qq69f/XNRboaNr0KUxjl 99UA4W7NmXVosXRs0FvCkOkIdU5W3Q1lI4i+Vuo4YO4TM8WdOCtJIBWLsDoQZPxWaeoV eyBhehmnXHzwvrATv6XAOEKOeVIdEmRGKT6WqUKcfCQGlXdDCip357KQSqxcV8V/eQoO J9xA== X-Received: by 10.194.87.100 with SMTP id w4mr132015654wjz.65.1426624306008; Tue, 17 Mar 2015 13:31:46 -0700 (PDT) Received: from [172.20.0.41] ([105.210.24.72]) by mx.google.com with ESMTPSA id w3sm141667wiz.5.2015.03.17.13.31.43 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Mar 2015 13:31:44 -0700 (PDT) Message-ID: <55088F2D.5080708@gmail.com> Date: Tue, 17 Mar 2015 22:31:41 +0200 From: Alan McKinnon User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] eject and util-linux blocker References: <5506E3E8.8070008@gmail.com> <20150316153411.GA20837@waltdnes.org> <550786D0.2080602@gmail.com> <5507E27D.4050603@gmail.com> <55085E03.2090001@gmail.com> <550864C8.6000400@gmail.com> <55086E0B.5080703@gmail.com> <55088B86.70906@gmail.com> In-Reply-To: <55088B86.70906@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 97a3c3a3-4ed9-4db1-8c79-83f4bedbd80c X-Archives-Hash: bf26f9637e6e21ca857ec0afd5140448 On 17/03/2015 22:16, Dale wrote: > Mike Gilbert wrote: >> On Tue, Mar 17, 2015 at 2:10 PM, Dale wrote: >>> Alan McKinnon wrote: >>>> Your basic problem is that you have static and static-libs in USE. When >>>> applied to lvm, a whole bunch of blockers kick in and you get what you >>>> got. So take them out of USE. >>>> >>>> USE="static static-libs" has it's uses, it's great for building rescue >>>> disks, busybox and maybe some disk repair utils, but makes very little >>>> sense on a regular workstation. If you break your workstation, you'll >>>> boot off a rescue disk and use the tools on it to fix your install, so >>>> you don't need it on the main system. >>>> >>>> There is nothing wrong with your eudev. >>>> lvm2 is bitching about blockers between lvm2 built with "USE=static" and >>>> udev - there's some incompatibility there and the ebuild knows about them >>>> >>>> >>> I went through the package.use file and commented out the static and >>> static-libs stuff. It seems happy but thing is, when I put them there, >>> they were needed for some reason. Actually, all the parts I found had >>> the output of where emerge said those were needed. Maybe the reason >>> they were needed then has changed and they are no longer needed. I hope >>> anyway. ;-) >> I know there were some guides for doing LVM root that used to advise >> building stuff statically, probably because of some problem with >> genkernel. >> >> With a modern initramfs (dracut, and possible recent genkernel), >> shared libs work just as well, so there should be no need. >> >> > > Well, in package.use, it has some output of emerge that said it needed. > Here is a snippet: > > # required by sys-fs/lvm2-2.02.109[static] > # required by @selected > # required by @world (argument) > #=sys-apps/util-linux-2.24.1-r3 static-libs You are reading it wrong. That means: util-linux needs to be built with USE="static-libs" because lvm2 is already built with USE="static" None of which explains why you originally built lvm2 that way. > > # required by virtual/udev-208-r2 > # required by @selected > # required by @world (argument) > #virtual/libudev static-libs > > # required by virtual/udev-208-r2[gudev] > # required by @selected > # required by @world (argument) > #virtual/libgudev static-libs > > There's a couple more but you get the idea. I don't use genkernel, > tried it but never got a working kernel from it so I do them by hand. > Everything built OK with no more complaining so I guess whatever it is > has changed. Still weird tho. This has nothing to do with genkernel. More than likely, you followed some daft advice on teh intarwebz saying you need a static lvm to be able to boot / on lvm. -- Alan McKinnon alan.mckinnon@gmail.com