Patchwork [V2,0/7] Misc fixings for multilib

login
register
mail settings
Submitter Lianhao Lu
Date April 27, 2012, 6:34 a.m.
Message ID <cover.1335508325.git.lianhao.lu@intel.com>
Download mbox
Permalink /patch/26501/
State New
Headers show

Pull-request

git://git.yoctoproject.org/poky-contrib llu/multilib

Comments

Lianhao Lu - April 27, 2012, 6:34 a.m.
1. Added a package QA check function in multilib case. It checkes whether 
there is a package runtime dependency on packages with names not prefixed 
by $MLPREFIX.

2. Fixed a bunch of recipes to use $libdir and $base_libdir instead of the 
hard coded /usr/lib and /lib.

The following changes since commit 5a1f172d35be610688842a8a9a84f24edb9aeb51:
  Martin Jansa (1):
        bitbake.conf: use TUNE_PKGARCH instead of TARGET_ARCH in SDK_NAME

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib llu/multilib
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=llu/multilib

Lianhao Lu (7):
  multilib.bbclass: Added multilib specific package QA.
  popt: Fixing pkgconfig file installation issue.
  avahi: not using hard coded libdir.
  pulseaudio: use base_libdir for udev rules.
  alsa-utils: use base_libdir for udev rules.
  xorg-app: Use ${libdir} and ${datadir} for packaging.
  xf86-input-vmmouse: use base_libdir for udev rules.

 meta/classes/multilib.bbclass                      |   31 ++++++++++++++++++++
 meta/recipes-connectivity/avahi/avahi.inc          |    4 +-
 meta/recipes-graphics/xorg-app/mkfontdir_1.0.7.bb  |    2 +-
 .../recipes-graphics/xorg-app/mkfontscale_1.1.0.bb |    2 +
 meta/recipes-graphics/xorg-app/x11perf_1.5.4.bb    |    2 +-
 meta/recipes-graphics/xorg-app/xauth_1.0.6.bb      |    2 +-
 meta/recipes-graphics/xorg-app/xdpyinfo_1.3.0.bb   |    2 +-
 meta/recipes-graphics/xorg-app/xhost_1.0.4.bb      |    2 +-
 meta/recipes-graphics/xorg-app/xinit_1.3.2.bb      |    2 +-
 meta/recipes-graphics/xorg-app/xinput_1.5.3.bb     |    2 +-
 meta/recipes-graphics/xorg-app/xkbcomp_1.2.3.bb    |    2 +
 meta/recipes-graphics/xorg-app/xmodmap_1.0.5.bb    |    2 +-
 meta/recipes-graphics/xorg-app/xorg-app-common.inc |    4 +-
 meta/recipes-graphics/xorg-app/xprop_1.2.1.bb      |    2 +-
 meta/recipes-graphics/xorg-app/xrandr_1.3.5.bb     |    2 +-
 meta/recipes-graphics/xorg-app/xset_1.2.2.bb       |    2 +-
 meta/recipes-graphics/xorg-app/xvinfo_1.1.1.bb     |    1 +
 meta/recipes-graphics/xorg-app/xwininfo_1.1.2.bb   |    2 +-
 .../xorg-driver/xf86-input-vmmouse_12.8.0.bb       |    6 +++-
 meta/recipes-multimedia/alsa/alsa-utils_1.0.25.bb  |    6 ++-
 meta/recipes-multimedia/pulseaudio/pulseaudio.inc  |    1 +
 .../pulseaudio/pulseaudio_1.1.bb                   |    2 +-
 meta/recipes-support/popt/popt/pkgconfig_fix.patch |   15 +++++++++
 meta/recipes-support/popt/popt_1.16.bb             |    6 ++-
 24 files changed, 82 insertions(+), 22 deletions(-)
 create mode 100644 meta/recipes-support/popt/popt/pkgconfig_fix.patch
