Patchwork [00/10,RFC] patch for non /usr/lib libdir - V2

login
register
mail settings
Submitter Yu Ke
Date July 11, 2011, 7:23 a.m.
Message ID <cover.1310368636.git.ke.yu@intel.com>
Download mbox
Permalink /patch/7285/
State New, archived
Headers show

Pull-request

git://git.pokylinux.org/poky-contrib kyu3/libdir-fix-v2

Comments

Yu Ke - July 11, 2011, 7:23 a.m.
This is the V2 patches. the changes compared to V1 are:
- revise python patch to make the sys.lib deriving from libdir, instead of hardcode to lib64
- add two more fixes: sat-solver and libzypp, with these two more fixes, i can build
  qemux86-64 core-image-sato and core-image-sato-sdk with libdir=/usr/lib64

Next step, I will do through test to make sure it does not impact normal libdir=/usr/lib case

The following changes since commit 2163461ec94528ecf046a04edc5db3d2dd3a6b8b:
  Tom Zanussi (1):
        systemtap: remove non-core COMPATIBLE_MACHINES

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib kyu3/libdir-fix-v2
  http://git.pokylinux.org/cgit.cgi//log/?h=kyu3/libdir-fix-v2

Yu Ke (10):
  native.bbclass: generate libdir from libdir_native
  openssl: fix for non /usr/lib libdir case
  libc-package.bbclass: fix for non /usr/lib libdir case
  python: fix for libdir=/usr/lib64 case
  python-native: fix for non /usr/lib libdir case
  perl: fix for non /usr/lib libdir case
  libcap: fix for non /usr/lib libdir case
  rpm: fix for non /usr/lib libdir case
  sat-solver: fix for non /usr/lib libdir case
  libzypp: fix for non /usr/lib libdir case

 meta/classes/cmake.bbclass                         |    4 +
 meta/classes/libc-package.bbclass                  |    4 +-
 meta/classes/native.bbclass                        |    2 +
 meta/recipes-connectivity/openssl/openssl.inc      |    2 +-
 .../recipes-connectivity/openssl/openssl_0.9.8r.bb |    2 +-
 meta/recipes-devtools/perl/perl_5.12.3.bb          |    3 +-
 ...2-distutils-prefix-is-inside-staging-area.patch |   15 +-
 .../recipes-devtools/python/python-native_2.6.6.bb |    2 +-
 meta/recipes-devtools/python/python/multilib.patch |  250 ++++++++++++++++++++
 meta/recipes-devtools/python/python_2.6.6.bb       |    3 +-
 meta/recipes-devtools/rpm/rpm_5.4.0.bb             |    3 +-
 .../libzypp/libzypp/hardcode-lib-fix.patch         |   22 ++
 meta/recipes-extended/libzypp/libzypp_git.bb       |    5 +-
 meta/recipes-extended/sat-solver/sat-solver_git.bb |    6 +-
 meta/recipes-support/libcap/libcap.inc             |    5 +-
 meta/recipes-support/libcap/libcap_2.20.bb         |    2 +-
 16 files changed, 311 insertions(+), 19 deletions(-)
 create mode 100644 meta/recipes-devtools/python/python/multilib.patch
 create mode 100644 meta/recipes-extended/libzypp/libzypp/hardcode-lib-fix.patch
Koen Kooi - July 11, 2011, 7:40 a.m.
Op 11 jul 2011, om 09:23 heeft Yu Ke het volgende geschreven:

> This is the V2 patches. the changes compared to V1 are:
> - revise python patch to make the sys.lib deriving from libdir, instead of hardcode to lib64
> - add two more fixes: sat-solver and libzypp, with these two more fixes, i can build
>  qemux86-64 core-image-sato and core-image-sato-sdk with libdir=/usr/lib64
> 
> Next step, I will do through test to make sure it does not impact normal libdir=/usr/lib case
> 
> The following changes since commit 2163461ec94528ecf046a04edc5db3d2dd3a6b8b:
>  Tom Zanussi (1):
>        systemtap: remove non-core COMPATIBLE_MACHINES
> 
> are available in the git repository at:
> 
>  git://git.pokylinux.org/poky-contrib kyu3/libdir-fix-v2

Do you also have patches against oe-core instead of poky?

>  http://git.pokylinux.org/cgit.cgi//log/?h=kyu3/libdir-fix-v2

That one doesn't exist

