Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/2] Misc Fixes
@ 2011-07-21  9:29 nitin.a.kamble
  0 siblings, 0 replies; 13+ messages in thread
From: nitin.a.kamble @ 2011-07-21  9:29 UTC (permalink / raw)
  To: openembedded-core

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

The following changes since commit 35f20c5aacc9b23affe0380e8451ccc41cbc1799:

  eglibc: Tighten LICENSE Fields (2011-07-19 17:34:21 +0100)

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 (2):
  python: fix security vulnerability
  glib-2.0: fix a compilation issue due to dtrace

 meta/recipes-core/glib-2.0/glib-2.0_2.28.8.bb      |    1 -
 meta/recipes-core/glib-2.0/glib.inc                |    2 +-
 meta/recipes-devtools/python/python.inc            |    2 +-
 .../python/python/security_issue_2254_fix.patch    |  184 ++++++++++++++++++++
 meta/recipes-devtools/python/python_2.6.6.bb       |    3 +-
 5 files changed, 188 insertions(+), 4 deletions(-)
 create mode 100644 meta/recipes-devtools/python/python/security_issue_2254_fix.patch

-- 
1.7.6




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

* [PATCH 0/2] Misc Fixes
@ 2011-07-21 21:08 nitin.a.kamble
  2011-07-22 15:41 ` Saul Wold
  0 siblings, 1 reply; 13+ messages in thread
From: nitin.a.kamble @ 2011-07-21 21:08 UTC (permalink / raw)
  To: openembedded-core

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

The following changes since commit 8bd302b16dbd708fb9446fdc534ac64d873a34f5:

  glib-2.0: fix a compilation issue due to dtrace (2011-07-21 14:01:33 -0700)

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 (2):
  python: fix security vulnerability
  fix Upstream-Status line for few patches

 .../btrfs-tools/btrfs-tools/fix_use_of_gcc.patch   |    2 +-
 .../dosfstools/dosfstools-2.10-kernel-2.6.patch    |    2 +-
 .../elfutils/elfutils/fix_for_gcc-4.7.patch        |    2 +-
 meta/recipes-devtools/python/python.inc            |    2 +-
 .../python/python/security_issue_2254_fix.patch    |  184 ++++++++++++++++++++
 meta/recipes-devtools/python/python_2.6.6.bb       |    3 +-
 6 files changed, 190 insertions(+), 5 deletions(-)
 create mode 100644 meta/recipes-devtools/python/python/security_issue_2254_fix.patch

-- 
1.7.6




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

* Re: [PATCH 0/2] Misc Fixes
  2011-07-21 21:08 nitin.a.kamble
@ 2011-07-22 15:41 ` Saul Wold
  0 siblings, 0 replies; 13+ messages in thread
From: Saul Wold @ 2011-07-22 15:41 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On 07/21/2011 02:08 PM, nitin.a.kamble@intel.com wrote:
> From: Nitin A Kamble<nitin.a.kamble@intel.com>
>
> The following changes since commit 8bd302b16dbd708fb9446fdc534ac64d873a34f5:
>
>    glib-2.0: fix a compilation issue due to dtrace (2011-07-21 14:01:33 -0700)
>
> 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 (2):
>    python: fix security vulnerability
>    fix Upstream-Status line for few patches
>
>   .../btrfs-tools/btrfs-tools/fix_use_of_gcc.patch   |    2 +-
>   .../dosfstools/dosfstools-2.10-kernel-2.6.patch    |    2 +-
>   .../elfutils/elfutils/fix_for_gcc-4.7.patch        |    2 +-
>   meta/recipes-devtools/python/python.inc            |    2 +-
>   .../python/python/security_issue_2254_fix.patch    |  184 ++++++++++++++++++++
>   meta/recipes-devtools/python/python_2.6.6.bb       |    3 +-
>   6 files changed, 190 insertions(+), 5 deletions(-)
>   create mode 100644 meta/recipes-devtools/python/python/security_issue_2254_fix.patch
>