Saul Wold - May 1, 2012, 6:50 p.m.
On 04/26/2012 11:34 PM, Lianhao Lu wrote:
> 1. Added a package QA check function in multilib case. It checkes whether
> there is a package runtime dependency on packages with names not prefixed
> by $MLPREFIX.
>
> 2. Fixed a bunch of recipes to use $libdir and $base_libdir instead of the
> hard coded /usr/lib and /lib.
>
> The following changes since commit 5a1f172d35be610688842a8a9a84f24edb9aeb51:
>    Martin Jansa (1):
>          bitbake.conf: use TUNE_PKGARCH instead of TARGET_ARCH in SDK_NAME
>
> are available in the git repository at:
>
>    git://git.yoctoproject.org/poky-contrib llu/multilib
>    http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=llu/multilib
>
> Lianhao Lu (7):
>    multilib.bbclass: Added multilib specific package QA.
I think that we need to address some of these WARNING before merging 
this change directly.  Is this supposed to address [YOCTO #2038]?

>    popt: Fixing pkgconfig file installation issue.
>    avahi: not using hard coded libdir.
Merged into OE-Core

>    pulseaudio: use base_libdir for udev rules.
>    alsa-utils: use base_libdir for udev rules.
I am still reviewing the udev changes.

>    xorg-app: Use ${libdir} and ${datadir} for packaging.
Merged into OE-Core
>    xf86-input-vmmouse: use base_libdir for udev rules.
Under review

Thanks
	Sau!

>
>   meta/classes/multilib.bbclass                      |   31 ++++++++++++++++++++
>   meta/recipes-connectivity/avahi/avahi.inc          |    4 +-
>   meta/recipes-graphics/xorg-app/mkfontdir_1.0.7.bb  |    2 +-
>   .../recipes-graphics/xorg-app/mkfontscale_1.1.0.bb |    2 +
>   meta/recipes-graphics/xorg-app/x11perf_1.5.4.bb    |    2 +-
>   meta/recipes-graphics/xorg-app/xauth_1.0.6.bb      |    2 +-
>   meta/recipes-graphics/xorg-app/xdpyinfo_1.3.0.bb   |    2 +-
>   meta/recipes-graphics/xorg-app/xhost_1.0.4.bb      |    2 +-
>   meta/recipes-graphics/xorg-app/xinit_1.3.2.bb      |    2 +-
>   meta/recipes-graphics/xorg-app/xinput_1.5.3.bb     |    2 +-
>   meta/recipes-graphics/xorg-app/xkbcomp_1.2.3.bb    |    2 +
>   meta/recipes-graphics/xorg-app/xmodmap_1.0.5.bb    |    2 +-
>   meta/recipes-graphics/xorg-app/xorg-app-common.inc |    4 +-
>   meta/recipes-graphics/xorg-app/xprop_1.2.1.bb      |    2 +-
>   meta/recipes-graphics/xorg-app/xrandr_1.3.5.bb     |    2 +-
>   meta/recipes-graphics/xorg-app/xset_1.2.2.bb       |    2 +-
>   meta/recipes-graphics/xorg-app/xvinfo_1.1.1.bb     |    1 +
>   meta/recipes-graphics/xorg-app/xwininfo_1.1.2.bb   |    2 +-
>   .../xorg-driver/xf86-input-vmmouse_12.8.0.bb       |    6 +++-
>   meta/recipes-multimedia/alsa/alsa-utils_1.0.25.bb  |    6 ++-
>   meta/recipes-multimedia/pulseaudio/pulseaudio.inc  |    1 +
>   .../pulseaudio/pulseaudio_1.1.bb                   |    2 +-
>   meta/recipes-support/popt/popt/pkgconfig_fix.patch |   15 +++++++++
>   meta/recipes-support/popt/popt_1.16.bb             |    6 ++-
>   24 files changed, 82 insertions(+), 22 deletions(-)
>   create mode 100644 meta/recipes-support/popt/popt/pkgconfig_fix.patch
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
Lianhao Lu - May 2, 2012, 2:15 a.m.
Saul Wold wrote on 2012-05-02:
> On 04/26/2012 11:34 PM, Lianhao Lu wrote:
>> 1. Added a package QA check function in multilib case. It checkes whether
>> there is a package runtime dependency on packages with names not prefixed
>> by $MLPREFIX.
>> 
>> 2. Fixed a bunch of recipes to use $libdir and $base_libdir instead of the
>> hard coded /usr/lib and /lib.
>> 
>> The following changes since commit 5a1f172d35be610688842a8a9a84f24edb9aeb51:
>>    Martin Jansa (1):
>>          bitbake.conf: use TUNE_PKGARCH instead of TARGET_ARCH in SDK_NAME
>> are available in the git repository at:
>> 
>>    git://git.yoctoproject.org/poky-contrib llu/multilib
>>    http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=llu/multilib
>> Lianhao Lu (7):
>>    multilib.bbclass: Added multilib specific package QA.
> I think that we need to address some of these WARNING before merging
> this change directly.  Is this supposed to address [YOCTO #2038]?

No. This patch is intended to find potential RDEPENDS problems for those recipes which 
might not be so friendly with multilib cases. We'd like to detect those potential RDEPENDS 
problems as early as possible, not by the failure of the do_rootfs task. IIRC Dongxiao had 
a patch in his merge pending list to address most of the "eglibc-locale" RDEPENDS warnings,
right Dongxiao?

-Lianhao

>>    popt: Fixing pkgconfig file installation issue.
>>    avahi: not using hard coded libdir.
> Merged into OE-Core
> 
>>    pulseaudio: use base_libdir for udev rules.
>>    alsa-utils: use base_libdir for udev rules.
> I am still reviewing the udev changes.
> 
>>    xorg-app: Use ${libdir} and ${datadir} for packaging. 
> Merged into OE-Core 
>>    xf86-input-vmmouse: use base_libdir for udev rules.
> Under review
> 
> Thanks
> 	Sau!
>