Re: [OE-core] [PATCH 0/4] eglibc 2.14 upgrade

2011-06-23 Thread Khem Raj
On Wed, Jun 22, 2011 at 10:47 PM, Martin Jansa martin.ja...@gmail.com wrote:
 On Wed, Jun 22, 2011 at 04:22:31PM -0700, Khem Raj wrote:
 On Wed, Jun 22, 2011 at 3:59 PM, Richard Purdie
 richard.pur...@linuxfoundation.org wrote:
  On Wed, 2011-06-22 at 15:31 -0700, Khem Raj wrote:
  On Wed, Jun 22, 2011 at 1:28 PM, Mark Hatle mark.ha...@windriver.com 
  wrote:
   On 6/22/11 1:35 PM, Mark Hatle wrote:
   Since applying this update, I'm not longer getting an rpc/rpc.h file, 
   which
   breaks various things like busybox mount.
  
   Is anyone else seeing this behavior?
  
   Reverting:
  
   2a68cf4d315cdd18766de0c75928ff17846a6cd7 and
   190a946e9a4213944e3ee675c4b3e18701698e87
  
   fixed the problem for me.  So there is definitely a problems in the 
   upgrade.
  
 
  onward looking rpc is now maintained with libtirpc starting glibc 2.14 
  rpc is
  not to be used from bundled code in glibc. If we dont have recipes for 
  libtirpc
  then I will add that.
 
  There looks to be more than this wrong with this update. A quick
  comparison shows the following changes in the list of files being
  installed from do_install:
 
  -./lib/libmemusage.so
  -./lib/libnss_hesiod-2.13.so
  -./lib/libnss_nisplus-2.13.so
  -./lib/libutil-2.13.so
  -./lib/libresolv-2.13.so
  -./lib/libm-2.13.so
  -./lib/libnsl-2.13.so
  -./lib/libnss_compat-2.13.so
  -./lib/libnss_nis-2.13.so
  -./lib/libnss_dns-2.13.so
  -./lib/libanl-2.13.so
  -./lib/libBrokenLocale-2.13.so
  -./lib/libcrypt-2.13.so
  -./etc/rpc
  -./usr/lib/libnss_compat_pic.a
  -./usr/lib/libnss_dns_pic.a
  -./usr/lib/libnss_nisplus_pic.a
  +./usr/lib/audit/sotruss-lib.so
  -./usr/lib/libutil_pic.map
  -./usr/lib/libBrokenLocale_pic.a
  -./usr/lib/libBrokenLocale.a
  -./usr/lib/libBrokenLocale_pic.map
  -./usr/lib/libm.a
  -./usr/lib/libnss_dns_pic.map
  -./usr/lib/libm_pic.map
  -./usr/lib/libnss_hesiod_pic.map
  -./usr/lib/librpcsvc.a
  -./usr/lib/libutil.a
  -./usr/lib/libnss_compat_pic.map
  -./usr/lib/libcrypt.a
  -./usr/lib/libutil_pic.a
  -./usr/lib/libanl.a
  -./usr/lib/libnsl_pic.a
  -./usr/lib/libresolv.a
  -./usr/lib/libnss_hesiod_pic.a
  -./usr/lib/libm_pic.a
  -./usr/lib/libnsl_pic.map
  -./usr/lib/libnss_nis_pic.map
  -./usr/lib/libanl_pic.a
  -./usr/lib/libcrypt_pic.map
  -./usr/lib/libcrypt_pic.a
  -./usr/lib/libnss_nis_pic.a
  -./usr/lib/libresolv_pic.map
  -./usr/lib/libresolv_pic.a
  -./usr/lib/libanl_pic.map
  -./usr/lib/libnss_nisplus_pic.map
  -./usr/lib/libnsl.a
  -./usr/bin/rpcgen
  -./usr/bin/gencat
  +./usr/bin/sotruss
  -./usr/bin/localedef
  -./usr/bin/locale
  -./usr/sbin/rpcinfo
  -./usr/sbin/nscd
 
  Some of these are rpc related but there are other issues too.
 
  I've reverted the upgrade itself for now until we have something in
  place to address the issues and its actually had some testing...
 

 some of these are due to rpc and others are due to nss being removed
 I need to backport the nss db re-implementation then most of it should
 be resolved
 I guess I will post 2.14 as additional recipes rather than replacement for 
 2.13
 that way we will get some soak time.

 there are issues with 2.14 and standalone libtirtc too :/

Yes I have a fix for that. I will post as soon as I tame busybox

 http://blog.flameeyes.eu/2011/06/11/are-you-kidding-me-or-why-we-ll-wait-glibc-2-14-for-a-while

 Regards,

 --
 Martin 'JaMa' Jansa     jabber: martin.ja...@gmail.com

 ___
 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


Re: [OE-core] [PATCH] kernel.bbclass: Stage System.map with KERNEL_VERSION suffix

2011-06-23 Thread Koen Kooi

Op 23 jun 2011, om 01:48 heeft Tom Rini het volgende geschreven:

 Without this, images will fail now that kernel-abiversion is back.
 
 Signed-off-by: Tom Rini tom_r...@mentor.com