Merged into OE-Core

Thanks
	Sau!



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

* [PATCH 0/2] Misc fixes
@ 2012-01-19 13:59 Paul Eggleton
  2012-01-19 13:59 ` [PATCH 1/2] classes/patch: avoid backtrace when patch does not apply Paul Eggleton
  2012-01-19 13:59 ` [PATCH 2/2] hdparm: remove PRIORITY Paul Eggleton
  0 siblings, 2 replies; 13+ messages in thread
From: Paul Eggleton @ 2012-01-19 13:59 UTC (permalink / raw)
  To: openembedded-core

A fix for the patch error backtrace as well as removing PRIORITY from
the recently upgraded hdparm recipe.

The following changes since commit a0f5dd25a37fe3b8664c2133e80b6214559f93f6:

  package_rpm.bbclass: Add support for filenames with spaces (2012-01-17 16:20:46 +0000)

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

Paul Eggleton (2):
  classes/patch: avoid backtrace when patch does not apply
  hdparm: remove PRIORITY

 meta/classes/patch.bbclass                  |    5 ++++-
 meta/lib/oe/patch.py                        |   10 +++++-----
 meta/recipes-extended/hdparm/hdparm_9.37.bb |    1 -
 3 files changed, 9 insertions(+), 7 deletions(-)

-- 
1.7.5.4




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

* [PATCH 1/2] classes/patch: avoid backtrace when patch does not apply
  2012-01-19 13:59 [PATCH 0/2] Misc fixes Paul Eggleton
@ 2012-01-19 13:59 ` Paul Eggleton
  2012-01-19 14:32   ` Richard Purdie
  2012-01-19 13:59 ` [PATCH 2/2] hdparm: remove PRIORITY Paul Eggleton
  1 sibling, 1 reply; 13+ messages in thread
From: Paul Eggleton @ 2012-01-19 13:59 UTC (permalink / raw)
  To: openembedded-core

We don't need to see a Python stack backtrace when a patch does not
apply, just the error output from patch, so trap these kinds of errors
and ensure that we display the message and fail the task and nothing
else.

Fixes [YOCTO #1143]

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta/classes/patch.bbclass |    5 ++++-
 meta/lib/oe/patch.py       |   10 +++++-----
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/meta/classes/patch.bbclass b/meta/classes/patch.bbclass
index 471c32b..1ea4bc5 100644
--- a/meta/classes/patch.bbclass
+++ b/meta/classes/patch.bbclass
@@ -155,7 +155,10 @@ python patch_do_patch() {
 			patchset.Import({"file":local, "strippath": parm['striplevel']}, True)
 		except Exception as exc:
 			bb.fatal(str(exc))
-		resolver.Resolve()
+		try:
+			resolver.Resolve()
+		except bb.BBHandledException as e:
+			bb.fatal(str(e))
 }
 patch_do_patch[vardepsexclude] = "PATCHRESOLVE"
 
diff --git a/meta/lib/oe/patch.py b/meta/lib/oe/patch.py
index f4ccb3e..6f7f900 100644
--- a/meta/lib/oe/patch.py
+++ b/meta/lib/oe/patch.py
@@ -2,14 +2,14 @@ import oe.path
 import os
 import bb.utils, bb.msg, bb.data, bb.fetch2
 
-class NotFoundError(Exception):
+class NotFoundError(bb.BBHandledException):
     def __init__(self, path):
         self.path = path
 
     def __str__(self):
         return "Error: %s not found." % self.path
 
-class CmdError(Exception):
+class CmdError(bb.BBHandledException):
     def __init__(self, exitstatus, output):
         self.status = exitstatus
         self.output = output
@@ -207,7 +207,7 @@ class QuiltTree(PatchSet):
         # read series -> self.patches
         seriespath = os.path.join(self.dir, 'patches', 'series')
         if not os.path.exists(self.dir):
-            raise Exception("Error: %s does not exist." % self.dir)
+            raise NotFoundError(self.dir)
         if os.path.exists(seriespath):
             series = file(seriespath, 'r')
             for line in series.readlines():
@@ -228,7 +228,7 @@ class QuiltTree(PatchSet):
                 if sys.exc_value.output.strip() == "No patches applied":
                     return
                 else:
-                    raise sys.exc_value
+                    raise
             output = [val for val in output.split('\n') if not val.startswith('#')]
             for patch in self.patches:
                 if os.path.basename(patch["quiltfile"]) == output[-1]:
@@ -336,7 +336,7 @@ class NOOPResolver(Resolver):
         except Exception:
             import sys
             os.chdir(olddir)
-            raise sys.exc_value
+            raise
 
 # Patch resolver which relies on the user doing all the work involved in the
 # resolution, with the exception of refreshing the remote copy of the patch
-- 
1.7.5.4




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

* [PATCH 2/2] hdparm: remove PRIORITY
  2012-01-19 13:59 [PATCH 0/2] Misc fixes Paul Eggleton
  2012-01-19 13:59 ` [PATCH 1/2] classes/patch: avoid backtrace when patch does not apply Paul Eggleton
