Patchwork [0/7,PULL] Multilib: various fixes

login
register
mail settings
Submitter Dongxiao Xu
Date Aug. 3, 2011, 3:19 p.m.
Message ID <cover.1312384552.git.dongxiao.xu@intel.com>
Download mbox
Permalink /patch/9107/
State New, archived
Headers show

Pull-request

git://git.pokylinux.org/poky-contrib dxu4/ml

Comments

Dongxiao Xu - Aug. 3, 2011, 3:19 p.m.
Hi Richard,

This pull request contains several multilib fixes, especially for rpm side.
Please help to review and pull.

Current status for rpm sato is, most of the error dependency issues have been solved except one error while do_rootfs:

error: Failed dependencies:
        /bin/sh is needed by dbus-1.4.12-r0.x86_64
        /bin/sh is needed by psplash-0.0+svnr424-r6.x86_64
        /bin/sh is needed by portmap-6.0-r7.x86_64
        /bin/sh is needed by dropbear-0.52-r3.x86_64
        ...

I am looking into that currently. Any suggestion would be appreciated.

Thanks,
Dongxiao

The following changes since commit 07864a16baf18046b726ec72b688594a91c6e4b4:

  local.conf.sample: Fix TUNENAME reference (should be DEFAULTTUNE) (2011-08-02 14:40:54 +0100)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib dxu4/ml
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dxu4/ml

Dongxiao Xu (7):
  eglibc-locale: Specially handle FILES_eglibc-gconv for multilib
  libxml-simple-perl: Use BBCLASSEXTEND insteand of *-native recipe
  openjade-native: Change RDEPENDS of sgml-common-native
  multilib: Use BPN instead of PN for style like lib${PN}
  multilib: remove MULTILIB_PACKAGE_ARCHS variable
  package_rpm: fix strip_multilib function
  package_rpm: Fix package rename issue in multilib case

 meta/classes/libc-package.bbclass                  |    2 +-
 meta/classes/package_rpm.bbclass                   |   31 +++++++-------------
 meta/classes/populate_sdk_rpm.bbclass              |    3 --
 meta/classes/rootfs_rpm.bbclass                    |    3 --
 meta/recipes-core/eglibc/eglibc-locale.inc         |    5 ++-
 .../openjade/openjade-native_1.3.2.bb              |    2 +-
 .../perl/libxml-simple-perl-native_2.18.bb         |    7 ----
 .../perl/libxml-simple-perl_2.18.bb                |    2 +
 meta/recipes-devtools/python/python_2.6.6.bb       |    4 +-
 meta/recipes-extended/augeas/augeas.inc            |   12 ++++----
 meta/recipes-extended/gamin/gamin_0.1.10.bb        |    8 ++--
 meta/recipes-support/attr/ea-acl.inc               |    2 +-
 meta/recipes-support/sqlite/sqlite3.inc            |    6 ++--
 13 files changed, 35 insertions(+), 52 deletions(-)
 delete mode 100644 meta/recipes-devtools/perl/libxml-simple-perl-native_2.18.bb
Mark Hatle - Aug. 3, 2011, 3:29 p.m.
On 8/3/11 10:19 AM, Dongxiao Xu wrote:
> Hi Richard,
> 
> This pull request contains several multilib fixes, especially for rpm side.
> Please help to review and pull.
> 
> Current status for rpm sato is, most of the error dependency issues have been solved except one error while do_rootfs:
> 
> error: Failed dependencies:
>         /bin/sh is needed by dbus-1.4.12-r0.x86_64
>         /bin/sh is needed by psplash-0.0+svnr424-r6.x86_64
>         /bin/sh is needed by portmap-6.0-r7.x86_64
>         /bin/sh is needed by dropbear-0.52-r3.x86_64
>         ...
> 
> I am looking into that currently. Any suggestion would be appreciated.