> 
> Yu Ke (10):
>  native.bbclass: generate libdir from libdir_native
>  openssl: fix for non /usr/lib libdir case
>  libc-package.bbclass: fix for non /usr/lib libdir case
>  python: fix for libdir=/usr/lib64 case
>  python-native: fix for non /usr/lib libdir case
>  perl: fix for non /usr/lib libdir case
>  libcap: fix for non /usr/lib libdir case
>  rpm: fix for non /usr/lib libdir case
>  sat-solver: fix for non /usr/lib libdir case
>  libzypp: fix for non /usr/lib libdir case
> 
> meta/classes/cmake.bbclass                         |    4 +
> meta/classes/libc-package.bbclass                  |    4 +-
> meta/classes/native.bbclass                        |    2 +
> meta/recipes-connectivity/openssl/openssl.inc      |    2 +-
> .../recipes-connectivity/openssl/openssl_0.9.8r.bb |    2 +-
> meta/recipes-devtools/perl/perl_5.12.3.bb          |    3 +-
> ...2-distutils-prefix-is-inside-staging-area.patch |   15 +-
> .../recipes-devtools/python/python-native_2.6.6.bb |    2 +-
> meta/recipes-devtools/python/python/multilib.patch |  250 ++++++++++++++++++++
> meta/recipes-devtools/python/python_2.6.6.bb       |    3 +-
> meta/recipes-devtools/rpm/rpm_5.4.0.bb             |    3 +-
> .../libzypp/libzypp/hardcode-lib-fix.patch         |   22 ++
> meta/recipes-extended/libzypp/libzypp_git.bb       |    5 +-
> meta/recipes-extended/sat-solver/sat-solver_git.bb |    6 +-
> meta/recipes-support/libcap/libcap.inc             |    5 +-
> meta/recipes-support/libcap/libcap_2.20.bb         |    2 +-
> 16 files changed, 311 insertions(+), 19 deletions(-)
> create mode 100644 meta/recipes-devtools/python/python/multilib.patch
> create mode 100644 meta/recipes-extended/libzypp/libzypp/hardcode-lib-fix.patch
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Yu Ke - July 11, 2011, 7:54 a.m.
on 2011-7-11 15:40, Koen Kooi wrote:
>
> Op 11 jul 2011, om 09:23 heeft Yu Ke het volgende geschreven:
>
>> This is the V2 patches. the changes compared to V1 are:
>> - revise python patch to make the sys.lib deriving from libdir, instead of hardcode to lib64
>> - add two more fixes: sat-solver and libzypp, with these two more fixes, i can build
>>   qemux86-64 core-image-sato and core-image-sato-sdk with libdir=/usr/lib64
>>
>> Next step, I will do through test to make sure it does not impact normal libdir=/usr/lib case
>>
>> The following changes since commit 2163461ec94528ecf046a04edc5db3d2dd3a6b8b:
>>   Tom Zanussi (1):
>>         systemtap: remove non-core COMPATIBLE_MACHINES
>>
>> are available in the git repository at:
>>
>>   git://git.pokylinux.org/poky-contrib kyu3/libdir-fix-v2
>
> Do you also have patches against oe-core instead of poky?

Not yet. But I assume the difference between poky and oe-core is very 
small. do you see issue of applying these patches to oe-core? if so, I 
am happy to rebase this patch against oe-core.

>
>>   http://git.pokylinux.org/cgit.cgi//log/?h=kyu3/libdir-fix-v2
>
> That one doesn't exist

oh, this URL is generated by the create-pull-request script. seems there 
is some issue. Here is the correct URL: 
http://git.pokylinux.org/cgit/cgit.cgi/poky-contrib/log/?h=kyu3/libdir-fix-v2

