Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/7] automake: upgrade from 1.11.2 to 1.11.3
  2012-03-16 19:00 [PATCH 0/7] Misc Fixes and upgrades nitin.a.kamble
@ 2012-03-16 19:00 ` nitin.a.kamble
  2012-03-16 19:00 ` [PATCH 2/7] distro-tracking: update status of recipes nitin.a.kamble
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 13+ messages in thread
From: nitin.a.kamble @ 2012-03-16 19:00 UTC (permalink / raw)
  To: openembedded-core

From: Nitin A Kamble <nitin.a.kamble@intel.com>

Removed already upstream patch:
  automake/automake_1.11.2_fix_for_pkglibexec_SCRIPTS.patch

Rebased these patches to the newer code:
  automake/prefer-cpio-over-pax-for-ustar-archives.patch
  automake/python-libdir.patch

Changed the tarball name from bz2 to gz, as the bz2 tar ball
is not published for the 1.11.3 version.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
---
 meta/recipes-devtools/automake/automake.inc        |    2 +-
 ...utomake_1.11.2_fix_for_pkglibexec_SCRIPTS.patch |  118 --------------------
 .../prefer-cpio-over-pax-for-ustar-archives.patch  |   30 +++--
 .../automake/automake/python-libdir.patch          |   32 +++---
 .../{automake_1.11.2.bb => automake_1.11.3.bb}     |    8 +-
 5 files changed, 36 insertions(+), 154 deletions(-)
 delete mode 100644 meta/recipes-devtools/automake/automake/automake_1.11.2_fix_for_pkglibexec_SCRIPTS.patch
 rename meta/recipes-devtools/automake/{automake_1.11.2.bb => automake_1.11.3.bb} (85%)

diff --git a/meta/recipes-devtools/automake/automake.inc b/meta/recipes-devtools/automake/automake.inc
index 7eef9ec..370caca 100644
--- a/meta/recipes-devtools/automake/automake.inc
+++ b/meta/recipes-devtools/automake/automake.inc
@@ -5,7 +5,7 @@ LICENSE = "GPLv2"
 HOMEPAGE = "http://www.gnu.org/software/automake/"
 SECTION = "devel"
 
-SRC_URI = "${GNU_MIRROR}/automake/automake-${PV}.tar.bz2 "
+SRC_URI = "${GNU_MIRROR}/automake/automake-${PV}.tar.gz"
 
 inherit autotools
 
diff --git a/meta/recipes-devtools/automake/automake/automake_1.11.2_fix_for_pkglibexec_SCRIPTS.patch b/meta/recipes-devtools/automake/automake/automake_1.11.2_fix_for_pkglibexec_SCRIPTS.patch
deleted file mode 100644
index f06dfe3..0000000
--- a/meta/recipes-devtools/automake/automake/automake_1.11.2_fix_for_pkglibexec_SCRIPTS.patch
+++ /dev/null
@@ -1,118 +0,0 @@
-Upstream-Status: Backport
-
-Backporting this patch from automake devel git tree.
-
-Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
-2012/01/05
-
-
-From 4e4dae500390d2ace681e4e4bc4c590ecdca38c6 Mon Sep 17 00:00:00 2001
-From: Stefano Lattarini <stefano.lattarini@gmail.com>
-Date: Tue, 03 Jan 2012 08:06:09 +0000
-Subject: install: pkglibexec_SCRIPTS is a valid prefix/primary combination
-
-It makes little sense for `libexec_SCRIPTS' to be accepted as valid
-while `pkglibexec_SCRIPTS' is not.  So fix this inconsistency by
-explicitly allowing `pkglibexec_SCRIPTS' as well.  It is worth
-noting that the inconsistency has been there for a long time,
-but only the quite recent commit `v1.11-373-g9ca6326' "Warnings
-about primary/prefix mismatch fixed and extended" has made it
-noisy enough to be noticed.
-
-* automake.in (handle_scripts): Also list `pkglibexec' among the
-prefixes valid for the `SCRIPTS' primary.
-* doc/automake.texi (Scripts): Likewise.
-* tests/primary-prefix-valid-couples.test: Update.
-* THANKS: Likewise.
-* NEWS: Likewise.
-
-Reported by Dennis Schridde on the automake list:
-<http://lists.gnu.org/archive/html/automake/2012-01/msg00002.html>
----
-diff --git a/NEWS b/NEWS
-index 599f19f..2e572e4 100644
---- a/NEWS
-+++ b/NEWS
-@@ -82,6 +82,11 @@ New in 1.11.0a:
- 
- Bugs fixed in 1.11.0a:
- 
-+* Bugs introduced by 1.11.2:
-+
-+  - Automake now correctly recognizes the prefix/primary combination
-+   `pkglibexec_SCRIPTS' as valid.
-+
- * Bugs introduced by 1.11:
- 
-   - The `parallel-tests' test driver works around a GNU make 3.80 bug with
-diff --git a/THANKS b/THANKS
-index e9da06c..e9c6db8 100644
---- a/THANKS
-+++ b/THANKS
-@@ -78,6 +78,7 @@ David Pashley		david@davidpashley.com
- David Zaroski		cz253@cleveland.Freenet.Edu
- Dean Povey		dpovey@wedgetail.com
- Dennis J. Linse		Dennis.J.Linse@SAIC.com
-+Dennis Schridde		devurandom@gmx.net
- Derek R. Price		derek.price@openavenue.com
- Diab Jerius		djerius@cfa.harvard.edu
- Didier Cassirame	faded@free.fr
-diff --git a/automake.in b/automake.in
-index a852195..a689b63 100644
---- a/automake.in
-+++ b/automake.in
-@@ -3091,7 +3091,7 @@ sub handle_scripts
-     # useful to sometimes distribute scripts verbatim.  This happens
-     # e.g. in Automake itself.
-     &am_install_var ('-candist', 'scripts', 'SCRIPTS',
--		     'bin', 'sbin', 'libexec', 'pkgdata',
-+		     'bin', 'sbin', 'libexec', 'pkglibexec', 'pkgdata',
- 		     'noinst', 'check');
- }
- 
-diff --git a/doc/automake.texi b/doc/automake.texi
-index cebe084..0c4dc01 100644
---- a/doc/automake.texi
-+++ b/doc/automake.texi
-@@ -7099,11 +7099,12 @@ prefix as with other primaries.
- @vindex sbin_SCRIPTS
- @vindex libexec_SCRIPTS
- @vindex pkgdata_SCRIPTS
-+@vindex pkglibexec_SCRIPTS
- @vindex noinst_SCRIPTS
- @vindex check_SCRIPTS
- 
- Scripts can be installed in @code{bindir}, @code{sbindir},
--@code{libexecdir}, or @code{pkgdatadir}.
-+@code{libexecdir}, @code{pkglibexecdir}, or @code{pkgdatadir}.
- 
- Scripts that need not be installed can be listed in
- @code{noinst_SCRIPTS}, and among them, those which are needed only by
-diff --git a/tests/primary-prefix-invalid-couples.test b/tests/primary-prefix-invalid-couples.test
-index 88e0817..c3d6471 100755
---- a/tests/primary-prefix-invalid-couples.test
-+++ b/tests/primary-prefix-invalid-couples.test
-@@ -79,7 +79,7 @@ for primary in $primaries; do
-       prefixes_ok='bin sbin libexec pkglibexec'
-       ;;
-     SCRIPTS)
--      prefixes_ok='bin sbin libexec pkgdata'
-+      prefixes_ok='bin sbin libexec pkglibexec pkgdata'
-       ;;
-     DATA)
-       prefixes_ok='data dataroot pkgdata doc html dvi pdf ps
-diff --git a/tests/primary-prefix-valid-couples.test b/tests/primary-prefix-valid-couples.test
-index 36ff5d8..6eb4149 100755
---- a/tests/primary-prefix-valid-couples.test
-+++ b/tests/primary-prefix-valid-couples.test
-@@ -57,7 +57,7 @@ for p in lib pkglib; do
-   echo "${p}_LTLIBRARIES = libd-$p.la" >> Makefile.am
- done
- 
--for p in bin sbin libexec pkgdata; do
-+for p in bin sbin libexec pkglibexec pkgdata; do
-   echo "${p}_SCRIPTS = $p.sh" >> Makefile.am
- done
- 
---
-cgit v0.9.0.2
diff --git a/meta/recipes-devtools/automake/automake/prefer-cpio-over-pax-for-ustar-archives.patch b/meta/recipes-devtools/automake/automake/prefer-cpio-over-pax-for-ustar-archives.patch
index 7bc8caf..4627855 100644
--- a/meta/recipes-devtools/automake/automake/prefer-cpio-over-pax-for-ustar-archives.patch
+++ b/meta/recipes-devtools/automake/automake/prefer-cpio-over-pax-for-ustar-archives.patch
@@ -15,11 +15,15 @@ Upstream-Status: Pending
 
 Signed-off-by: Tom Rini <tom_rini@mentor.com>
 