@ 2012-01-19 13:59 ` Paul Eggleton
  2012-01-19 14:32   ` Richard Purdie
  1 sibling, 1 reply; 13+ messages in thread
From: Paul Eggleton @ 2012-01-19 13:59 UTC (permalink / raw)
  To: openembedded-core

PRIORITY is no longer set in recipes in OE-Core, so remove it. (Since
"optional" is the default value from bitbake.conf, no PR bump is
necessary.)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta/recipes-extended/hdparm/hdparm_9.37.bb |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-extended/hdparm/hdparm_9.37.bb b/meta/recipes-extended/hdparm/hdparm_9.37.bb
index bfc64e7..8ea6f13 100644
--- a/meta/recipes-extended/hdparm/hdparm_9.37.bb
+++ b/meta/recipes-extended/hdparm/hdparm_9.37.bb
@@ -1,7 +1,6 @@
 DESCRIPTION = "hdparm is a Linux shell utility for viewing \
 and manipulating various IDE drive and driver parameters."
 SECTION = "console/utils"
-PRIORITY = "optional"
 LICENSE = "BSD"
 LICENSE_wiper = "GPLv2"
 LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=910a8a42c962d238619c75fdb78bdb24 \
-- 
1.7.5.4




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

* Re: [PATCH 1/2] classes/patch: avoid backtrace when patch does not apply
  2012-01-19 13:59 ` [PATCH 1/2] classes/patch: avoid backtrace when patch does not apply Paul Eggleton
@ 2012-01-19 14:32   ` Richard Purdie
  0 siblings, 0 replies; 13+ messages in thread
From: Richard Purdie @ 2012-01-19 14:32 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Thu, 2012-01-19 at 13:59 +0000, Paul Eggleton wrote:
> We don't need to see a Python stack backtrace when a patch does not
> apply, just the error output from patch, so trap these kinds of errors
> and ensure that we display the message and fail the task and nothing
> else.
> 
> Fixes [YOCTO #1143]
> 
> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
> ---
>  meta/classes/patch.bbclass |    5 ++++-
>  meta/lib/oe/patch.py       |   10 +++++-----
>  2 files changed, 9 insertions(+), 6 deletions(-)

Merged to master, thanks.

Richard




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

* Re: [PATCH 2/2] hdparm: remove PRIORITY
  2012-01-19 13:59 ` [PATCH 2/2] hdparm: remove PRIORITY Paul Eggleton
@ 2012-01-19 14:32   ` Richard Purdie
  0 siblings, 0 replies; 13+ messages in thread
From: Richard Purdie @ 2012-01-19 14:32 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Thu, 2012-01-19 at 13:59 +0000, Paul Eggleton wrote:
> PRIORITY is no longer set in recipes in OE-Core, so remove it. (Since
> "optional" is the default value from bitbake.conf, no PR bump is
> necessary.)
> 
> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
> ---
>  meta/recipes-extended/hdparm/hdparm_9.37.bb |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)