>
>>
>> Yu Ke (10):
>>   native.bbclass: generate libdir from libdir_native
>>   openssl: fix for non /usr/lib libdir case
>>   libc-package.bbclass: fix for non /usr/lib libdir case
>>   python: fix for libdir=/usr/lib64 case
>>   python-native: fix for non /usr/lib libdir case
>>   perl: fix for non /usr/lib libdir case
>>   libcap: fix for non /usr/lib libdir case
>>   rpm: fix for non /usr/lib libdir case
>>   sat-solver: fix for non /usr/lib libdir case
>>   libzypp: fix for non /usr/lib libdir case
>>
>> meta/classes/cmake.bbclass                         |    4 +
>> meta/classes/libc-package.bbclass                  |    4 +-
>> meta/classes/native.bbclass                        |    2 +
>> meta/recipes-connectivity/openssl/openssl.inc      |    2 +-
>> .../recipes-connectivity/openssl/openssl_0.9.8r.bb |    2 +-
>> meta/recipes-devtools/perl/perl_5.12.3.bb          |    3 +-
>> ...2-distutils-prefix-is-inside-staging-area.patch |   15 +-
>> .../recipes-devtools/python/python-native_2.6.6.bb |    2 +-
>> meta/recipes-devtools/python/python/multilib.patch |  250 ++++++++++++++++++++
>> meta/recipes-devtools/python/python_2.6.6.bb       |    3 +-
>> meta/recipes-devtools/rpm/rpm_5.4.0.bb             |    3 +-
>> .../libzypp/libzypp/hardcode-lib-fix.patch         |   22 ++
>> meta/recipes-extended/libzypp/libzypp_git.bb       |    5 +-
>> meta/recipes-extended/sat-solver/sat-solver_git.bb |    6 +-
>> meta/recipes-support/libcap/libcap.inc             |    5 +-
>> meta/recipes-support/libcap/libcap_2.20.bb         |    2 +-
>> 16 files changed, 311 insertions(+), 19 deletions(-)
>> create mode 100644 meta/recipes-devtools/python/python/multilib.patch
>> create mode 100644 meta/recipes-extended/libzypp/libzypp/hardcode-lib-fix.patch
>>
>>
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
Koen Kooi - July 11, 2011, 8:13 a.m.
Op 11 jul 2011, om 09:54 heeft Yu Ke het volgende geschreven:

> on 2011-7-11 15:40, Koen Kooi wrote:
>> 
>> Op 11 jul 2011, om 09:23 heeft Yu Ke het volgende geschreven:
>> 
>>> This is the V2 patches. the changes compared to V1 are:
>>> - revise python patch to make the sys.lib deriving from libdir, instead of hardcode to lib64
>>> - add two more fixes: sat-solver and libzypp, with these two more fixes, i can build
>>>  qemux86-64 core-image-sato and core-image-sato-sdk with libdir=/usr/lib64
>>> 
>>> Next step, I will do through test to make sure it does not impact normal libdir=/usr/lib case
>>> 
>>> The following changes since commit 2163461ec94528ecf046a04edc5db3d2dd3a6b8b:
>>>  Tom Zanussi (1):
>>>        systemtap: remove non-core COMPATIBLE_MACHINES
>>> 
>>> are available in the git repository at:
>>> 
>>>  git://git.pokylinux.org/poky-contrib kyu3/libdir-fix-v2
>> 
>> Do you also have patches against oe-core instead of poky?
> 
> Not yet. But I assume the difference between poky and oe-core is very small. do you see issue of applying these patches to oe-core? if so, I am happy to rebase this patch against oe-core.

'git merge' won't work if you publish a tree against poky. I can cherry pick 2 or 3 patches, but 10 is way too many :)
Richard Purdie - July 12, 2011, 1:59 p.m.
On Mon, 2011-07-11 at 15:23 +0800, Yu Ke wrote:
> This is the V2 patches. the changes compared to V1 are:
> - revise python patch to make the sys.lib deriving from libdir, instead of hardcode to lib64
> - add two more fixes: sat-solver and libzypp, with these two more fixes, i can build
>   qemux86-64 core-image-sato and core-image-sato-sdk with libdir=/usr/lib64
> 
> Next step, I will do through test to make sure it does not impact normal libdir=/usr/lib case
> 
> The following changes since commit 2163461ec94528ecf046a04edc5db3d2dd3a6b8b:
>   Tom Zanussi (1):
>         systemtap: remove non-core COMPATIBLE_MACHINES
> 
> are available in the git repository at:
> 
>   git://git.pokylinux.org/poky-contrib kyu3/libdir-fix-v2
>   http://git.pokylinux.org/cgit.cgi//log/?h=kyu3/libdir-fix-v2
> 
> Yu Ke (10):
>   native.bbclass: generate libdir from libdir_native
>   openssl: fix for non /usr/lib libdir case
>   libc-package.bbclass: fix for non /usr/lib libdir case
>   python: fix for libdir=/usr/lib64 case
>   python-native: fix for non /usr/lib libdir case
>   perl: fix for non /usr/lib libdir case
>   libcap: fix for non /usr/lib libdir case
>   rpm: fix for non /usr/lib libdir case
>   sat-solver: fix for non /usr/lib libdir case

I merged these apart from the libc-package.bbclass change which doesn't
apply against master and isn't needed since a different patch was
already applied.

FWIW, these were hard to apply as they're based against an older tree :(

>   libzypp: fix for non /usr/lib libdir case

This one didn't make it to the mailing list, please resend.

Cheers,

Richard