-Index: automake-1.11.1/m4/tar.m4
+Updated for version 1.11.3:
+Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
+Date: 2011/03/14
+
+Index: automake-1.11.3/m4/tar.m4
 ===================================================================
---- automake-1.11.1.orig/m4/tar.m4
-+++ automake-1.11.1/m4/tar.m4
-@@ -30,7 +30,7 @@ m4_if([$1], [v7],
+--- automake-1.11.3.orig/m4/tar.m4	2012-01-31 03:41:18.000000000 -0800
++++ automake-1.11.3/m4/tar.m4	2012-03-14 17:36:11.901303777 -0700
+@@ -31,7 +31,7 @@ m4_if([$1], [v7],
                [m4_fatal([Unknown tar format])])
  AC_MSG_CHECKING([how to create a $1 tar archive])
  # Loop over all known methods to create a tar archive until one works.
@@ -28,16 +32,16 @@ Index: automake-1.11.1/m4/tar.m4
  _am_tools=${am_cv_prog_tar_$1-$_am_tools}
  # Do not fold the above two line into one, because Tru64 sh and
  # Solaris sh will not grok spaces in the rhs of `-'.
-Index: automake-1.11.1/Makefile.in
+Index: automake-1.11.3/Makefile.in
 ===================================================================
---- automake-1.11.1.orig/Makefile.in
-+++ automake-1.11.1/Makefile.in
-@@ -44,7 +44,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/a
- 	$(top_srcdir)/m4/missing.m4 $(top_srcdir)/m4/mkdirp.m4 \
+--- automake-1.11.3.orig/Makefile.in	2012-02-01 02:37:59.000000000 -0800
++++ automake-1.11.3/Makefile.in	2012-03-14 17:38:03.530869197 -0700
+@@ -62,7 +62,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/a
  	$(top_srcdir)/m4/options.m4 $(top_srcdir)/m4/runlog.m4 \
- 	$(top_srcdir)/m4/sanity.m4 $(top_srcdir)/m4/strip.m4 \
--	$(top_srcdir)/m4/substnot.m4 $(top_srcdir)/m4/tar.m4 \
-+	$(top_srcdir)/m4/substnot.m4 \
- 	$(top_srcdir)/configure.ac
+ 	$(top_srcdir)/m4/sanity.m4 $(top_srcdir)/m4/silent.m4 \
+ 	$(top_srcdir)/m4/strip.m4 $(top_srcdir)/m4/substnot.m4 \
+-	$(top_srcdir)/m4/tar.m4 $(top_srcdir)/configure.ac
++	$(top_srcdir)/configure.ac
  am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  	$(ACLOCAL_M4)
+ am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
diff --git a/meta/recipes-devtools/automake/automake/python-libdir.patch b/meta/recipes-devtools/automake/automake/python-libdir.patch
index 63dafca..93a74c7 100644
--- a/meta/recipes-devtools/automake/automake/python-libdir.patch
+++ b/meta/recipes-devtools/automake/automake/python-libdir.patch
@@ -2,11 +2,11 @@ Upstream-Status: Inappropriate [embedded specific]
 
 Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
 
-Index: automake-1.11.1/m4/python.m4
+Index: automake-1.11.3/m4/python.m4
 ===================================================================
---- automake-1.11.1.orig/m4/python.m4
-+++ automake-1.11.1/m4/python.m4
-@@ -88,12 +88,13 @@ python2.1 python2.0])
+--- automake-1.11.3.orig/m4/python.m4	2012-01-31 03:41:18.000000000 -0800
++++ automake-1.11.3/m4/python.m4	2012-03-14 17:48:49.194509698 -0700
+@@ -92,12 +92,13 @@ AC_DEFUN([AM_PATH_PYTHON],
      [am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[[:3]])"`])
    AC_SUBST([PYTHON_VERSION], [$am_cv_python_version])
  
@@ -22,16 +22,14 @@ Index: automake-1.11.1/m4/python.m4
    AC_SUBST([PYTHON_EXEC_PREFIX], ['${exec_prefix}'])
  
    dnl At times (like when building shared libraries) you may want
-@@ -122,7 +123,7 @@ python2.1 python2.0])
-        am_py_prefix=$prefix
-      fi
-      am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null ||
--     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
-+     echo "$PYTHON_LIB_PREFIX/python$PYTHON_VERSION/site-packages"`
+@@ -127,13 +128,13 @@ AC_DEFUN([AM_PATH_PYTHON],
       case $am_cv_python_pythondir in
       $am_py_prefix*)
         am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
-@@ -132,7 +133,7 @@ python2.1 python2.0])
+-       am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
++       am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix/lib,$PYTHON_LIB_PREFIX,"`
+        ;;
+      *)
         case $am_py_prefix in
           /usr|/System*) ;;
           *)