Acked-by: Koen Kooi k...@dominion.thruhere.net

 ---
 meta/classes/kernel.bbclass |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
 
 diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
 index 1bb69f5..f2e0aff 100644
 --- a/meta/classes/kernel.bbclass
 +++ b/meta/classes/kernel.bbclass
 @@ -137,6 +137,7 @@ kernel_do_install() {
   cp -fR ${S}/* $kerneldir
   fi
   install -m 0644 ${KERNEL_OUTPUT} $kerneldir/${KERNEL_IMAGETYPE}
 + install -m 0644 System.map $kerneldir/System.map-${KERNEL_VERSION}
 
   #
   # Clean and remove files not needed for building modules.
 -- 
 1.7.0.4
 
 
 ___
 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


[OE-core] [PATCH 1/1] meta-qt3: Resolve the compilation error when building an lsb image for qemuarm

2011-06-23 Thread Xiaofeng Yan
From: Xiaofeng Yan xiaofeng@windriver.com

The difference for the variable TARGET_OS and BUILD_OS caused compilation error.
I submit this patch to fix this problem.

Signed-off-by: Xiaofeng Yan xiaofeng@windriver.com
---
 recipes-qt3/qt3/qt-x11-free-native_3.3.5.bb |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/recipes-qt3/qt3/qt-x11-free-native_3.3.5.bb 
b/recipes-qt3/qt3/qt-x11-free-native_3.3.5.bb
index e068b27..e64256f 100644
--- a/recipes-qt3/qt3/qt-x11-free-native_3.3.5.bb
+++ b/recipes-qt3/qt3/qt-x11-free-native_3.3.5.bb
@@ -57,7 +57,7 @@ do_install() {
  
 install -d ${D}${datadir}/qt3/
 cp -PfR mkspecs ${D}${datadir}/qt3/
-ln -sf linux-g++ ${D}${datadir}/qt3/mkspecs/${BUILD_OS}-oe-g++
+ln -sf linux-g++ ${D}${datadir}/qt3/mkspecs/${TARGET_OS}-oe-g++
 ln -s ${D}${datadir}/qt3/mkspecs/ ${D}${datadir}/qmake
 install -d ${D}${libdir}/
 oe_soinstall lib/libqt-mt.so.${PV} ${D}${libdir}/
-- 
1.7.0.4


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


Re: [OE-core] [PATCH 0/4] eglibc 2.14 upgrade

2011-06-23 Thread Khem Raj
On Wed, Jun 22, 2011 at 11:07 PM, Khem Raj raj.k...@gmail.com wrote:
 On Wed, Jun 22, 2011 at 10:47 PM, Martin Jansa martin.ja...@gmail.com wrote:
 On Wed, Jun 22, 2011 at 04:22:31PM -0700, Khem Raj wrote:
 On Wed, Jun 22, 2011 at 3:59 PM, Richard Purdie
 richard.pur...@linuxfoundation.org wrote:
  On Wed, 2011-06-22 at 15:31 -0700, Khem Raj wrote:
  On Wed, Jun 22, 2011 at 1:28 PM, Mark Hatle mark.ha...@windriver.com 
  wrote:
   On 6/22/11 1:35 PM, Mark Hatle wrote:
   Since applying this update, I'm not longer getting an rpc/rpc.h file, 
   which
   breaks various things like busybox mount.
  
   Is anyone else seeing this behavior?
  
   Reverting:
  
   2a68cf4d315cdd18766de0c75928ff17846a6cd7 and
   190a946e9a4213944e3ee675c4b3e18701698e87
  
   fixed the problem for me.  So there is definitely a problems in the 
   upgrade.
  
 
  onward looking rpc is now maintained with libtirpc starting glibc 2.14 
  rpc is
  not to be used from bundled code in glibc. If we dont have recipes for 
  libtirpc
  then I will add that.
 
  There looks to be more than this wrong with this update. A quick
  comparison shows the following changes in the list of files being
  installed from do_install:
 
  -./lib/libmemusage.so
  -./lib/libnss_hesiod-2.13.so
  -./lib/libnss_nisplus-2.13.so
  -./lib/libutil-2.13.so
  -./lib/libresolv-2.13.so
  -./lib/libm-2.13.so
  -./lib/libnsl-2.13.so
  -./lib/libnss_compat-2.13.so
  -./lib/libnss_nis-2.13.so
  -./lib/libnss_dns-2.13.so
  -./lib/libanl-2.13.so
  -./lib/libBrokenLocale-2.13.so
  -./lib/libcrypt-2.13.so
  -./etc/rpc
  -./usr/lib/libnss_compat_pic.a
  -./usr/lib/libnss_dns_pic.a
  -./usr/lib/libnss_nisplus_pic.a
  +./usr/lib/audit/sotruss-lib.so
  -./usr/lib/libutil_pic.map
  -./usr/lib/libBrokenLocale_pic.a
  -./usr/lib/libBrokenLocale.a
  -./usr/lib/libBrokenLocale_pic.map
  -./usr/lib/libm.a
  -./usr/lib/libnss_dns_pic.map
  -./usr/lib/libm_pic.map
  -./usr/lib/libnss_hesiod_pic.map
  -./usr/lib/librpcsvc.a
  -./usr/lib/libutil.a
  -./usr/lib/libnss_compat_pic.map
  -./usr/lib/libcrypt.a
  -./usr/lib/libutil_pic.a
  -./usr/lib/libanl.a
  -./usr/lib/libnsl_pic.a
  -./usr/lib/libresolv.a
  -./usr/lib/libnss_hesiod_pic.a
  -./usr/lib/libm_pic.a
  -./usr/lib/libnsl_pic.map
  -./usr/lib/libnss_nis_pic.map
  -./usr/lib/libanl_pic.a
  -./usr/lib/libcrypt_pic.map
  -./usr/lib/libcrypt_pic.a
  -./usr/lib/libnss_nis_pic.a
  -./usr/lib/libresolv_pic.map
  -./usr/lib/libresolv_pic.a
  -./usr/lib/libanl_pic.map
  -./usr/lib/libnss_nisplus_pic.map
  -./usr/lib/libnsl.a
  -./usr/bin/rpcgen
  -./usr/bin/gencat
  +./usr/bin/sotruss
  -./usr/bin/localedef
  -./usr/bin/locale
  -./usr/sbin/rpcinfo
  -./usr/sbin/nscd
 
  Some of these are rpc related but there are other issues too.
 
  I've reverted the upgrade itself for now until we have something in
  place to address the issues and its actually had some testing...
 

 some of these are due to rpc and others are due to nss being removed
 I need to backport the nss db re-implementation then most of it should
 be resolved
 I guess I will post 2.14 as additional recipes rather than replacement for 
 2.13
 that way we will get some soak time.

 there are issues with 2.14 and standalone libtirtc too :/

 Yes I have a fix for that. I will post as soon as I tame busybox

libtirpc is not yet drop in replacement for glibc rpc and it will take
some time for that to happen
we should revert this patch and stay with 2.13 meanwhile

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


Re: [OE-core] [PATCH V2 0/2] Change gcc 4.6 recipes to use svn in SRC_URI

2011-06-23 Thread Khem Raj
On Wed, Jun 22, 2011 at 9:08 AM, Koen Kooi k...@dominion.thruhere.net wrote:

 Op 22 jun 2011, om 18:00 heeft Richard Purdie het volgende geschreven:

 On Tue, 2011-06-21 at 18:43 -0700, Khem Raj wrote:
 changes since V1

 Separate out non gcc changes to a different pull request
 Patches are not attached inline due to sheer size of them
 as they might choke patchwork. The are only on the branch

 The following changes since commit 78de64f58b98101f5be5778e9ecbdaae5ba32997:

  binutils_2.21.bb: Fix ld segfault exposed by eglibc 2.14 on x86_64 
 (2011-06-21 17:58:06 -0700)

 are available in the git repository at:
  git://git.openembedded.org/openembedded-core-contrib kraj/gcc-4.6
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/gcc-4.6

 Khem Raj (2):
  gcc-4.6: Switch to using svn SRC_URI for recipe
  tcmode-default.inc: use 4.6 for GCCVERSION and SDKGCCVERSION

 I'm afraid I don't like having gcc 4.6 being so publicly visible. Its
 fine for the recipe names but the PV itself really needs to be something
 like 4.6.2+svn.

 I say this as a person who'd have to deal with people claiming we're
 behind on gcc since we were on 4.6[.0] :/

 There will always be people claiming nonsense about numbers :)

Hi Richard

I have pushed updated patches to the branch now. PV is set to 4.6.0+svnr${SRCPV}
and we use wild card in choosing gcc version

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


Re: [OE-core] [PATCH 1/1] libc-locale: split locale handling from libc recipe.

2011-06-23 Thread Phil Blundell
On Thu, 2011-06-23 at 12:08 +0800, Xu, Dongxiao wrote:
  -Original Message-
  From: openembedded-core-boun...@lists.openembedded.org
  [mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf Of
  Phil Blundell
  Sent: Wednesday, June 22, 2011 7:45 PM
  To: Patches and discussions about the oe-core layer
  Subject: Re: [OE-core] [PATCH 1/1] libc-locale: split locale handling from 
  libc
  recipe.
  
  I still don't quite understand why the virtual/libiconv provider has moved 
  from
  eglibc to eglibc-locale.  Can you explain what's going on there?
 
 Generally, the purpose of this patch is to reduce eglibc's do_package time.
 
 Since many other recipes' do_package have dependency on eglibc's do_package, 
 thus the sooner eglibc could finish its do_package, the ealier can other 
 do_packages be executed, which improves the parallelism. 
 
 From our study, we found most of eglibc's do_package time is used to handle 
 locale. Therefore we split all the locale related stuffs into a separately 
 recipe eglibc-locale.

Yes, I understand that.  But I don't think this answers the question
about why, specifically, glibc-locale is now PROVIDEing
virtual/libiconv.  Does that recipe, in fact, implement libiconv?

p.

 
 Thanks,
 Dongxiao
 
  
  p.
  
  On Wed, 2011-06-22 at 17:01 +0800, Dongxiao Xu wrote:
   *libc's do_package will cost a lot of time due to the locale handing,
   which may delay the other recipe's do_package task and affect the
   build performance.
  
   This commit moves locale handling into a separate recipe *libc-locale.
  
   Signed-off-by: Dongxiao Xu dongxiao...@intel.com
   ---
meta/classes/libc-common.bbclass   |   23 
meta/classes/libc-package.bbclass  |   24 
meta/conf/distro/include/tclibc-eglibc.inc |2 +-
meta/conf/distro/include/tclibc-glibc.inc  |2 +-
meta/recipes-core/eglibc/eglibc-initial_2.13.bb|4 ++
meta/recipes-core/eglibc/eglibc-locale_2.13.bb |   58
  
meta/recipes-core/eglibc/eglibc-package.inc|   32 +--
meta/recipes-core/eglibc/eglibc.inc|4 +-
meta/recipes-core/eglibc/eglibc_2.13.bb|   12 
meta/recipes-core/glibc/glibc-initial_2.10.1.bb|4 ++
meta/recipes-core/glibc/glibc-locale_2.10.1.bb |   50
  +
meta/recipes-core/glibc/glibc-package.inc  |   29 ++-
meta/recipes-core/glibc/glibc.inc  |2 +-
meta/recipes-core/glibc/glibc_2.10.1.bb|   12 
.../meta/external-csl-toolchain_2008q3-72.bb   |1 +
15 files changed, 176 insertions(+), 83 deletions(-)  create mode
   100644 meta/classes/libc-common.bbclass  create mode 100644
   meta/recipes-core/eglibc/eglibc-locale_2.13.bb
create mode 100644 meta/recipes-core/glibc/glibc-locale_2.10.1.bb
  
   diff --git a/meta/conf/distro/include/tclibc-eglibc.inc
   b/meta/conf/distro/include/tclibc-eglibc.inc
   index a4c648e..90de04f 100644
   --- a/meta/conf/distro/include/tclibc-eglibc.inc
   +++ b/meta/conf/distro/include/tclibc-eglibc.inc
   @@ -10,7 +10,7 @@ TARGET_OS_powerpc =
   linux${@['','-gnuspe'][bb.data.getVar('BASE_PACKAGE_ARCH',d
# Add glibc overrides to the overrides for eglibc.
OVERRIDES .= :libc-glibc
  
   -PREFERRED_PROVIDER_virtual/libiconv ?= eglibc
   +PREFERRED_PROVIDER_virtual/libiconv ?= eglibc-locale
PREFERRED_PROVIDER_virtual/libiconv-nativesdk ?= eglibc-nativesdk
PREFERRED_PROVIDER_virtual/libintl ?= eglibc
PREFERRED_PROVIDER_virtual/libc ?= eglibc
   diff --git a/meta/conf/distro/include/tclibc-glibc.inc
   b/meta/conf/distro/include/tclibc-glibc.inc
   index e5843b0..748c23f 100644
   --- a/meta/conf/distro/include/tclibc-glibc.inc
   +++ b/meta/conf/distro/include/tclibc-glibc.inc
   @@ -10,7 +10,7 @@ TARGET_OS_powerpc =
   linux${@['','-gnuspe'][bb.data.getVar('BASE_PACKAGE_ARCH',d
# Add glibc to the overrides.
OVERRIDES =. libc-glibc:
  
   -PREFERRED_PROVIDER_virtual/libiconv ?= glibc
   +PREFERRED_PROVIDER_virtual/libiconv ?= glibc-locale
PREFERRED_PROVIDER_virtual/libiconv-nativesdk ?= glibc-nativesdk
PREFERRED_PROVIDER_virtual/libintl ?= glibc
PREFERRED_PROVIDER_virtual/libc ?= glibc
  
  
  
  ___
  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



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


Re: [OE-core] [PATCH V2 0/2] Change gcc 4.6 recipes to use svn in SRC_URI

2011-06-23 Thread Richard Purdie
On Thu, 2011-06-23 at 01:40 -0700, Khem Raj wrote:
 On Wed, Jun 22, 2011 at 9:08 AM, Koen Kooi k...@dominion.thruhere.net wrote:
 
  Op 22 jun 2011, om 18:00 heeft Richard Purdie het volgende geschreven:
 
  On Tue, 2011-06-21 at 18:43 -0700, Khem Raj wrote:
  changes since V1
 
  Separate out non gcc changes to a different pull request
  Patches are not attached inline due to sheer size of them
  as they might choke patchwork. The are only on the branch
 
  The following changes since commit 
  78de64f58b98101f5be5778e9ecbdaae5ba32997:
 
   binutils_2.21.bb: Fix ld segfault exposed by eglibc 2.14 on x86_64 
  (2011-06-21 17:58:06 -0700)
 
  are available in the git repository at:
   git://git.openembedded.org/openembedded-core-contrib kraj/gcc-4.6
   
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/gcc-4.6
 
  Khem Raj (2):
   gcc-4.6: Switch to using svn SRC_URI for recipe
   tcmode-default.inc: use 4.6 for GCCVERSION and SDKGCCVERSION
 
  I'm afraid I don't like having gcc 4.6 being so publicly visible. Its
  fine for the recipe names but the PV itself really needs to be something
  like 4.6.2+svn.
 
  I say this as a person who'd have to deal with people claiming we're
  behind on gcc since we were on 4.6[.0] :/
 
  There will always be people claiming nonsense about numbers :)
 
 Hi Richard
 
 I have pushed updated patches to the branch now. PV is set to 
 4.6.0+svnr${SRCPV}
 and we use wild card in choosing gcc version

Merged to master, thanks.

Richard


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


[OE-core] [PATCH 0/1] Removing hard coded libdir for libc locale generating

2011-06-23 Thread Lianhao Lu
The patch replaces the hard coded libdir in package_do_split_gconvs() in 
libc-package.bbclass to meet the requirement of multilib.

The following changes since commit b04ee632eb06650dde3e3ee8c4788a45cae0aa5e:
  Richard Purdie (1):
multilib: First pass from RP

are available in the git repository at:

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

Lianhao Lu (1):
  libc-package.bbclass: Replace hard coded libdir.

 meta/classes/libc-package.bbclass |7 ---
 1 files changed, 4 insertions(+), 3 deletions(-)


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


[OE-core] [PATCH 1/1] libc-package.bbclass: Replace hard coded libdir.

2011-06-23 Thread Lianhao Lu
Replace the hard coded libdir for locale generating to meet the multilib
requirement.

Signed-off-by: Lianhao Lu lianhao...@intel.com
---
 meta/classes/libc-package.bbclass |7 ---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/meta/classes/libc-package.bbclass 
b/meta/classes/libc-package.bbclass
index 55e3d48..84bac5d 100644
--- a/meta/classes/libc-package.bbclass
+++ b/meta/classes/libc-package.bbclass
@@ -277,10 +277,11 @@ python package_do_split_gconvs () {
 
def output_locale_binary(name, pkgname, locale, encoding):
treedir = base_path_join(bb.data.getVar(WORKDIR, d, 1), 
locale-tree)
-   ldlibdir = %s/lib % treedir
+   ldlibdir = base_path_join(treedir,libdir)
path = bb.data.getVar(PATH, d, 1)
i18npath = base_path_join(treedir, datadir, i18n)
gconvpath = base_path_join(treedir, iconvdata)
+   outputpath = base_path_join(treedir, libdir, locale)
 
use_cross_localedef = 
bb.data.getVar(LOCALE_GENERATION_WITH_CROSS-LOCALEDEF, d, 1) or 0
if use_cross_localedef == 1:
@@ -300,8 +301,8 @@ python package_do_split_gconvs () {
raise bb.build.FuncFailed(unknown arch: + 
target_arch +  for locale_arch_options)
 
localedef_opts +=  --force --old-style --no-archive 
--prefix=%s \
-   --inputfile=%s/%s/i18n/locales/%s --charmap=%s 
%s/usr/lib/locale/%s \
-   % (treedir, treedir, datadir, locale, encoding, 
treedir, name)
+   --inputfile=%s/%s/i18n/locales/%s --charmap=%s 
%s/%s \
+   % (treedir, treedir, datadir, locale, encoding, 
outputpath, name)
 
cmd = PATH=\%s\ I18NPATH=\%s\ GCONV_PATH=\%s\ 
cross-localedef %s % \
(path, i18npath, gconvpath, localedef_opts)
-- 
1.7.0.4


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


Re: [OE-core] [PATCH 00/40] Various Recipe Fixes (v3)

2011-06-23 Thread Richard Purdie
On Wed, 2011-06-22 at 14:53 -0500, Mark Hatle wrote:
 V3 includes fixes to issues noticed by Phil Blundell
 
 --- version 2 below ---
 
 V2 only includes a change to patch 13, to resolve the issues mentioned
 by Koen.
 
 --- original comments below ---
 
 While working on the permissions and umask code, I found a number of 
 random issues with various packages in the system.  Most of these
 problems revolve around:
 
 * directory and file permissions, and ownership
 * -dbg package not being produced correctly
 * stripped binaries
 * packages that couldn't rebuild due to dependency or other issues
 
 Note, this doesn't solve the permissions and ownership issues that will come
 in a future patch set devoted to umask and fixing up of the permissions.
 
 The following changes since commit 17d5422460bf9074223475b15d128171d12b170a:
 
   qt4-tools-nativesdk: fix compile failure in src/dbus (2011-06-22 17:41:39 
 +0100)
 
 are available in the git repository at:
   git://git.pokylinux.org/poky-contrib mhatle/recipe-fixup
   http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=mhatle/recipe-fixup
 
 Mark Hatle (40):
   resolveconf: Fix file owners
   base-passwd: Fix owners/groups
   gcc: Fix owners/groups
   ghostscript: Fix owner/group of /etc/cups
   libtirpc: Fix owner/group of /etc/netconfig
   tzdata: Ensure all files are owned by root:root
   gnome-doc-utils: Fix the owner/group on select files
   perf: Fix linux-tools to ensure perf is installed under fakeroot
   kernel.bbclass: Add support for perf-dbg package
   sysfsutils: Fall back to default -dbg package
   classes/package_rpm.bbclass: Enhance diagnostic messages
   classes/package_rpm.bbclass: Change the way the PV is transformed
   python: Switch to using the default -dbg package
   python-pyobject: Remove unnecessary -dbg setting
   libxml-parser-perl: Fix debug package
   texinfo: Change to use the standard -dbg file
   psmisc: Remove custom -dbg packages, use default
   modutils: Add in missing -dbg package
   liba52: Remove custom -dbg, fall back to default
   python-gst: Add missing files to the -dbg package
   mc: Add missing debug files to -dbg
   gamin: Add missing debug files to -dbg
   gthumb: Add missing debug files
   systemtamp: Add missing debug files
   trace-cmd: Add missing debug files
   gstreamer: Add missing debug files.
   gtk-sato-engine: Add missing debug files
   libproxy: Add missing debug files
   wireless-tools: Avoid stripping binaries
   busybox: Avoid stripping binaries
   tinylogin: Avoid stripped binaries
   quote: Avoid stripping binaries
   sysstat: Avoid stripping binaries
   db: Avoid stripping binaries
   db: Fix file ownership
   unzip: Avoid stripping binaries
   dropbear: Don't patch in configure
   nasm: Fix aclocal
   python: Add python to the dependencies of python modules
   boost: Move the do_configure_prepend to a seperate task

I did a first pass over this series and merged the ones I was happy
with. This leaves:

 git cherry-pick 5c4ce64fb0bf1c4e8a5899e292917836953412d3
 git cherry-pick 7e9ca99962148df2cee0f69ba2f7408788789af5
 git cherry-pick 4357212d04ad3bc4e286b72d74136f8d59e4b15c
 git cherry-pick 27ede7006d75bd6cae3677da9a54b5092b2d4079
 git cherry-pick 5f3bcbaf87ce947d48c5683917d9fc99a13e7a33
 git cherry-pick b39384a74aa03db222a39a023b4cb1a6a07dd5a5
 git cherry-pick a579d68ffe5c162a182d7f4157564f17294a8ff5
 git cherry-pick d215f1d253f3ef2ef4f74de36d39334a6939ee5e

and also this one which doesn't apply any more due to other gcc changes
I merged:

 git cherry-pick 60f955a2ba068db9e5d072c443a6ef7a894f114e

Why didn't I take these? My reasons included:

a) I didn't think the python dependency changes looked right
b) The whole test -n  eval thing looks wrong. I don't see why its 
   needed and would like to debug that.
c) I wanted to think a little further about how to handle chown in 
   do_install since we really need an easy way to make that a null op 
   for native cases easily. Options:
   
   * Don't call chown but wrap it in our own script oe-chown
   * Add an intercept script in PATH which would avoid root ops in the 
 native case
   * Prefix the calls with some kind of magic

   It might be the answer is not to worry about it right now but it 
   seems a good time to consider it.

Cheers,

Richard






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


[OE-core] [PATCH 3/4] classes/conf: Drop MULTIMACH_ARCH variable, it adds unused complexity and serves no useful purpose

2011-06-23 Thread Richard Purdie
Signed-off-by: Richard  Purdie richard.pur...@linuxfoundation.org
---
 meta/classes/base.bbclass   |8 +---
 meta/classes/cross-canadian.bbclass |   14 +++---
 meta/classes/sstate.bbclass |4 ++--
 meta/conf/bitbake.conf  |9 ++---
 4 files changed, 12 insertions(+), 23 deletions(-)

diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index f390f08..0bea639 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -362,11 +362,8 @@ python () {
 if local.startswith(mp):
 #bb.note(overriding PACKAGE_ARCH from %s to %s % 
(pkg_arch, mach_arch))
 bb.data.setVar('PACKAGE_ARCH', ${MACHINE_ARCH}, d)
-bb.data.setVar('MULTIMACH_ARCH', mach_arch, d)
 return
 
-multiarch = pkg_arch
-
 packages = bb.data.getVar('PACKAGES', d, 1).split()
 for pkg in packages:
 pkgarch = bb.data.getVar(PACKAGE_ARCH_%s % pkg, d, 1)
@@ -375,10 +372,7 @@ python () {
 # if multiple differences are present?
 # Look through PACKAGE_ARCHS for the priority order?
 if pkgarch and pkgarch == mach_arch:
-multiarch = mach_arch
-break
-
-bb.data.setVar('MULTIMACH_ARCH', multiarch, d)
+bb.fatal(Recipe %s is marked as only being architecture specific 
but seems to have machine specific packages? % d.getVar(PN, True))
 }
 
 def check_gcc3(data):
diff --git a/meta/classes/cross-canadian.bbclass 
b/meta/classes/cross-canadian.bbclass
index 1a045ba..edd51da 100644
--- a/meta/classes/cross-canadian.bbclass
+++ b/meta/classes/cross-canadian.bbclass
@@ -9,14 +9,14 @@
 # or indirectly via dependency.  No need to be in 'world'.
 EXCLUDE_FROM_WORLD = 1
 
-STAGING_BINDIR_TOOLCHAIN = 
${STAGING_DIR_NATIVE}${bindir_native}/${SDK_ARCH}${SDK_VENDOR}-${SDK_OS}:${STAGING_DIR_NATIVE}${bindir_native}/${OLD_PACKAGE_ARCH}${TARGET_VENDOR}-${TARGET_OS}
+STAGING_BINDIR_TOOLCHAIN = 
${STAGING_DIR_NATIVE}${bindir_native}/${SDK_ARCH}${SDK_VENDOR}-${SDK_OS}:${STAGING_DIR_NATIVE}${bindir_native}/${OLD_BASE_PACKAGE_ARCH}${TARGET_VENDOR}-${TARGET_OS}
 
 #
 # Update BASE_PACKAGE_ARCH and PACKAGE_ARCHS
 #
-OLD_MULTIMACH_ARCH := ${MULTIMACH_ARCH}
+OLD_PACKAGE_ARCH := ${PACKAGE_ARCH}
 OLD_MULTIMACH_TARGET_SYS := ${MULTIMACH_TARGET_SYS}
-OLD_PACKAGE_ARCH := ${BASE_PACKAGE_ARCH}
+OLD_BASE_PACKAGE_ARCH := ${BASE_PACKAGE_ARCH}
 BASE_PACKAGE_ARCH = ${SDK_ARCH}-nativesdk
 python () {
 archs = bb.data.getVar('PACKAGE_ARCHS', d, True).split()
@@ -25,7 +25,7 @@ python () {
 sdkarchs.append(arch + '-nativesdk')
 bb.data.setVar('PACKAGE_ARCHS',  .join(sdkarchs), d)
 }
-MULTIMACH_TARGET_SYS = ${MULTIMACH_ARCH}${HOST_VENDOR}-${HOST_OS}
+MULTIMACH_TARGET_SYS = ${PACKAGE_ARCH}${HOST_VENDOR}-${HOST_OS}
 
 INHIBIT_DEFAULT_DEPS = 1
 
@@ -66,12 +66,12 @@ target_exec_prefix := ${exec_prefix}
 base_prefix = ${SDKPATHNATIVE}
 prefix = ${SDKPATHNATIVE}${prefix_nativesdk}
 exec_prefix = ${SDKPATHNATIVE}${prefix_nativesdk}
-bindir = 
${exec_prefix}/bin/${OLD_MULTIMACH_ARCH}${TARGET_VENDOR}-${TARGET_OS}
+bindir = ${exec_prefix}/bin/${OLD_PACKAGE_ARCH}${TARGET_VENDOR}-${TARGET_OS}
 sbindir = ${bindir}
 base_bindir = ${bindir}
 base_sbindir = ${bindir}
-libdir = 
${exec_prefix}/lib/${OLD_MULTIMACH_ARCH}${TARGET_VENDOR}-${TARGET_OS}
-libexecdir = 
${exec_prefix}/libexec/${OLD_MULTIMACH_ARCH}${TARGET_VENDOR}-${TARGET_OS}
+libdir = ${exec_prefix}/lib/${OLD_PACKAGE_ARCH}${TARGET_VENDOR}-${TARGET_OS}
+libexecdir = 
${exec_prefix}/libexec/${OLD_PACKAGE_ARCH}${TARGET_VENDOR}-${TARGET_OS}
 
 FILES_${PN} = ${prefix}
 FILES_${PN}-dbg += ${prefix}/.debug \
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index 6358d39..14c90ec 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -5,8 +5,8 @@ SSTATE_MANFILEBASE = 
${SSTATE_MANIFESTS}/manifest-${SSTATE_MANMACH}-
 SSTATE_MANFILEPREFIX = ${SSTATE_MANFILEBASE}${PN}
 
 
-SSTATE_PKGARCH= ${MULTIMACH_ARCH}
-SSTATE_PKGSPEC= 
sstate-${PN}-${MULTIMACH_ARCH}${TARGET_VENDOR}-${TARGET_OS}-${PV}-${PR}-${SSTATE_PKGARCH}-${SSTATE_VERSION}-
+SSTATE_PKGARCH= ${PACKAGE_ARCH}
+SSTATE_PKGSPEC= 
sstate-${PN}-${PACKAGE_ARCH}${TARGET_VENDOR}-${TARGET_OS}-${PV}-${PR}-${SSTATE_PKGARCH}-${SSTATE_VERSION}-
 SSTATE_PKGNAME= ${SSTATE_PKGSPEC}${BB_TASKHASH}
 SSTATE_PKG= ${SSTATE_DIR}/${SSTATE_PKGNAME}
 
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index c05d736..4e89500 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -99,9 +99,8 @@ PACKAGE_ARCHS = all any noarch ${PACKAGE_EXTRA_ARCHS} 
${MACHINE_ARCH}
 # since machine specific packages are handled using multimachine
 PACKAGE_ARCHS[vardepsexclude] = MACHINE_ARCH
 
-MULTIMACH_ARCH = ${PACKAGE_ARCH}
-MULTIMACH_TARGET_SYS = ${MULTIMACH_ARCH}${TARGET_VENDOR}-${TARGET_OS}
-MULTIMACH_HOST_SYS = ${MULTIMACH_ARCH}${HOST_VENDOR}-${HOST_OS}
+MULTIMACH_TARGET_SYS 

[OE-core] [PATCH 4/4] base/glib-2.0: Simplify USE_NLS handling for glib-2.0

2011-06-23 Thread Richard Purdie
Currently the only way to get anything to build is to set USE_NLS=yes
for glib-2.0. We might as well do this in the recipe by default for
now and simpllify the code.

The magic handling of USE_NLS_recipename is also removed since this
can be done in the form USE_NLS_pn-recipename using overrides these
days.

Signed-off-by: Richard  Purdie richard.pur...@linuxfoundation.org
---
 meta/classes/base.bbclass  |4 
 meta/conf/distro/include/tclibc-uclibc.inc |1 -
 meta/recipes-core/glib-2.0/glib-2.0.inc|6 --
 meta/recipes-core/glib-2.0/glib.inc|3 +--
 4 files changed, 1 insertions(+), 13 deletions(-)
 delete mode 100644 meta/recipes-core/glib-2.0/glib-2.0.inc

diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 0bea639..575352d 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -303,10 +303,6 @@ python () {
 bb.note(SKIPPING %s because it's %s % (pn, this_license))
 raise bb.parse.SkipPackage(incompatible with license %s 
% this_license)
 
-use_nls = bb.data.getVar('USE_NLS_%s' % pn, d, 1)
-if use_nls != None:
-bb.data.setVar('USE_NLS', use_nls, d)
-
 # Git packages should DEPEND on git-native
 srcuri = bb.data.getVar('SRC_URI', d, 1)
 if git:// in srcuri:
diff --git a/meta/conf/distro/include/tclibc-uclibc.inc 
b/meta/conf/distro/include/tclibc-uclibc.inc
index 83418d6..65693a9 100644
--- a/meta/conf/distro/include/tclibc-uclibc.inc
+++ b/meta/conf/distro/include/tclibc-uclibc.inc
@@ -14,7 +14,6 @@ PREFERRED_PROVIDER_virtual/libiconv ?= libiconv
 PREFERRED_PROVIDER_virtual/libintl ?= gettext
 
 USE_NLS ?= no
-USE_NLS_glib-2.0 = yes
 
 CXXFLAGS += -fvisibility-inlines-hidden
 
diff --git a/meta/recipes-core/glib-2.0/glib-2.0.inc 
b/meta/recipes-core/glib-2.0/glib-2.0.inc
deleted file mode 100644
index ccbbd2b..000
--- a/meta/recipes-core/glib-2.0/glib-2.0.inc
+++ /dev/null
@@ -1,6 +0,0 @@
-
-python () {
-import bb
-if bb.data.getVar(USE_NLS, d, 1) == no:
-raise bb.parse.SkipPackage(${PN} requires native language support.)
-}
diff --git a/meta/recipes-core/glib-2.0/glib.inc 
b/meta/recipes-core/glib-2.0/glib.inc
index 0800c85..e25db3d 100644
--- a/meta/recipes-core/glib-2.0/glib.inc
+++ b/meta/recipes-core/glib-2.0/glib.inc
@@ -13,8 +13,6 @@ LIC_FILES_CHKSUM = 
file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \
 BUGTRACKER = http://bugzilla.gnome.org;
 SECTION = libs
 
-require glib-2.0.inc
-
 DEPENDS = glib-2.0-native gtk-doc-native zip dbus
 DEPENDS_virtclass-native = gtk-doc-native pkgconfig-native gettext-native 
dbus-native
 DEPENDS_virtclass-nativesdk = libtool-nativesdk
@@ -36,3 +34,4 @@ FILES_${PN}-dev += ${libdir}/glib-2.0/include
 FILES_${PN}-dbg += ${datadir}/glib-2.0/gdb ${datadir}/gdb
 
 ARM_INSTRUCTION_SET = arm
+USE_NLS = yes
-- 
1.7.4.1


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


[OE-core] [PATCH 1/4] base.bbclass: Drop old style SRCDATE handling, we have pn- overrides now

2011-06-23 Thread Richard Purdie
Signed-off-by: Richard  Purdie richard.pur...@linuxfoundation.org
---
 meta/classes/base.bbclass |5 -
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 119b052..4681489 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -303,11 +303,6 @@ python () {
 bb.note(SKIPPING %s because it's %s % (pn, this_license))
 raise bb.parse.SkipPackage(incompatible with license %s 
% this_license)
 
-# OBSOLETE in bitbake 1.7.4
-srcdate = bb.data.getVar('SRCDATE_%s' % pn, d, 1)
-if srcdate != None:
-bb.data.setVar('SRCDATE', srcdate, d)
-
 use_nls = bb.data.getVar('USE_NLS_%s' % pn, d, 1)
 if use_nls != None:
 bb.data.setVar('USE_NLS', use_nls, d)
-- 
1.7.4.1


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


[OE-core] [PATCH 2/4] base.bbclass: Since we require python 2.6 which always contains hashlib we can drop this fallback code

2011-06-23 Thread Richard Purdie
Signed-off-by: Richard  Purdie richard.pur...@linuxfoundation.org
---
 meta/classes/base.bbclass |   10 --
 1 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 4681489..f390f08 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -326,16 +326,6 @@ python () {
 depends = depends +  osc-native:do_populate_sysroot
 bb.data.setVarFlag('do_fetch', 'depends', depends, d)
 
-# bb.utils.sha256_file() will fail if hashlib isn't present, so we fallback
-# on shasum-native.  We need to ensure that it is staged before we fetch.
-if bb.data.getVar('PN', d, True) != shasum-native:
-try:
-import hashlib
-except ImportError:
-depends = bb.data.getVarFlag('do_fetch', 'depends', d) or 
-depends = depends +  shasum-native:do_populate_sysroot
-bb.data.setVarFlag('do_fetch', 'depends', depends, d)
-
 # *.xz should depends on xz-native for unpacking
 # Not endswith because of *.patch.xz;patch=1. Need bb.decodeurl in future
 if '.xz' in srcuri:
-- 
1.7.4.1


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


Re: [OE-core] [PATCH 1/1] libc-package.bbclass: Replace hard coded libdir.

2011-06-23 Thread Richard Purdie
On Thu, 2011-06-23 at 19:33 +0800, Lianhao Lu wrote:
 Replace the hard coded libdir for locale generating to meet the multilib
 requirement.
 
 Signed-off-by: Lianhao Lu lianhao...@intel.com
 ---
  meta/classes/libc-package.bbclass |7 ---
  1 files changed, 4 insertions(+), 3 deletions(-)
 
 diff --git a/meta/classes/libc-package.bbclass 
 b/meta/classes/libc-package.bbclass
 index 55e3d48..84bac5d 100644
 --- a/meta/classes/libc-package.bbclass
 +++ b/meta/classes/libc-package.bbclass
 @@ -277,10 +277,11 @@ python package_do_split_gconvs () {
  
   def output_locale_binary(name, pkgname, locale, encoding):
   treedir = base_path_join(bb.data.getVar(WORKDIR, d, 1), 
 locale-tree)
 - ldlibdir = %s/lib % treedir
 + ldlibdir = base_path_join(treedir,libdir)

I think this should be base_libdir, not libdir.

   path = bb.data.getVar(PATH, d, 1)
   i18npath = base_path_join(treedir, datadir, i18n)
   gconvpath = base_path_join(treedir, iconvdata)
 + outputpath = base_path_join(treedir, libdir, locale)
  
   use_cross_localedef = 
 bb.data.getVar(LOCALE_GENERATION_WITH_CROSS-LOCALEDEF, d, 1) or 0
   if use_cross_localedef == 1:
 @@ -300,8 +301,8 @@ python package_do_split_gconvs () {
   raise bb.build.FuncFailed(unknown arch: + 
 target_arch +  for locale_arch_options)
  
   localedef_opts +=  --force --old-style --no-archive 
 --prefix=%s \
 - --inputfile=%s/%s/i18n/locales/%s --charmap=%s 
 %s/usr/lib/locale/%s \
 - % (treedir, treedir, datadir, locale, encoding, 
 treedir, name)
 + --inputfile=%s/%s/i18n/locales/%s --charmap=%s 
 %s/%s \
 + % (treedir, treedir, datadir, locale, encoding, 
 outputpath, name)
  
   cmd = PATH=\%s\ I18NPATH=\%s\ GCONV_PATH=\%s\ 
 cross-localedef %s % \
   (path, i18npath, gconvpath, localedef_opts)

But otherwise this looks like a sensible change to me!

Cheers,

Richard


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


[OE-core] [PATCH] dbus: update to 1.4.12

2011-06-23 Thread Koen Kooi
The tmpdir patch has been regenerated and can now be applied with git-am, no 
functional changes.

The biggest improvement is that dbus will log to syslog nowadays:

[   22.238708] 29dbus[237]: [system] Activating service 
name='fi.w1.wpa_supplicant1' (using servicehelper)

Signed-off-by: Koen Kooi k...@dominion.thruhere.net
---
 meta/recipes-core/dbus/dbus-1.4.1/dbus-1.init   |  121 ---
 meta/recipes-core/dbus/dbus-1.4.1/tmpdir.patch  |   36 ---
 meta/recipes-core/dbus/dbus-1.4.12/dbus-1.init  |  121 +++
 meta/recipes-core/dbus/dbus-1.4.12/tmpdir.patch |   44 
 meta/recipes-core/dbus/dbus_1.4.1.bb|6 -
 meta/recipes-core/dbus/dbus_1.4.12.bb   |4 +
 6 files changed, 169 insertions(+), 163 deletions(-)
 delete mode 100644 meta/recipes-core/dbus/dbus-1.4.1/dbus-1.init
 delete mode 100644 meta/recipes-core/dbus/dbus-1.4.1/tmpdir.patch
 create mode 100644 meta/recipes-core/dbus/dbus-1.4.12/dbus-1.init
 create mode 100644 meta/recipes-core/dbus/dbus-1.4.12/tmpdir.patch
 delete mode 100644 meta/recipes-core/dbus/dbus_1.4.1.bb
 create mode 100644 meta/recipes-core/dbus/dbus_1.4.12.bb

diff --git a/meta/recipes-core/dbus/dbus-1.4.1/dbus-1.init 
b/meta/recipes-core/dbus/dbus-1.4.1/dbus-1.init
deleted file mode 100644
index 4abc4cb..000
--- a/meta/recipes-core/dbus/dbus-1.4.1/dbus-1.init
+++ /dev/null
@@ -1,121 +0,0 @@
-#! /bin/sh
-### BEGIN INIT INFO
-# Provides:  dbus
-# Required-Start:$remote_fs $syslog
-# Required-Stop: $remote_fs $syslog
-# Default-Start: 2 3 4 5
-# Default-Stop:  1
-# Short-Description: D-Bus systemwide message bus
-# Description:   D-Bus is a simple interprocess messaging system, used
-#for sending messages between applications.
-### END INIT INFO
-#
-# -*- coding: utf-8 -*-
-# Debian init.d script for D-BUS
-# Copyright © 2003 Colin Walters walt...@debian.org
-
-set -e
-
-DAEMON=/usr/bin/dbus-daemon
-NAME=dbus
-DAEMONUSER=messagebus
-PIDDIR=/var/run/dbus
-PIDFILE=$PIDDIR/pid
-UUIDDIR=/var/lib/dbus
-DESC=system message bus
-EVENTDIR=/etc/dbus-1/event.d
-
-test -x $DAEMON || exit 0
-
-# Source defaults file; edit that file to configure this script.
-ENABLED=1
-PARAMS=
-if [ -e /etc/default/dbus ]; then
-  . /etc/default/dbus
-fi
-
-test $ENABLED != 0 || exit 0
-
-start_it_up()
-{
-  if [ ! -d $PIDDIR ]; then
-mkdir -p $PIDDIR
-chown $DAEMONUSER $PIDDIR
-chgrp $DAEMONUSER $PIDDIR
-  fi
-  if [ -e $PIDFILE ]; then
-PIDDIR=/proc/$(cat $PIDFILE)
-if [ -d ${PIDDIR} -a  $(readlink -f ${PIDDIR}/exe) = ${DAEMON} ]; then 
-  echo $DESC already started; not starting.
-else
-  echo Removing stale PID file $PIDFILE.
-  rm -f $PIDFILE
-fi
-  fi
-
-  if [ ! -d $UUIDDIR ]; then
-mkdir -p $UUIDDIR
-chown $DAEMONUSER $UUIDDIR
-chgrp $DAEMONUSER $UUIDDIR
-  fi
- 
-  dbus-uuidgen --ensure  
-
-  echo -n Starting $DESC: 
-  start-stop-daemon --start --quiet --pidfile $PIDFILE \
---user $DAEMONUSER --exec $DAEMON -- --system $PARAMS
-  echo $NAME.
-  if [ -d $EVENTDIR ]; then
-  run-parts --arg=start $EVENTDIR
-  fi
-}
-
-shut_it_down()
-{
-  if [ -d $EVENTDIR ]; then
-  # TODO: --reverse when busybox supports it
-  run-parts --arg=stop $EVENTDIR
-  fi
-  echo -n Stopping $DESC: 
-  start-stop-daemon --stop  --quiet --pidfile $PIDFILE \
---user $DAEMONUSER
-  # We no longer include these arguments so that start-stop-daemon
-  # can do its job even given that we may have been upgraded.
-  # We rely on the pidfile being sanely managed
-  # --exec $DAEMON -- --system $PARAMS
-  echo $NAME.
-  rm -f $PIDFILE
-}
-
-reload_it()
-{
-  echo -n Reloading $DESC config: 
-  dbus-send --print-reply --system --type=method_call \
---dest=org.freedesktop.DBus \
-/ org.freedesktop.DBus.ReloadConfig  /dev/null
-  # hopefully this is enough time for dbus to reload it's config file.
-  echo done.
-}
-
-case $1 in
-  start)
-start_it_up
-  ;;
-  stop)
-shut_it_down
-  ;;
-  reload|force-reload)
-reload_it
-  ;;
-  restart)
-shut_it_down
-sleep 1
-start_it_up
-  ;;
-  *)
-echo Usage: /etc/init.d/$NAME {start|stop|restart|reload|force-reload} 
2
-exit 1
-  ;;
-esac
-
-exit 0
diff --git a/meta/recipes-core/dbus/dbus-1.4.1/tmpdir.patch 
b/meta/recipes-core/dbus/dbus-1.4.1/tmpdir.patch
deleted file mode 100644
index de0766a..000
--- a/meta/recipes-core/dbus/dbus-1.4.1/tmpdir.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-Upstream-Status: Inappropriate [embedded]
-
-# avoid to check tmp dir at build time. instead uses hard coded /tmp here
-#
-# comment added by Kevin Tian kevin.t...@intel.com
-
 dbus-0.22/configure.in.orig2004-08-13 00:57:16.0 +0200
-+++ dbus-0.22/configure.in 2004-12-30 21:15:57.0 +0100
-@@ -1047,15 +1048,18 @@
- AC_SUBST(ABSOLUTE_TOP_BUILDDIR)
- 
-  Find socket directories
--if ! test -z $TMPDIR ; then
--   DEFAULT_SOCKET_DIR=$TMPDIR

[OE-core] [PATCH 0/1] Use new git server for clutter, V2

2011-06-23 Thread edwin . zhai
From: Zhai Edwin edwin.z...@intel.com

This patch use new git server for clutter. Pls. pull.

The following changes since commit b914de55a45029658116f729ffda3abead654c90:

  Revert eglibc: Upgrade recipes from 2.13 - 2.14 (2011-06-22 23:49:42 +0100)

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

Zhai Edwin (1):
  clutter: Use new git repo

 meta/recipes-graphics/clutter/clutter_git.bb |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


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


[OE-core] [PATCH 1/1] clutter: Use new git repo

2011-06-23 Thread edwin . zhai
From: Zhai Edwin edwin.z...@intel.com

clutter move its git server from clutter-project.org to gnome.org

[YOCTO #1040] got fixed

Signed-off-by: Zhai Edwin edwin.z...@intel.com
---
 meta/recipes-graphics/clutter/clutter_git.bb |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-graphics/clutter/clutter_git.bb 
b/meta/recipes-graphics/clutter/clutter_git.bb
index cb5f476..76a26a6 100644
--- a/meta/recipes-graphics/clutter/clutter_git.bb
+++ b/meta/recipes-graphics/clutter/clutter_git.bb
@@ -7,7 +7,7 @@ SRCREV = e957e277b8a4893ce8c99e94402036d42a8b3748
 PV = 1.0.0+git${SRCPV}
 PR = r9
 
-SRC_URI = 
git://git.clutter-project.org/clutter.git;protocol=git;branch=master \
+SRC_URI = git://git.gnome.org/clutter;protocol=git;branch=master \

file://enable_tests-654c26a1301c9bc5f8e3e5e3b68af5eb1b2e0673.patch;patch=1;rev=654c26a1301c9bc5f8e3e5e3b68af5eb1b2e0673
 \

file://enable_tests.patch;patch=1;notrev=654c26a1301c9bc5f8e3e5e3b68af5eb1b2e0673
 
 S = ${WORKDIR}/git
-- 
1.7.1


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


Re: [OE-core] [PATCH 0/1] Use new git server for clutter, V2

2011-06-23 Thread Richard Purdie
On Thu, 2011-06-23 at 20:33 +0800, edwin.z...@intel.com wrote:
 From: Zhai Edwin edwin.z...@intel.com
 
 This patch use new git server for clutter. Pls. pull.
 
 The following changes since commit b914de55a45029658116f729ffda3abead654c90:
 
   Revert eglibc: Upgrade recipes from 2.13 - 2.14 (2011-06-22 23:49:42 
 +0100)
 
 are available in the git repository at:
   git://git.pokylinux.org/poky-contrib gzhai/master
   http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=gzhai/master
 
 Zhai Edwin (1):
   clutter: Use new git repo

Merged to master, thanks.

Richard


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


Re: [OE-core] [PATCH] kernel.bbclass: Stage System.map with KERNEL_VERSION suffix

2011-06-23 Thread Richard Purdie
On Wed, 2011-06-22 at 16:48 -0700, Tom Rini wrote:
 Without this, images will fail now that kernel-abiversion is back.
 
 Signed-off-by: Tom Rini tom_r...@mentor.com
 ---
  meta/classes/kernel.bbclass |1 +
  1 files changed, 1 insertions(+), 0 deletions(-)

Merged to master, thanks.

Richard


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


Re: [OE-core] [PATCH 0/4] eglibc 2.14 upgrade

2011-06-23 Thread Richard Purdie
On Wed, 2011-06-22 at 16:22 -0700, Khem Raj wrote:
 On Wed, Jun 22, 2011 at 3:59 PM, Richard Purdie
 richard.pur...@linuxfoundation.org wrote:
  On Wed, 2011-06-22 at 15:31 -0700, Khem Raj wrote:
  On Wed, Jun 22, 2011 at 1:28 PM, Mark Hatle mark.ha...@windriver.com 
  wrote:
   On 6/22/11 1:35 PM, Mark Hatle wrote:
   Since applying this update, I'm not longer getting an rpc/rpc.h file, 
   which
   breaks various things like busybox mount.
  
   Is anyone else seeing this behavior?
  
   Reverting:
  
   2a68cf4d315cdd18766de0c75928ff17846a6cd7 and
   190a946e9a4213944e3ee675c4b3e18701698e87
  
   fixed the problem for me.  So there is definitely a problems in the 
   upgrade.
  
 
  onward looking rpc is now maintained with libtirpc starting glibc 2.14 rpc 
  is
  not to be used from bundled code in glibc. If we dont have recipes for 
  libtirpc
  then I will add that.
 
  There looks to be more than this wrong with this update. A quick
  comparison shows the following changes in the list of files being
  installed from do_install:
 
  -./lib/libmemusage.so
  -./lib/libnss_hesiod-2.13.so
  -./lib/libnss_nisplus-2.13.so
  -./lib/libutil-2.13.so
  -./lib/libresolv-2.13.so
  -./lib/libm-2.13.so
  -./lib/libnsl-2.13.so
  -./lib/libnss_compat-2.13.so
  -./lib/libnss_nis-2.13.so
  -./lib/libnss_dns-2.13.so
  -./lib/libanl-2.13.so
  -./lib/libBrokenLocale-2.13.so
  -./lib/libcrypt-2.13.so
  -./etc/rpc
  -./usr/lib/libnss_compat_pic.a
  -./usr/lib/libnss_dns_pic.a
  -./usr/lib/libnss_nisplus_pic.a
  +./usr/lib/audit/sotruss-lib.so
  -./usr/lib/libutil_pic.map
  -./usr/lib/libBrokenLocale_pic.a
  -./usr/lib/libBrokenLocale.a
  -./usr/lib/libBrokenLocale_pic.map
  -./usr/lib/libm.a
  -./usr/lib/libnss_dns_pic.map
  -./usr/lib/libm_pic.map
  -./usr/lib/libnss_hesiod_pic.map
  -./usr/lib/librpcsvc.a
  -./usr/lib/libutil.a
  -./usr/lib/libnss_compat_pic.map
  -./usr/lib/libcrypt.a
  -./usr/lib/libutil_pic.a
  -./usr/lib/libanl.a
  -./usr/lib/libnsl_pic.a
  -./usr/lib/libresolv.a
  -./usr/lib/libnss_hesiod_pic.a
  -./usr/lib/libm_pic.a
  -./usr/lib/libnsl_pic.map
  -./usr/lib/libnss_nis_pic.map
  -./usr/lib/libanl_pic.a
  -./usr/lib/libcrypt_pic.map
  -./usr/lib/libcrypt_pic.a
  -./usr/lib/libnss_nis_pic.a
  -./usr/lib/libresolv_pic.map
  -./usr/lib/libresolv_pic.a
  -./usr/lib/libanl_pic.map
  -./usr/lib/libnss_nisplus_pic.map
  -./usr/lib/libnsl.a
  -./usr/bin/rpcgen
  -./usr/bin/gencat
  +./usr/bin/sotruss
  -./usr/bin/localedef
  -./usr/bin/locale
  -./usr/sbin/rpcinfo
  -./usr/sbin/nscd
 
  Some of these are rpc related but there are other issues too.
 
  I've reverted the upgrade itself for now until we have something in
  place to address the issues and its actually had some testing...
 
 
 some of these are due to rpc and others are due to nss being removed
 I need to backport the nss db re-implementation then most of it should
 be resolved
 I guess I will post 2.14 as additional recipes rather than replacement for 
 2.13
 that way we will get some soak time.

FWIW, some of the above list was due to local build corruption as I had
some weirdness going on with DISTRO_FEATURES locally. That variable now
influences the libc quite a lot and might also be catching others out
which is why I mention it.

Cheers,

Richard


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


[OE-core] [PATCH V2 0/1] Removing hard coded libdir for libc locale generating

2011-06-23 Thread Lianhao Lu
V2:

Use base_libdir instead of libdir for ldlibdir.

V1:
The patch replaces the hard coded libdir in package_do_split_gconvs() in 
libc-package.bbclass to meet the requirement of multilib.

The following changes since commit b04ee632eb06650dde3e3ee8c4788a45cae0aa5e:
  Richard Purdie (1):
multilib: First pass from RP

are available in the git repository at:

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

Lianhao Lu (1):
  libc-package.bbclass: Replace hard coded libdir.

 meta/classes/libc-package.bbclass |7 ---
 1 files changed, 4 insertions(+), 3 deletions(-)


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


[OE-core] [PATCH V2 1/1] libc-package.bbclass: Replace hard coded libdir.

2011-06-23 Thread Lianhao Lu
Replace the hard coded libdir for locale generating to meet the multilib
requirement.

Signed-off-by: Lianhao Lu lianhao...@intel.com
---
 meta/classes/libc-package.bbclass |7 ---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/meta/classes/libc-package.bbclass 
b/meta/classes/libc-package.bbclass
index 55e3d48..5db46ce 100644
--- a/meta/classes/libc-package.bbclass
+++ b/meta/classes/libc-package.bbclass
@@ -277,10 +277,11 @@ python package_do_split_gconvs () {
 
def output_locale_binary(name, pkgname, locale, encoding):
treedir = base_path_join(bb.data.getVar(WORKDIR, d, 1), 
locale-tree)
-   ldlibdir = %s/lib % treedir
+   ldlibdir = base_path_join(treedir, 
bb.data.getVar(base_libdir, d, 1))
path = bb.data.getVar(PATH, d, 1)
i18npath = base_path_join(treedir, datadir, i18n)
gconvpath = base_path_join(treedir, iconvdata)
+   outputpath = base_path_join(treedir, libdir, locale)
 
use_cross_localedef = 
bb.data.getVar(LOCALE_GENERATION_WITH_CROSS-LOCALEDEF, d, 1) or 0
if use_cross_localedef == 1:
@@ -300,8 +301,8 @@ python package_do_split_gconvs () {
raise bb.build.FuncFailed(unknown arch: + 
target_arch +  for locale_arch_options)
 
localedef_opts +=  --force --old-style --no-archive 
--prefix=%s \
-   --inputfile=%s/%s/i18n/locales/%s --charmap=%s 
%s/usr/lib/locale/%s \
-   % (treedir, treedir, datadir, locale, encoding, 
treedir, name)
+   --inputfile=%s/%s/i18n/locales/%s --charmap=%s 
%s/%s \
+   % (treedir, treedir, datadir, locale, encoding, 
outputpath, name)
 
cmd = PATH=\%s\ I18NPATH=\%s\ GCONV_PATH=\%s\ 
cross-localedef %s % \
(path, i18npath, gconvpath, localedef_opts)
-- 
1.7.0.4


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


Re: [OE-core] sstate skips STAGING_DIR_KERNEL?

2011-06-23 Thread Richard Purdie
On Wed, 2011-06-22 at 17:20 -0700, Tom Rini wrote:
 As part of looking into the problem I had that I just posted a patch for
 I was going why isn't -c clean (or cleanall or cleansstate) knocking
 out STAGING_DIR_KERNEL contents?  Answer, sstate is totally skipping
 that out.  Is there some variable we need to be setting somewhere to add
 this in?  Or are we going to have to take in the various bits of OE.dev
 kernel.bbclass instead here?

I think there is a bug in kernel.bbclass. This should fix it:

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index aaf341b..9f09107 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -119,7 +119,7 @@ kernel_do_install() {
# Support for external module building - create a minimal copy of the
# kernel source tree.
#
-   kerneldir=${STAGING_KERNEL_DIR}
+   kerneldir=${D}/kernel
install -d $kerneldir
 
#

I'll merge something like this is nobody objects.

Cheers,

Richard



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


Re: [OE-core] [PATCH 0/4] eglibc 2.14 upgrade

2011-06-23 Thread Tom Rini
On 06/22/2011 09:13 PM, Khem Raj wrote:
 On Wed, Jun 22, 2011 at 4:29 PM, Tom Rini tom_r...@mentor.com wrote:
 On 06/22/2011 04:22 PM, Khem Raj wrote:
 On Wed, Jun 22, 2011 at 3:59 PM, Richard Purdie
 richard.pur...@linuxfoundation.org wrote:
 On Wed, 2011-06-22 at 15:31 -0700, Khem Raj wrote:
 On Wed, Jun 22, 2011 at 1:28 PM, Mark Hatle mark.ha...@windriver.com 
 wrote:
 On 6/22/11 1:35 PM, Mark Hatle wrote:
 Since applying this update, I'm not longer getting an rpc/rpc.h file, 
 which
 breaks various things like busybox mount.

 Is anyone else seeing this behavior?

 Reverting:

 2a68cf4d315cdd18766de0c75928ff17846a6cd7 and
 190a946e9a4213944e3ee675c4b3e18701698e87

 fixed the problem for me.  So there is definitely a problems in the 
 upgrade.


 onward looking rpc is now maintained with libtirpc starting glibc 2.14 
 rpc is
 not to be used from bundled code in glibc. If we dont have recipes for 
 libtirpc
 then I will add that.

 There looks to be more than this wrong with this update. A quick
 comparison shows the following changes in the list of files being
 installed from do_install:

 -./lib/libmemusage.so
 -./lib/libnss_hesiod-2.13.so
 -./lib/libnss_nisplus-2.13.so
 -./lib/libutil-2.13.so
 -./lib/libresolv-2.13.so
 -./lib/libm-2.13.so
 -./lib/libnsl-2.13.so
 -./lib/libnss_compat-2.13.so
 -./lib/libnss_nis-2.13.so
 -./lib/libnss_dns-2.13.so
 -./lib/libanl-2.13.so
 -./lib/libBrokenLocale-2.13.so
 -./lib/libcrypt-2.13.so
 -./etc/rpc
 -./usr/lib/libnss_compat_pic.a
 -./usr/lib/libnss_dns_pic.a
 -./usr/lib/libnss_nisplus_pic.a
 +./usr/lib/audit/sotruss-lib.so
 -./usr/lib/libutil_pic.map
 -./usr/lib/libBrokenLocale_pic.a
 -./usr/lib/libBrokenLocale.a
 -./usr/lib/libBrokenLocale_pic.map
 -./usr/lib/libm.a
 -./usr/lib/libnss_dns_pic.map
 -./usr/lib/libm_pic.map
 -./usr/lib/libnss_hesiod_pic.map
 -./usr/lib/librpcsvc.a
 -./usr/lib/libutil.a
 -./usr/lib/libnss_compat_pic.map
 -./usr/lib/libcrypt.a
 -./usr/lib/libutil_pic.a
 -./usr/lib/libanl.a
 -./usr/lib/libnsl_pic.a
 -./usr/lib/libresolv.a
 -./usr/lib/libnss_hesiod_pic.a
 -./usr/lib/libm_pic.a
 -./usr/lib/libnsl_pic.map
 -./usr/lib/libnss_nis_pic.map
 -./usr/lib/libanl_pic.a
 -./usr/lib/libcrypt_pic.map
 -./usr/lib/libcrypt_pic.a
 -./usr/lib/libnss_nis_pic.a
 -./usr/lib/libresolv_pic.map
 -./usr/lib/libresolv_pic.a
 -./usr/lib/libanl_pic.map
 -./usr/lib/libnss_nisplus_pic.map
 -./usr/lib/libnsl.a
 -./usr/bin/rpcgen
 -./usr/bin/gencat
 +./usr/bin/sotruss
 -./usr/bin/localedef
 -./usr/bin/locale
 -./usr/sbin/rpcinfo
 -./usr/sbin/nscd

 Some of these are rpc related but there are other issues too.

 I've reverted the upgrade itself for now until we have something in
 place to address the issues and its actually had some testing...


 some of these are due to rpc and others are due to nss being removed
 I need to backport the nss db re-implementation then most of it should
 be resolved
 I guess I will post 2.14 as additional recipes rather than replacement for 
 2.13
 that way we will get some soak time.

 Neither of those would explain the locale problem Otavio and I have seen:
 
 $ find ../../eglibc-2.14-r0+svnr14285/packages-split/ -name *wae*
 ../../eglibc-2.14-r0+svnr14285/packages-split/locale-base-wae-ch
 ../../eglibc-2.14-r0+svnr14285/packages-split/eglibc-localedata-wae-ch
 ../../eglibc-2.14-r0+svnr14285/packages-split/eglibc-localedata-wae-ch/usr/share/i18n/locales/wae_CH
 
 so don't know whats the problem you are having.

Well, in my case it's a brand new checkout of oe-core + meta-oe in
'distro-less' mode.  Otavio saw the same thing with his custom distro
which just uses the default bits for libc features.

-- 
Tom Rini
Mentor Graphics Corporation

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


Re: [OE-core] sstate skips STAGING_DIR_KERNEL?

2011-06-23 Thread Tom Rini
On 06/23/2011 09:15 AM, Tom Rini wrote:
 On 06/23/2011 08:29 AM, Richard Purdie wrote:
 On Wed, 2011-06-22 at 17:20 -0700, Tom Rini wrote:
 As part of looking into the problem I had that I just posted a patch for
 I was going why isn't -c clean (or cleanall or cleansstate) knocking
 out STAGING_DIR_KERNEL contents?  Answer, sstate is totally skipping
 that out.  Is there some variable we need to be setting somewhere to add
 this in?  Or are we going to have to take in the various bits of OE.dev
 kernel.bbclass instead here?

 I think there is a bug in kernel.bbclass. This should fix it:

 diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
 index aaf341b..9f09107 100644
 --- a/meta/classes/kernel.bbclass
 +++ b/meta/classes/kernel.bbclass
 @@ -119,7 +119,7 @@ kernel_do_install() {
 # Support for external module building - create a minimal copy of the
 # kernel source tree.
 #
 -   kerneldir=${STAGING_KERNEL_DIR}
 +   kerneldir=${D}/kernel
 install -d $kerneldir
  
 #

 I'll merge something like this is nobody objects.
 
 That makes sense, testing this now.

Yeah, that does it.

Tested-by: Tom Rini tom_r...@mentor.com

Koen, once this is in oe-core need a request to bring it over too or
just want to come grab it?

-- 
Tom Rini
Mentor Graphics Corporation

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


Re: [OE-core] sstate skips STAGING_DIR_KERNEL?

2011-06-23 Thread Koen Kooi


Op 23 jun 2011, om 18:51 heeft Tom Rini het volgende geschreven:


On 06/23/2011 09:15 AM, Tom Rini wrote:

On 06/23/2011 08:29 AM, Richard Purdie wrote:

On Wed, 2011-06-22 at 17:20 -0700, Tom Rini wrote:
As part of looking into the problem I had that I just posted a  
patch for
I was going why isn't -c clean (or cleanall or cleansstate)  
knocking
out STAGING_DIR_KERNEL contents?  Answer, sstate is totally  
skipping
that out.  Is there some variable we need to be setting somewhere  
to add
this in?  Or are we going to have to take in the various bits of  
OE.dev

kernel.bbclass instead here?


I think there is a bug in kernel.bbclass. This should fix it:

diff --git a/meta/classes/kernel.bbclass b/meta/classes/ 
kernel.bbclass

index aaf341b..9f09107 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -119,7 +119,7 @@ kernel_do_install() {
   # Support for external module building - create a minimal  
copy of the

   # kernel source tree.
   #
-   kerneldir=${STAGING_KERNEL_DIR}
+   kerneldir=${D}/kernel
   install -d $kerneldir

   #

I'll merge something like this is nobody objects.


That makes sense, testing this now.


Yeah, that does it.

Tested-by: Tom Rini tom_r...@mentor.com

Koen, once this is in oe-core need a request to bring it over too or
just want to come grab it?


I have it applied locally, just waiting for it to land in oe-core so I  
can transplant the commit headers :)


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


[OE-core] [PATCH 3/9] base-passwd: Fix owners/groups

2011-06-23 Thread Mark Hatle
Fix the owners and groups of specific files copied from the developmen tree.
This resolves an issue where those files gain the user/group id of the build
user.

Signed-off-by: Mark Hatle mark.ha...@windriver.com
---
 .../recipes-core/base-passwd/base-passwd_3.5.22.bb |   10 +-
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/meta/recipes-core/base-passwd/base-passwd_3.5.22.bb 
b/meta/recipes-core/base-passwd/base-passwd_3.5.22.bb
index 3315c68..7b1fdf1 100644
--- a/meta/recipes-core/base-passwd/base-passwd_3.5.22.bb
+++ b/meta/recipes-core/base-passwd/base-passwd_3.5.22.bb
@@ -1,7 +1,7 @@
 SUMMARY = Base system master password/group files.
 DESCRIPTION = The master copies of the user database files (/etc/passwd and 
/etc/group).  The update-passwd tool is also provided to keep the system 
databases synchronized with these master files.
 SECTION = base
-PR = r2
+PR = r3
 LICENSE = GPLv2+
 LIC_FILES_CHKSUM = file://COPYING;md5=eb723b61539feef013de476e68b5c50a
 
@@ -21,16 +21,16 @@ SSTATEPOSTINSTFUNCS += base_passwd_sstate_postinst
 
 do_install () {
install -d -m 755 ${D}${sbindir}
-   install -p -m 755 update-passwd ${D}${sbindir}/
+   install -o root -g root -p -m 755 update-passwd ${D}${sbindir}/
install -d -m 755 ${D}${mandir}/man8 ${D}${mandir}/pl/man8
install -p -m 644 man/update-passwd.8 ${D}${mandir}/man8/
install -p -m 644 man/update-passwd.pl.8 \
${D}${mandir}/pl/man8/update-passwd.8
gzip -9 ${D}${mandir}/man8/* ${D}${mandir}/pl/man8/*
install -d -m 755 ${D}${datadir}/base-passwd
-   install -p -m 644 passwd.master ${D}${datadir}/base-passwd/
-   install -p -m 644 group.master ${D}${datadir}/base-passwd/
-   install -p -m 644 ${S}/../login.defs 
${D}${datadir}/base-passwd/login.defs
+   install -o root -g root -p -m 644 passwd.master 
${D}${datadir}/base-passwd/
+   install -o root -g root -p -m 644 group.master 
${D}${datadir}/base-passwd/
+   install -o root -g root -p -m 644 ${S}/../login.defs 
${D}${datadir}/base-passwd/login.defs
 
install -d -m 755 ${D}${docdir}/${PN}
install -p -m 644 debian/changelog ${D}${docdir}/${PN}/
-- 
1.7.3.4


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


Re: [OE-core] [PATCH 0/4] eglibc 2.14 upgrade

2011-06-23 Thread Khem Raj
On Thu, Jun 23, 2011 at 9:26 AM, Tom Rini tom_r...@mentor.com wrote:
 On 06/22/2011 09:13 PM, Khem Raj wrote:
 On Wed, Jun 22, 2011 at 4:29 PM, Tom Rini tom_r...@mentor.com wrote:
 On 06/22/2011 04:22 PM, Khem Raj wrote:
 On Wed, Jun 22, 2011 at 3:59 PM, Richard Purdie
 richard.pur...@linuxfoundation.org wrote:
 On Wed, 2011-06-22 at 15:31 -0700, Khem Raj wrote:
 On Wed, Jun 22, 2011 at 1:28 PM, Mark Hatle mark.ha...@windriver.com 
 wrote:
 On 6/22/11 1:35 PM, Mark Hatle wrote:
 Since applying this update, I'm not longer getting an rpc/rpc.h file, 
 which
 breaks various things like busybox mount.

 Is anyone else seeing this behavior?

 Reverting:

 2a68cf4d315cdd18766de0c75928ff17846a6cd7 and
 190a946e9a4213944e3ee675c4b3e18701698e87

 fixed the problem for me.  So there is definitely a problems in the 
 upgrade.


 onward looking rpc is now maintained with libtirpc starting glibc 2.14 
 rpc is
 not to be used from bundled code in glibc. If we dont have recipes for 
 libtirpc
 then I will add that.

 There looks to be more than this wrong with this update. A quick
 comparison shows the following changes in the list of files being
 installed from do_install:

 -./lib/libmemusage.so
 -./lib/libnss_hesiod-2.13.so
 -./lib/libnss_nisplus-2.13.so
 -./lib/libutil-2.13.so
 -./lib/libresolv-2.13.so
 -./lib/libm-2.13.so
 -./lib/libnsl-2.13.so
 -./lib/libnss_compat-2.13.so
 -./lib/libnss_nis-2.13.so
 -./lib/libnss_dns-2.13.so
 -./lib/libanl-2.13.so
 -./lib/libBrokenLocale-2.13.so
 -./lib/libcrypt-2.13.so
 -./etc/rpc
 -./usr/lib/libnss_compat_pic.a
 -./usr/lib/libnss_dns_pic.a
 -./usr/lib/libnss_nisplus_pic.a
 +./usr/lib/audit/sotruss-lib.so
 -./usr/lib/libutil_pic.map
 -./usr/lib/libBrokenLocale_pic.a
 -./usr/lib/libBrokenLocale.a
 -./usr/lib/libBrokenLocale_pic.map
 -./usr/lib/libm.a
 -./usr/lib/libnss_dns_pic.map
 -./usr/lib/libm_pic.map
 -./usr/lib/libnss_hesiod_pic.map
 -./usr/lib/librpcsvc.a
 -./usr/lib/libutil.a
 -./usr/lib/libnss_compat_pic.map
 -./usr/lib/libcrypt.a
 -./usr/lib/libutil_pic.a
 -./usr/lib/libanl.a
 -./usr/lib/libnsl_pic.a
 -./usr/lib/libresolv.a
 -./usr/lib/libnss_hesiod_pic.a
 -./usr/lib/libm_pic.a
 -./usr/lib/libnsl_pic.map
 -./usr/lib/libnss_nis_pic.map
 -./usr/lib/libanl_pic.a
 -./usr/lib/libcrypt_pic.map
 -./usr/lib/libcrypt_pic.a
 -./usr/lib/libnss_nis_pic.a
 -./usr/lib/libresolv_pic.map
 -./usr/lib/libresolv_pic.a
 -./usr/lib/libanl_pic.map
 -./usr/lib/libnss_nisplus_pic.map
 -./usr/lib/libnsl.a
 -./usr/bin/rpcgen
 -./usr/bin/gencat
 +./usr/bin/sotruss
 -./usr/bin/localedef
 -./usr/bin/locale
 -./usr/sbin/rpcinfo
 -./usr/sbin/nscd

 Some of these are rpc related but there are other issues too.

 I've reverted the upgrade itself for now until we have something in
 place to address the issues and its actually had some testing...


 some of these are due to rpc and others are due to nss being removed
 I need to backport the nss db re-implementation then most of it should
 be resolved
 I guess I will post 2.14 as additional recipes rather than replacement for 
 2.13
 that way we will get some soak time.

 Neither of those would explain the locale problem Otavio and I have seen:

 $ find ../../eglibc-2.14-r0+svnr14285/packages-split/ -name *wae*
 ../../eglibc-2.14-r0+svnr14285/packages-split/locale-base-wae-ch
 ../../eglibc-2.14-r0+svnr14285/packages-split/eglibc-localedata-wae-ch
 ../../eglibc-2.14-r0+svnr14285/packages-split/eglibc-localedata-wae-ch/usr/share/i18n/locales/wae_CH

 so don't know whats the problem you are having.

 Well, in my case it's a brand new checkout of oe-core + meta-oe in
 'distro-less' mode.  Otavio saw the same thing with his custom distro
 which just uses the default bits for libc features.


OK this a a new locale introduced in 2.14 but I checked the bits and
they all seem correct
to me. I will try to reproduce it but may not be this week.
 --
 Tom Rini
 Mentor Graphics Corporation

 ___
 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


[OE-core] [PATCH 4/9] ghostscript: Fix owner/group of /etc/cups

2011-06-23 Thread Mark Hatle
/etc/cups is owned by root:lp from the cups package, the associated
ghostscript was creating the /etc/cups directory as root:root.  /etc/cups
is the authoritative source.

Signed-off-by: Mark Hatle mark.ha...@windriver.com
---
 .../ghostscript/ghostscript_9.02.bb|4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-extended/ghostscript/ghostscript_9.02.bb 
b/meta/recipes-extended/ghostscript/ghostscript_9.02.bb
index 3cb5485..02038ea 100644
--- a/meta/recipes-extended/ghostscript/ghostscript_9.02.bb
+++ b/meta/recipes-extended/ghostscript/ghostscript_9.02.bb
@@ -15,7 +15,7 @@ SECTION = console/utils
 LICENSE = GPLv3
 LIC_FILES_CHKSUM = file://LICENSE;md5=d151214b3131251dfc9d858593acbd24
 
-PR = r2
+PR = r3
 
 DEPENDS = ${PN}-native tiff jpeg fontconfig cups
 DEPENDS_virtclass-native = 
@@ -57,6 +57,8 @@ do_install_append () {
 mkdir -p ${D}${datadir}/ghostscript/${PV}/
 cp -r Resource ${D}${datadir}/ghostscript/${PV}/
 cp -r iccprofiles ${D}${datadir}/ghostscript/${PV}/
+
+chown -R root:lp ${D}${sysconfdir}/cups
 }
 
 python do_patch_virtclass-native () {
-- 
1.7.3.4


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


[OE-core] [PATCH 7/9] gnome-doc-utils: Fix the owner/group on select files

2011-06-23 Thread Mark Hatle
All of the files in ${datadir}/xml/gnome/xslt were being given the uid/gid
of the build user.  Fix this for the target case, avoid it in the native.

Signed-off-by: Mark Hatle mark.ha...@windriver.com
---
 meta/recipes-gnome/gnome/gnome-doc-utils.inc   |3 +++
 meta/recipes-gnome/gnome/gnome-doc-utils_0.20.6.bb |2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-gnome/gnome/gnome-doc-utils.inc 
b/meta/recipes-gnome/gnome/gnome-doc-utils.inc
index b541753..62893ea 100644
--- a/meta/recipes-gnome/gnome/gnome-doc-utils.inc
+++ b/meta/recipes-gnome/gnome/gnome-doc-utils.inc
@@ -9,6 +9,9 @@ EXTRA_OECONF = --disable-scrollkeeper
 do_install_append() {
mkdir -p  ${D}${datadir}/xml/gnome/xslt/
cp -pPr ${S}/xslt/* ${D}${datadir}/xml/gnome/xslt/
+
+   echo ${PATH}
+   chown -R root:root ${D}
 }
 
 FILES_${PN} += ${datadir}/xml*
diff --git a/meta/recipes-gnome/gnome/gnome-doc-utils_0.20.6.bb 
b/meta/recipes-gnome/gnome/gnome-doc-utils_0.20.6.bb
index e7bf6e9..d85697f 100644
--- a/meta/recipes-gnome/gnome/gnome-doc-utils_0.20.6.bb
+++ b/meta/recipes-gnome/gnome/gnome-doc-utils_0.20.6.bb
@@ -1,7 +1,7 @@
 require gnome-doc-utils.inc
 LIC_FILES_CHKSUM = file://COPYING.GPL;md5=eb723b61539feef013de476e68b5c50a \
file://COPYING.LGPL;md5=a6f89e2100d9b6cdffcea4f398e37343
-PR = r0
+PR = r1
 
 SRC_URI += file://xsltproc_nonet.patch
 
-- 
1.7.3.4


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


[OE-core] [PATCH 8/9] db: Fix file ownership

2011-06-23 Thread Mark Hatle
Signed-off-by: Mark Hatle mark.ha...@windriver.com
---
 meta/recipes-support/db/db_5.1.19.bb |2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-support/db/db_5.1.19.bb 
b/meta/recipes-support/db/db_5.1.19.bb
index fc87c31..a8ae1bd 100644
--- a/meta/recipes-support/db/db_5.1.19.bb
+++ b/meta/recipes-support/db/db_5.1.19.bb
@@ -98,6 +98,8 @@ do_install_append() {
test ! -d ${D}/${docdir} || rm -rf ${D}/${docdir}
mv ${D}/${prefix}/docs ${D}/${docdir}
fi
+
+   chown -R root:root ${D}
 }
 
 BBCLASSEXTEND = native nativesdk
-- 
1.7.3.4


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


[OE-core] [PATCH 2/9] resolveconf: Fix file owners

2011-06-23 Thread Mark Hatle
The file ownership of various configuration files needs to be set to root:root
otherwise it inherits the user id of the build.

Signed-off-by: Mark Hatle mark.ha...@windriver.com
---
 .../resolvconf/resolvconf_1.48.bb  |3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-connectivity/resolvconf/resolvconf_1.48.bb 
b/meta/recipes-connectivity/resolvconf/resolvconf_1.48.bb
index cb8aaaf..507a233 100644
--- a/meta/recipes-connectivity/resolvconf/resolvconf_1.48.bb
+++ b/meta/recipes-connectivity/resolvconf/resolvconf_1.48.bb
@@ -11,7 +11,7 @@ AUTHOR = Thomas Hood
 HOMEPAGE = http://packages.debian.org/resolvconf;
 DEPENDS = bash
 RDEPENDS_${PN} = bash
-PR = r0
+PR = r1
 
 SRC_URI = ${DEBIAN_MIRROR}/main/r/resolvconf/resolvconf_${PV}.tar.gz
 
@@ -27,6 +27,7 @@ do_install () {
install -d ${D}${sysconfdir} ${D}${sbindir} ${D}${base_sbindir} 
${D}${localstatedir}/volatile/run/resolvconf/interface
install -d ${D}${mandir}/man8 ${D}${docdir}/${P}
cp -pPR etc/* ${D}${sysconfdir}/
+   chown -R root:root ${D}${sysconfdir}/
install -m 0755 bin/resolvconf ${D}${base_sbindir}/
install -m 0644 README ${D}${docdir}/${P}/
install -m 0644 man/resolvconf.8 ${D}${mandir}/man8/
-- 
1.7.3.4


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


[OE-core] [PATCH 6/9] tzdata: Ensure all files are owned by root:root

2011-06-23 Thread Mark Hatle
Signed-off-by: Mark Hatle mark.ha...@windriver.com
---
 meta/recipes-extended/tzdata/tzdata_2011g.bb |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-extended/tzdata/tzdata_2011g.bb 
b/meta/recipes-extended/tzdata/tzdata_2011g.bb
index ed343c0..49847d3 100644
--- a/meta/recipes-extended/tzdata/tzdata_2011g.bb
+++ b/meta/recipes-extended/tzdata/tzdata_2011g.bb
@@ -6,7 +6,7 @@ LICENSE = PD
 LIC_FILES_CHKSUM = 
file://asia;beginline=2;endline=3;md5=06468c0e84ef4d4c97045a4a29b08234
 DEPENDS = tzcode-native
 
-PR = r0
+PR = r1
 
 RCONFLICTS= timezones timezone-africa timezone-america timezone-antarctica \
  timezone-arctic timezone-asia timezone-atlantic \
@@ -42,7 +42,7 @@ do_install () {
 # libc is removing zoneinfo files from package
 cp -pP ${S}/zone.tab ${D}${datadir}/zoneinfo
 cp -pP ${S}/iso3166.tab ${D}${datadir}/zoneinfo
-
+   chown -R root:root ${D}
 }
 
 # Packages primarily organized by directory with a major city
-- 
1.7.3.4


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


Re: [OE-core] [PATCH 0/4] eglibc 2.14 upgrade

2011-06-23 Thread Khem Raj
On Thu, Jun 23, 2011 at 6:31 AM, Richard Purdie
richard.pur...@linuxfoundation.org wrote:
 On Wed, 2011-06-22 at 16:22 -0700, Khem Raj wrote:
 On Wed, Jun 22, 2011 at 3:59 PM, Richard Purdie
 richard.pur...@linuxfoundation.org wrote:
  On Wed, 2011-06-22 at 15:31 -0700, Khem Raj wrote:
  On Wed, Jun 22, 2011 at 1:28 PM, Mark Hatle mark.ha...@windriver.com 
  wrote:
   On 6/22/11 1:35 PM, Mark Hatle wrote:
   Since applying this update, I'm not longer getting an rpc/rpc.h file, 
   which
   breaks various things like busybox mount.
  
   Is anyone else seeing this behavior?
  
   Reverting:
  
   2a68cf4d315cdd18766de0c75928ff17846a6cd7 and
   190a946e9a4213944e3ee675c4b3e18701698e87
  
   fixed the problem for me.  So there is definitely a problems in the 
   upgrade.
  
 
  onward looking rpc is now maintained with libtirpc starting glibc 2.14 
  rpc is
  not to be used from bundled code in glibc. If we dont have recipes for 
  libtirpc
  then I will add that.
 
  There looks to be more than this wrong with this update. A quick
  comparison shows the following changes in the list of files being
  installed from do_install:
 
  -./lib/libmemusage.so
  -./lib/libnss_hesiod-2.13.so
  -./lib/libnss_nisplus-2.13.so
  -./lib/libutil-2.13.so
  -./lib/libresolv-2.13.so
  -./lib/libm-2.13.so
  -./lib/libnsl-2.13.so
  -./lib/libnss_compat-2.13.so
  -./lib/libnss_nis-2.13.so
  -./lib/libnss_dns-2.13.so
  -./lib/libanl-2.13.so
  -./lib/libBrokenLocale-2.13.so
  -./lib/libcrypt-2.13.so
  -./etc/rpc
  -./usr/lib/libnss_compat_pic.a
  -./usr/lib/libnss_dns_pic.a
  -./usr/lib/libnss_nisplus_pic.a
  +./usr/lib/audit/sotruss-lib.so
  -./usr/lib/libutil_pic.map
  -./usr/lib/libBrokenLocale_pic.a
  -./usr/lib/libBrokenLocale.a
  -./usr/lib/libBrokenLocale_pic.map
  -./usr/lib/libm.a
  -./usr/lib/libnss_dns_pic.map
  -./usr/lib/libm_pic.map
  -./usr/lib/libnss_hesiod_pic.map
  -./usr/lib/librpcsvc.a
  -./usr/lib/libutil.a
  -./usr/lib/libnss_compat_pic.map
  -./usr/lib/libcrypt.a
  -./usr/lib/libutil_pic.a
  -./usr/lib/libanl.a
  -./usr/lib/libnsl_pic.a
  -./usr/lib/libresolv.a
  -./usr/lib/libnss_hesiod_pic.a
  -./usr/lib/libm_pic.a
  -./usr/lib/libnsl_pic.map
  -./usr/lib/libnss_nis_pic.map
  -./usr/lib/libanl_pic.a
  -./usr/lib/libcrypt_pic.map
  -./usr/lib/libcrypt_pic.a
  -./usr/lib/libnss_nis_pic.a
  -./usr/lib/libresolv_pic.map
  -./usr/lib/libresolv_pic.a
  -./usr/lib/libanl_pic.map
  -./usr/lib/libnss_nisplus_pic.map
  -./usr/lib/libnsl.a
  -./usr/bin/rpcgen
  -./usr/bin/gencat
  +./usr/bin/sotruss
  -./usr/bin/localedef
  -./usr/bin/locale
  -./usr/sbin/rpcinfo
  -./usr/sbin/nscd
 
  Some of these are rpc related but there are other issues too.
 
  I've reverted the upgrade itself for now until we have something in
  place to address the issues and its actually had some testing...
 

 some of these are due to rpc and others are due to nss being removed
 I need to backport the nss db re-implementation then most of it should
 be resolved
 I guess I will post 2.14 as additional recipes rather than replacement for 
 2.13
 that way we will get some soak time.

 FWIW, some of the above list was due to local build corruption as I had
 some weirdness going on with DISTRO_FEATURES locally. That variable now
 influences the libc quite a lot and might also be catching others out
 which is why I mention it.


yes I kind of was thinking that since for me the libraries were
matching except the ones
I mentioned. But
the rpc problem is bigger one and needs some hackery in libtirpc.

 Cheers,

 Richard


 ___
 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


[OE-core] [PATCH 1/9] native/nativesdk: Add a simple chown intercept command

2011-06-23 Thread Mark Hatle
During native and nativesdk package we want to intercept any calls to chown
and do nothing.  This prevents errors and allows the same recipes to be
used for both native and target recipes.

Signed-off-by: Mark Hatle mark.ha...@windriver.com
---
 meta/classes/native.bbclass|2 ++
 meta/classes/nativesdk.bbclass |2 ++
 scripts/native-intercept/chown |2 ++
 3 files changed, 6 insertions(+), 0 deletions(-)
 create mode 100755 scripts/native-intercept/chown

diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass
index 90fcd13..11ec6dc 100644
--- a/meta/classes/native.bbclass
+++ b/meta/classes/native.bbclass
@@ -85,6 +85,8 @@ EXTRA_NATIVE_PKGCONFIG_PATH ?= 
 PKG_CONFIG_PATH .= ${EXTRA_NATIVE_PKGCONFIG_PATH}
 PKG_CONFIG_SYSROOT_DIR = 
 
+PATH =. ${COREBASE}/scripts/native-intercept:
+
 python native_virtclass_handler () {
 if not isinstance(e, bb.event.RecipePreFinalise):
 return
diff --git a/meta/classes/nativesdk.bbclass b/meta/classes/nativesdk.bbclass
index 3fe4bf9..a0302b9 100644
--- a/meta/classes/nativesdk.bbclass
+++ b/meta/classes/nativesdk.bbclass
@@ -54,6 +54,8 @@ FILES_${PN}-dbg += ${prefix}/.debug \
 export PKG_CONFIG_DIR = ${STAGING_DIR_HOST}${libdir}/pkgconfig
 export PKG_CONFIG_SYSROOT_DIR = ${STAGING_DIR_HOST}
 
+PATH =. ${COREBASE}/scripts/native-intercept:
+
 python nativesdk_virtclass_handler () {
 if not isinstance(e, bb.event.RecipePreFinalise):
 return
diff --git a/scripts/native-intercept/chown b/scripts/native-intercept/chown
new file mode 100755
index 000..4f43271
--- /dev/null
+++ b/scripts/native-intercept/chown
@@ -0,0 +1,2 @@
+#! /bin/sh
+echo Intercept $0: $@ -- do nothing
-- 
1.7.3.4


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


[OE-core] [PATCH 5/9] libtirpc: Fix owner/group of /etc/netconfig

2011-06-23 Thread Mark Hatle
Signed-off-by: Mark Hatle mark.ha...@windriver.com
---
 meta/recipes-extended/libtirpc/libtirpc_0.2.1.bb |6 +-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-extended/libtirpc/libtirpc_0.2.1.bb 
b/meta/recipes-extended/libtirpc/libtirpc_0.2.1.bb
index 61dab95..6170e65 100644
--- a/meta/recipes-extended/libtirpc/libtirpc_0.2.1.bb
+++ b/meta/recipes-extended/libtirpc/libtirpc_0.2.1.bb
@@ -7,7 +7,7 @@ BUGTRACKER = 
http://sourceforge.net/tracker/?group_id=183075atid=903784;
 LICENSE = BSD
 LIC_FILES_CHKSUM = file://COPYING;md5=1c32c8e351f97e43e1ad6cf7f62de3bf \
 
file://src/netname.c;beginline=1;endline=27;md5=f8a8cd2cb25ac5aa16767364fb0e3c24
-PR = r0
+PR = r1
 
 SRC_URI = ${SOURCEFORGE_MIRROR}/libtirpc/libtirpc-${PV}.tar.bz2
 
@@ -15,3 +15,7 @@ SRC_URI[md5sum] = d77eb15f464bf9d6e66259eaf78b2a4e
 SRC_URI[sha256sum] = 
ea77cadd63941fc4edbee7863d2c7094e6a18263d2a2c8922319aee91352ff41
 
 inherit autotools
+
+do_install_append() {
+   chown root:root ${D}${sysconfdir}/netconfig
+}
-- 
1.7.3.4


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


Re: [OE-core] [PATCH 5/9] libtirpc: Fix owner/group of /etc/netconfig

2011-06-23 Thread Koen Kooi


Op 23 jun 2011, om 20:19 heeft Mark Hatle het volgende geschreven:


Signed-off-by: Mark Hatle mark.ha...@windriver.com
---
meta/recipes-extended/libtirpc/libtirpc_0.2.1.bb |6 +-


Not related to this patch, but 0.2.2 is out and we'll need some more  
updates for (e)glibc 2.14


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


[OE-core] [PATCH 0/9] Revised patch set for fixing owners/groups

2011-06-23 Thread Mark Hatle
This is a revised patch set for fixing the owners/groups.  It adds a
local intercrepter routine for chown that runs only with native and
nativesdk packages.

Also update the rejected python patch to fix only the gobject item.

The following changes since commit ad098e40e8c57727892819e131bf18308bf244d2:

  packagedata.py: Fix read_subpkgdata_dict() (2011-06-23 16:01:20 +0100)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib mhatle/recipe-fixup
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=mhatle/perms

Mark Hatle (9):
  native/nativesdk: Add a simple chown intercept command
  resolveconf: Fix file owners
  base-passwd: Fix owners/groups
  ghostscript: Fix owner/group of /etc/cups
  libtirpc: Fix owner/group of /etc/netconfig
  tzdata: Ensure all files are owned by root:root
  gnome-doc-utils: Fix the owner/group on select files
  db: Fix file ownership
  python: Add python to the dependency to pygobject

 meta/classes/native.bbclass|2 ++
 meta/classes/nativesdk.bbclass |2 ++
 .../resolvconf/resolvconf_1.48.bb  |3 ++-
 .../recipes-core/base-passwd/base-passwd_3.5.22.bb |   10 +-
 .../python/python-pygobject_2.27.91.bb |4 ++--
 .../ghostscript/ghostscript_9.02.bb|4 +++-
 meta/recipes-extended/libtirpc/libtirpc_0.2.1.bb   |6 +-
 meta/recipes-extended/tzdata/tzdata_2011g.bb   |4 ++--
 meta/recipes-gnome/gnome/gnome-doc-utils.inc   |3 +++
 meta/recipes-gnome/gnome/gnome-doc-utils_0.20.6.bb |2 +-
 meta/recipes-support/db/db_5.1.19.bb   |2 ++
 scripts/native-intercept/chown |2 ++
 12 files changed, 31 insertions(+), 13 deletions(-)
 create mode 100755 scripts/native-intercept/chown

-- 
1.7.3.4


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


[OE-core] [PATCH 1/9] native.bbclass: Add a simple chown intercept command (v2)

2011-06-23 Thread Mark Hatle
During native recipe processing we want to intercept any calls to chown
and do nothing.  This prevents errors and allows the same recipes to be
used for both native and target recipes.

Signed-off-by: Mark Hatle mark.ha...@windriver.com
---
 meta/classes/native.bbclass|2 ++
 scripts/native-intercept/chown |2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)
 create mode 100755 scripts/native-intercept/chown

diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass
index 90fcd13..11ec6dc 100644
--- a/meta/classes/native.bbclass
+++ b/meta/classes/native.bbclass
@@ -85,6 +85,8 @@ EXTRA_NATIVE_PKGCONFIG_PATH ?= 
 PKG_CONFIG_PATH .= ${EXTRA_NATIVE_PKGCONFIG_PATH}
 PKG_CONFIG_SYSROOT_DIR = 
 
+PATH =. ${COREBASE}/scripts/native-intercept:
+
 python native_virtclass_handler () {
 if not isinstance(e, bb.event.RecipePreFinalise):
 return
diff --git a/scripts/native-intercept/chown b/scripts/native-intercept/chown
new file mode 100755
index 000..4f43271
--- /dev/null
+++ b/scripts/native-intercept/chown
@@ -0,0 +1,2 @@
+#! /bin/sh
+echo Intercept $0: $@ -- do nothing
-- 
1.7.3.4


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


[OE-core] [PATCH 7/9] gnome-doc-utils: Fix the owner/group on select files (v2)

2011-06-23 Thread Mark Hatle
All of the files in ${datadir}/xml/gnome/xslt were being given the uid/gid
of the build user.  Fix this for the target case, avoid it in the native.

Signed-off-by: Mark Hatle mark.ha...@windriver.com
---
 meta/recipes-gnome/gnome/gnome-doc-utils.inc   |2 ++
 meta/recipes-gnome/gnome/gnome-doc-utils_0.20.6.bb |2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-gnome/gnome/gnome-doc-utils.inc 
b/meta/recipes-gnome/gnome/gnome-doc-utils.inc
index b541753..32fcf7a 100644
--- a/meta/recipes-gnome/gnome/gnome-doc-utils.inc
+++ b/meta/recipes-gnome/gnome/gnome-doc-utils.inc
@@ -9,6 +9,8 @@ EXTRA_OECONF = --disable-scrollkeeper
 do_install_append() {
mkdir -p  ${D}${datadir}/xml/gnome/xslt/
cp -pPr ${S}/xslt/* ${D}${datadir}/xml/gnome/xslt/
+
+   chown -R root:root ${D}
 }
 
 FILES_${PN} += ${datadir}/xml*
diff --git a/meta/recipes-gnome/gnome/gnome-doc-utils_0.20.6.bb 
b/meta/recipes-gnome/gnome/gnome-doc-utils_0.20.6.bb
index e7bf6e9..d85697f 100644
--- a/meta/recipes-gnome/gnome/gnome-doc-utils_0.20.6.bb
+++ b/meta/recipes-gnome/gnome/gnome-doc-utils_0.20.6.bb
@@ -1,7 +1,7 @@
 require gnome-doc-utils.inc
 LIC_FILES_CHKSUM = file://COPYING.GPL;md5=eb723b61539feef013de476e68b5c50a \
file://COPYING.LGPL;md5=a6f89e2100d9b6cdffcea4f398e37343
-PR = r0
+PR = r1
 
 SRC_URI += file://xsltproc_nonet.patch
 
-- 
1.7.3.4


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


[OE-core] [PATCH 0/9] Revised patch set for fixing owners/groups (V2)

2011-06-23 Thread Mark Hatle
Misunderstood nativesdk.  I thought it was not running under fakeroot
control.  No reason to intercept chown for nativesdk, revert that hunt.

Also removed an errant debug statement.

---

This is a revised patch set for fixing the owners/groups.  It adds a
local intercrepter routine for chown that runs only with native and
nativesdk packages.

Also update the rejected python patch to fix only the gobject item.


The following changes since commit ad098e40e8c57727892819e131bf18308bf244d2:

  packagedata.py: Fix read_subpkgdata_dict() (2011-06-23 16:01:20 +0100)

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

Mark Hatle (9):
  native.bbclass: Add a simple chown intercept command
  resolveconf: Fix file owners
  base-passwd: Fix owners/groups
  ghostscript: Fix owner/group of /etc/cups
  libtirpc: Fix owner/group of /etc/netconfig
  tzdata: Ensure all files are owned by root:root
  gnome-doc-utils: Fix the owner/group on select files
  db: Fix file ownership
  python: Add python to the dependency to pygobject

 meta/classes/native.bbclass|2 ++
 .../resolvconf/resolvconf_1.48.bb  |3 ++-
 .../recipes-core/base-passwd/base-passwd_3.5.22.bb |   10 +-
 .../python/python-pygobject_2.27.91.bb |4 ++--
 .../ghostscript/ghostscript_9.02.bb|4 +++-
 meta/recipes-extended/libtirpc/libtirpc_0.2.1.bb   |6 +-
 meta/recipes-extended/tzdata/tzdata_2011g.bb   |4 ++--
 meta/recipes-gnome/gnome/gnome-doc-utils.inc   |2 ++
 meta/recipes-gnome/gnome/gnome-doc-utils_0.20.6.bb |2 +-
 meta/recipes-support/db/db_5.1.19.bb   |2 ++
 scripts/native-intercept/chown |2 ++
 11 files changed, 28 insertions(+), 13 deletions(-)
 create mode 100755 scripts/native-intercept/chown

-- 
1.7.3.4


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


Re: [OE-core] [PATCH 5/9] libtirpc: Fix owner/group of /etc/netconfig

2011-06-23 Thread Khem Raj
On Thu, Jun 23, 2011 at 11:10 AM, Koen Kooi k...@dominion.thruhere.net wrote:

 Op 23 jun 2011, om 20:19 heeft Mark Hatle het volgende geschreven:

 Signed-off-by: Mark Hatle mark.ha...@windriver.com
 ---
 meta/recipes-extended/libtirpc/libtirpc_0.2.1.bb |    6 +-

 Not related to this patch, but 0.2.2 is out and we'll need some more updates
 for (e)glibc 2.14


yes I already have 0.2.2 lined up.
 ___
 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


Re: [OE-core] sstate skips STAGING_DIR_KERNEL?

2011-06-23 Thread Richard Purdie
On Thu, 2011-06-23 at 09:51 -0700, Tom Rini wrote:
 On 06/23/2011 09:15 AM, Tom Rini wrote:
  On 06/23/2011 08:29 AM, Richard Purdie wrote:
  On Wed, 2011-06-22 at 17:20 -0700, Tom Rini wrote:
  As part of looking into the problem I had that I just posted a patch for
  I was going why isn't -c clean (or cleanall or cleansstate) knocking
  out STAGING_DIR_KERNEL contents?  Answer, sstate is totally skipping
  that out.  Is there some variable we need to be setting somewhere to add
  this in?  Or are we going to have to take in the various bits of OE.dev
  kernel.bbclass instead here?
 
  I think there is a bug in kernel.bbclass. This should fix it:
 
  diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
  index aaf341b..9f09107 100644
  --- a/meta/classes/kernel.bbclass
  +++ b/meta/classes/kernel.bbclass
  @@ -119,7 +119,7 @@ kernel_do_install() {
  # Support for external module building - create a minimal copy of 
  the
  # kernel source tree.
  #
  -   kerneldir=${STAGING_KERNEL_DIR}
  +   kerneldir=${D}/kernel
  install -d $kerneldir
   
  #
 
  I'll merge something like this is nobody objects.
  
  That makes sense, testing this now.
 
 Yeah, that does it.
 
 Tested-by: Tom Rini tom_r...@mentor.com
 
 Koen, once this is in oe-core need a request to bring it over too or
 just want to come grab it?

I've merged it into OE-Core.

Cheers,

Richard


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


[OE-core] [PATCH] libtirpc: Upgrade 0.2.1 - 0.2.2

2011-06-23 Thread Khem Raj
Additionally bring in the nis headers which will be
required when using eglibc 2.14 where rpc support
is removed.

Make it provide virtual/librpc

Signed-off-by: Khem Raj raj.k...@gmail.com
---
 .../libtirpc-0.2.2/libtirpc-0.2.1-fortify.patch|   26 +
 .../libtirpc-0.2.2-rpc-des-prot.patch  |   39 
 .../libtirpc/libtirpc-0.2.2/remove-des-crypt.patch |   17 +
 meta/recipes-extended/libtirpc/libtirpc_0.2.1.bb   |   21 ---
 meta/recipes-extended/libtirpc/libtirpc_0.2.2.bb   |   33 +
 5 files changed, 115 insertions(+), 21 deletions(-)
 create mode 100644 
meta/recipes-extended/libtirpc/libtirpc-0.2.2/libtirpc-0.2.1-fortify.patch
 create mode 100644 
meta/recipes-extended/libtirpc/libtirpc-0.2.2/libtirpc-0.2.2-rpc-des-prot.patch
 create mode 100644 
meta/recipes-extended/libtirpc/libtirpc-0.2.2/remove-des-crypt.patch
 delete mode 100644 meta/recipes-extended/libtirpc/libtirpc_0.2.1.bb
 create mode 100644 meta/recipes-extended/libtirpc/libtirpc_0.2.2.bb

diff --git 
a/meta/recipes-extended/libtirpc/libtirpc-0.2.2/libtirpc-0.2.1-fortify.patch 
b/meta/recipes-extended/libtirpc/libtirpc-0.2.2/libtirpc-0.2.1-fortify.patch
new file mode 100644
index 000..32644b5
--- /dev/null
+++ b/meta/recipes-extended/libtirpc/libtirpc-0.2.2/libtirpc-0.2.1-fortify.patch
@@ -0,0 +1,26 @@
+Fix a possible overflow (reported by _FORTIFY_SOURCE=2)
+
+Ported from Gentoo
+
+Upstream-Status: Unknown
+
+Signed-off-by: Khem Raj raj.k...@gmail.com
+
+Index: libtirpc-0.2.1/src/getrpcport.c
+===
+--- libtirpc-0.2.1.orig/src/getrpcport.c
 libtirpc-0.2.1/src/getrpcport.c
+@@ -54,11 +54,11 @@ getrpcport(host, prognum, versnum, proto
+ 
+   if ((hp = gethostbyname(host)) == NULL)
+   return (0);
++  if (hp-h_length != sizeof(addr.sin_addr.s_addr))
++  return (0);
+   memset(addr, 0, sizeof(addr));
+   addr.sin_family = AF_INET;
+   addr.sin_port =  0;
+-  if (hp-h_length  sizeof(addr))
+-hp-h_length = sizeof(addr);
+   memcpy(addr.sin_addr.s_addr, hp-h_addr, (size_t)hp-h_length);
+   /* Inconsistent interfaces need casts! :-( */
+   return (pmap_getport(addr, (u_long)prognum, (u_long)versnum, 
diff --git 
a/meta/recipes-extended/libtirpc/libtirpc-0.2.2/libtirpc-0.2.2-rpc-des-prot.patch
 
b/meta/recipes-extended/libtirpc/libtirpc-0.2.2/libtirpc-0.2.2-rpc-des-prot.patch
new file mode 100644
index 000..c38a55b
--- /dev/null
+++ 
b/meta/recipes-extended/libtirpc/libtirpc-0.2.2/libtirpc-0.2.2-rpc-des-prot.patch
@@ -0,0 +1,39 @@
+From f2f43212b33dea42635061c82645287454a70107 Mon Sep 17 00:00:00 2001
+From: Mike Frysinger vap...@gentoo.org
+Date: Sat, 11 Jun 2011 15:21:55 -0400
+Subject: [PATCH] add multiple inclusion protection to rpc/des.h
+
+If you try to include this file multiple times, you get a build failure
+due to redefinitions of enums and such.
+
+Signed-off-by: Mike Frysinger vap...@gentoo.org
+---
+ tirpc/rpc/des.h |5 +
+ 1 files changed, 5 insertions(+), 0 deletions(-)
+
+
+Upstream-Status: Backport
+
+diff --git a/tirpc/rpc/des.h b/tirpc/rpc/des.h
+index e3d6897..d2881ad 100644
+--- a/tirpc/rpc/des.h
 b/tirpc/rpc/des.h
+@@ -33,6 +33,9 @@
+  * Copyright (c) 1986 by Sun Microsystems, Inc.
+  */
+ 
++#ifndef _RPC_DES_H_
++#define _RPC_DES_H_
++
+ #define DES_MAXLEN65536   /* maximum # of bytes to encrypt  */
+ #define DES_QUICKLEN  16  /* maximum # of bytes to encrypt quickly */
+ 
+@@ -80,3 +83,5 @@ struct desparams {
+  * Software DES.
+  */
+ extern int _des_crypt( char *, int, struct desparams * );
++
++#endif
+-- 
+1.7.5.3
+
diff --git 
a/meta/recipes-extended/libtirpc/libtirpc-0.2.2/remove-des-crypt.patch 
b/meta/recipes-extended/libtirpc/libtirpc-0.2.2/remove-des-crypt.patch
new file mode 100644
index 000..d94a585
--- /dev/null
+++ b/meta/recipes-extended/libtirpc/libtirpc-0.2.2/remove-des-crypt.patch
@@ -0,0 +1,17 @@
+http://sourceforge.net/mailarchive/message.php?msg_id=27636466
+
+Upstream-Status: Backport
+
+Index: libtirpc-0.2.2/src/Makefile.am
+===
+--- libtirpc-0.2.2.orig/src/Makefile.am
 libtirpc-0.2.2/src/Makefile.am
+@@ -50,7 +50,7 @@ libtirpc_la_SOURCES = auth_none.c auth_u
+ rpc_callmsg.c rpc_generic.c rpc_soc.c rpcb_clnt.c rpcb_prot.c \
+ rpcb_st_xdr.c svc.c svc_auth.c svc_dg.c svc_auth_unix.c svc_generic.c 
\
+ svc_raw.c svc_run.c svc_simple.c svc_vc.c getpeereid.c \
+-auth_time.c auth_des.c authdes_prot.c des_crypt.c
++auth_time.c auth_des.c authdes_prot.c
+ 
+ ## XDR
+ libtirpc_la_SOURCES += xdr.c xdr_rec.c xdr_array.c xdr_float.c xdr_mem.c 
xdr_reference.c xdr_stdio.c
diff --git a/meta/recipes-extended/libtirpc/libtirpc_0.2.1.bb 
b/meta/recipes-extended/libtirpc/libtirpc_0.2.1.bb
deleted file mode 100644
index 6170e65..000
--- 

Re: [OE-core] [PATCH 0/1] More LICENSE cleanup and additional common-licenses

2011-06-23 Thread Richard Purdie
On Wed, 2011-06-15 at 14:01 -0700, Flanagan, Elizabeth wrote:
 I've added some more licenses from the SPDX project as well as
 corrected some text.
 GCC's LICENSE field was problematic and I've corrected it to the
 actual GPL exception
 license text. I've also cleaned up gdb's LICENSE field.
 
 The following changes since commit e1f6ebba3ab2fc8a469c1d96fc6d4c4b8f16845c:
 
   meta-yocto: use FILESEXTRAPATHS_prepend := in all bbappends
 (2011-06-15 11:49:42 +0100)
 
 are available in the git repository at:
   git://git.pokylinux.org/poky-contrib eflanagan/license_corrections
   
 http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=eflanagan/license_corrections
 
 Beth Flanagan (1):
   common-licenses: Additions and corrections

Merged to master, thanks.

Richard


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


Re: [OE-core] [PATCH 13/40] python: Switch to using the default -dbg package (v2)

2011-06-23 Thread Khem Raj

On 06/22/2011 11:16 AM, Mark Hatle wrote:

Python was missing a lot of debug information.  Switch to use the default
-dbg package.  Also add some additional debug information to the -dbg package.

Signed-off-by: Mark Hatlemark.ha...@windriver.com
---
  .../python/python-2.6-manifest.inc |8 ++--
  meta/recipes-devtools/python/python.inc|2 +-
  meta/recipes-devtools/python/python_2.6.6.bb   |4 ++--
  scripts/contrib/python/generate-manifest-2.6.py|   16 +---
  4 files changed, 14 insertions(+), 16 deletions(-)

diff --git a/meta/recipes-devtools/python/python-2.6-manifest.inc 
b/meta/recipes-devtools/python/python-2.6-manifest.inc
index e4e503c..e3ebe41 100644
--- a/meta/recipes-devtools/python/python-2.6-manifest.inc
+++ b/meta/recipes-devtools/python/python-2.6-manifest.inc
@@ -5,9 +5,9 @@



-PROVIDES+=${PN}-audio ${PN}-bsddb ${PN}-codecs ${PN}-compile ${PN}-compiler 
${PN}-compression ${PN}-core ${PN}-core-dbg ${PN}-crypt ${PN}-ctypes ${PN}-curses 
${PN}-datetime ${PN}-db ${PN}-debugger ${PN}-dev ${PN}-difflib ${PN}-distutils 
${PN}-doctest ${PN}-elementtree ${PN}-email ${PN}-fcntl ${PN}-gdbm ${PN}-hotshot 
${PN}-html ${PN}-idle ${PN}-image ${PN}-io ${PN}-json ${PN}-lang ${PN}-logging 
${PN}-mailbox ${PN}-math ${PN}-mime ${PN}-mmap ${PN}-multiprocessing ${PN}-netclient 
${PN}-netserver ${PN}-numbers ${PN}-pickle ${PN}-pkgutil ${PN}-pprint ${PN}-profile 
${PN}-pydoc ${PN}-re ${PN}-readline ${PN}-resource ${PN}-robotparser ${PN}-shell 
${PN}-smtpd ${PN}-sqlite3 ${PN}-sqlite3-tests ${PN}-stringold ${PN}-subprocess 
${PN}-syslog ${PN}-terminal ${PN}-tests ${PN}-textutils ${PN}-threading ${PN}-tkinter 
${PN}-unittest ${PN}-unixadmin ${PN}-xml ${PN}-xmlrpc ${PN}-zlib 
+PROVIDES+=${PN}-audio ${PN}-bsddb ${PN}-codecs ${PN}-compile ${PN}-compiler 
${PN}-compression ${PN}-core ${PN}-crypt ${PN}-ctypes ${PN}-curses ${PN}-datetime 
${PN}-db ${PN}-debugger ${PN}-dev ${PN}-difflib ${PN}-distutils ${PN}-doctest 
${PN}-elementtree ${PN}-email ${PN}-fcntl ${PN}-gdbm ${PN}-hotshot ${PN}-html ${PN}-idle 
${PN}-image ${PN}-io ${PN}-json ${PN}-lang ${PN}-logging ${PN}-mailbox ${PN}-math 
${PN}-mime ${PN}-mmap ${PN}-multiprocessing ${PN}-netclient ${PN}-netserver ${PN}-numbers 
${PN}-pickle ${PN}-pkgutil ${PN}-pprint ${PN}-profile ${PN}-pydoc ${PN}-re ${PN}-readline 
${PN}-resource ${PN}-robotparser ${PN}-shell ${PN}-smtpd ${PN}-sqlite3 
${PN}-sqlite3-tests ${PN}-stringold ${PN}-subprocess ${PN}-syslog ${PN}-terminal 
${PN}-tests ${PN}-textutils ${PN}-threading ${PN}-tkinter ${PN}-unittest ${PN}-unixadmin 
${PN}-xml ${PN}-xmlrpc ${PN}-zlib 

-PACKAGES=${PN}-core-dbg ${PN}-audio ${PN}-bsddb ${PN}-codecs ${PN}-compile 
${PN}-compiler ${PN}-compression ${PN}-core ${PN}-crypt ${PN}-ctypes ${PN}-curses 
${PN}-datetime ${PN}-db ${PN}-debugger ${PN}-dev ${PN}-difflib ${PN}-distutils 
${PN}-doctest ${PN}-elementtree ${PN}-email ${PN}-fcntl ${PN}-gdbm ${PN}-hotshot 
${PN}-html ${PN}-idle ${PN}-image ${PN}-io ${PN}-json ${PN}-lang ${PN}-logging 
${PN}-mailbox ${PN}-math ${PN}-mime ${PN}-mmap ${PN}-multiprocessing ${PN}-netclient 
${PN}-netserver ${PN}-numbers ${PN}-pickle ${PN}-pkgutil ${PN}-pprint ${PN}-profile 
${PN}-pydoc ${PN}-re ${PN}-readline ${PN}-resource ${PN}-robotparser ${PN}-shell 
${PN}-smtpd ${PN}-sqlite3 ${PN}-sqlite3-tests ${PN}-stringold ${PN}-subprocess 
${PN}-syslog ${PN}-terminal ${PN}-tests ${PN}-textutils ${PN}-threading ${PN}-tkinter 
${PN}-unittest ${PN}-unixadmin ${PN}-xml ${PN}-xmlrpc ${PN}-zlib ${PN}-modules
+PACKAGES=${PN}-dbg ${PN}-audio ${PN}-bsddb ${PN}-codecs ${PN}-compile 
${PN}-compiler ${PN}-compression ${PN}-core ${PN}-crypt ${PN}-ctypes ${PN}-curses 
${PN}-datetime ${PN}-db ${PN}-debugger ${PN}-dev ${PN}-difflib ${PN}-distutils 
${PN}-doctest ${PN}-elementtree ${PN}-email ${PN}-fcntl ${PN}-gdbm ${PN}-hotshot 
${PN}-html ${PN}-idle ${PN}-image ${PN}-io ${PN}-json ${PN}-lang ${PN}-logging 
${PN}-mailbox ${PN}-math ${PN}-mime ${PN}-mmap ${PN}-multiprocessing ${PN}-netclient 
${PN}-netserver ${PN}-numbers ${PN}-pickle ${PN}-pkgutil ${PN}-pprint ${PN}-profile 
${PN}-pydoc ${PN}-re ${PN}-readline ${PN}-resource ${PN}-robotparser ${PN}-shell 
${PN}-smtpd ${PN}-sqlite3 ${PN}-sqlite3-tests ${PN}-stringold ${PN}-subprocess 
${PN}-syslog ${PN}-terminal ${PN}-tests ${PN}-textutils ${PN}-threading ${PN}-tkinter 
${PN}-unittest ${PN}-unixadmin ${PN}-xml ${PN}-xmlrpc ${PN}-zlib ${PN}-modules

  DESCRIPTION_${PN}-audio=Python Audio Handling
  RDEPENDS_${PN}-audio=${PN}-core
@@ -37,10 +37,6 @@ DESCRIPTION_${PN}-core=Python Interpreter and core modules 
(needed!)
  RDEPENDS_${PN}-core=
  FILES_${PN}-core=${libdir}/python2.6/__future__.* ${libdir}/python2.6/_abcoll.* 
${libdir}/python2.6/abc.* ${libdir}/python2.6/copy.* ${libdir}/python2.6/copy_reg.* 
${libdir}/python2.6/ConfigParser.* ${libdir}/python2.6/genericpath.* 
${libdir}/python2.6/getopt.* ${libdir}/python2.6/linecache.* ${libdir}/python2.6/new.* 
${libdir}/python2.6/os.* 

Re: [OE-core] [PATCH 01/40] resolveconf: Fix file owners

2011-06-23 Thread Khem Raj

On 06/22/2011 10:35 AM, Mark Hatle wrote:

The file ownership of various configuration files needs to be set to root:root
otherwise it inherits the user id of the build.

Signed-off-by: Mark Hatlemark.ha...@windriver.com
---
  .../resolvconf/resolvconf_1.48.bb  |3 ++-
  1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-connectivity/resolvconf/resolvconf_1.48.bb 
b/meta/recipes-connectivity/resolvconf/resolvconf_1.48.bb
index cb8aaaf..507a233 100644
--- a/meta/recipes-connectivity/resolvconf/resolvconf_1.48.bb
+++ b/meta/recipes-connectivity/resolvconf/resolvconf_1.48.bb
@@ -11,7 +11,7 @@ AUTHOR = Thomas Hood
  HOMEPAGE = http://packages.debian.org/resolvconf;
  DEPENDS = bash
  RDEPENDS_${PN} = bash
-PR = r0
+PR = r1

  SRC_URI = ${DEBIAN_MIRROR}/main/r/resolvconf/resolvconf_${PV}.tar.gz

@@ -27,6 +27,7 @@ do_install () {
install -d ${D}${sysconfdir} ${D}${sbindir} ${D}${base_sbindir} 
${D}${localstatedir}/volatile/run/resolvconf/interface
install -d ${D}${mandir}/man8 ${D}${docdir}/${P}
cp -pPR etc/* ${D}${sysconfdir}/
+   chown -R root:root ${D}${sysconfdir}/


you can also modify install command 3 lines above
--group=GROUP
--mode=MODE
--owner=OWNER
--preserve-timestamps

one of above options is what you need.


install -m 0755 bin/resolvconf ${D}${base_sbindir}/
install -m 0644 README ${D}${docdir}/${P}/
install -m 0644 man/resolvconf.8 ${D}${mandir}/man8/



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


Re: [OE-core] [PATCH 1/1] libc-locale: split locale handling from libc recipe.

2011-06-23 Thread Khem Raj

On 06/23/2011 03:14 AM, Richard Purdie wrote:

On Thu, 2011-06-23 at 10:40 +0100, Phil Blundell wrote:

On Thu, 2011-06-23 at 12:08 +0800, Xu, Dongxiao wrote:

-Original Message-
From: openembedded-core-boun...@lists.openembedded.org
[mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf Of
Phil Blundell
Sent: Wednesday, June 22, 2011 7:45 PM
To: Patches and discussions about the oe-core layer
Subject: Re: [OE-core] [PATCH 1/1] libc-locale: split locale handling from libc
recipe.

I still don't quite understand why the virtual/libiconv provider has moved from
eglibc to eglibc-locale.  Can you explain what's going on there?


Generally, the purpose of this patch is to reduce eglibc's do_package time.

Since many other recipes' do_package have dependency on eglibc's do_package, 
thus the sooner eglibc could finish its do_package, the ealier can other 
do_packages be executed, which improves the parallelism.

 From our study, we found most of eglibc's do_package time is used to handle 
locale. Therefore we split all the locale related stuffs into a separately 
recipe eglibc-locale.


Yes, I understand that.  But I don't think this answers the question
about why, specifically, glibc-locale is now PROVIDEing
virtual/libiconv.  Does that recipe, in fact, implement libiconv?


I must admit I was wondering about this too. Isn't the libiconv
functionality still packaged as part of the libc recipe, not the locale
part?


yes it should be in libc


Cheers,

Richard


___
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


Re: [OE-core] [PATCH 4/4] base/glib-2.0: Simplify USE_NLS handling for glib-2.0

2011-06-23 Thread Khem Raj

On 06/23/2011 05:27 AM, Richard Purdie wrote:

Currently the only way to get anything to build is to set USE_NLS=yes
for glib-2.0. We might as well do this in the recipe by default for
now and simpllify the code.

The magic handling of USE_NLS_recipename  is also removed since this
can be done in the form USE_NLS_pn-recipename  using overrides these
days.



looks good to me


Signed-off-by: Richard  Purdierichard.pur...@linuxfoundation.org
---
  meta/classes/base.bbclass  |4 
  meta/conf/distro/include/tclibc-uclibc.inc |1 -
  meta/recipes-core/glib-2.0/glib-2.0.inc|6 --
  meta/recipes-core/glib-2.0/glib.inc|3 +--
  4 files changed, 1 insertions(+), 13 deletions(-)
  delete mode 100644 meta/recipes-core/glib-2.0/glib-2.0.inc

diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 0bea639..575352d 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -303,10 +303,6 @@ python () {
  bb.note(SKIPPING %s because it's %s % (pn, 
this_license))
  raise bb.parse.SkipPackage(incompatible with license %s 
% this_license)

-use_nls = bb.data.getVar('USE_NLS_%s' % pn, d, 1)
-if use_nls != None:
-bb.data.setVar('USE_NLS', use_nls, d)
-
  # Git packages should DEPEND on git-native
  srcuri = bb.data.getVar('SRC_URI', d, 1)
  if git:// in srcuri:
diff --git a/meta/conf/distro/include/tclibc-uclibc.inc 
b/meta/conf/distro/include/tclibc-uclibc.inc
index 83418d6..65693a9 100644
--- a/meta/conf/distro/include/tclibc-uclibc.inc
+++ b/meta/conf/distro/include/tclibc-uclibc.inc
@@ -14,7 +14,6 @@ PREFERRED_PROVIDER_virtual/libiconv ?= libiconv
  PREFERRED_PROVIDER_virtual/libintl ?= gettext

  USE_NLS ?= no
-USE_NLS_glib-2.0 = yes

  CXXFLAGS += -fvisibility-inlines-hidden

diff --git a/meta/recipes-core/glib-2.0/glib-2.0.inc 
b/meta/recipes-core/glib-2.0/glib-2.0.inc
deleted file mode 100644
index ccbbd2b..000
--- a/meta/recipes-core/glib-2.0/glib-2.0.inc
+++ /dev/null
@@ -1,6 +0,0 @@
-
-python () {
-import bb
-if bb.data.getVar(USE_NLS, d, 1) == no:
-raise bb.parse.SkipPackage(${PN} requires native language support.)
-}
diff --git a/meta/recipes-core/glib-2.0/glib.inc 
b/meta/recipes-core/glib-2.0/glib.inc
index 0800c85..e25db3d 100644
--- a/meta/recipes-core/glib-2.0/glib.inc
+++ b/meta/recipes-core/glib-2.0/glib.inc
@@ -13,8 +13,6 @@ LIC_FILES_CHKSUM = 
file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \
  BUGTRACKER = http://bugzilla.gnome.org;
  SECTION = libs

-require glib-2.0.inc
-
  DEPENDS = glib-2.0-native gtk-doc-native zip dbus
  DEPENDS_virtclass-native = gtk-doc-native pkgconfig-native gettext-native 
dbus-native
  DEPENDS_virtclass-nativesdk = libtool-nativesdk
@@ -36,3 +34,4 @@ FILES_${PN}-dev += ${libdir}/glib-2.0/include
  FILES_${PN}-dbg += ${datadir}/glib-2.0/gdb ${datadir}/gdb

  ARM_INSTRUCTION_SET = arm
+USE_NLS = yes



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


[OE-core] Minutes: OpenEmbedded eV Board meeting, 20-Jun-2011

2011-06-23 Thread Denys Dmytriyenko
Minutes: OpenEmbedded eV Board meeting, 20-Jun-2011

Attendees:

Michael Lauer (mickey)
Philip Balister (Crofton)
Florian Boor (florian)
Denys Dmytriyenko (denix)

Agenda:

00) congratulate Mickey with the recent birth of his daughter

01) denix agrees to take meeting minutes

02) state the agenda topics, collect any last minute additions:
* current status of hosting services
* funding the purchase of a network switch for the servers
* general discussion of eV budget, spendings
* another call for donations
* TSC election proposal from RP
* upcoming events and the creation of a show box

03) discussed the current state of OE hosting services
* list of funding requested by infrastructure team (Tom King) reduced to the 
network switch
* other items were resolved with the help of The Linux Foundation:
  ** LF sponsors Tom's travel
  ** LF donates hosting servers
* denix asked for clarification of what is being donated and whom it's donated 
to (i.e. is there a lease being signed?):
  ** LF grant/donation is not directly to OE eV, but rather to nas-admin group 
at OSUOSL that serves OE infrastructure among other Open Source projects
  ** the remaining piece of equipment OE eV needs to fund is the network 
switch
  ** Board to ask Tom for more details for the following:
= hardware side, preferably accompanied by pictures of the actual rack and 
equipment
= organization charts and interactions of the involved parties: Tom, OE 
infrastructure team, nas-admin, OSUOSL etc.

04) approve to fund the network switch
* estimated at $1500 = ~800-1000 eur
* somewhat expensive, server grade - not the type used at home
* Board to trust Tom on selecting the right switch
* figure out the way to transfer money to nas-admin/OSUOSL
  ** Tom to coordinate

05) OE eV budget
* currently there is around 3000 eur in the bank
* florian to check with the bank in Germany if possible to open a debit/credit 
card linked with the eV account
* preferably without annual or any idle fees

06) call for donation
* OE needs an income stream - another call for donations in the mailing lists
* denix to check if TI can make another donation
  ** may be difficult, as TI and other companies are LF/Yocto members and pay 
dues
  ** thus, latest LF donations to OE as a feedback channel make sense

07) review RP's proposal of TSC re-election
* proposal is for Richard and Stefan to step down first and run elections for 
1 seat
* then continue with one-at-a-time elections going forward
* alternative is to elect the entire TSC at once:
  ** deemed unnecessary and bad for the project
* agree and approve RP/TSC proposal
* Board to initiate the election process:
  ** announce another round of candidates for 1 TSC seat, discussion phase, 
call for votes (Mickey)
* discuss the voting logistics - ask if Graeme can help with counting the 
votes, or use one of the proposed software
* Crofton says Graeme is on travel for next 2 weeks, but agreed to count the 
votes after that
  ** that gives proper timing for announcement, discussion and call for votes 
phases

08) upcoming events and show box
* agree to allow spending up to 500 eur at florian's discretion on the show 
box
* ac adapters, multiplugs, switch, accesspoint, flyers, posters, tft + cables, 
tape, some lights
* include some dev boards, donated by companies
* some of the items already exist and were previously donated
* need table cloth, which exists, but needs washing
* ELC-E in Prague in October
* agree to schedule the General Assembly at ELC-E (Crofton)
* Crofton to talk to Jefro/RP about reserving a room

09) Board to have another meeting in 3 weeks
* around 8th-10th of July


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