The issue is due to nothing providing /bin/sh currently.  /bin/sh is provide via
the alternatives mechanism, we need a way to use this mechanism to tell RPM the
required component is available.  (A discussion is already going on within the
oe-core mailing list, topic is "[PATCH 5/5] update-alternatives: Add
alternatives as a runtime provide".

> Thanks,
> Dongxiao
> 
> The following changes since commit 07864a16baf18046b726ec72b688594a91c6e4b4:
> 
>   local.conf.sample: Fix TUNENAME reference (should be DEFAULTTUNE) (2011-08-02 14:40:54 +0100)
> 
> are available in the git repository at:
>   git://git.pokylinux.org/poky-contrib dxu4/ml
>   http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dxu4/ml
> 
> Dongxiao Xu (7):
>   eglibc-locale: Specially handle FILES_eglibc-gconv for multilib
>   libxml-simple-perl: Use BBCLASSEXTEND insteand of *-native recipe
>   openjade-native: Change RDEPENDS of sgml-common-native
>   multilib: Use BPN instead of PN for style like lib${PN}
>   multilib: remove MULTILIB_PACKAGE_ARCHS variable
>   package_rpm: fix strip_multilib function
>   package_rpm: Fix package rename issue in multilib case
> 
>  meta/classes/libc-package.bbclass                  |    2 +-
>  meta/classes/package_rpm.bbclass                   |   31 +++++++-------------
>  meta/classes/populate_sdk_rpm.bbclass              |    3 --
>  meta/classes/rootfs_rpm.bbclass                    |    3 --
>  meta/recipes-core/eglibc/eglibc-locale.inc         |    5 ++-
>  .../openjade/openjade-native_1.3.2.bb              |    2 +-
>  .../perl/libxml-simple-perl-native_2.18.bb         |    7 ----
>  .../perl/libxml-simple-perl_2.18.bb                |    2 +
>  meta/recipes-devtools/python/python_2.6.6.bb       |    4 +-
>  meta/recipes-extended/augeas/augeas.inc            |   12 ++++----
>  meta/recipes-extended/gamin/gamin_0.1.10.bb        |    8 ++--
>  meta/recipes-support/attr/ea-acl.inc               |    2 +-
>  meta/recipes-support/sqlite/sqlite3.inc            |    6 ++--
>  13 files changed, 35 insertions(+), 52 deletions(-)
>  delete mode 100644 meta/recipes-devtools/perl/libxml-simple-perl-native_2.18.bb
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Richard Purdie - Aug. 3, 2011, 5:07 p.m.
On Wed, 2011-08-03 at 23:19 +0800, Dongxiao Xu wrote:
> Hi Richard,
> 
> This pull request contains several multilib fixes, especially for rpm side.
> Please help to review and pull.
> 
> Current status for rpm sato is, most of the error dependency issues have been solved except one error while do_rootfs:
> 
> error: Failed dependencies:
>         /bin/sh is needed by dbus-1.4.12-r0.x86_64
>         /bin/sh is needed by psplash-0.0+svnr424-r6.x86_64
>         /bin/sh is needed by portmap-6.0-r7.x86_64
>         /bin/sh is needed by dropbear-0.52-r3.x86_64
>         ...
> 
> I am looking into that currently. Any suggestion would be appreciated.

There should be a fix merged for that issue now :)


> The following changes since commit 07864a16baf18046b726ec72b688594a91c6e4b4:
> 
>   local.conf.sample: Fix TUNENAME reference (should be DEFAULTTUNE) (2011-08-02 14:40:54 +0100)
> 
> are available in the git repository at:
>   git://git.pokylinux.org/poky-contrib dxu4/ml
>   http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dxu4/ml
> 
> Dongxiao Xu (7):
>   eglibc-locale: Specially handle FILES_eglibc-gconv for multilib
>   libxml-simple-perl: Use BBCLASSEXTEND insteand of *-native recipe
>   openjade-native: Change RDEPENDS of sgml-common-native
>   multilib: Use BPN instead of PN for style like lib${PN}

I've merged these.

>   multilib: remove MULTILIB_PACKAGE_ARCHS variable
>   package_rpm: fix strip_multilib function
>   package_rpm: Fix package rename issue in multilib case

These look like they need more discussion with Mark.

Cheers,

Richard