@@ -40,16 +38,14 @@ Index: automake-1.11.1/m4/python.m4
  	  ;;
         esac
         ;;
-@@ -160,7 +161,7 @@ python2.1 python2.0])
-        am_py_exec_prefix=$exec_prefix
-      fi
-      am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null ||
--     echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
-+     echo "$PYTHON_LIB_PREFIX/python$PYTHON_VERSION/site-packages"`
+@@ -162,13 +163,13 @@ AC_DEFUN([AM_PATH_PYTHON],
       case $am_cv_python_pyexecdir in
       $am_py_exec_prefix*)
         am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
-@@ -170,7 +171,7 @@ python2.1 python2.0])
+-       am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
++       am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix/lib,$PYTHON_LIB_PREFIX,"`
+        ;;
+      *)
         case $am_py_exec_prefix in
           /usr|/System*) ;;
           *)
diff --git a/meta/recipes-devtools/automake/automake_1.11.2.bb b/meta/recipes-devtools/automake/automake_1.11.3.bb
similarity index 85%
rename from meta/recipes-devtools/automake/automake_1.11.2.bb
rename to meta/recipes-devtools/automake/automake_1.11.3.bb
index 4271336..8c56fc7 100644
--- a/meta/recipes-devtools/automake/automake_1.11.2.bb
+++ b/meta/recipes-devtools/automake/automake_1.11.3.bb
@@ -37,12 +37,12 @@ PATHFIXPATCH_virtclass-nativesdk = ""
 SRC_URI += "${PATHFIXPATCH} \
 	    file://prefer-cpio-over-pax-for-ustar-archives.patch \
 	    file://python-libdir.patch \
-            file://automake_1.11.2_fix_for_pkglibexec_SCRIPTS.patch \
             file://py-compile-compile-only-optimized-byte-code.patch"
 
