From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [80.91.229.2] (helo=ciao.gmane.org) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1LNMGD-0001wY-8F for openembedded-devel@openembedded.org; Thu, 15 Jan 2009 08:03:54 +0100 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LNM9m-0000dl-DA for openembedded-devel@openembedded.org; Thu, 15 Jan 2009 06:56:46 +0000 Received: from s55917625.adsl.wanadoo.nl ([85.145.118.37]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 15 Jan 2009 06:56:46 +0000 Received: from k.kooi by s55917625.adsl.wanadoo.nl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 15 Jan 2009 06:56:46 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: openembedded-devel@openembedded.org From: Koen Kooi Date: Thu, 15 Jan 2009 07:56:37 +0100 Message-ID: References: <20090115061418.GA13352@denix.org> Mime-Version: 1.0 X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: s55917625.adsl.wanadoo.nl User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b3pre) Gecko/20090109 Shredder/3.0b2pre In-Reply-To: <20090115061418.GA13352@denix.org> Sender: news Subject: Re: [RFC] Fix udev pulling in libvolume-id-dev X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jan 2009 07:04:25 -0000 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 15-01-09 07:14, Denys Dmytriyenko wrote: > libvolume-id-dev does not provide the actual .so library, but it contains a > symlink in /usr/lib, which points to /lib/libvolume.so.0 (the host one!) > instead of ../../lib/ one... That's the intended behaviours, since installing the packages will have it point to ${libdir}/libvolume.so.0 on your device. I'm not sure if we want to patch every package to use relative symlinks. > The first patch attached fixes this in udev and should be a no brainer. Unless > someone objects, I'll push it in in a day or two. > > Since I was debugging the code which actually does this shlib magic in > package.bbclass, I thought it might be useful to prevent this kind of issues > in the future by skipping symlinks while looking for SONAME/NEEDED in the > objdump - please see the second patch attached and provide feedback. The change to package.bbclass looks OK to me, if that gets applied we can leave out the udev patch. regards, Koen