Merged to master, thanks.

Richard




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

* [PATCH 0/2] Misc Fixes
@ 2012-04-13  4:43 nitin.a.kamble
  0 siblings, 0 replies; 13+ messages in thread
From: nitin.a.kamble @ 2012-04-13  4:43 UTC (permalink / raw)
  To: openembedded-core

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

Misc Fixes. These are tested on 64bit fedora 17 alpha system for qemux86 machine

Nitin

The following changes since commit b8f45af0c477b23b85ea8eb02f3c9e46a666a422:

  mklibs-native: fix for gcc-4.7 (2012-04-12 15:25:04 -0700)

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

Nitin A Kamble (2):
  eglibc: fix perl path in target scripts on fedora 17 alpha
  eglibc: clean up the common code from 2.1[35] versions

 meta/recipes-core/eglibc/eglibc.inc     |    2 ++
 meta/recipes-core/eglibc/eglibc_2.13.bb |    5 +----
 meta/recipes-core/eglibc/eglibc_2.15.bb |    4 +---
 3 files changed, 4 insertions(+), 7 deletions(-)

-- 
1.7.7




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

* [PATCH 0/2] Misc fixes
@ 2012-04-26 22:53 nitin.a.kamble
  2012-05-01 18:32 ` Saul Wold
  0 siblings, 1 reply; 13+ messages in thread
From: nitin.a.kamble @ 2012-04-26 22:53 UTC (permalink / raw)
  To: openembedded-core

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

This fixes are for issues discovered with gcc-4.7 & eglibc-2.15

Nitin

The following changes since commit c84c6bc074e0fdeaebce99152cdb4b1e7e92543d:

  tcmode-default: make eglibc 2.15 as the default libc (2012-04-26 12:49:25 -0700)

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 (2):
  eglibc: package mtrace separately
  tcl: fix target recipe build issue on older distros

 meta/recipes-core/eglibc/eglibc-package.inc        |    8 ++-
 meta/recipes-core/eglibc/eglibc_2.13.bb            |    2 +-
 meta/recipes-core/eglibc/eglibc_2.15.bb            |    2 +-
 .../tcl/fix_issue_with_old_distro_glibc.patch      |  109 ++++++++++++++++++++
 meta/recipes-devtools/tcltk/tcl_8.5.11.bb          |    5 +-
 5 files changed, 121 insertions(+), 5 deletions(-)
 create mode 100644 meta/recipes-devtools/tcltk/tcl/fix_issue_with_old_distro_glibc.patch

-- 
1.7.7




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

* Re: [PATCH 0/2] Misc fixes
  2012-04-26 22:53 nitin.a.kamble
@ 2012-05-01 18:32 ` Saul Wold
  0 siblings, 0 replies; 13+ messages in thread
From: Saul Wold @ 2012-05-01 18:32 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On 04/26/2012 03:53 PM, nitin.a.kamble@intel.com wrote:
> From: Nitin A Kamble<nitin.a.kamble@intel.com>
>
> This fixes are for issues discovered with gcc-4.7&  eglibc-2.15
>
> Nitin
>
> The following changes since commit c84c6bc074e0fdeaebce99152cdb4b1e7e92543d:
>
>    tcmode-default: make eglibc 2.15 as the default libc (2012-04-26 12:49:25 -0700)
>
> 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 (2):
>    eglibc: package mtrace separately
This needs a comment update and check that it really installs to the 
*-sdk images.

>    tcl: fix target recipe build issue on older distros
>
Merged TCL to OE-Core

Thanks
	Sau!