-PR = "r2"
-SRC_URI[md5sum] = "18194e804d415767bae8f703c963d456"
-SRC_URI[sha256sum] = "4f46d1f9380c8a3506280750f630e9fc915cb1a435b724be56b499d016368718"
+SRC_URI[md5sum] = "93ecb319f0365cb801990b00f658d026"
+SRC_URI[sha256sum] = "921b5188057e57bdd9c0ba06e21d0b0ea7dafa61a9bd08a2b041215bcff12f55"
+
+PR = "r0"
 
 do_install () {
 	oe_runmake 'DESTDIR=${D}' install
-- 
1.7.7.6




^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [PATCH 2/7] distro-tracking: update status of recipes
  2012-03-16 19:00 [PATCH 0/7] Misc Fixes and upgrades nitin.a.kamble
  2012-03-16 19:00 ` [PATCH 1/7] automake: upgrade from 1.11.2 to 1.11.3 nitin.a.kamble
@ 2012-03-16 19:00 ` nitin.a.kamble
  2012-03-16 19:00 ` [PATCH 3/7] python: fix install when libdir is not "lib" nitin.a.kamble
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 13+ messages in thread
From: nitin.a.kamble @ 2012-03-16 19:00 UTC (permalink / raw)
  To: openembedded-core

From: Nitin A Kamble <nitin.a.kamble@intel.com>

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
---
 .../conf/distro/include/distro_tracking_fields.inc |   24 ++++++++++---------
 1 files changed, 13 insertions(+), 11 deletions(-)

diff --git a/meta/conf/distro/include/distro_tracking_fields.inc b/meta/conf/distro/include/distro_tracking_fields.inc
index 8ad924b..b4ea423 100644
--- a/meta/conf/distro/include/distro_tracking_fields.inc
+++ b/meta/conf/distro/include/distro_tracking_fields.inc
@@ -37,7 +37,8 @@ RECIPE_MANUAL_CHECK_DATE_pn-libpcre = "Feb 01, 2012"
 RECIPE_MAINTAINER_pn-libpcre = "Nitin A Kamble <nitin.a.kamble@intel.com>"
 DISTRO_PN_ALIAS_pn-libpcre = "Mandriva=libpcre0 Fedora=pcre"
 
-RECIPE_LATEST_VERSION_pn-bdwgc = "7.2alpha5"
+RECIPE_LATEST_VERSION_pn-bdwgc = "20110107"
+RECIPE_NO_UPDATE_REASON_pn-bdwgc = "20110107 is same as the 7.2alpha5"
 RECIPE_LAST_UPDATE_pn-bdwgc = "Feb 01, 2012"
 RECIPE_MANUAL_CHECK_DATE_pn-bdwgc = "Feb 01, 2012"
 RECIPE_MAINTAINER_pn-bdwgc = "Nitin A Kamble <nitin.a.kamble@intel.com>"
@@ -3089,9 +3090,9 @@ RECIPE_NO_UPDATE_REASON_pn-autoconf="seeing rpm issue with the 2.68 version, a b
 RECIPE_MAINTAINER_pn-autoconf = "Nitin A Kamble <nitin.a.kamble@intel.com>"
 
 RECIPE_STATUS_pn-automake="green" 
-RECIPE_LATEST_VERSION_pn-automake="1.11.1"
-RECIPE_LAST_UPDATE_pn-automake = "Jan 29, 2010"
-RECIPE_MANUAL_CHECK_DATE_pn-automake = "Jul 06, 2011" 
+RECIPE_LATEST_VERSION_pn-automake="1.11.3"
+RECIPE_LAST_UPDATE_pn-automake = "Mar 14, 2012"
+RECIPE_MANUAL_CHECK_DATE_pn-automake = "Mar 14, 2012" 
 RECIPE_MAINTAINER_pn-automake = "Nitin A Kamble <nitin.a.kamble@intel.com>"
 
 RECIPE_STATUS_pn-bison="green" 
@@ -3278,9 +3279,9 @@ RECIPE_LAST_UPDATE_pn-mpfr = "Nov 15, 2011"
 RECIPE_MAINTAINER_pn-mpfr = "Nitin A Kamble <nitin.a.kamble@intel.com>"
 
 RECIPE_STATUS_pn-gmp="green"
-RECIPE_LATEST_VERSION_pn-gmp="5.0.3"
-RECIPE_LAST_UPDATE_pn-gmp = "Feb 01, 2012"
-RECIPE_MANUAL_CHECK_DATE_pn-gmp = "Feb 01, 2012" 
+RECIPE_LATEST_VERSION_pn-gmp="5.0.4"
+RECIPE_LAST_UPDATE_pn-gmp = "Mar 14, 2012"
+RECIPE_MANUAL_CHECK_DATE_pn-gmp = "Mar 14, 2012" 
 RECIPE_MAINTAINER_pn-gmp = "Nitin A Kamble <nitin.a.kamble@intel.com>"
 
 RECIPE_STATUS_pn-libmpc="green"
@@ -5933,10 +5934,11 @@ RECIPE_STATUS_pn-groff = "red"
 RECIPE_LATEST_VERSION_pn-groff = "1.21"
 RECIPE_NO_UPDATE_REASON_pn-groff = "1.18.1.4 is latest GPLv2 Version no 1.21"
 
-RECIPE_STATUS_pn-eglibc = "red"
-RECIPE_LATEST_VERSION_pn-eglibc = "2.13-r15508"
-RECIPE_LAST_UPDATE_pn-eglibc = "Nov 16, 2011"
-RECIPE_MANUAL_CHECK_DATE_pn-eglibc = "Nov 16, 2011"
+RECIPE_STATUS_pn-eglibc = "green"
+RECIPE_LATEST_VERSION_pn-eglibc = "git:16540"
+RECIPE_LAST_UPDATE_pn-eglibc = "Jan 01, 2012"
+RECIPE_MANUAL_CHECK_DATE_pn-eglibc = "Jan 01, 2012"
+RECIPE_MAINTAINER_pn-eglibc = "Nitin A Kamble <nitin.a.kamble@intel.com>"
 
 RECIPE_STATUS_pn-lighttpd = "red"
 RECIPE_LAST_UPDATE_pn-lighttpd = "Jul 28, 2011"
-- 
1.7.7.6




^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [PATCH 3/7] python: fix install when libdir is not "lib"
  2012-03-16 19:00 [PATCH 0/7] Misc Fixes and upgrades nitin.a.kamble
  2012-03-16 19:00 ` [PATCH 1/7] automake: upgrade from 1.11.2 to 1.11.3 nitin.a.kamble
  2012-03-16 19:00 ` [PATCH 2/7] distro-tracking: update status of recipes nitin.a.kamble
@ 2012-03-16 19:00 ` nitin.a.kamble
  2012-03-16 19:00 ` [PATCH 4/7] pciutils: fix a do_compile failure nitin.a.kamble
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 13+ messages in thread
From: nitin.a.kamble @ 2012-03-16 19:00 UTC (permalink / raw)
  To: openembedded-core

From: Nitin A Kamble <nitin.a.kamble@intel.com>

This commit fixes python's install issue of not finding the
native pythong binray modules.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
---
 .../python/fix_for_using_different_libdir.patch    |   78 ++++++++++++++++++++
 meta/recipes-devtools/python/python_2.7.2.bb       |    2 +
 2 files changed, 80 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-devtools/python/python/fix_for_using_different_libdir.patch

diff --git a/meta/recipes-devtools/python/python/fix_for_using_different_libdir.patch b/meta/recipes-devtools/python/python/fix_for_using_different_libdir.patch
new file mode 100644
index 0000000..e8f19a2
--- /dev/null
+++ b/meta/recipes-devtools/python/python/fix_for_using_different_libdir.patch
@@ -0,0 +1,78 @@
+Upstream-Status: Inappropriate [Embedded specific]
+
+This patch fixes issuing with different libdir like lib64.
+This patch makes the native python binary modules findable
+in the install process of the host python.
+
+Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
+Date: 2012/03/14
+
+Index: Python-2.7.2/Lib/sysconfig.py
+===================================================================
+--- Python-2.7.2.orig/Lib/sysconfig.py
++++ Python-2.7.2/Lib/sysconfig.py
+@@ -7,10 +7,10 @@ from os.path import pardir, realpath
+ 
+ _INSTALL_SCHEMES = {
+     'posix_prefix': {
+-        'stdlib': '{base}/lib/python{py_version_short}',
+-        'platstdlib': '{platbase}/lib/python{py_version_short}',
+-        'purelib': '{base}/lib/python{py_version_short}/site-packages',
+-        'platlib': '{platbase}/lib/python{py_version_short}/site-packages',
++        'stdlib': '{base}/'+sys.lib+'/python{py_version_short}',
++        'platstdlib': '{platbase}/'+sys.lib+'/python{py_version_short}',
++        'purelib': '{base}/'+sys.lib+'/python{py_version_short}/site-packages',
++        'platlib': '{platbase}/'+sys.lib+'/python{py_version_short}/site-packages',
+         'include': '{base}/include/python{py_version_short}',
+         'platinclude': '{platbase}/include/python{py_version_short}',
+         'scripts': '{base}/bin',
+@@ -65,10 +65,10 @@ _INSTALL_SCHEMES = {
+         'data'   : '{userbase}',
+         },
+     'posix_user': {
+-        'stdlib': '{userbase}/lib/python{py_version_short}',
+-        'platstdlib': '{userbase}/lib/python{py_version_short}',
+-        'purelib': '{userbase}/lib/python{py_version_short}/site-packages',
+-        'platlib': '{userbase}/lib/python{py_version_short}/site-packages',
++        'stdlib': '{userbase}/'+sys.lib+'/python{py_version_short}',
++        'platstdlib': '{userbase}/'+sys.lib+'/python{py_version_short}',
++        'purelib': '{userbase}/'+sys.lib+'/python{py_version_short}/site-packages',
++        'platlib': '{userbase}/'+sys.lib+'/python{py_version_short}/site-packages',
+         'include': '{userbase}/include/python{py_version_short}',
+         'scripts': '{userbase}/bin',
+         'data'   : '{userbase}',
+Index: Python-2.7.2/Makefile.pre.in
+===================================================================
+--- Python-2.7.2.orig/Makefile.pre.in
++++ Python-2.7.2/Makefile.pre.in
+@@ -928,25 +928,25 @@ libinstall:	build_all $(srcdir)/Lib/$(PL
+ 		done; \
+ 	done
+ 	$(INSTALL_DATA) $(srcdir)/LICENSE $(DESTDIR)$(LIBDEST)/LICENSE.txt
+-	PYTHONPATH=$(DESTDIR)$(LIBDEST)  $(RUNSHARED) \
++	PYTHONPATH=$(DESTDIR)$(LIBDEST):${CROSSPYTHONPATH}  $(RUNSHARED) \
+ 		$(HOSTPYTHON) -Wi -tt $(DESTDIR)$(LIBDEST)/compileall.py \
+ 		-d $(LIBDEST) -f \
+ 		-x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \
+ 		$(DESTDIR)$(LIBDEST)
+-	PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
++	PYTHONPATH=$(DESTDIR)$(LIBDEST):${CROSSPYTHONPATH}  $(RUNSHARED) \
+ 		$(HOSTPYTHON) -Wi -tt -O $(DESTDIR)$(LIBDEST)/compileall.py \
+ 		-d $(LIBDEST) -f \
+ 		-x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \
+ 		$(DESTDIR)$(LIBDEST)
+-	-PYTHONPATH=$(DESTDIR)$(LIBDEST)  $(RUNSHARED) \
++	-PYTHONPATH=$(DESTDIR)$(LIBDEST):${CROSSPYTHONPATH}  $(RUNSHARED) \
+ 		$(HOSTPYTHON) -Wi -t $(DESTDIR)$(LIBDEST)/compileall.py \
+ 		-d $(LIBDEST)/site-packages -f \
+ 		-x badsyntax $(DESTDIR)$(LIBDEST)/site-packages
+-	-PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
++	-PYTHONPATH=$(DESTDIR)$(LIBDEST):${CROSSPYTHONPATH}  $(RUNSHARED) \
+ 		$(HOSTPYTHON) -Wi -t -O $(DESTDIR)$(LIBDEST)/compileall.py \
+ 		-d $(LIBDEST)/site-packages -f \
+ 		-x badsyntax $(DESTDIR)$(LIBDEST)/site-packages
+-	-PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
++	-PYTHONPATH=$(DESTDIR)$(LIBDEST):${CROSSPYTHONPATH}  $(RUNSHARED) \
+ 		$(HOSTPYTHON) -Wi -t -c "import lib2to3.pygram, lib2to3.patcomp;lib2to3.patcomp.PatternCompiler()"
+ 
+ # Create the PLATDIR source directory, if one wasn't distributed..
diff --git a/meta/recipes-devtools/python/python_2.7.2.bb b/meta/recipes-devtools/python/python_2.7.2.bb
index d2100be..cb0a1d5 100644
--- a/meta/recipes-devtools/python/python_2.7.2.bb
+++ b/meta/recipes-devtools/python/python_2.7.2.bb
@@ -21,6 +21,7 @@ SRC_URI += "\
   file://add-md5module-support.patch \
   file://host_include_contamination.patch \
   file://sys_platform_is_now_always_linux2.patch \
+  file://fix_for_using_different_libdir.patch \
 "
 
 S = "${WORKDIR}/Python-${PV}"
@@ -99,6 +100,7 @@ do_install() {
 	
 	oe_runmake HOSTPGEN=${STAGING_BINDIR_NATIVE}/pgen \
 		HOSTPYTHON=${STAGING_BINDIR_NATIVE}/python \
+		CROSSPYTHONPATH=${STAGING_LIBDIR_NATIVE}/python${PYTHON_MAJMIN}/lib-dynload/ \
 		STAGING_LIBDIR=${STAGING_LIBDIR} \
 		STAGING_INCDIR=${STAGING_INCDIR} \
 		BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
-- 
1.7.7.6




^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [PATCH 4/7] pciutils: fix a do_compile failure
  2012-03-16 19:00 [PATCH 0/7] Misc Fixes and upgrades nitin.a.kamble
                   ` (2 preceding siblings ...)
  2012-03-16 19:00 ` [PATCH 3/7] python: fix install when libdir is not "lib" nitin.a.kamble
@ 2012-03-16 19:00 ` nitin.a.kamble
  2012-03-16 19:00 ` [PATCH 5/7] python-pyrex: quite packaging warnings nitin.a.kamble
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 13+ messages in thread
From: nitin.a.kamble @ 2012-03-16 19:00 UTC (permalink / raw)
  To: openembedded-core

From: Nitin A Kamble <nitin.a.kamble@intel.com>

Avoid this issue:

| ln -s libpci.so.3.1.9 libpci.so
| ln: failed to create symbolic link `libpci.so': File exists
| make[1]: *** [libpci.so] Error 1
| make[1]: Leaving directory `/srv/home/nitin/builds/build-multilib/tmp/work/x86_64-poky-linux/pciutils-3.1.9-r0/pciutils-3.1.9/lib'
| make: *** [lib/libpci.so] Error 2
| ERROR: oe_runmake failed
NOTE: package pciutils-3.1.9-r0: task do_compile: Failed

PR not bumped as there are no changes in the output packages.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
---
 meta/recipes-bsp/pciutils/pciutils_3.1.9.bb |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-bsp/pciutils/pciutils_3.1.9.bb b/meta/recipes-bsp/pciutils/pciutils_3.1.9.bb
index 51e7476..2c969d9 100644
--- a/meta/recipes-bsp/pciutils/pciutils_3.1.9.bb
+++ b/meta/recipes-bsp/pciutils/pciutils_3.1.9.bb
@@ -33,6 +33,11 @@ do_configure () {
 	)
 }
 
+do_compile_prepend () {
+	# Avoid this error:  ln: failed to create symbolic link `libpci.so': File exists
+	rm -f ${S}/lib/libpci.so
+}
+
 export PREFIX = "${prefix}"
 export SBINDIR = "${sbindir}"
 export SHAREDIR = "${datadir}"
-- 
1.7.7.6




^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [PATCH 5/7] python-pyrex: quite packaging warnings
  2012-03-16 19:00 [PATCH 0/7] Misc Fixes and upgrades nitin.a.kamble
                   ` (3 preceding siblings ...)
  2012-03-16 19:00 ` [PATCH 4/7] pciutils: fix a do_compile failure nitin.a.kamble
@ 2012-03-16 19:00 ` nitin.a.kamble
  2012-03-16 19:00 ` [PATCH 6/7] python-pycurl: fix " nitin.a.kamble
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 13+ messages in thread
From: nitin.a.kamble @ 2012-03-16 19:00 UTC (permalink / raw)
  To: openembedded-core

From: Nitin A Kamble <nitin.a.kamble@intel.com>

This removes these packaging warnings:
WARNING: For recipe python-pyrex, the following files/directories were
installed but not shipped in any package:
WARNING:   /usr/share
WARNING:   /usr/share/lib
WARNING:   /usr/share/lib/python2.7
WARNING:   /usr/share/lib/python2.7/site-packages
WARNING:   /usr/share/lib/python2.7/site-packages/Pyrex
WARNING:   /usr/share/lib/python2.7/site-packages/Pyrex/Compiler
WARNING:   /usr/share/lib/python2.7/site-packages/Pyrex/Compiler/Lexicon.pickle

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
---
 meta/recipes-devtools/python/python-pyrex_0.9.9.bb |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-devtools/python/python-pyrex_0.9.9.bb b/meta/recipes-devtools/python/python-pyrex_0.9.9.bb
index 7d80554..568fb0d 100644
--- a/meta/recipes-devtools/python/python-pyrex_0.9.9.bb
+++ b/meta/recipes-devtools/python/python-pyrex_0.9.9.bb
@@ -5,7 +5,7 @@ SECTION = "devel/python"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=771d472f53f933033f57eeee7808e5bd"
 SRCNAME = "Pyrex"
-PR = "ml2"
+PR = "r3"
 
 SRC_URI = "\
   http://www.cosc.canterbury.ac.nz/greg.ewing/python/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \
@@ -17,3 +17,5 @@ SRC_URI[sha256sum] = "5f87df06831d0b3412eb4bc9d3fc2ee7bfae1b913d7da8c23ab2bf5699
 S = "${WORKDIR}/${SRCNAME}-${PV}"
 
 inherit distutils
+
+FILES_${PN} += "${datadir}${base_libdir}/${PYTHON_DIR}/site-packages/Pyrex/Compiler/Lexicon.pickle"
-- 
1.7.7.6




^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [PATCH 0/7] Misc Fixes and upgrades
@ 2012-03-16 19:00 nitin.a.kamble
  2012-03-16 19:00 ` [PATCH 1/7] automake: upgrade from 1.11.2 to 1.11.3 nitin.a.kamble
                   ` (7 more replies)
  0 siblings, 8 replies; 13+ messages in thread
From: nitin.a.kamble @ 2012-03-16 19:00 UTC (permalink / raw)
  To: openembedded-core

From: Nitin A Kamble <nitin.a.kamble@intel.com>

The following changes since commit 0676db79755b49b660f34e1c00769327fc299c58:

  tcl: Fix bad RPATH QA warning (2012-03-16 16:47:44 +0000)

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

Nitin A Kamble (7):
  automake: upgrade from 1.11.2 to 1.11.3
  distro-tracking: update status of recipes
  python: fix install when libdir is not "lib"
  pciutils: fix a do_compile failure
  python-pyrex: quite packaging warnings
  python-pycurl: fix packaging warnings
  git: fix packaging warnings

 .../conf/distro/include/distro_tracking_fields.inc |   24 ++--
 meta/recipes-bsp/pciutils/pciutils_3.1.9.bb        |    5 +
 meta/recipes-devtools/automake/automake.inc        |    2 +-
 ...utomake_1.11.2_fix_for_pkglibexec_SCRIPTS.patch |  118 --------------------
 .../prefer-cpio-over-pax-for-ustar-archives.patch  |   30 +++--
 .../automake/automake/python-libdir.patch          |   32 +++---
 .../{automake_1.11.2.bb => automake_1.11.3.bb}     |    8 +-
 meta/recipes-devtools/git/git.inc                  |    2 +
 .../python/python-pycurl_7.19.0.bb                 |    4 +
 meta/recipes-devtools/python/python-pyrex_0.9.9.bb |    4 +-
 .../python/fix_for_using_different_libdir.patch    |   78 +++++++++++++
 meta/recipes-devtools/python/python_2.7.2.bb       |    2 +
 12 files changed, 143 insertions(+), 166 deletions(-)
 delete mode 100644 meta/recipes-devtools/automake/automake/automake_1.11.2_fix_for_pkglibexec_SCRIPTS.patch
 rename meta/recipes-devtools/automake/{automake_1.11.2.bb => automake_1.11.3.bb} (85%)
 create mode 100644 meta/recipes-devtools/python/python/fix_for_using_different_libdir.patch

-- 
1.7.7.6




^ permalink raw reply	[flat|nested] 13+ messages in thread

* [PATCH 6/7] python-pycurl: fix packaging warnings
  2012-03-16 19:00 [PATCH 0/7] Misc Fixes and upgrades nitin.a.kamble
                   ` (4 preceding siblings ...)
  2012-03-16 19:00 ` [PATCH 5/7] python-pyrex: quite packaging warnings nitin.a.kamble
@ 2012-03-16 19:00 ` nitin.a.kamble
  2012-03-16 23:49   ` Richard Purdie
  2012-03-16 19:00 ` [PATCH 7/7] git: " nitin.a.kamble
  2012-03-19 16:33 ` [PATCH 0/7] Misc Fixes and upgrades Saul Wold
  7 siblings, 1 reply; 13+ messages in thread
From: nitin.a.kamble @ 2012-03-16 19:00 UTC (permalink / raw)
  To: openembedded-core

From: Nitin A Kamble <nitin.a.kamble@intel.com>

This commit fixes these packaging warnings:
 WARNING: For recipe python-pycurl, the following files/directories were
installed but not shipped in any package:
 WARNING:   /usr/share/share

PR not bumber because no change in the output packages.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
---
 .../python/python-pycurl_7.19.0.bb                 |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-devtools/python/python-pycurl_7.19.0.bb b/meta/recipes-devtools/python/python-pycurl_7.19.0.bb
index d9fe465..8b849d7 100644
--- a/meta/recipes-devtools/python/python-pycurl_7.19.0.bb
+++ b/meta/recipes-devtools/python/python-pycurl_7.19.0.bb
@@ -29,3 +29,7 @@ export STAGING_INCDIR
 export STAGING_LIBDIR
 
 BBCLASSEXTEND = "native"
+
+do_install_append() {
+	rm -rf ${D}${datadir}/share
+}
-- 
1.7.7.6




^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [PATCH 7/7] git: fix packaging warnings
  2012-03-16 19:00 [PATCH 0/7] Misc Fixes and upgrades nitin.a.kamble
                   ` (5 preceding siblings ...)
  2012-03-16 19:00 ` [PATCH 6/7] python-pycurl: fix " nitin.a.kamble
@ 2012-03-16 19:00 ` nitin.a.kamble
  2012-03-17 10:16   ` Paul Menzel
  2012-03-19 16:33 ` [PATCH 0/7] Misc Fixes and upgrades Saul Wold
  7 siblings, 1 reply; 13+ messages in thread
From: nitin.a.kamble @ 2012-03-16 19:00 UTC (permalink / raw)
  To: openembedded-core

From: Nitin A Kamble <nitin.a.kamble@intel.com>

This commits fixes these packaging warnings
 WARNING: For recipe git, the following files/directories were installed
but not shipped in any package:
 WARNING:   /usr/lib/perl-native
 WARNING:   /usr/lib/perl-native/perl
 WARNING:   /usr/lib/perl-native/perl/5.14.2
 WARNING:   /usr/lib/perl-native/perl/5.14.2/Git.pm
 WARNING:   /usr/lib/perl-native/perl/5.14.2/perllocal.pod
 WARNING:   /usr/lib/perl-native/perl/5.14.2/auto
 WARNING:   /usr/lib/perl-native/perl/5.14.2/auto/Git
 WARNING:   /usr/lib/perl-native/perl/5.14.2/auto/Git/.packlist

PR not bumber because no change in the output packages.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
---
 meta/recipes-devtools/git/git.inc |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-devtools/git/git.inc b/meta/recipes-devtools/git/git.inc
index ca13ffd..be3831b 100644
--- a/meta/recipes-devtools/git/git.inc
+++ b/meta/recipes-devtools/git/git.inc
@@ -16,6 +16,7 @@ do_install () {
 	oe_runmake install DESTDIR="${D}" bindir=${bindir} \
 		template_dir=${datadir}/git-core/templates \
 		GIT_PYTHON_DIR=${D}${datadir}/git-core/python
+	rm -rf ${D}${libdir}/perl-native
 }
 
 do_install_append_virtclass-native() {
@@ -47,6 +48,7 @@ RDEPENDS_${PN}-perltools = "${PN} perl perl-module-file-path findutils"
 PACKAGES =+ "${PN}-python"
 FILES_${PN}-python = "${libdir}/python*"
 
+
 # git-tk package with gitk and git-gui
 PACKAGES =+ "${PN}-tk"
 #RDEPENDS_${PN}-tk = "${PN} tk tcl"
-- 
1.7.7.6




^ permalink raw reply related	[flat|nested] 13+ messages in thread

* Re: [PATCH 6/7] python-pycurl: fix packaging warnings
  2012-03-16 19:00 ` [PATCH 6/7] python-pycurl: fix " nitin.a.kamble
