Openembedded Core Discussions
 help / color / mirror / Atom feed
From: wenzong fan <wenzong.fan@windriver.com>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Cc: Koen Kooi <koen@dominion.thruhere.net>, Zhenfeng.Zhao@windriver.com
Subject: Re: [PATCH 1/1] sysfsutils: install libs to base_libdir
Date: Wed, 8 Aug 2012 14:09:52 +0800	[thread overview]
Message-ID: <502202B0.3060005@windriver.com> (raw)
In-Reply-To: <4B47D650-7569-4396-825C-92CB04489F87@dominion.thruhere.net>

On 08/07/2012 08:23 PM, Koen Kooi wrote:
>
> Op 7 aug. 2012, om 14:14 heeft wenzong.fan@windriver.com het volgende geschreven:
>
>> From: Wenzong Fan<wenzong.fan@windriver.com>
>>
>> Fix the warning form pcmciautils building:
>>
>> "WARNING: QA Issue: pcmciautils: /sbin/pccardctl, installed in the
>> base_prefix, requires a shared library under exec_prefix (/usr):
>> libsysfs.so.2 =>  /usr/lib/libsysfs.so.2"
>>
>> Just refer to Debian/Ubuntu distributions, install sysfsutils libs
>> to "/lib*" instead of "/usr/lib*".
>>
>> [YOCTO #2907]
>>
>> Signed-off-by: Wenzong Fan<wenzong.fan@windriver.com>
>> ---
>> meta/recipes-core/sysfsutils/sysfsutils_2.1.0.bb |    4 +++-
>> 1 file changed, 3 insertions(+), 1 deletion(-)
>>
>> diff --git a/meta/recipes-core/sysfsutils/sysfsutils_2.1.0.bb b/meta/recipes-core/sysfsutils/sysfsutils_2.1.0.bb
>> index 3e4fdda..f01d19b 100644
>> --- a/meta/recipes-core/sysfsutils/sysfsutils_2.1.0.bb
>> +++ b/meta/recipes-core/sysfsutils/sysfsutils_2.1.0.bb
>> @@ -8,7 +8,7 @@ LICENSE_libsysfs = "LGPLv2.1"
>> LIC_FILES_CHKSUM = "file://COPYING;md5=3d06403ea54c7574a9e581c6478cc393 \
>>                      file://cmd/GPL;md5=d41d4e2e1e108554e0388ea4aecd8d27 \
>>                      file://lib/LGPL;md5=b75d069791103ffe1c0d6435deeff72e"
>> -PR = "r3"
>> +PR = "r4"
>>
>> SRC_URI = "${SOURCEFORGE_MIRROR}/linux-diag/sysfsutils-${PV}.tar.gz \
>> 	  file://sysfsutils-2.0.0-class-dup.patch \
>> @@ -24,3 +24,5 @@ PACKAGES =+ "libsysfs libsysfs-dev libsysfs-staticdev"
>> FILES_libsysfs = "${libdir}/lib*${SOLIBS}"
>> FILES_libsysfs-dev = "${libdir}/lib*${SOLIBSDEV} ${includedir}"
>> FILES_libsysfs-staticdev = "${libdir}/lib*.a"
>
> Ahem! ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
>> +
>> +export libdir = "${base_libdir}"
>
> And can you post the buildhistory diff to see if anything else moved when it shouldn't have e.g. package config files?

I make a diff to the build dir, only the location of 'lib/' was moved:
------------------------
Only in sysfsutils-2.1.0-r4.new/image: lib
Only in sysfsutils-2.1.0-r4.old/image/usr: lib
Only in sysfsutils-2.1.0-r4.new/package: lib
Only in sysfsutils-2.1.0-r4.old/package/usr: lib
Only in sysfsutils-2.1.0-r4.new/packages-split/libsysfs: lib
Only in sysfsutils-2.1.0-r4.old/packages-split/libsysfs: usr
Only in sysfsutils-2.1.0-r4.new/packages-split/libsysfs-dev: lib
Only in sysfsutils-2.1.0-r4.old/packages-split/libsysfs-dev/usr: lib
Only in sysfsutils-2.1.0-r4.new/packages-split/libsysfs-staticdev: lib
Only in sysfsutils-2.1.0-r4.old/packages-split/libsysfs-staticdev: usr
Only in sysfsutils-2.1.0-r4.new/packages-split/sysfsutils-dbg: lib
Only in sysfsutils-2.1.0-r4.old/packages-split/sysfsutils-dbg/usr: lib
Only in sysfsutils-2.1.0-r4.new/packages-split/sysfsutils-dev: lib
Only in sysfsutils-2.1.0-r4.old/packages-split/sysfsutils-dev: usr
Only in sysfsutils-2.1.0-r4.new/sysroot-destdir: lib
Only in sysfsutils-2.1.0-r4.old/sysroot-destdir/usr: lib
------------------------

Thanks
Wenzong

> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>



  reply	other threads:[~2012-08-08  6:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-07 12:14 [PATCH 0/1] sysfsutils: install libs to base_libdir wenzong.fan
2012-08-07 12:14 ` [PATCH 1/1] " wenzong.fan
2012-08-07 12:23   ` Koen Kooi
2012-08-08  6:09     ` wenzong fan [this message]
2012-08-08  8:44       ` Koen Kooi
2012-08-09  3:19         ` wenzong fan
2012-08-09 13:57           ` Saul Wold
     [not found]           ` <5023C1C5.3040202@linux.intel.com>
2012-08-10  1:54             ` wenzong fan
2012-08-16 19:41 ` [PATCH 0/1] " Saul Wold

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=502202B0.3060005@windriver.com \
    --to=wenzong.fan@windriver.com \
    --cc=Zhenfeng.Zhao@windriver.com \
    --cc=koen@dominion.thruhere.net \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox