jackie.huang | 18 Nov 09:35 2014

[PATCH] python3: several fixes for cross compiling

From: Jackie Huang <jackie.huang@...>

* Add a patch to use CROSSPYTHONPATH as PYTHONPATH for
  PYTHON_FOR_BUILD, otherwise CROSSPYTHONPATH is never used,
  and it use the path in target builds to find libraries.

* Add a patch to avoid finding host headers and libs

* Fix a typo: s/python-native3/python3-native/

Signed-off-by: Jackie Huang <jackie.huang@...>
---
 .../python3-setup.py-no-host-headers-libs.patch    |   33 ++++++++++++++++++++
 ...-use-CROSSPYTHONPATH-for-PYTHON_FOR_BUILD.patch |   28 +++++++++++++++++
 meta/recipes-devtools/python/python3_3.3.3.bb      |   17 +++++-----
 3 files changed, 70 insertions(+), 8 deletions(-)
 create mode 100644 meta/recipes-devtools/python/python3/python3-setup.py-no-host-headers-libs.patch
 create mode 100644 meta/recipes-devtools/python/python3/python3-use-CROSSPYTHONPATH-for-PYTHON_FOR_BUILD.patch

diff --git
a/meta/recipes-devtools/python/python3/python3-setup.py-no-host-headers-libs.patch b/meta/recipes-devtools/python/python3/python3-setup.py-no-host-headers-libs.patch
new file mode 100644
index 0000000..2bc8b8c
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/python3-setup.py-no-host-headers-libs.patch
 <at>  <at>  -0,0 +1,33  <at>  <at> 
+From 43238e1ac13e32984d015c92a5841f3de1fe1d15 Mon Sep 17 00:00:00 2001
+From: Jackie Huang <jackie.huang@...>
+Date: Tue, 18 Nov 2014 00:07:07 -0500
+Subject: [PATCH] setup.py: no host headers libs
(Continue reading)

Chong Lu | 18 Nov 08:22 2014

[PATCH 0/3] bison: update to 3.0.2

The following changes since commit edaeb8940813b620090a0797ad3b6a076897512d:

  bitbake: cooker.py: fix loginfo op being set to an invalid value (2014-11-12 17:04:50 +0000)

are available in the git repository at:

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

Chong Lu (3):
  bison: update to 3.0.2
  gstreamer: change priv_gst_parse_yylex arguments
  webkit-gtk: ANGLE doesn't build with bison 3

 .../bison/bison-do-not-try-to-generate-docs.patch  | 37 ++++++++++++++++++++++
 .../bison/bison/dont-depend-on-help2man.patch      | 32 -------------------
 .../bison/bison/fix_cross_manpage_building.patch   | 19 -----------
 .../bison/{bison_2.7.1.bb => bison_3.0.2.bb}       | 21 ++++++------
 ...mer-change-priv_gst_parse_yylex-arguments.patch | 33 +++++++++++++++++++
 .../gstreamer/gstreamer_0.10.36.bb                 |  1 +
 ...bkit-gtk-ANGLE-doesn-t-build-with-bison-3.patch | 26 +++++++++++++++
 meta/recipes-sato/webkit/webkit-gtk_1.8.3.bb       |  1 +
 8 files changed, 108 insertions(+), 62 deletions(-)
 create mode 100644 meta/recipes-devtools/bison/bison/bison-do-not-try-to-generate-docs.patch
 delete mode 100644 meta/recipes-devtools/bison/bison/dont-depend-on-help2man.patch
 delete mode 100644 meta/recipes-devtools/bison/bison/fix_cross_manpage_building.patch
 rename meta/recipes-devtools/bison/{bison_2.7.1.bb => bison_3.0.2.bb} (70%)
 create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer-0.10.36/gstreamer-change-priv_gst_parse_yylex-arguments.patch
 create mode 100644 meta/recipes-sato/webkit/files/webkit-gtk-ANGLE-doesn-t-build-with-bison-3.patch

(Continue reading)

Mohd Azril Ahmad | 18 Nov 04:13 2014
Picon

luajit : Installation fails once enable multilib environment

Hi all,

I'm looking for solution regarding the luajit installation fails once I enable the intel corei7 64-bit with multilib environment where this doesn't happen on normal setup (non-multilib).

Below are my local config and error log :

local.conf :
-------------------------------------------------------
MACHINE ??= "valleyisland-64"
...
### Enabling Multi-lib ####
require conf/multilib.conf
DEFAULTTUNE = "corei7-64"
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "corei7-32"

luajit 2.0.3 installation error :
-----------------------------------------------------------------------------
Build Configuration:
BB_VERSION        = "1.22.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Fedora-20"
TARGET_SYS        = "x86_64-poky-linux"
MACHINE           = "valleyisland-64"
DISTRO            = "poky"
DISTRO_VERSION    = "1.6.2"
TUNE_FEATURES     = "m64 corei7"
TARGET_FPU        = ""
meta
meta-yocto
meta-yocto-bsp    = "daisy:30b8d9378b8260e452552b806610dc9b6fe0b69f"
meta-intel
meta-valleyisland = "daisy:d9eaf5edeb848671db0a7ac864850833af82bef2"
meta-oe
meta-python
meta-networking
meta-multimedia
meta-gnome
meta-efl          = "master:a4bdcbdbca05bbb4a452e06982038f0a38bcb91f"
meta-browser      = "master:1ed7500cc43706165ccac8daccba47124e63d3eb"
meta-mycustom     = "<unknown>:<unknown>"

NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_install (log file is located at /MOUNT/EXT/YOCTO_BUILDER/YOCTO_SOURCE/TEST_BUILD/tmp/work/corei7-64-poky-linux/luajit/2.0.3-r0/temp/log.do_install.24577)
ERROR: Logfile of failure stored in: /MOUNT/EXT/YOCTO_BUILDER/YOCTO_SOURCE/TEST_BUILD/tmp/work/corei7-64-poky-linux/luajit/2.0.3-r0/temp/log.do_install.24577
Log data follows:
| DEBUG: Executing shell function do_install
| NOTE: make -j 8 CROSS=x86_64-poky-linux- TARGET_CFLAGS= --sysroot=/MOUNT/EXT/YOCTO_BUILDER/YOCTO_SOURCE/TEST_BUILD/tmp/sysroots/valleyisland-64  -m64 -march=corei7 -mtune=corei7 -mfpmath=sse -msse4.2 TARGET_LDFLAGS= --sysroot=/MOUNT/EXT/YOCTO_BUILDER/YOCTO_SOURCE/TEST_BUILD/tmp/sysroots/valleyisland-64 TARGET_SHLDFLAGS= --sysroot=/MOUNT/EXT/YOCTO_BUILDER/YOCTO_SOURCE/TEST_BUILD/tmp/sysroots/valleyisland-64 HOST_CC=gcc  DESTDIR=/MOUNT/EXT/YOCTO_BUILDER/YOCTO_SOURCE/TEST_BUILD/tmp/work/corei7-64-poky-linux/luajit/2.0.3-r0/image install
| ==== Installing LuaJIT 2.0.3 to /usr ====
| mkdir -p /MOUNT/EXT/YOCTO_BUILDER/YOCTO_SOURCE/TEST_BUILD/tmp/work/corei7-64-poky-linux/luajit/2.0.3-r0/image/usr/bin /MOUNT/EXT/YOCTO_BUILDER/YOCTO_SOURCE/TEST_BUILD/tmp/work/corei7-64-poky-linux/luajit/2.0.3-r0/image/usr/lib /MOUNT/EXT/YOCTO_BUILDER/YOCTO_SOURCE/TEST_BUILD/tmp/work/corei7-64-poky-linux/luajit/2.0.3-r0/image/usr/include/luajit-2.0 /MOUNT/EXT/YOCTO_BUILDER/YOCTO_SOURCE/TEST_BUILD/tmp/work/corei7-64-poky-linux/luajit/2.0.3-r0/image/usr/share/man/man1 /MOUNT/EXT/YOCTO_BUILDER/YOCTO_SOURCE/TEST_BUILD/tmp/work/corei7-64-poky-linux/luajit/2.0.3-r0/image/usr/lib/pkgconfig /MOUNT/EXT/YOCTO_BUILDER/YOCTO_SOURCE/TEST_BUILD/tmp/work/corei7-64-poky-linux/luajit/2.0.3-r0/image/usr/share/luajit-2.0.3/jit /MOUNT/EXT/YOCTO_BUILDER/YOCTO_SOURCE/TEST_BUILD/tmp/work/corei7-64-poky-linux/luajit/2.0.3-r0/image/usr/share/lua/5.1 /MOUNT/EXT/YOCTO_BUILDER/YOCTO_SOURCE/TEST_BUILD/tmp/work/corei7-64-poky-linux/luajit/2.0.3-r0/image/usr/lib/lua/5.1
| cd src && install -m 0755 luajit /MOUNT/EXT/YOCTO_BUILDER/YOCTO_SOURCE/TEST_BUILD/tmp/work/corei7-64-poky-linux/luajit/2.0.3-r0/image/usr/bin/luajit-2.0.3
| cd src && test -f libluajit.a && install -m 0644 libluajit.a /MOUNT/EXT/YOCTO_BUILDER/YOCTO_SOURCE/TEST_BUILD/tmp/work/corei7-64-poky-linux/luajit/2.0.3-r0/image/usr/lib/libluajit-5.1.a || :
| rm -f /MOUNT/EXT/YOCTO_BUILDER/YOCTO_SOURCE/TEST_BUILD/tmp/work/corei7-64-poky-linux/luajit/2.0.3-r0/image/usr/bin/luajit /MOUNT/EXT/YOCTO_BUILDER/YOCTO_SOURCE/TEST_BUILD/tmp/work/corei7-64-poky-linux/luajit/2.0.3-r0/image/usr/lib/libluajit-5.1.so.2.0.3 /MOUNT/EXT/YOCTO_BUILDER/YOCTO_SOURCE/TEST_BUILD/tmp/work/corei7-64-poky-linux/luajit/2.0.3-r0/image/usr/lib/libluajit-5.1.so /MOUNT/EXT/YOCTO_BUILDER/YOCTO_SOURCE/TEST_BUILD/tmp/work/corei7-64-poky-linux/luajit/2.0.3-r0/image/usr/lib/libluajit-5.1.so
| cd src && test -f libluajit.so && \
|   install -m 0755 libluajit.so /MOUNT/EXT/YOCTO_BUILDER/YOCTO_SOURCE/TEST_BUILD/tmp/work/corei7-64-poky-linux/luajit/2.0.3-r0/image/usr/lib/libluajit-5.1.so.2.0.3 && \
|   ldconfig -n /MOUNT/EXT/YOCTO_BUILDER/YOCTO_SOURCE/TEST_BUILD/tmp/work/corei7-64-poky-linux/luajit/2.0.3-r0/image/usr/lib && \
|   ln -sf libluajit-5.1.so.2.0.3 /MOUNT/EXT/YOCTO_BUILDER/YOCTO_SOURCE/TEST_BUILD/tmp/work/corei7-64-poky-linux/luajit/2.0.3-r0/image/usr/lib/libluajit-5.1.so && \
|   ln -sf libluajit-5.1.so.2.0.3 /MOUNT/EXT/YOCTO_BUILDER/YOCTO_SOURCE/TEST_BUILD/tmp/work/corei7-64-poky-linux/luajit/2.0.3-r0/image/usr/lib/libluajit-5.1.so || :
| cd etc && install -m 0644 luajit.1 /MOUNT/EXT/YOCTO_BUILDER/YOCTO_SOURCE/TEST_BUILD/tmp/work/corei7-64-poky-linux/luajit/2.0.3-r0/image/usr/share/man/man1
| cd etc && sed -e "s|^prefix=.*|prefix=/usr|" -e "s|^multilib=.*|multilib=lib|" luajit.pc > luajit.pc.tmp && \
|   install -m 0644 luajit.pc.tmp /MOUNT/EXT/YOCTO_BUILDER/YOCTO_SOURCE/TEST_BUILD/tmp/work/corei7-64-poky-linux/luajit/2.0.3-r0/image/usr/lib/pkgconfig/luajit.pc && \
|   rm -f luajit.pc.tmp
| cd src && install -m 0644 lua.h lualib.h lauxlib.h luaconf.h lua.hpp luajit.h /MOUNT/EXT/YOCTO_BUILDER/YOCTO_SOURCE/TEST_BUILD/tmp/work/corei7-64-poky-linux/luajit/2.0.3-r0/image/usr/include/luajit-2.0
| cd src/jit && install -m 0644 bc.lua v.lua dump.lua dis_x86.lua dis_x64.lua dis_arm.lua dis_ppc.lua dis_mips.lua dis_mipsel.lua bcsave.lua vmdef.lua /MOUNT/EXT/YOCTO_BUILDER/YOCTO_SOURCE/TEST_BUILD/tmp/work/corei7-64-poky-linux/luajit/2.0.3-r0/image/usr/share/luajit-2.0.3/jit
| ln -sf luajit-2.0.3 /MOUNT/EXT/YOCTO_BUILDER/YOCTO_SOURCE/TEST_BUILD/tmp/work/corei7-64-poky-linux/luajit/2.0.3-r0/image/usr/bin/luajit
| ==== Successfully installed LuaJIT 2.0.3 to /usr ====
| rmdir: failed to remove '/MOUNT/EXT/YOCTO_BUILDER/YOCTO_SOURCE/TEST_BUILD/tmp/work/corei7-64-poky-linux/luajit/2.0.3-r0/image/usr/lib64/lua/5.*': No such file or directory
| rmdir: failed to remove '/MOUNT/EXT/YOCTO_BUILDER/YOCTO_SOURCE/TEST_BUILD/tmp/work/corei7-64-poky-linux/luajit/2.0.3-r0/image/usr/lib64/lua': No such file or directory
| WARNING: /MOUNT/EXT/YOCTO_BUILDER/YOCTO_SOURCE/TEST_BUILD/tmp/work/corei7-64-poky-linux/luajit/2.0.3-r0/temp/run.do_install.24577:1 exit 1 from
|   rmdir /MOUNT/EXT/YOCTO_BUILDER/YOCTO_SOURCE/TEST_BUILD/tmp/work/corei7-64-poky-linux/luajit/2.0.3-r0/image/usr/share/lua/5.* /MOUNT/EXT/YOCTO_BUILDER/YOCTO_SOURCE/TEST_BUILD/tmp/work/corei7-64-poky-linux/luajit/2.0.3-r0/image/usr/share/lua /MOUNT/EXT/YOCTO_BUILDER/YOCTO_SOURCE/TEST_BUILD/tmp/work/corei7-64-poky-linux/luajit/2.0.3-r0/image/usr/lib64/lua/5.* /MOUNT/EXT/YOCTO_BUILDER/YOCTO_SOURCE/TEST_BUILD/tmp/work/corei7-64-poky-linux/luajit/2.0.3-r0/image/usr/lib64/lua
| ERROR: Function failed: do_install (log file is located at /MOUNT/EXT/YOCTO_BUILDER/YOCTO_SOURCE/TEST_BUILD/tmp/work/corei7-64-poky-linux/luajit/2.0.3-r0/temp/log.do_install.24577)
ERROR: Task 4138 (/MOUNT/EXT/YOCTO_BUILDER/YOCTO_SOURCE/meta-openembedded/meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb, do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2406 tasks of which 2397 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
-----------------------------------------------------------------

Seems that it fails on looking for the correct path ?
...
...
rmdir: failed to remove '/MOUNT/EXT/YOCTO_BUILDER/YOCTO_SOURCE/TEST_BUILD/tmp/work/corei7-64-poky-linux/luajit/2.0.3-r0/image/usr/lib64/lua/5.*': No such file or directory
| rmdir: failed to remove '/MOUNT/EXT/YOCTO_BUILDER/YOCTO_SOURCE/TEST_BUILD/tmp/work/corei7-64-poky-linux/luajit/2.0.3-r0/image/usr/lib64/lua': No such file or directory
...
...
--

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@...
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Saul Wold | 18 Nov 01:18 2014
Picon

[PATCH][Dizzy Only] babeltrace: Backport fix for unaligned integer


[YOCTO #6464]

Signed-off-by: Saul Wold <sgw@...>
---
This is addressed via a package update in master so this is Dizzy only

Sau!

 ...n-t-perform-unaligned-integer-read-writes.patch | 252 +++++++++++++++++++++
 meta/recipes-kernel/lttng/babeltrace_1.2.1.bb      |   1 +
 2 files changed, 253 insertions(+)
 create mode 100644 meta/recipes-kernel/lttng/babeltrace/0001-Fix-don-t-perform-unaligned-integer-read-writes.patch

diff --git
a/meta/recipes-kernel/lttng/babeltrace/0001-Fix-don-t-perform-unaligned-integer-read-writes.patch b/meta/recipes-kernel/lttng/babeltrace/0001-Fix-don-t-perform-unaligned-integer-read-writes.patch
new file mode 100644
index 0000000..ea0aad6
--- /dev/null
+++ b/meta/recipes-kernel/lttng/babeltrace/0001-Fix-don-t-perform-unaligned-integer-read-writes.patch
 <at>  <at>  -0,0 +1,252  <at>  <at> 
+From 6a0b6cd5133db9e3c72914d4e5dd7fc792360934 Mon Sep 17 00:00:00 2001
+From: Mathieu Desnoyers <mathieu.desnoyers@...>
+Date: Wed, 16 Jul 2014 10:58:48 -0400
+Subject: [PATCH] Fix: don't perform unaligned integer read/writes
+
+Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@...>
+
+Upstream-Status: Backport
+Signed-off-by: Saul Wold <sgw@...>
+
+---
+ formats/ctf/types/integer.c | 108 ++++++++++++++++++++++++++++----------------
+ 1 file changed, 70 insertions(+), 38 deletions(-)
+
+diff --git a/formats/ctf/types/integer.c b/formats/ctf/types/integer.c
+index 189943e..85931be 100644
+--- a/formats/ctf/types/integer.c
++++ b/formats/ctf/types/integer.c
+ <at>  <at>  -62,7 +62,7  <at>  <at>  int _aligned_integer_read(struct bt_stream_pos *ppos,
+ 		{
+ 			uint8_t v;
+ 
+-			v = *(const uint8_t *) ctf_get_pos_addr(pos);
++			memcpy(&v, ctf_get_pos_addr(pos), sizeof(v));
+ 			integer_definition->value._unsigned = v;
+ 			break;
+ 		}
+ <at>  <at>  -70,7 +70,7  <at>  <at>  int _aligned_integer_read(struct bt_stream_pos *ppos,
+ 		{
+ 			uint16_t v;
+ 
+-			v = *(const uint16_t *) ctf_get_pos_addr(pos);
++			memcpy(&v, ctf_get_pos_addr(pos), sizeof(v));
+ 			integer_definition->value._unsigned =
+ 				rbo ? GUINT16_SWAP_LE_BE(v) : v;
+ 			break;
+ <at>  <at>  -79,7 +79,7  <at>  <at>  int _aligned_integer_read(struct bt_stream_pos *ppos,
+ 		{
+ 			uint32_t v;
+ 
+-			v = *(const uint32_t *) ctf_get_pos_addr(pos);
++			memcpy(&v, ctf_get_pos_addr(pos), sizeof(v));
+ 			integer_definition->value._unsigned =
+ 				rbo ? GUINT32_SWAP_LE_BE(v) : v;
+ 			break;
+ <at>  <at>  -88,7 +88,7  <at>  <at>  int _aligned_integer_read(struct bt_stream_pos *ppos,
+ 		{
+ 			uint64_t v;
+ 
+-			v = *(const uint64_t *) ctf_get_pos_addr(pos);
++			memcpy(&v, ctf_get_pos_addr(pos), sizeof(v));
+ 			integer_definition->value._unsigned =
+ 				rbo ? GUINT64_SWAP_LE_BE(v) : v;
+ 			break;
+ <at>  <at>  -102,7 +102,7  <at>  <at>  int _aligned_integer_read(struct bt_stream_pos *ppos,
+ 		{
+ 			int8_t v;
+ 
+-			v = *(const int8_t *) ctf_get_pos_addr(pos);
++			memcpy(&v, ctf_get_pos_addr(pos), sizeof(v));
+ 			integer_definition->value._signed = v;
+ 			break;
+ 		}
+ <at>  <at>  -110,7 +110,7  <at>  <at>  int _aligned_integer_read(struct bt_stream_pos *ppos,
+ 		{
+ 			int16_t v;
+ 
+-			v = *(const int16_t *) ctf_get_pos_addr(pos);
++			memcpy(&v, ctf_get_pos_addr(pos), sizeof(v));
+ 			integer_definition->value._signed =
+ 				rbo ? (int16_t) GUINT16_SWAP_LE_BE(v) : v;
+ 			break;
+ <at>  <at>  -119,7 +119,7  <at>  <at>  int _aligned_integer_read(struct bt_stream_pos *ppos,
+ 		{
+ 			int32_t v;
+ 
+-			v = *(const int32_t *) ctf_get_pos_addr(pos);
++			memcpy(&v, ctf_get_pos_addr(pos), sizeof(v));
+ 			integer_definition->value._signed =
+ 				rbo ? (int32_t) GUINT32_SWAP_LE_BE(v) : v;
+ 			break;
+ <at>  <at>  -128,7 +128,7  <at>  <at>  int _aligned_integer_read(struct bt_stream_pos *ppos,
+ 		{
+ 			int64_t v;
+ 
+-			v = *(const int64_t *) ctf_get_pos_addr(pos);
++			memcpy(&v, ctf_get_pos_addr(pos), sizeof(v));
+ 			integer_definition->value._signed =
+ 				rbo ? (int64_t) GUINT64_SWAP_LE_BE(v) : v;
+ 			break;
+ <at>  <at>  -163,48 +163,80  <at>  <at>  int _aligned_integer_write(struct bt_stream_pos *ppos,
+ 	if (pos->dummy)
+ 		goto end;
+ 	if (!integer_declaration->signedness) {
+-		uint64_t v = integer_definition->value._unsigned;
+-
+ 		switch (integer_declaration->len) {
+-		case 8:	*(uint8_t *) ctf_get_pos_addr(pos) = (uint8_t) v;
++		case 8:
++		{
++			uint8_t v = integer_definition->value._unsigned;
++
++			memcpy(ctf_get_pos_addr(pos), &v, sizeof(v));
+ 			break;
++		}
+ 		case 16:
+-			*(uint16_t *) ctf_get_pos_addr(pos) = rbo ?
+-						 GUINT16_SWAP_LE_BE((uint16_t) v) :
+-						 (uint16_t) v;
++		{
++			uint16_t v = integer_definition->value._unsigned;
++
++			if (rbo)
++				v = GUINT16_SWAP_LE_BE(v);
++			memcpy(ctf_get_pos_addr(pos), &v, sizeof(v));
+ 			break;
++		}
+ 		case 32:
+-			*(uint32_t *) ctf_get_pos_addr(pos) = rbo ?
+-						 GUINT32_SWAP_LE_BE((uint32_t) v) :
+-						 (uint32_t) v;
++		{
++			uint32_t v = integer_definition->value._unsigned;
++
++			if (rbo)
++				v = GUINT32_SWAP_LE_BE(v);
++			memcpy(ctf_get_pos_addr(pos), &v, sizeof(v));
+ 			break;
++		}
+ 		case 64:
+-			*(uint64_t *) ctf_get_pos_addr(pos) = rbo ?
+-						 GUINT64_SWAP_LE_BE(v) : v;
++		{
++			uint64_t v = integer_definition->value._unsigned;
++
++			if (rbo)
++				v = GUINT64_SWAP_LE_BE(v);
++			memcpy(ctf_get_pos_addr(pos), &v, sizeof(v));
+ 			break;
++		}
+ 		default:
+ 			assert(0);
+ 		}
+ 	} else {
+-		int64_t v = integer_definition->value._signed;
+-
+ 		switch (integer_declaration->len) {
+-		case 8:	*(int8_t *) ctf_get_pos_addr(pos) = (int8_t) v;
++		case 8:
++		{
++			uint8_t v = integer_definition->value._signed;
++
++			memcpy(ctf_get_pos_addr(pos), &v, sizeof(v));
+ 			break;
++		}
+ 		case 16:
+-			*(int16_t *) ctf_get_pos_addr(pos) = rbo ?
+-						 (int16_t) GUINT16_SWAP_LE_BE((int16_t) v) :
+-						 (int16_t) v;
++		{
++			int16_t v = integer_definition->value._signed;
++
++			if (rbo)
++				v = GUINT16_SWAP_LE_BE(v);
++			memcpy(ctf_get_pos_addr(pos), &v, sizeof(v));
+ 			break;
++		}
+ 		case 32:
+-			*(int32_t *) ctf_get_pos_addr(pos) = rbo ?
+-						 (int32_t) GUINT32_SWAP_LE_BE((int32_t) v) :
+-						 (int32_t) v;
++		{
++			int32_t v = integer_definition->value._signed;
++
++			if (rbo)
++				v = GUINT32_SWAP_LE_BE(v);
++			memcpy(ctf_get_pos_addr(pos), &v, sizeof(v));
+ 			break;
++		}
+ 		case 64:
+-			*(int64_t *) ctf_get_pos_addr(pos) = rbo ?
+-						 GUINT64_SWAP_LE_BE(v) : v;
++		{
++			int64_t v = integer_definition->value._signed;
++
++			if (rbo)
++				v = GUINT64_SWAP_LE_BE(v);
++			memcpy(ctf_get_pos_addr(pos), &v, sizeof(v));
+ 			break;
++		}
+ 		default:
+ 			assert(0);
+ 		}
+ <at>  <at>  -237,23 +269,23  <at>  <at>  int ctf_integer_read(struct bt_stream_pos *ppos, struct bt_definition *definitio
+ 	if (!integer_declaration->signedness) {
+ 		if (integer_declaration->byte_order == LITTLE_ENDIAN)
+ 			bt_bitfield_read_le(mmap_align_addr(pos->base_mma) +
+-					pos->mmap_base_offset, unsigned long,
++					pos->mmap_base_offset, unsigned char,
+ 				pos->offset, integer_declaration->len,
+ 				&integer_definition->value._unsigned);
+ 		else
+ 			bt_bitfield_read_be(mmap_align_addr(pos->base_mma) +
+-					pos->mmap_base_offset, unsigned long,
++					pos->mmap_base_offset, unsigned char,
+ 				pos->offset, integer_declaration->len,
+ 				&integer_definition->value._unsigned);
+ 	} else {
+ 		if (integer_declaration->byte_order == LITTLE_ENDIAN)
+ 			bt_bitfield_read_le(mmap_align_addr(pos->base_mma) +
+-					pos->mmap_base_offset, unsigned long,
++					pos->mmap_base_offset, unsigned char,
+ 				pos->offset, integer_declaration->len,
+ 				&integer_definition->value._signed);
+ 		else
+ 			bt_bitfield_read_be(mmap_align_addr(pos->base_mma) +
+-					pos->mmap_base_offset, unsigned long,
++					pos->mmap_base_offset, unsigned char,
+ 				pos->offset, integer_declaration->len,
+ 				&integer_definition->value._signed);
+ 	}
+ <at>  <at>  -286,23 +318,23  <at>  <at>  int ctf_integer_write(struct bt_stream_pos *ppos, struct bt_definition *definiti
+ 	if (!integer_declaration->signedness) {
+ 		if (integer_declaration->byte_order == LITTLE_ENDIAN)
+ 			bt_bitfield_write_le(mmap_align_addr(pos->base_mma) +
+-					pos->mmap_base_offset, unsigned long,
++					pos->mmap_base_offset, unsigned char,
+ 				pos->offset, integer_declaration->len,
+ 				integer_definition->value._unsigned);
+ 		else
+ 			bt_bitfield_write_be(mmap_align_addr(pos->base_mma) +
+-					pos->mmap_base_offset, unsigned long,
++					pos->mmap_base_offset, unsigned char,
+ 				pos->offset, integer_declaration->len,
+ 				integer_definition->value._unsigned);
+ 	} else {
+ 		if (integer_declaration->byte_order == LITTLE_ENDIAN)
+ 			bt_bitfield_write_le(mmap_align_addr(pos->base_mma) +
+-					pos->mmap_base_offset, unsigned long,
++					pos->mmap_base_offset, unsigned char,
+ 				pos->offset, integer_declaration->len,
+ 				integer_definition->value._signed);
+ 		else
+ 			bt_bitfield_write_be(mmap_align_addr(pos->base_mma) +
+-					pos->mmap_base_offset, unsigned long,
++					pos->mmap_base_offset, unsigned char,
+ 				pos->offset, integer_declaration->len,
+ 				integer_definition->value._signed);
+ 	}
+-- 
+1.8.3.1
+
diff --git a/meta/recipes-kernel/lttng/babeltrace_1.2.1.bb b/meta/recipes-kernel/lttng/babeltrace_1.2.1.bb
index dd9961c..1c41e25 100644
--- a/meta/recipes-kernel/lttng/babeltrace_1.2.1.bb
+++ b/meta/recipes-kernel/lttng/babeltrace_1.2.1.bb
 <at>  <at>  -16,6 +16,7  <at>  <at>  PV = "1.2.1+git${SRCPV}"
 SRC_URI = "git://git.efficios.com/babeltrace.git;branch=stable-1.2 \
            file://0001-Fix-Support-out-of-tree-builds-in-babeltrace.patch \
            file://Fix-Align-buffers-from-objstack_alloc-on-sizeof-void.patch \
+           file://0001-Fix-don-t-perform-unaligned-integer-read-writes.patch \
 "

 S = "${WORKDIR}/git"
-- 
1.8.3.1

--

-- 
Ross Burton | 17 Nov 22:39 2014
Picon

[PATCH] cups: remove unrecognised option

--disable-openssl was removed in 2.0, so don't pass it to configure.

Signed-off-by: Ross Burton <ross.burton@...>
---
 meta/recipes-extended/cups/cups.inc |    1 -
 1 file changed, 1 deletion(-)

diff --git a/meta/recipes-extended/cups/cups.inc b/meta/recipes-extended/cups/cups.inc
index 6720c3d..16fdd4f 100644
--- a/meta/recipes-extended/cups/cups.inc
+++ b/meta/recipes-extended/cups/cups.inc
 <at>  <at>  -33,7 +33,6  <at>  <at>  EXTRA_OECONF = " \
                --enable-gnutls \
                --enable-dbus \
                --enable-browsing \
-               --disable-openssl \
                --disable-gssapi \
                --enable-debug \
                --disable-relro \
-- 
1.7.10.4

--

-- 
Cristian Iorga | 17 Nov 21:09 2014
Picon

[PATCH 0/3] Various Comms PUs

The following changes since commit edaeb8940813b620090a0797ad3b6a076897512d:

  bitbake: cooker.py: fix loginfo op being set to an invalid value (2014-11-12 17:04:50 +0000)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib PU2
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ciorga/PU2

Cristian Iorga (3):
  netbase: upgrade to 5.3
  libpcap: upgrade to 1.6.2
  iproute2: upgrade to 3.17.0

 ...p-link-Remove-unnecessary-device-checking.patch | 35 ----------------------
 .../{iproute2_3.16.0.bb => iproute2_3.17.0.bb}     |  5 ++--
 .../libpcap/{libpcap_1.6.1.bb => libpcap_1.6.2.bb} |  4 +--
 .../netbase/{netbase_5.2.bb => netbase_5.3.bb}     |  6 ++--
 4 files changed, 7 insertions(+), 43 deletions(-)
 delete mode 100644 meta/recipes-connectivity/iproute2/iproute2/0001-ip-link-Remove-unnecessary-device-checking.patch
 rename meta/recipes-connectivity/iproute2/{iproute2_3.16.0.bb => iproute2_3.17.0.bb} (58%)
 rename meta/recipes-connectivity/libpcap/{libpcap_1.6.1.bb => libpcap_1.6.2.bb} (77%)
 rename meta/recipes-core/netbase/{netbase_5.2.bb => netbase_5.3.bb} (76%)

-- 
2.1.0

--

-- 
Armin Kuster | 17 Nov 16:32 2014
Picon

[meta-oe][PATCH] serf: update to 1.3.8 including CVE-2014-3504

Serf 1.3.8 [2014-10-20, from /tags/1.3.8, rxxxx]
Fix issue #152: CRC calculation error for gzipped http reponses > 4GB.
Fix issue #153: SSPI CredHandle not freed when APR pool is destroyed.
Fix issue #154: Disable SSLv2 and SSLv3 as both or broken.

Serf 1.3.7 [2014-08-11, from /tags/1.3.7, r2411]
Includes security fix:
Handle NUL bytes in fields of an X.509 certificate. (r2393, r2399)
- CVE-2014-3504: (Closes: #757965)

Signed-off-by: Armin Kuster <akuster808@...>
---
 meta/recipes-support/serf/{serf_1.3.6.bb => serf_1.3.8.bb} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-support/serf/{serf_1.3.6.bb => serf_1.3.8.bb} (74%)

diff --git a/meta/recipes-support/serf/serf_1.3.6.bb b/meta/recipes-support/serf/serf_1.3.8.bb
similarity index 74%
rename from meta/recipes-support/serf/serf_1.3.6.bb
rename to meta/recipes-support/serf/serf_1.3.8.bb
index 08b04d3..10db122 100644
--- a/meta/recipes-support/serf/serf_1.3.6.bb
+++ b/meta/recipes-support/serf/serf_1.3.8.bb
 <at>  <at>  -1,8 +1,8  <at>  <at> 

-SRC_URI = "http://serf.googlecode.com/svn/src_releases/serf-1.3.6.tar.bz2 \
+SRC_URI = "http://serf.googlecode.com/svn/src_releases/serf-${PV}.tar.bz2 \
            file://norpath.patch"
-SRC_URI[md5sum] = "7fe38fa6eab078e0beabf291d8e4995d"
-SRC_URI[sha256sum] = "ca637beb0399797d4fc7ffa85e801733cd9c876997fac4a4fd12e9afe86563f2"
+SRC_URI[md5sum] = "2e4efe57ff28cb3202a112e90f0c2889"
+SRC_URI[sha256sum] = "e0500be065dbbce490449837bb2ab624e46d64fc0b090474d9acaa87c82b2590"

 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
-- 
1.9.1

--

-- 
wenzong.fan | 17 Nov 09:38 2014

[PATCH 0/1] uprev serf: 1.3.6 -> 1.3.8

From: Wenzong Fan <wenzong.fan@...>

Release changes:

Serf 1.3.8 [2014-10-20, from /tags/1.3.8, rxxxx]
  Fix issue #152: CRC calculation error for gzipped http reponses > 4GB.
  Fix issue #153: SSPI CredHandle not freed when APR pool is destroyed.
  Fix issue #154: Disable SSLv2 and SSLv3 as both or broken.

Serf 1.3.7 [2014-08-11, from /tags/1.3.7, r2411]
  Handle NUL bytes in fields of an X.509 certificate. (r2393, r2399)

The following changes since commit edaeb8940813b620090a0797ad3b6a076897512d:

  bitbake: cooker.py: fix loginfo op being set to an invalid value (2014-11-12 17:04:50 +0000)

are available in the git repository at:

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

Wenzong Fan (1):
  serf: 1.3.6 -> 1.3.8

 .../serf/{serf_1.3.6.bb => serf_1.3.8.bb}          |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-support/serf/{serf_1.3.6.bb => serf_1.3.8.bb} (74%)

-- 
1.7.9.5

--

-- 
Michael | 16 Nov 23:12 2014
Picon

read-only-rootfs support for systemd

Hi all,

I noticed that support for "read-only-rootfs" in IMAGE_FEATURES is 
currently limited to using sysvinit.

Are there any efforts already underway to add support for 
read-only-rootfs for systemd?  Aren't there already OpenEmbedded users 
out there generating read-only root filesystems with systemd, or is this 
somehow obscure?  Is anyone aware of technical landmines toward pursuing 
this that I should be aware of?

Also, I would like this restriction to have been mentioned in the Yocto 
Project Development Manual where the feature is mentioned.  How/where 
does one make a suggestion for an improvement in this documentation?

thanks,
Michael
--

-- 
Peter A. Bigot | 16 Nov 01:05 2014

[PATCH V2 0/7] prevent pseudo host passwd/group contamination

For background see:

 http://lists.openembedded.org/pipermail/openembedded-core/2014-November/098465.html
 http://lists.openembedded.org/pipermail/openembedded-core/2014-November/098467.html

Changes in V2:

* Correct faulty assumption that ${STAGING_DIR_TARGET} was ever a valid
  fallback source

* Correct pseudo patch header to remove reference to faulty assumption

* Install fallback files read-only and note that in no circumstance
  should they ever be modified

* Add a new patch that ensures useradd.bbclass informs pseudo of the
  directory in which it expects to find the files that it wants to
  modify

The following changes since commit edaeb8940813b620090a0797ad3b6a076897512d:

  bitbake: cooker.py: fix loginfo op being set to an invalid value (2014-11-12 17:04:50 +0000)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib pabigot/pseudo
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=pabigot/pseudo

Peter A. Bigot (7):
  pseudo: support --without-passwd-fallback configuration option
  pseudo: support multiple search directories in PSEUDO_PASSWD
  image.bbclass: search both rootfs and native staging for passwd files
  pseudo: default --without-passwd-fallback
  pseudo: provide fallback passwd and group files
  bitbake.conf: pseudo fall back to last-resort passwd files
  useradd.bbclass: set PSEUDO_PASSWD consistent with root directory

 meta/classes/image.bbclass                         |   4 +-
 meta/classes/useradd.bbclass                       |   2 +
 meta/conf/bitbake.conf                             |   2 +-
 meta/recipes-devtools/pseudo/files/fallback-group  |   2 +
 meta/recipes-devtools/pseudo/files/fallback-passwd |   1 +
 ...do_client.c-protect-pwd_lck-against-magic.patch |  56 ++++++++++
 ..._util-modify-interface-to-pseudo_etc_file.patch |  70 +++++++++++++
 ...nt.c-support-multiple-directories-in-PSEU.patch | 116 +++++++++++++++++++++
 meta/recipes-devtools/pseudo/pseudo_1.6.2.bb       |  14 ++-
 9 files changed, 264 insertions(+), 3 deletions(-)
 create mode 100644 meta/recipes-devtools/pseudo/files/fallback-group
 create mode 100644 meta/recipes-devtools/pseudo/files/fallback-passwd
 create mode 100644 meta/recipes-devtools/pseudo/pseudo-1.6.2/0001-pseudo_client.c-protect-pwd_lck-against-magic.patch
 create mode 100644 meta/recipes-devtools/pseudo/pseudo-1.6.2/0002-pseudo_util-modify-interface-to-pseudo_etc_file.patch
 create mode 100644 meta/recipes-devtools/pseudo/pseudo-1.6.2/0003-pseudo_client.c-support-multiple-directories-in-PSEU.patch

-- 
1.8.5.5

--

-- 
Paul Barker | 15 Nov 21:15 2014
Picon

[PATCH 0/3] opkg updates

Hi all,

This patch series updates opkg and opkg-utils (this is a further update to
opkg-utils after the one that got merged a couple of days ago). The bug which
cause core-image-sato-sdk do_rootfs to fail with opkg v0.2.3 has been fixed in
opkg v0.2.4.

I've build tested core-image-minimal, core-image-full-cmdline, core-image-sato
and core-image-sato-sdk for qemuarm and qemux86. I've also done some tests of
'opkg update', 'opkg install' and 'opkg upgrade' on both platforms. Everything
worked here so hopefully there won't be any autobuilder surprises this time.

Paul Barker (3):
  opkg: Upgrade to v0.2.4
  opkg: Update patch status
  opkg-utils: Update SRCREV

 meta/recipes-devtools/opkg-utils/opkg-utils_git.bb |  2 +-
 meta/recipes-devtools/opkg/opkg/add-exclude.patch  | 24 ++++++++++----------
 .../opkg/opkg/no-install-recommends.patch          | 26 +++++++++++-----------
 .../opkg/{opkg_0.2.2.bb => opkg_0.2.4.bb}          |  4 ++--
 4 files changed, 28 insertions(+), 28 deletions(-)
 rename meta/recipes-devtools/opkg/{opkg_0.2.2.bb => opkg_0.2.4.bb} (70%)

-- 
2.1.3

--

-- 

Gmane