@ 2012-03-16 23:49   ` Richard Purdie
  2012-03-17  0:35     ` Kamble, Nitin A
  0 siblings, 1 reply; 13+ messages in thread
From: Richard Purdie @ 2012-03-16 23:49 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Fri, 2012-03-16 at 12:00 -0700, nitin.a.kamble@intel.com wrote:
> From: Nitin A Kamble <nitin.a.kamble@intel.com>
> 
> This commit fixes these packaging warnings:
>  WARNING: For recipe python-pycurl, the following files/directories were
> installed but not shipped in any package:
>  WARNING:   /usr/share/share
> 
> PR not bumber because no change in the output packages.
> 
> Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
> ---
>  .../python/python-pycurl_7.19.0.bb                 |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
> 
> diff --git a/meta/recipes-devtools/python/python-pycurl_7.19.0.bb b/meta/recipes-devtools/python/python-pycurl_7.19.0.bb
> index d9fe465..8b849d7 100644
> --- a/meta/recipes-devtools/python/python-pycurl_7.19.0.bb
> +++ b/meta/recipes-devtools/python/python-pycurl_7.19.0.bb
> @@ -29,3 +29,7 @@ export STAGING_INCDIR
>  export STAGING_LIBDIR
>  
>  BBCLASSEXTEND = "native"
> +
> +do_install_append() {
> +	rm -rf ${D}${datadir}/share
> +}

What is actually in there? Is that a file or a directory?

This is one of the cases it might be worth looking at why it exists at
all as something looks wrong there at a deeper level...

Cheers,

Richard




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH 6/7] python-pycurl: fix packaging warnings
  2012-03-16 23:49   ` Richard Purdie
@ 2012-03-17  0:35     ` Kamble, Nitin A
  2012-03-17  9:29       ` Richard Purdie
  0 siblings, 1 reply; 13+ messages in thread
From: Kamble, Nitin A @ 2012-03-17  0:35 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer



> -----Original Message-----
> From: openembedded-core-bounces@lists.openembedded.org
> [mailto:openembedded-core-bounces@lists.openembedded.org] On Behalf Of
> Richard Purdie
> Sent: Friday, March 16, 2012 4:50 PM
> To: Patches and discussions about the oe-core layer
> Subject: Re: [OE-core] [PATCH 6/7] python-pycurl: fix packaging
> warnings
> 
> On Fri, 2012-03-16 at 12:00 -0700, nitin.a.kamble@intel.com wrote:
> > From: Nitin A Kamble <nitin.a.kamble@intel.com>
> >
> > This commit fixes these packaging warnings:
> >  WARNING: For recipe python-pycurl, the following files/directories
> were
> > installed but not shipped in any package:
> >  WARNING:   /usr/share/share
> >
> > PR not bumber because no change in the output packages.
> >
> > Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
> > ---
> >  .../python/python-pycurl_7.19.0.bb                 |    4 ++++
> >  1 files changed, 4 insertions(+), 0 deletions(-)
> >
> > diff --git a/meta/recipes-devtools/python/python-pycurl_7.19.0.bb
> b/meta/recipes-devtools/python/python-pycurl_7.19.0.bb
> > index d9fe465..8b849d7 100644
> > --- a/meta/recipes-devtools/python/python-pycurl_7.19.0.bb
> > +++ b/meta/recipes-devtools/python/python-pycurl_7.19.0.bb
> > @@ -29,3 +29,7 @@ export STAGING_INCDIR
> >  export STAGING_LIBDIR
> >
> >  BBCLASSEXTEND = "native"
> > +
> > +do_install_append() {
> > +	rm -rf ${D}${datadir}/share
> > +}
> 
> What is actually in there? Is that a file or a directory?
> 
> This is one of the cases it might be worth looking at why it exists at
> all as something looks wrong there at a deeper level...
> 
That is an empty directory. Yes this need further looking why that directory existed in the 1st place.

Nitin


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



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH 6/7] python-pycurl: fix packaging warnings
  2012-03-17  0:35     ` Kamble, Nitin A
@ 2012-03-17  9:29       ` Richard Purdie
  0 siblings, 0 replies; 13+ messages in thread
From: Richard Purdie @ 2012-03-17  9:29 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Sat, 2012-03-17 at 00:35 +0000, Kamble, Nitin A wrote:
> > -----Original Message-----
> > From: openembedded-core-bounces@lists.openembedded.org
> > [mailto:openembedded-core-bounces@lists.openembedded.org] On Behalf Of
> > Richard Purdie
> > Sent: Friday, March 16, 2012 4:50 PM
> > To: Patches and discussions about the oe-core layer
> > Subject: Re: [OE-core] [PATCH 6/7] python-pycurl: fix packaging
> > warnings
> > 
> > On Fri, 2012-03-16 at 12:00 -0700, nitin.a.kamble@intel.com wrote:
> > > From: Nitin A Kamble <nitin.a.kamble@intel.com>
> > >
> > > This commit fixes these packaging warnings:
> > >  WARNING: For recipe python-pycurl, the following files/directories
> > were
> > > installed but not shipped in any package:
> > >  WARNING:   /usr/share/share
> > >
> > > PR not bumber because no change in the output packages.
> > >
> > > Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
> > > ---
> > >  .../python/python-pycurl_7.19.0.bb                 |    4 ++++
> > >  1 files changed, 4 insertions(+), 0 deletions(-)
> > >
> > > diff --git a/meta/recipes-devtools/python/python-pycurl_7.19.0.bb
> > b/meta/recipes-devtools/python/python-pycurl_7.19.0.bb
> > > index d9fe465..8b849d7 100644
> > > --- a/meta/recipes-devtools/python/python-pycurl_7.19.0.bb
> > > +++ b/meta/recipes-devtools/python/python-pycurl_7.19.0.bb
> > > @@ -29,3 +29,7 @@ export STAGING_INCDIR
> > >  export STAGING_LIBDIR
> > >
> > >  BBCLASSEXTEND = "native"
> > > +
> > > +do_install_append() {
> > > +	rm -rf ${D}${datadir}/share
> > > +}
> > 
> > What is actually in there? Is that a file or a directory?
> > 
> > This is one of the cases it might be worth looking at why it exists at
> > all as something looks wrong there at a deeper level...
> > 
> That is an empty directory. Yes this need further looking why that directory existed in the 1st place.

For empty directories, at least use rmdir, then if they suddenly gain
files, we'd see a failure rather than silently still working.

Cheers,

Richard




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH 7/7] git: fix packaging warnings
  2012-03-16 19:00 ` [PATCH 7/7] git: " nitin.a.kamble