>   meta/recipes-core/eglibc/eglibc-package.inc        |    8 ++-
>   meta/recipes-core/eglibc/eglibc_2.13.bb            |    2 +-
>   meta/recipes-core/eglibc/eglibc_2.15.bb            |    2 +-
>   .../tcl/fix_issue_with_old_distro_glibc.patch      |  109 ++++++++++++++++++++
>   meta/recipes-devtools/tcltk/tcl_8.5.11.bb          |    5 +-
>   5 files changed, 121 insertions(+), 5 deletions(-)
>   create mode 100644 meta/recipes-devtools/tcltk/tcl/fix_issue_with_old_distro_glibc.patch
>



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

* [PATCH 0/2] Misc fixes
@ 2012-05-16 18:11 nitin.a.kamble
  0 siblings, 0 replies; 13+ messages in thread
From: nitin.a.kamble @ 2012-05-16 18:11 UTC (permalink / raw)
  To: openembedded-core

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

Here are few misc fixes:
Nitin

The following changes since commit d4e265661517f8dd4e1648fdc56bac5973f986f6:

  poky.conf: Change WARNS -> ERRORS (2012-05-16 07:35:20 +0100)

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

Nitin A Kamble (2):
  eglibc: package mtrace separately
  gcc: fix DEPENDS to avoid a build issue

 meta/recipes-core/eglibc/eglibc-package.inc      |    7 ++++++-
 meta/recipes-core/eglibc/eglibc_2.13.bb          |    2 +-
 meta/recipes-core/eglibc/eglibc_2.15.bb          |    2 +-
 meta/recipes-core/tasks/task-core-tools-debug.bb |    1 +
 meta/recipes-devtools/gcc/gcc-4.7.inc            |    4 ++--
 5 files changed, 11 insertions(+), 5 deletions(-)

-- 
1.7.7




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

* [PATCH 0/2] Misc fixes
@ 2017-03-23  3:37 Khem Raj
  0 siblings, 0 replies; 13+ messages in thread
From: Khem Raj @ 2017-03-23  3:37 UTC (permalink / raw)
  To: openembedded-core

clang finds couple of more issues to weed out

The following changes since commit d1d55041e38b12d40f896834b56475ea19a6047f:

  sstate: Ensure installation directory is empty before execution (2017-03-22 10:12:10 +0000)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib kraj/pu
  http://cgit.openembedded.org/openembedded-core-contrib/log/?h=kraj/pu

Khem Raj (2):
  db: Fix atomic function namespace clash with clang builtins
  libvorbis: Contain gcc specific compiler flags using configure option

 .../libvorbis/0001-configure-Check-for-clang.patch | 56 ++++++++++++++++++++++
 .../libvorbis/libvorbis_1.3.5.bb                   |  4 +-
 ...me-local-__atomic_compare_exchange-to-avo.patch | 45 +++++++++++++++++
 meta/recipes-support/db/db_5.3.28.bb               |  1 +
 4 files changed, 105 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-multimedia/libvorbis/libvorbis/0001-configure-Check-for-clang.patch
 create mode 100644 meta/recipes-support/db/db/0001-atomic-Rename-local-__atomic_compare_exchange-to-avo.patch

-- 
2.12.1



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

end of thread, other threads:[~2017-03-23  3:38 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-19 13:59 [PATCH 0/2] Misc fixes Paul Eggleton
2012-01-19 13:59 ` [PATCH 1/2] classes/patch: avoid backtrace when patch does not apply Paul Eggleton
2012-01-19 14:32   ` Richard Purdie
2012-01-19 13:59 ` [PATCH 2/2] hdparm: remove PRIORITY Paul Eggleton
2012-01-19 14:32   ` Richard Purdie
  -- strict thread matches above, loose matches on Subject: below --
2017-03-23  3:37 [PATCH 0/2] Misc fixes Khem Raj
2012-05-16 18:11 nitin.a.kamble
2012-04-26 22:53 nitin.a.kamble
2012-05-01 18:32 ` Saul Wold
2012-04-13  4:43 [PATCH 0/2] Misc Fixes nitin.a.kamble
2011-07-21 21:08 nitin.a.kamble
2011-07-22 15:41 ` Saul Wold
2011-07-21  9:29 nitin.a.kamble

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