@ 2012-03-17 10:16   ` Paul Menzel
  0 siblings, 0 replies; 13+ messages in thread
From: Paul Menzel @ 2012-03-17 10:16 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 1891 bytes --]

Dear Nitin,


Am Freitag, den 16.03.2012, 12:00 -0700 schrieb nitin.a.kamble@intel.com:
> From: Nitin A Kamble <nitin.a.kamble@intel.com>
> 
> This commits fixes these packaging warnings
>  WARNING: For recipe git, the following files/directories were installed
> but not shipped in any package:
>  WARNING:   /usr/lib/perl-native
>  WARNING:   /usr/lib/perl-native/perl
>  WARNING:   /usr/lib/perl-native/perl/5.14.2
>  WARNING:   /usr/lib/perl-native/perl/5.14.2/Git.pm
>  WARNING:   /usr/lib/perl-native/perl/5.14.2/perllocal.pod
>  WARNING:   /usr/lib/perl-native/perl/5.14.2/auto
>  WARNING:   /usr/lib/perl-native/perl/5.14.2/auto/Git
>  WARNING:   /usr/lib/perl-native/perl/5.14.2/auto/Git/.packlist
> 
> PR not bumber because no change in the output packages.

bumpe*d*

> Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
> ---
>  meta/recipes-devtools/git/git.inc |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/meta/recipes-devtools/git/git.inc b/meta/recipes-devtools/git/git.inc
> index ca13ffd..be3831b 100644
> --- a/meta/recipes-devtools/git/git.inc
> +++ b/meta/recipes-devtools/git/git.inc
> @@ -16,6 +16,7 @@ do_install () {
>  	oe_runmake install DESTDIR="${D}" bindir=${bindir} \
>  		template_dir=${datadir}/git-core/templates \
>  		GIT_PYTHON_DIR=${D}${datadir}/git-core/python
> +	rm -rf ${D}${libdir}/perl-native
>  }
>  
>  do_install_append_virtclass-native() {
> @@ -47,6 +48,7 @@ RDEPENDS_${PN}-perltools = "${PN} perl perl-module-file-path findutils"
>  PACKAGES =+ "${PN}-python"
>  FILES_${PN}-python = "${libdir}/python*"
>  
> +

This extra line seems to have been snuck in.

>  # git-tk package with gitk and git-gui
>  PACKAGES =+ "${PN}-tk"
>  #RDEPENDS_${PN}-tk = "${PN} tk tcl"


Acked-by: Paul Menzel <paulepanter@users.sourceforge.net>


Thanks,

Paul

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH 0/7] Misc Fixes and upgrades
  2012-03-16 19:00 [PATCH 0/7] Misc Fixes and upgrades nitin.a.kamble
                   ` (6 preceding siblings ...)
  2012-03-16 19:00 ` [PATCH 7/7] git: " nitin.a.kamble
@ 2012-03-19 16:33 ` Saul Wold
  7 siblings, 0 replies; 13+ messages in thread
From: Saul Wold @ 2012-03-19 16:33 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On 03/16/2012 12:00 PM, nitin.a.kamble@intel.com wrote:
> From: Nitin A Kamble<nitin.a.kamble@intel.com>
>
> The following changes since commit 0676db79755b49b660f34e1c00769327fc299c58:
>
>    tcl: Fix bad RPATH QA warning (2012-03-16 16:47:44 +0000)
>
> are available in the git repository at:
>    git://git.pokylinux.org/poky-contrib nitin/misc
>    http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=nitin/misc
>
> Nitin A Kamble (7):
>    automake: upgrade from 1.11.2 to 1.11.3
Not Merged

>    distro-tracking: update status of recipes
>    python: fix install when libdir is not "lib"
>    pciutils: fix a do_compile failure
>    python-pyrex: quite packaging warnings
>    python-pycurl: fix packaging warnings
>    git: fix packaging warnings
>
>   .../conf/distro/include/distro_tracking_fields.inc |   24 ++--
>   meta/recipes-bsp/pciutils/pciutils_3.1.9.bb        |    5 +
>   meta/recipes-devtools/automake/automake.inc        |    2 +-
>   ...utomake_1.11.2_fix_for_pkglibexec_SCRIPTS.patch |  118 --------------------
>   .../prefer-cpio-over-pax-for-ustar-archives.patch  |   30 +++--
>   .../automake/automake/python-libdir.patch          |   32 +++---
>   .../{automake_1.11.2.bb =>  automake_1.11.3.bb}     |    8 +-
>   meta/recipes-devtools/git/git.inc                  |    2 +
>   .../python/python-pycurl_7.19.0.bb                 |    4 +
>   meta/recipes-devtools/python/python-pyrex_0.9.9.bb |    4 +-
>   .../python/fix_for_using_different_libdir.patch    |   78 +++++++++++++
>   meta/recipes-devtools/python/python_2.7.2.bb       |    2 +
>   12 files changed, 143 insertions(+), 166 deletions(-)
>   delete mode 100644 meta/recipes-devtools/automake/automake/automake_1.11.2_fix_for_pkglibexec_SCRIPTS.patch
>   rename meta/recipes-devtools/automake/{automake_1.11.2.bb =>  automake_1.11.3.bb} (85%)
>   create mode 100644 meta/recipes-devtools/python/python/fix_for_using_different_libdir.patch
>

All but the automake update was merged into OE-Core

Thanks
	Sau!



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2012-03-19 16:42 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-16 19:00 [PATCH 0/7] Misc Fixes and upgrades nitin.a.kamble
2012-03-16 19:00 ` [PATCH 1/7] automake: upgrade from 1.11.2 to 1.11.3 nitin.a.kamble
2012-03-16 19:00 ` [PATCH 2/7] distro-tracking: update status of recipes nitin.a.kamble
2012-03-16 19:00 ` [PATCH 3/7] python: fix install when libdir is not "lib" nitin.a.kamble
2012-03-16 19:00 ` [PATCH 4/7] pciutils: fix a do_compile failure nitin.a.kamble
2012-03-16 19:00 ` [PATCH 5/7] python-pyrex: quite packaging warnings nitin.a.kamble
2012-03-16 19:00 ` [PATCH 6/7] python-pycurl: fix " nitin.a.kamble
2012-03-16 23:49   ` Richard Purdie
2012-03-17  0:35     ` Kamble, Nitin A
2012-03-17  9:29       ` Richard Purdie
2012-03-16 19:00 ` [PATCH 7/7] git: " nitin.a.kamble
2012-03-17 10:16   ` Paul Menzel
2012-03-19 16:33 ` [PATCH 0/7] Misc Fixes and upgrades Saul Wold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox