Re: [OE-core] [PATCH 1/3] socat: upgrade to 1.7.2.4
On 05/27/2014 07:37 PM, Burton, Ross wrote: On 27 May 2014 02:59, Hongxu Jia hongxu@windriver.com wrote: Signed-off-by: Hongxu Jia hongxu@windriver.com --- .../recipes-connectivity/socat/socat/compile.patch | 163 +++-- Oh wow this patch is ... special. 99% of it is adding the extra arguments to AC_DEFINE so that recent autoheader actually works. This is essential upstream and I'm surprised they still don't have it. I will add the explanation of 'AC_DEFINE' in the patch header. Remove all of these and we'll left with these two chunks: [AC_TRY_COMPILE([#include termios.h], -[struct termios t; t.c_ispeed=0;], +[struct termios t; t.c_ispeed=ISPEED_OFFSET; t.c_ospeed=OSPEED_OFFSET;], I can't see a reason why that is obviously wrong but if it's right, it needs to be explained in the patch header and pushed upstream. This 'AC_TRY_COMPILE' was Okay with 't.c_ispeed=0', so it is no need to assigned with ISPEED_OFFSET/OSPEED_OFFSET -AC_DEFINE_UNQUOTED($1_SHIFT, ${$2}) +SHIFT_NAME=$1_SHIFT +AC_DEFINE_UNQUOTED($SHIFT_NAME, ${$2}, [foo]) This introduces a change that is subsequently removed by fix-xxx-SHIFT-autoheader.patch, which again is basically fixing the AC_DEFINE autoheader use, should be merged with the majority of compile.patch, and submitted upstream. Okay, I will merged these to compile.path. Finally there's a do_configure_prepend that does yet more alternations to the configure script. This needs to be a patch instead of a sed. The 'do_configure_prepend' task was used for 'enable termios', I will add a new patch to instead of the sed. --- a/meta/recipes-connectivity/socat/socat_1.7.2.3.bb +++ b/meta/recipes-connectivity/socat/socat_1.7.2.4.bb @@ -8,16 +8,18 @@ SECTION = console/network DEPENDS = openssl readline LICENSE = GPL-2.0+-with-OpenSSL-exception -LIC_FILES_CHKSUM = file://COPYING;md5=18810669f13b87348459e611d31ab760 \ - file://README;beginline=252;endline=282;md5=79246f11a1db0b6ccec54d1fb711c01e +LIC_FILES_CHKSUM = file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ + file://README;beginline=257;endline=287;md5=79246f11a1db0b6ccec54d1fb711c01e Please explain why the license checksum changed. In COPYING, the company address changed: s/675 Mass Ave, Cambridge, MA 02139/51 Franklin Street, Fifth Floor, Boston, MA 02110-1301/ In README, the license has no change, just ajustment the beginline. It is still GPLV2. //Hongxu Ross -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH V3 0/2] socat: upgrade to 1.7.2.4
Change in V3: Tweak compile.patch: - add the explanation of 'AC_DEFINE' in the patch header; - remove the t.c_ispeed assinged line for AC_TRY_COMPILE; - remove the SHIFT_NAME line; Drop fix-xxx-SHIFT-autoheader.patch, and add socat-enable-termios.patch to instead; Remove 'do_configure_prepend' task, use socat-enable-termios.patch to instead. Change in V2: - Add descriptions about what was the problem that was encountered while upgrading to 1.7.2.4. //Hongxu The following changes since commit 894df445fa71a170397c6e0b4960a89ef20a4230: guile: Update to 2.0.11 version (2014-05-21 19:50:21 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib hongxu/socat http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=hongxu/socat Hongxu Jia (2): socat: upgrade to 1.7.2.4 socat: fix supporting cross compiling .../recipes-connectivity/socat/socat/compile.patch | 191 +++-- .../socat/socat/fix-cross-compiling-failed.patch | 34 .../socat/socat/socat-enable-termios.patch | 39 + .../socat/{socat_1.7.2.3.bb = socat_1.7.2.4.bb} | 18 +- 4 files changed, 184 insertions(+), 98 deletions(-) create mode 100644 meta/recipes-connectivity/socat/socat/fix-cross-compiling-failed.patch create mode 100644 meta/recipes-connectivity/socat/socat/socat-enable-termios.patch rename meta/recipes-connectivity/socat/{socat_1.7.2.3.bb = socat_1.7.2.4.bb} (63%) -- 1.8.1.2 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH 2/2] socat: fix supporting cross compiling
The do_configure failed: ... |checking for equivalent simple type of size_t... configure: error: in `tmp/work/core2-64-poky-linux/socat/1.7.2.4-r0/build': |configure: error: cannot run test program while cross compiling ... For 1.7.2.4, the linux GCC check in configure.in didn't support cross compiling, but the old version 1.7.2.3 supported, so we reference 1.7.2.3 to fix this issue. Signed-off-by: Hongxu Jia hongxu@windriver.com --- .../socat/socat/fix-cross-compiling-failed.patch | 34 ++ meta/recipes-connectivity/socat/socat_1.7.2.4.bb | 1 + 2 files changed, 35 insertions(+) create mode 100644 meta/recipes-connectivity/socat/socat/fix-cross-compiling-failed.patch diff --git a/meta/recipes-connectivity/socat/socat/fix-cross-compiling-failed.patch b/meta/recipes-connectivity/socat/socat/fix-cross-compiling-failed.patch new file mode 100644 index 000..4106cbd --- /dev/null +++ b/meta/recipes-connectivity/socat/socat/fix-cross-compiling-failed.patch @@ -0,0 +1,34 @@ +configure.in: fix cross compiling failed + +The do_configure failed: +... +|checking for equivalent simple type of size_t... configure: +error: in `tmp/work/core2-64-poky-linux/socat/1.7.2.4-r0/build': +|configure: error: cannot run test program while cross compiling +... + +For 1.7.2.4, the linux GCC check in configure.in didn't support +cross compiling, but the old version 1.7.2.3 supported, so we +reference 1.7.2.3 to fix this issue. + +Upstream-Status: Inappropriate [oe specific] +Signed-off-by: Hongxu Jia hongxu@windriver.com +--- + configure.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.in b/configure.in +--- a/configure.in b/configure.in +@@ -41,7 +41,7 @@ AC_CHECK_PROG(AR, ar, ar, gar) + # fail + AC_LANG_COMPILER_REQUIRE() + +-if test $CC = gcc; then ++if test $GCC = yes; then +CFLAGS=$CFLAGS -D_GNU_SOURCE -Wall -Wno-parentheses +ERRONWARN=-Werror -O0 + elif test $CC = clang; then +-- +1.8.1.2 + diff --git a/meta/recipes-connectivity/socat/socat_1.7.2.4.bb b/meta/recipes-connectivity/socat/socat_1.7.2.4.bb index 185dd44..26a8429 100644 --- a/meta/recipes-connectivity/socat/socat_1.7.2.4.bb +++ b/meta/recipes-connectivity/socat/socat_1.7.2.4.bb @@ -15,6 +15,7 @@ LIC_FILES_CHKSUM = file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ SRC_URI = http://www.dest-unreach.org/socat/download/socat-${PV}.tar.bz2 \ file://compile.patch \ file://socat-enable-termios.patch \ + file://fix-cross-compiling-failed.patch \ -- 1.8.1.2 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH 1/2] socat: upgrade to 1.7.2.4
Tweak compile.patch: - add the explanation of 'AC_DEFINE' in the patch header; - remove the t.c_ispeed assinged line for AC_TRY_COMPILE; - remove the SHIFT_NAME line, use socat-enable-termios.patch to instead. Drop fix-xxx-SHIFT-autoheader.patch, and add socat-enable-termios.patch to instead; Remove 'do_configure_prepend' task, use socat-enable-termios.patch to instead. The license checksum changed, becuase the company address changed. Signed-off-by: Hongxu Jia hongxu@windriver.com --- .../recipes-connectivity/socat/socat/compile.patch | 191 +++-- .../socat/socat/socat-enable-termios.patch | 39 + .../socat/{socat_1.7.2.3.bb = socat_1.7.2.4.bb} | 17 +- 3 files changed, 149 insertions(+), 98 deletions(-) create mode 100644 meta/recipes-connectivity/socat/socat/socat-enable-termios.patch rename meta/recipes-connectivity/socat/{socat_1.7.2.3.bb = socat_1.7.2.4.bb} (63%) diff --git a/meta/recipes-connectivity/socat/socat/compile.patch b/meta/recipes-connectivity/socat/socat/compile.patch index 4d1a0b6..0c4c110 100644 --- a/meta/recipes-connectivity/socat/socat/compile.patch +++ b/meta/recipes-connectivity/socat/socat/compile.patch @@ -1,15 +1,35 @@ -Upstream-Status: Inappropriate [configuration] +configure.in: fix AC_DEFINE + +The 'AC_DEFINE (variable)' is older versions of Autoconf, +but this usage is obsolescent and withdrawn in oe-core's +Autoconf 2.69. Use 'AC_DEFINE (variable, value, [description])' +to instead. + +The same reason for 'AC_DEFINE_UNQUOTED (variable)'. + +http://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Defining-Symbols.html -The patch is from http://git.openembedded.org/openembedded/tree/recipes/socat/files/compile.patch -and was rebased to socat-1.7.2.0. +Upstream-Status: Inappropriate [configuration] -Signed-off-by: Dexuan Cui dexuan@intel.com -Fri Dec 16 17:12:17 CST 2011 +Signed-off-by: Hongxu Jia hongxu@windriver.com +--- + configure.in | 292 +-- + 1 file changed, 146 insertions(+), 146 deletions(-) -diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in socat-1.7.2.0.orig/configure.in2011-12-04 21:34:16.0 +0800 -+++ socat-1.7.2.0/configure.in 2011-12-16 17:08:59.698367071 +0800 -@@ -88,7 +88,7 @@ +diff --git a/configure.in b/configure.in +index 549f929..b88c0c7 100644 +--- a/configure.in b/configure.in +@@ -80,7 +80,7 @@ AC_HEADER_RESOLV() + AC_CHECK_HEADERS(termios.h linux/if_tun.h) + AC_CHECK_HEADERS(net/if_dl.h) + AC_CHECK_HEADERS(linux/types.h) +-AC_CHECK_HEADER(linux/errqueue.h, AC_DEFINE(HAVE_LINUX_ERRQUEUE_H), [], [#include linux/types.h]) ++AC_CHECK_HEADER(linux/errqueue.h, AC_DEFINE(HAVE_LINUX_ERRQUEUE_H, [1], [With linux errqueue header]), [], [#include linux/types.h]) + AC_CHECK_HEADERS(sys/utsname.h sys/select.h sys/file.h) + AC_CHECK_HEADERS(util.h bsd/libutil.h libutil.h sys/stropts.h regex.h) + AC_CHECK_HEADERS(linux/fs.h linux/ext2_fs.h) +@@ -95,7 +95,7 @@ AC_SEARCH_LIBS([res_9_init], [resolv]) dnl Check for extra socket library (for Solaris) @@ -18,7 +38,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in AC_CHECK_FUNC(gethostent, , AC_CHECK_LIB(nsl, gethostent)) AC_CHECK_FUNC(setsockopt, , AC_CHECK_LIB(socket, setsockopt)) -@@ -102,7 +102,7 @@ +@@ -128,7 +128,7 @@ AC_CACHE_VAL(sc_cv_have_prototype_hstrerror, [sc_cv_have_prototype_hstrerror=yes]); CFLAGS=$CFLAGS1]) if test $sc_cv_have_prototype_hstrerror = yes; then @@ -27,7 +47,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in fi AC_MSG_RESULT($sc_cv_have_prototype_hstrerror) -@@ -111,83 +111,83 @@ +@@ -137,83 +137,83 @@ AC_MSG_CHECKING(whether to include help) AC_ARG_ENABLE(help, [ --disable-help disable help], [case $enableval in no) AC_MSG_RESULT(no);; @@ -131,7 +151,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in *) AC_MSG_RESULT(no);; esac]) -@@ -196,9 +196,9 @@ +@@ -222,9 +222,9 @@ AC_MSG_CHECKING(whether to include IPv4 support) AC_ARG_ENABLE(ip4, [ --disable-ip4 disable IPv4 support], [case $enableval in no) AC_MSG_RESULT(no);; @@ -143,7 +163,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in AC_MSG_CHECKING(whether to include IPv6 support) AC_ARG_ENABLE(ip6, [ --disable-ip6 disable IPv6 support], -@@ -209,7 +209,7 @@ +@@ -235,7 +235,7 @@ AC_ARG_ENABLE(ip6, [ --disable-ip6 disable IPv6 support], [ AC_MSG_RESULT(yes); WITH_IP6=1 ]) if test $WITH_IP6; then AC_CHECK_HEADERS([netinet/ip6.h], @@ -152,7 +172,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in [AC_MSG_WARN([include file netinet/ip6.h not found, disabling IP6])], [AC_INCLUDES_DEFAULT #ifdef HAVE_NETINET_IN_H -@@ -242,17
[OE-core] [PATCH 0/3] elfutils: upgrade to 0.158
Build Steps: 1. Add 'PREFERRED_VERSION_elfutils=0.158' to local.conf 2. bitbake elfutils //Hongxu The following changes since commit 894df445fa71a170397c6e0b4960a89ef20a4230: guile: Update to 2.0.11 version (2014-05-21 19:50:21 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib hongxu/upgrade-elfutils http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=hongxu/upgrade-elfutils Hongxu Jia (3): elfutils: remove 0.155 elfutils: upgrade to 0.158 elfutils: backport from debian .../elfutils/elfutils-0.155/dso-link-change.patch | 32 - .../elfutils/elfutils-0.155/elf_additions.diff | 61 - .../elfutils-ar-c-fix-num-passed-to-memset.patch | 23 - .../elfutils/elfutils-0.155/i386_dis.h | 1657 .../elfutils/elfutils-0.155/mempcpy.patch | 24 - ...ssed-to-snprintf-for-invalid-sh_name-case.patch | 27 - .../elfutils/elfutils-0.155/uclibc-support.patch | 91 -- .../elfutils/elfutils-0.155/x86_64_dis.h | 1632 --- .../elfutils/elfutils-0.158/CVE-2014-0172.patch| 35 + .../arm_backend.diff | 433 +++-- .../elfutils/elfutils-0.158/core_filename.patch| 27 + .../hppa_backend.diff | 77 +- .../m68k_backend.diff | 250 ++- .../mips_backend.diff | 72 +- .../elfutils/elfutils-0.158/mips_readelf_w.patch | 22 + .../redhat-portability.diff| 953 +++ .../redhat-robustify.diff | 326 ++-- .../elfutils/elfutils-0.158/scanf-format.patch | 40 + .../elfutils-0.158/testsuite-ignore-elflint.diff | 39 + .../elfutils/elfutils-0.158/unwind_non_linux.patch | 256 +++ .../{elfutils_0.155.bb = elfutils_0.158.bb} | 24 +- 21 files changed, 1758 insertions(+), 4343 deletions(-) delete mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/dso-link-change.patch delete mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/elf_additions.diff delete mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/elfutils-ar-c-fix-num-passed-to-memset.patch delete mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/i386_dis.h delete mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/mempcpy.patch delete mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/nm-Fix-size-passed-to-snprintf-for-invalid-sh_name-case.patch delete mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/uclibc-support.patch delete mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/x86_64_dis.h create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.158/CVE-2014-0172.patch rename meta/recipes-devtools/elfutils/{elfutils-0.155 = elfutils-0.158}/arm_backend.diff (44%) create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.158/core_filename.patch rename meta/recipes-devtools/elfutils/{elfutils-0.155 = elfutils-0.158}/hppa_backend.diff (92%) rename meta/recipes-devtools/elfutils/{elfutils-0.155 = elfutils-0.158}/m68k_backend.diff (51%) rename meta/recipes-devtools/elfutils/{elfutils-0.155 = elfutils-0.158}/mips_backend.diff (91%) create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.158/mips_readelf_w.patch rename meta/recipes-devtools/elfutils/{elfutils-0.155 = elfutils-0.158}/redhat-portability.diff (66%) rename meta/recipes-devtools/elfutils/{elfutils-0.155 = elfutils-0.158}/redhat-robustify.diff (81%) create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.158/scanf-format.patch create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.158/testsuite-ignore-elflint.diff create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.158/unwind_non_linux.patch rename meta/recipes-devtools/elfutils/{elfutils_0.155.bb = elfutils_0.158.bb} (82%) -- 1.8.1.2 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH 2/3] elfutils: upgrade to 0.158
Add 'm4-biarch.m4-tweak-AC_RUN_IFELSE-for-cross-compiling.patch' to fix cross compiling failure; Rebase 'elf_additions.diff' for 0.158; Drop obsolete patches: - nm-Fix-size-passed-to-snprintf-for-invalid-sh_name-case.patch - elfutils-ar-c-fix-num-passed-to-memset.patch - fix-build-gcc-4.8.patch Signed-off-by: Hongxu Jia hongxu@windriver.com --- .../{elfutils_0.155.bb = elfutils_0.158.bb}| 21 +++-- 1 file changed, 7 insertions(+), 14 deletions(-) rename meta/recipes-devtools/elfutils/{elfutils_0.155.bb = elfutils_0.158.bb} (81%) diff --git a/meta/recipes-devtools/elfutils/elfutils_0.155.bb b/meta/recipes-devtools/elfutils/elfutils_0.158.bb similarity index 81% rename from meta/recipes-devtools/elfutils/elfutils_0.155.bb rename to meta/recipes-devtools/elfutils/elfutils_0.158.bb index b1f410c..c97be74 100644 --- a/meta/recipes-devtools/elfutils/elfutils_0.155.bb +++ b/meta/recipes-devtools/elfutils/elfutils_0.158.bb @@ -7,23 +7,16 @@ DEPENDS = libtool bzip2 zlib virtual/libintl SRC_URI = https://fedorahosted.org/releases/e/l/elfutils/${PV}/elfutils-${PV}.tar.bz2; -SRC_URI[md5sum] = 163a5712b86f6bdfebdf233cc6e2192d -SRC_URI[sha256sum] = 68444a4526416ffd68852ec3c6a40ceddcca46538297322405319884c5d30ed8 +SRC_URI[md5sum] = 050a4909e452d01ab4747fd69d4036e0 +SRC_URI[sha256sum] = be27af5c21352f53e010342bf1c68e0b9e18232dbf3adec7e2f9b41f6bbe397d -SRC_URI += \ -file://redhat-portability.diff \ -file://redhat-robustify.diff \ -file://hppa_backend.diff \ -file://arm_backend.diff \ -file://mips_backend.diff \ -file://m68k_backend.diff \ -file://elf_additions.diff \ -file://mempcpy.patch \ +SRC_URI += \ + file://elf_additions.diff \ + file://mempcpy.patch \ file://dso-link-change.patch \ - file://nm-Fix-size-passed-to-snprintf-for-invalid-sh_name-case.patch \ - file://elfutils-ar-c-fix-num-passed-to-memset.patch \ - file://fix-build-gcc-4.8.patch \ + file://m4-biarch.m4-tweak-AC_RUN_IFELSE-for-cross-compiling.patch \ + # Only apply when building uclibc based target recipe SRC_URI_append_libc-uclibc = file://uclibc-support.patch -- 1.8.1.2 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 2/3] elfutils: upgrade to 0.158
On 05/28/2014 04:27 PM, Hongxu Jia wrote: Add 'm4-biarch.m4-tweak-AC_RUN_IFELSE-for-cross-compiling.patch' to fix cross compiling failure; Rebase 'elf_additions.diff' for 0.158; I am sorry to missing 'm4-biarch.m4-tweak-AC_RUN_IFELSE-for-cross-compiling.patch' and 'elf_additions.diff' in this patch. V2 incoming. //Hongxu Drop obsolete patches: - nm-Fix-size-passed-to-snprintf-for-invalid-sh_name-case.patch - elfutils-ar-c-fix-num-passed-to-memset.patch - fix-build-gcc-4.8.patch Signed-off-by: Hongxu Jia hongxu@windriver.com --- .../{elfutils_0.155.bb = elfutils_0.158.bb}| 21 +++-- 1 file changed, 7 insertions(+), 14 deletions(-) rename meta/recipes-devtools/elfutils/{elfutils_0.155.bb = elfutils_0.158.bb} (81%) diff --git a/meta/recipes-devtools/elfutils/elfutils_0.155.bb b/meta/recipes-devtools/elfutils/elfutils_0.158.bb similarity index 81% rename from meta/recipes-devtools/elfutils/elfutils_0.155.bb rename to meta/recipes-devtools/elfutils/elfutils_0.158.bb index b1f410c..c97be74 100644 --- a/meta/recipes-devtools/elfutils/elfutils_0.155.bb +++ b/meta/recipes-devtools/elfutils/elfutils_0.158.bb @@ -7,23 +7,16 @@ DEPENDS = libtool bzip2 zlib virtual/libintl SRC_URI = https://fedorahosted.org/releases/e/l/elfutils/${PV}/elfutils-${PV}.tar.bz2; -SRC_URI[md5sum] = 163a5712b86f6bdfebdf233cc6e2192d -SRC_URI[sha256sum] = 68444a4526416ffd68852ec3c6a40ceddcca46538297322405319884c5d30ed8 +SRC_URI[md5sum] = 050a4909e452d01ab4747fd69d4036e0 +SRC_URI[sha256sum] = be27af5c21352f53e010342bf1c68e0b9e18232dbf3adec7e2f9b41f6bbe397d -SRC_URI += \ -file://redhat-portability.diff \ -file://redhat-robustify.diff \ -file://hppa_backend.diff \ -file://arm_backend.diff \ -file://mips_backend.diff \ -file://m68k_backend.diff \ -file://elf_additions.diff \ -file://mempcpy.patch \ +SRC_URI += \ + file://elf_additions.diff \ + file://mempcpy.patch \ file://dso-link-change.patch \ - file://nm-Fix-size-passed-to-snprintf-for-invalid-sh_name-case.patch \ - file://elfutils-ar-c-fix-num-passed-to-memset.patch \ - file://fix-build-gcc-4.8.patch \ + file://m4-biarch.m4-tweak-AC_RUN_IFELSE-for-cross-compiling.patch \ + # Only apply when building uclibc based target recipe SRC_URI_append_libc-uclibc = file://uclibc-support.patch -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 4/4] linux-yocto/3.10: bump kver to v3.10.40
On Mon, 2014-05-26 at 13:40 -0400, Bruce Ashfield wrote: diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_3.10.bb b/meta/recipes-kernel/linux/linux-yocto-tiny_3.10.bb index 7081cd18aa57..b1b80341d6d2 100644 --- a/meta/recipes-kernel/linux/linux-yocto-tiny_3.10.bb +++ b/meta/recipes-kernel/linux/linux-yocto-tiny_3.10.bb @@ -5,12 +5,12 @@ KBRANCH = ${KBRANCH_DEFAULT} LINUX_KERNEL_TYPE = tiny KCONFIG_MODE = --allnoconfig -LINUX_VERSION ?= 3.10.38 +LINUX_VERSION ?= 3.10.40 KMETA = meta -SRCREV_machine ?= 02f7e63e56c061617957388c23bd5cf9b05c5388 -SRCREV_meta ?= 617c6158c3d5b931f0d6131e0b0a7b374c792599 +SRCREV_machine ?= f53a6114b3a6e8c03ca4752de829887015f4c942 +SRCREV_meta ?= 13ae75f4a26fcd65abe526ef5f1dcde0583f453d We're seeing failures since 13ae75f4a26fcd65abe526ef5f1dcde0583f453d doesn't appear to exist in the 3.10 tree meta branch. bitbake -b linux-yocto-tiny_3.10 -c fetch reproduces. Did you miss pushing something? We're seeing failures on the autobuilder as I've merged this :/. Cheers, Richard -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 0/1] i2c-tools: Add i2c-tools to the core
On Tue, 2014-05-27 at 13:38 -0700, Darren Hart wrote: The following changes since commit f3d62a9eb9c47356e6150fdd55f790c159e620c7: eglinfo: updated to compile with mesa10+ (2014-05-27 16:11:55 +0100) are available in the git repository at: git://git.yoctoproject.org/poky-contrib dvhart/i2c-tools http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=dvhart/i2c-tools Darren Hart (1): i2c-tools: Add i2c-tools to the core meta/recipes-devtools/i2c-tools/files/Module.mk| 72 .../i2c-tools/i2c-tools-3.1.0/Module.mk| 72 meta/recipes-devtools/i2c-tools/i2c-tools_3.1.0.bb | 26 +++ 3 files changed, 170 insertions(+) create mode 100644 meta/recipes-devtools/i2c-tools/files/Module.mk create mode 100644 meta/recipes-devtools/i2c-tools/i2c-tools-3.1.0/Module.mk create mode 100644 meta/recipes-devtools/i2c-tools/i2c-tools_3.1.0.bb I merged this, I've said I wanted this patch for long enough to multiple people, thanks! :) I removed the duplicate Module.mk file... Cheers, Richard -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH V2 0/3] elfutils: upgrade to 0.158
Change in V2: - Add the missing 'm4-biarch.m4-tweak-AC_RUN_IFELSE-for-cross-compiling.patch' and 'elf_additions.diff' patches. Build Steps: 1. Add 'PREFERRED_VERSION_elfutils=0.158' to local.conf 2. bitbake elfutils //Hongxu The following changes since commit 894df445fa71a170397c6e0b4960a89ef20a4230: guile: Update to 2.0.11 version (2014-05-21 19:50:21 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib hongxu/upgrade-elfutils http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=hongxu/upgrade-elfutils Hongxu Jia (3): elfutils: remove 0.155 elfutils: upgrade to 0.158 elfutils: backport from debian .../elfutils/elfutils-0.155/dso-link-change.patch | 32 - .../elfutils-ar-c-fix-num-passed-to-memset.patch | 23 - .../elfutils/elfutils-0.155/i386_dis.h | 1657 .../elfutils/elfutils-0.155/mempcpy.patch | 24 - ...ssed-to-snprintf-for-invalid-sh_name-case.patch | 27 - .../elfutils/elfutils-0.155/uclibc-support.patch | 91 -- .../elfutils/elfutils-0.155/x86_64_dis.h | 1632 --- .../elfutils/elfutils-0.158/CVE-2014-0172.patch| 35 + .../arm_backend.diff | 433 +++-- .../elfutils/elfutils-0.158/core_filename.patch| 27 + .../elf_additions.diff | 66 +- .../hppa_backend.diff | 77 +- ...4-tweak-AC_RUN_IFELSE-for-cross-compiling.patch | 34 + .../m68k_backend.diff | 250 ++- .../mips_backend.diff | 72 +- .../elfutils/elfutils-0.158/mips_readelf_w.patch | 22 + .../redhat-portability.diff| 953 +++ .../redhat-robustify.diff | 326 ++-- .../elfutils/elfutils-0.158/scanf-format.patch | 40 + .../elfutils-0.158/testsuite-ignore-elflint.diff | 39 + .../elfutils/elfutils-0.158/unwind_non_linux.patch | 256 +++ .../{elfutils_0.155.bb = elfutils_0.158.bb} | 24 +- 22 files changed, 1833 insertions(+), 4307 deletions(-) delete mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/dso-link-change.patch delete mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/elfutils-ar-c-fix-num-passed-to-memset.patch delete mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/i386_dis.h delete mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/mempcpy.patch delete mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/nm-Fix-size-passed-to-snprintf-for-invalid-sh_name-case.patch delete mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/uclibc-support.patch delete mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/x86_64_dis.h create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.158/CVE-2014-0172.patch rename meta/recipes-devtools/elfutils/{elfutils-0.155 = elfutils-0.158}/arm_backend.diff (44%) create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.158/core_filename.patch rename meta/recipes-devtools/elfutils/{elfutils-0.155 = elfutils-0.158}/elf_additions.diff (49%) rename meta/recipes-devtools/elfutils/{elfutils-0.155 = elfutils-0.158}/hppa_backend.diff (92%) create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.158/m4-biarch.m4-tweak-AC_RUN_IFELSE-for-cross-compiling.patch rename meta/recipes-devtools/elfutils/{elfutils-0.155 = elfutils-0.158}/m68k_backend.diff (51%) rename meta/recipes-devtools/elfutils/{elfutils-0.155 = elfutils-0.158}/mips_backend.diff (91%) create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.158/mips_readelf_w.patch rename meta/recipes-devtools/elfutils/{elfutils-0.155 = elfutils-0.158}/redhat-portability.diff (66%) rename meta/recipes-devtools/elfutils/{elfutils-0.155 = elfutils-0.158}/redhat-robustify.diff (81%) create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.158/scanf-format.patch create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.158/testsuite-ignore-elflint.diff create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.158/unwind_non_linux.patch rename meta/recipes-devtools/elfutils/{elfutils_0.155.bb = elfutils_0.158.bb} (82%) -- 1.8.1.2 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH 2/3] elfutils: upgrade to 0.158
Add 'm4-biarch.m4-tweak-AC_RUN_IFELSE-for-cross-compiling.patch' to fix cross compiling failure; Rebase 'elf_additions.diff' for 0.158; Drop obsolete patches: - nm-Fix-size-passed-to-snprintf-for-invalid-sh_name-case.patch - elfutils-ar-c-fix-num-passed-to-memset.patch - fix-build-gcc-4.8.patch Signed-off-by: Hongxu Jia hongxu@windriver.com --- .../elfutils/elfutils-0.158/elf_additions.diff | 77 ++ ...4-tweak-AC_RUN_IFELSE-for-cross-compiling.patch | 34 ++ .../{elfutils_0.155.bb = elfutils_0.158.bb} | 21 ++ 3 files changed, 118 insertions(+), 14 deletions(-) create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.158/elf_additions.diff create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.158/m4-biarch.m4-tweak-AC_RUN_IFELSE-for-cross-compiling.patch rename meta/recipes-devtools/elfutils/{elfutils_0.155.bb = elfutils_0.158.bb} (81%) diff --git a/meta/recipes-devtools/elfutils/elfutils-0.158/elf_additions.diff b/meta/recipes-devtools/elfutils/elfutils-0.158/elf_additions.diff new file mode 100644 index 000..671c8ee --- /dev/null +++ b/meta/recipes-devtools/elfutils/elfutils-0.158/elf_additions.diff @@ -0,0 +1,77 @@ +Upstream-Status: Backport + +Signed-off-by: Hongxu Jia hongxu@windriver.com +--- + libelf/elf.h | 27 +-- + 1 file changed, 25 insertions(+), 2 deletions(-) + +diff --git a/libelf/elf.h b/libelf/elf.h +--- a/libelf/elf.h b/libelf/elf.h +@@ -142,6 +142,7 @@ typedef struct + #define ELFOSABI_NETBSD 2 /* NetBSD. */ + #define ELFOSABI_GNU 3 /* Object uses GNU ELF extensions. */ + #define ELFOSABI_LINUXELFOSABI_GNU /* Compatibility alias. */ ++#define ELFOSABI_HURD 4 /* GNU/Hurd */ + #define ELFOSABI_SOLARIS 6 /* Sun Solaris. */ + #define ELFOSABI_AIX 7 /* IBM AIX. */ + #define ELFOSABI_IRIX 8 /* SGI Irix. */ +@@ -149,8 +150,13 @@ typedef struct + #define ELFOSABI_TRU6410 /* Compaq TRU64 UNIX. */ + #define ELFOSABI_MODESTO 11 /* Novell Modesto. */ + #define ELFOSABI_OPENBSD 12 /* OpenBSD. */ ++#define ELFOSABI_OPENVMS 13 /* OpenVMS */ ++#define ELFOSABI_NSK 14 /* Hewlett-Packard Non-Stop Kernel */ ++#define ELFOSABI_AROS 15 /* Amiga Research OS */ ++/* 64-255 Architecture-specific value range */ + #define ELFOSABI_ARM_AEABI64 /* ARM EABI */ + #define ELFOSABI_ARM 97 /* ARM */ ++/* This is deprecated? It's not in the latest version anymore. */ + #define ELFOSABI_STANDALONE 255 /* Standalone (embedded) application */ + + #define EI_ABIVERSION 8 /* ABI version */ +@@ -205,7 +211,7 @@ typedef struct + #define EM_H8_300H47 /* Hitachi H8/300H */ + #define EM_H8S48 /* Hitachi H8S */ + #define EM_H8_500 49 /* Hitachi H8/500 */ +-#define EM_IA_64 50 /* Intel Merced */ ++#define EM_IA_64 50 /* Intel IA64 */ + #define EM_MIPS_X 51 /* Stanford MIPS-X */ + #define EM_COLDFIRE 52 /* Motorola Coldfire */ + #define EM_68HC12 53 /* Motorola M68HC12 */ +@@ -219,7 +225,8 @@ typedef struct + #define EM_TINYJ 61 /* Advanced Logic Corp. Tinyj emb.fam*/ + #define EM_X86_64 62 /* AMD x86-64 architecture */ + #define EM_PDSP 63 /* Sony DSP Processor */ +- ++#define EM_PDP10 64 /* Digital Equipment Corp. PDP-10 */ ++#define EM_PDP11 65 /* Digital Equipment Corp. PDP-11 */ + #define EM_FX66 66 /* Siemens FX66 microcontroller */ + #define EM_ST9PLUS67 /* STMicroelectronics ST9+ 8/16 mc */ + #define EM_ST768 /* STmicroelectronics ST7 8 bit mc */ +@@ -249,6 +256,22 @@ typedef struct + #define EM_OPENRISC 92 /* OpenRISC 32-bit embedded processor */ + #define EM_ARC_A5 93 /* ARC Cores Tangent-A5 */ + #define EM_XTENSA 94 /* Tensilica Xtensa Architecture */ ++#define EM_VIDEOCORE 95 /* Alphamosaic VideoCore processor */ ++#define EM_TMM_GPP96 /* Thompson Multimedia General Purpose Processor */ ++#define EM_NS32K 97 /* National Semiconductor 32000 series */ ++#define EM_TPC98 /* Tenor Network TPC processor */ ++#define EM_SNP1K 99 /* Trebia SNP 1000 processor */ ++#define EM_ST200 100 /* STMicroelectronics (www.st.com) ST200 microcontroller */ ++#define EM_IP2K 101 /* Ubicom IP2XXX microcontroller family */ ++#define EM_MAX102 /* MAX Processor */ ++#define EM_CR 103 /* National Semiconductor CompactRISC */ ++#define EM_F2MC16 104 /*
[OE-core] [PATCH 0/3] upgrade: apr to 1.5.1 and apr-utils to 1.5.3
The following changes since commit 894df445fa71a170397c6e0b4960a89ef20a4230: guile: Update to 2.0.11 version (2014-05-21 19:50:21 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib hongxu/upgrade-apr http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=hongxu/upgrade-apr Hongxu Jia (3): apr: upgrade to 1.5.1 apr: fix cross compiling failed apr-util: upgrade to 1.5.3 .../apr/{apr-util_1.5.2.bb = apr-util_1.5.3.bb} | 4 +- .../apr/apr/fix-cross-compiling-failed.patch | 46 ++ .../apr/{apr_1.4.8.bb = apr_1.5.1.bb} | 14 +-- 3 files changed, 59 insertions(+), 5 deletions(-) rename meta/recipes-support/apr/{apr-util_1.5.2.bb = apr-util_1.5.3.bb} (93%) create mode 100644 meta/recipes-support/apr/apr/fix-cross-compiling-failed.patch rename meta/recipes-support/apr/{apr_1.4.8.bb = apr_1.5.1.bb} (84%) -- 1.8.1.2 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH 1/3] apr: upgrade to 1.5.1
The LICENSE has no change, except a newline added. Signed-off-by: Hongxu Jia hongxu@windriver.com --- meta/recipes-support/apr/{apr_1.4.8.bb = apr_1.5.1.bb} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename meta/recipes-support/apr/{apr_1.4.8.bb = apr_1.5.1.bb} (91%) diff --git a/meta/recipes-support/apr/apr_1.4.8.bb b/meta/recipes-support/apr/apr_1.5.1.bb similarity index 91% rename from meta/recipes-support/apr/apr_1.4.8.bb rename to meta/recipes-support/apr/apr_1.5.1.bb index 0a77ad7..7f2d2ca 100644 --- a/meta/recipes-support/apr/apr_1.4.8.bb +++ b/meta/recipes-support/apr/apr_1.5.1.bb @@ -4,7 +4,7 @@ SECTION = libs DEPENDS = util-linux LICENSE = Apache-2.0 -LIC_FILES_CHKSUM = file://LICENSE;md5=0c35ff3c4c83b89d2f076e315caac28b \ +LIC_FILES_CHKSUM = file://LICENSE;md5=4dfd4cd216828c8cae5de5a12f3844c8 \ file://include/apr_lib.h;endline=17;md5=ee42fa7575dc40580a9e01c1b75fae96 BBCLASSEXTEND = native @@ -16,8 +16,8 @@ SRC_URI = ${APACHE_MIRROR}/apr/${BPN}-${PV}.tar.bz2 \ file://run-ptest \ -SRC_URI[md5sum] = ce2ab01a0c3cdb71cf0a6326b8654f41 -SRC_URI[sha256sum] = 61b8d2f8d321c6365ee3d71d0bb41f3a89c44da6124cc5b407a3b8319d660421 +SRC_URI[md5sum] = 5486180ec5a23efb5cae6d4292b300ab +SRC_URI[sha256sum] = e94abe431d4da48425fcccdb27b469bd0f8151488f82e5630a56f26590e198ac inherit autotools-brokensep lib_package binconfig multilib_header ptest -- 1.8.1.2 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH 3/3] apr-util: upgrade to 1.5.3
Signed-off-by: Hongxu Jia hongxu@windriver.com --- meta/recipes-support/apr/{apr-util_1.5.2.bb = apr-util_1.5.3.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-support/apr/{apr-util_1.5.2.bb = apr-util_1.5.3.bb} (93%) diff --git a/meta/recipes-support/apr/apr-util_1.5.2.bb b/meta/recipes-support/apr/apr-util_1.5.3.bb similarity index 93% rename from meta/recipes-support/apr/apr-util_1.5.2.bb rename to meta/recipes-support/apr/apr-util_1.5.3.bb index 4546b97..063a787 100644 --- a/meta/recipes-support/apr/apr-util_1.5.2.bb +++ b/meta/recipes-support/apr/apr-util_1.5.3.bb @@ -15,8 +15,8 @@ SRC_URI = ${APACHE_MIRROR}/apr/${BPN}-${PV}.tar.gz \ file://run-ptest \ -SRC_URI[md5sum] = eb682cfb8642babba427a4fb391b15e8 -SRC_URI[sha256sum] = a1ec5025373815795d2fa5bfac40c0984675feffc88e049be9a162c408c2f613 +SRC_URI[md5sum] = 71a11d037240b292f824ba1eb537b4e3 +SRC_URI[sha256sum] = 76db34cb508e346e3bf69347c29ed1500bf0b71bcc48d54271ad9d1c25703743 EXTRA_OECONF = --with-apr=${STAGING_BINDIR_CROSS}/apr-1-config \ --without-odbc \ -- 1.8.1.2 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH 2/3] apr: fix cross compiling failed
The do_compile failed: | tools/gen_test_char include/private/apr_escape_test_char.h | /bin/sh: tools/gen_test_char: No such file or directory | make[1]: *** [include/private/apr_escape_test_char.h] Error 127 The tools/gen_test_char was invoked at build time, and it didn't work for the cross compiling, so we used the native one to instead. Signed-off-by: Hongxu Jia hongxu@windriver.com --- .../apr/apr/fix-cross-compiling-failed.patch | 46 ++ meta/recipes-support/apr/apr_1.5.1.bb | 8 2 files changed, 54 insertions(+) create mode 100644 meta/recipes-support/apr/apr/fix-cross-compiling-failed.patch diff --git a/meta/recipes-support/apr/apr/fix-cross-compiling-failed.patch b/meta/recipes-support/apr/apr/fix-cross-compiling-failed.patch new file mode 100644 index 000..cd430b3 --- /dev/null +++ b/meta/recipes-support/apr/apr/fix-cross-compiling-failed.patch @@ -0,0 +1,46 @@ +Makefile.in: fix cross compiling failed + +The tools/gen_test_char was invoked at build time, +and it didn't work for the cross compiling, so we +used the native one to instead. + +Upstream-Status: inappropriate [oe specific] + +Signed-off-by: Hongxu Jia hongxu@windriver.com +--- + Makefile.in | 12 +++- + 1 file changed, 3 insertions(+), 9 deletions(-) + +diff --git a/Makefile.in b/Makefile.in +--- a/Makefile.in b/Makefile.in +@@ -45,8 +45,7 @@ LT_VERSION = @LT_VERSION@ + @INCLUDE_OUTPUTS@ + + CLEAN_TARGETS = apr-config.out apr.exp exports.c export_vars.c .make.dirs \ +- build/apr_rules.out tools/gen_test_char@EXEEXT@ \ +- tools/gen_test_char.o tools/gen_test_char.lo \ ++ build/apr_rules.out \ + include/private/apr_escape_test_char.h + DISTCLEAN_TARGETS = config.cache config.log config.status \ + include/apr.h include/arch/unix/apr_private.h \ +@@ -132,14 +131,9 @@ etags: + make_tools_dir: + $(APR_MKDIR) tools + +-OBJECTS_gen_test_char = tools/gen_test_char.lo $(LOCAL_LIBS) +-tools/gen_test_char.lo: make_tools_dir +-tools/gen_test_char@EXEEXT@: $(OBJECTS_gen_test_char) +- $(LINK_PROG) $(OBJECTS_gen_test_char) $(ALL_LIBS) +- +-include/private/apr_escape_test_char.h: tools/gen_test_char@EXEEXT@ ++include/private/apr_escape_test_char.h: + $(APR_MKDIR) include/private +- tools/gen_test_char@EXEEXT@ $@ ++ gen_test_char@EXEEXT@ $@ + + LINK_PROG = $(LIBTOOL) $(LTFLAGS) --mode=link $(COMPILE) $(LT_LDFLAGS) \ + @LT_NO_INSTALL@ $(ALL_LDFLAGS) -o $@ +-- +1.8.1.2 + diff --git a/meta/recipes-support/apr/apr_1.5.1.bb b/meta/recipes-support/apr/apr_1.5.1.bb index 7f2d2ca..80af749 100644 --- a/meta/recipes-support/apr/apr_1.5.1.bb +++ b/meta/recipes-support/apr/apr_1.5.1.bb @@ -2,6 +2,7 @@ SUMMARY = Apache Portable Runtime (APR) library HOMEPAGE = http://apr.apache.org/; SECTION = libs DEPENDS = util-linux +DEPENDS_class-target = apr-native LICENSE = Apache-2.0 LIC_FILES_CHKSUM = file://LICENSE;md5=4dfd4cd216828c8cae5de5a12f3844c8 \ @@ -16,6 +17,9 @@ SRC_URI = ${APACHE_MIRROR}/apr/${BPN}-${PV}.tar.bz2 \ file://run-ptest \ +SRC_URI_append_class-target = \ + file://fix-cross-compiling-failed.patch \ + SRC_URI[md5sum] = 5486180ec5a23efb5cae6d4292b300ab SRC_URI[sha256sum] = e94abe431d4da48425fcccdb27b469bd0f8151488f82e5630a56f26590e198ac @@ -50,6 +54,10 @@ do_install_append() { cp ${S}/${HOST_SYS}-libtool ${D}${datadir}/build-1/libtool } +do_install_append_class-native() { +install -m 0755 ${S}/tools/gen_test_char ${D}/${bindir} +} + SSTATE_SCAN_FILES += apr_rules.mk libtool SYSROOT_PREPROCESS_FUNCS += apr_sysroot_preprocess -- 1.8.1.2 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 0/2] Update timezone files to 2014c
On 26 May 2014 22:05, Armin Kuster akuster...@gmail.com wrote: This updates both tzcode and tzdate to latest Please send patches using -M so they're easier to review. Also you put solaris instead of solar in the commit message. Ross -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 2/3] apr: fix cross compiling failed
On 28 May 2014 10:05, Hongxu Jia hongxu@windriver.com wrote: The tools/gen_test_char was invoked at build time, and it didn't work for the cross compiling, so we used the native one to instead. Building all of libapr natively and installing the extra binary is wasteful when the binary is trivially compiled natively in the target build. Simply add a do_compile_prepend() that uses BUILD_CC and so on to compile tools/gen_test_char. As it only uses standard C headers this is trivial and you won't need to patch the build at all (obviously test when MACHINE is massively incompatible with the host, ie qemuarm with x86 host). Ross -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH v2 1/2] qt4: upgrade to version 4.8.6
* Remove patches merged upstream * Add a qtscript translation package for an additional .qm file added in this release Signed-off-by: Paul Eggleton paul.eggle...@linux.intel.com --- ...tools_4.8.5.bb = nativesdk-qt4-tools_4.8.6.bb} | 4 +- ...0020-webkit-disable-the-fuse-ld-gold-flag.patch | 41 -- ...-of-0-width-polylines-from-outside-the-de.patch | 148 - ...art-fix-data-corruption-in-readData-metho.patch | 43 -- ...Pixel.y-is-also-initalized-to-1-when-nece.patch | 48 --- ...ned-selection-region-with-text-when-cente.patch | 75 --- .../qt4/{qt4-4.8.5.inc = qt4-4.8.6.inc} | 9 +- ...o-allow-to-set-qt.conf-from-the-outside-u.patch | 0 ...tty_qws-fix-build-with-old-kernel-headers.patch | 0 ...003-webkit2-set-OUTPUT_DIR-value-if-empty.patch | 0 ...make-is-already-built-in-qt4-tools-native.patch | 0 ...e-set-LFLAGS-to-pick-up-zlib-from-staging.patch | 0 ...se-OE_QMAKE_-values-to-specify-Qt-utility.patch | 0 ...-const-usage-that-causes-compile-failure-.patch | 0 ...llow-building-a-separate-qmake-for-the-ta.patch | 0 ...e-fix-source-file-references-in-qmake.pri.patch | 0 ...ack-to-not-use-the-pg_config-of-the-host-.patch | 0 .../0011-freetype-host-includes.patch | 0 .../0012-Add-2bpp-support.patch| 0 .../0013-configure-add-crossarch-option.patch | 0 ...tions-fix-phony-translation-linking-error.patch | 0 ...-configure-add-nostrip-for-debug-packages.patch | 0 .../0016-configure-eval-QMAKE_CXX.patch| 0 ...nsure-we-identify-the-compiler-as-g-in-co.patch | 0 ...ure-make-pulseaudio-a-configurable-option.patch | 0 ...xes-for-gcc-4.7.0-particularly-on-qemux86.patch | 0 ...ake-qt4-native-work-with-long-building-pa.patch | 0 ...ls.pro-disable-qmeegographicssystemhelper.patch | 0 .../qt4/{qt4-4.8.5 = qt4-4.8.6}/g++.conf | 0 .../qt4/{qt4-4.8.5 = qt4-4.8.6}/linux.conf| 0 .../recipes-qt/qt4/{qt4-4.8.5 = qt4-4.8.6}/qte.sh | 0 ...qt4-embedded_4.8.5.bb = qt4-embedded_4.8.6.bb} | 0 meta/recipes-qt/qt4/qt4-native_4.8.5.bb| 6 - meta/recipes-qt/qt4/qt4-native_4.8.6.bb| 6 + ...qt4-x11-free_4.8.5.bb = qt4-x11-free_4.8.6.bb} | 0 meta/recipes-qt/qt4/qt4.inc| 2 +- 36 files changed, 11 insertions(+), 371 deletions(-) rename meta/recipes-qt/qt4/{nativesdk-qt4-tools_4.8.5.bb = nativesdk-qt4-tools_4.8.6.bb} (44%) delete mode 100644 meta/recipes-qt/qt4/qt4-4.8.5/0020-webkit-disable-the-fuse-ld-gold-flag.patch delete mode 100644 meta/recipes-qt/qt4/qt4-4.8.5/0022-Fix-drawing-of-0-width-polylines-from-outside-the-de.patch delete mode 100644 meta/recipes-qt/qt4/qt4-4.8.5/0023-QHttpMultiPart-fix-data-corruption-in-readData-metho.patch delete mode 100644 meta/recipes-qt/qt4/qt4-4.8.5/0024-Ensure-lastPixel.y-is-also-initalized-to-1-when-nece.patch delete mode 100644 meta/recipes-qt/qt4/qt4-4.8.5/0025-Fix-misaligned-selection-region-with-text-when-cente.patch rename meta/recipes-qt/qt4/{qt4-4.8.5.inc = qt4-4.8.6.inc} (82%) rename meta/recipes-qt/qt4/{qt4-4.8.5 = qt4-4.8.6}/0001-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch (100%) rename meta/recipes-qt/qt4/{qt4-4.8.5 = qt4-4.8.6}/0002-qkbdtty_qws-fix-build-with-old-kernel-headers.patch (100%) rename meta/recipes-qt/qt4/{qt4-4.8.5 = qt4-4.8.6}/0003-webkit2-set-OUTPUT_DIR-value-if-empty.patch (100%) rename meta/recipes-qt/qt4/{qt4-4.8.5 = qt4-4.8.6}/0004-configure-qmake-is-already-built-in-qt4-tools-native.patch (100%) rename meta/recipes-qt/qt4/{qt4-4.8.5 = qt4-4.8.6}/0005-configure-set-LFLAGS-to-pick-up-zlib-from-staging.patch (100%) rename meta/recipes-qt/qt4/{qt4-4.8.5 = qt4-4.8.6}/0006-configure-Use-OE_QMAKE_-values-to-specify-Qt-utility.patch (100%) rename meta/recipes-qt/qt4/{qt4-4.8.5 = qt4-4.8.6}/0007-dbus-Remove-const-usage-that-causes-compile-failure-.patch (100%) rename meta/recipes-qt/qt4/{qt4-4.8.5 = qt4-4.8.6}/0008-qmake.pro-Allow-building-a-separate-qmake-for-the-ta.patch (100%) rename meta/recipes-qt/qt4/{qt4-4.8.5 = qt4-4.8.6}/0009-qmake-fix-source-file-references-in-qmake.pri.patch (100%) rename meta/recipes-qt/qt4/{qt4-4.8.5 = qt4-4.8.6}/0010-configure-Hack-to-not-use-the-pg_config-of-the-host-.patch (100%) rename meta/recipes-qt/qt4/{qt4-4.8.5 = qt4-4.8.6}/0011-freetype-host-includes.patch (100%) rename meta/recipes-qt/qt4/{qt4-4.8.5 = qt4-4.8.6}/0012-Add-2bpp-support.patch (100%) rename meta/recipes-qt/qt4/{qt4-4.8.5 = qt4-4.8.6}/0013-configure-add-crossarch-option.patch (100%) rename meta/recipes-qt/qt4/{qt4-4.8.5 = qt4-4.8.6}/0014-translations-fix-phony-translation-linking-error.patch (100%) rename meta/recipes-qt/qt4/{qt4-4.8.5 = qt4-4.8.6}/0015-configure-add-nostrip-for-debug-packages.patch (100%) rename meta/recipes-qt/qt4/{qt4-4.8.5 = qt4-4.8.6}/0016-configure-eval-QMAKE_CXX.patch (100%) rename meta/recipes-qt/qt4/{qt4-4.8.5 =
[OE-core] [PATCH v2 0/2] Qt 4 upgrade
Since v1, added an additional patch for a denial-of-service vulnerability in Qt's GIF handling code. The upgrade patch itself (1/2) remains unchanged. The following changes since commit 32ac58819580d359e22161be1abf62215d202250: i2c-tools: Add i2c-tools to the core (2014-05-28 09:41:11 +0100) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib paule/qt4-upgrade http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/qt4-upgrade Paul Eggleton (2): qt4: upgrade to version 4.8.6 qt4: add patch for GIF denial-of-service vulnerability ...tools_4.8.5.bb = nativesdk-qt4-tools_4.8.6.bb} | 4 +- ...0020-webkit-disable-the-fuse-ld-gold-flag.patch | 41 -- ...-of-0-width-polylines-from-outside-the-de.patch | 148 - ...art-fix-data-corruption-in-readData-metho.patch | 43 -- ...Pixel.y-is-also-initalized-to-1-when-nece.patch | 48 --- ...ned-selection-region-with-text-when-cente.patch | 75 --- .../qt4/{qt4-4.8.5.inc = qt4-4.8.6.inc} | 10 +- ...o-allow-to-set-qt.conf-from-the-outside-u.patch | 0 ...tty_qws-fix-build-with-old-kernel-headers.patch | 0 ...003-webkit2-set-OUTPUT_DIR-value-if-empty.patch | 0 ...make-is-already-built-in-qt4-tools-native.patch | 0 ...e-set-LFLAGS-to-pick-up-zlib-from-staging.patch | 0 ...se-OE_QMAKE_-values-to-specify-Qt-utility.patch | 0 ...-const-usage-that-causes-compile-failure-.patch | 0 ...llow-building-a-separate-qmake-for-the-ta.patch | 0 ...e-fix-source-file-references-in-qmake.pri.patch | 0 ...ack-to-not-use-the-pg_config-of-the-host-.patch | 0 .../0011-freetype-host-includes.patch | 0 .../0012-Add-2bpp-support.patch| 0 .../0013-configure-add-crossarch-option.patch | 0 ...tions-fix-phony-translation-linking-error.patch | 0 ...-configure-add-nostrip-for-debug-packages.patch | 0 .../0016-configure-eval-QMAKE_CXX.patch| 0 ...nsure-we-identify-the-compiler-as-g-in-co.patch | 0 ...ure-make-pulseaudio-a-configurable-option.patch | 0 ...xes-for-gcc-4.7.0-particularly-on-qemux86.patch | 0 ...ake-qt4-native-work-with-long-building-pa.patch | 0 ...ls.pro-disable-qmeegographicssystemhelper.patch | 0 .../0028-Don-t-crash-on-broken-GIF-images.patch| 47 +++ .../qt4/{qt4-4.8.5 = qt4-4.8.6}/g++.conf | 0 .../qt4/{qt4-4.8.5 = qt4-4.8.6}/linux.conf| 0 .../recipes-qt/qt4/{qt4-4.8.5 = qt4-4.8.6}/qte.sh | 0 ...qt4-embedded_4.8.5.bb = qt4-embedded_4.8.6.bb} | 0 meta/recipes-qt/qt4/qt4-native_4.8.5.bb| 6 - meta/recipes-qt/qt4/qt4-native_4.8.6.bb| 6 + ...qt4-x11-free_4.8.5.bb = qt4-x11-free_4.8.6.bb} | 0 meta/recipes-qt/qt4/qt4.inc| 2 +- 37 files changed, 59 insertions(+), 371 deletions(-) rename meta/recipes-qt/qt4/{nativesdk-qt4-tools_4.8.5.bb = nativesdk-qt4-tools_4.8.6.bb} (44%) delete mode 100644 meta/recipes-qt/qt4/qt4-4.8.5/0020-webkit-disable-the-fuse-ld-gold-flag.patch delete mode 100644 meta/recipes-qt/qt4/qt4-4.8.5/0022-Fix-drawing-of-0-width-polylines-from-outside-the-de.patch delete mode 100644 meta/recipes-qt/qt4/qt4-4.8.5/0023-QHttpMultiPart-fix-data-corruption-in-readData-metho.patch delete mode 100644 meta/recipes-qt/qt4/qt4-4.8.5/0024-Ensure-lastPixel.y-is-also-initalized-to-1-when-nece.patch delete mode 100644 meta/recipes-qt/qt4/qt4-4.8.5/0025-Fix-misaligned-selection-region-with-text-when-cente.patch rename meta/recipes-qt/qt4/{qt4-4.8.5.inc = qt4-4.8.6.inc} (82%) rename meta/recipes-qt/qt4/{qt4-4.8.5 = qt4-4.8.6}/0001-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch (100%) rename meta/recipes-qt/qt4/{qt4-4.8.5 = qt4-4.8.6}/0002-qkbdtty_qws-fix-build-with-old-kernel-headers.patch (100%) rename meta/recipes-qt/qt4/{qt4-4.8.5 = qt4-4.8.6}/0003-webkit2-set-OUTPUT_DIR-value-if-empty.patch (100%) rename meta/recipes-qt/qt4/{qt4-4.8.5 = qt4-4.8.6}/0004-configure-qmake-is-already-built-in-qt4-tools-native.patch (100%) rename meta/recipes-qt/qt4/{qt4-4.8.5 = qt4-4.8.6}/0005-configure-set-LFLAGS-to-pick-up-zlib-from-staging.patch (100%) rename meta/recipes-qt/qt4/{qt4-4.8.5 = qt4-4.8.6}/0006-configure-Use-OE_QMAKE_-values-to-specify-Qt-utility.patch (100%) rename meta/recipes-qt/qt4/{qt4-4.8.5 = qt4-4.8.6}/0007-dbus-Remove-const-usage-that-causes-compile-failure-.patch (100%) rename meta/recipes-qt/qt4/{qt4-4.8.5 = qt4-4.8.6}/0008-qmake.pro-Allow-building-a-separate-qmake-for-the-ta.patch (100%) rename meta/recipes-qt/qt4/{qt4-4.8.5 = qt4-4.8.6}/0009-qmake-fix-source-file-references-in-qmake.pri.patch (100%) rename meta/recipes-qt/qt4/{qt4-4.8.5 = qt4-4.8.6}/0010-configure-Hack-to-not-use-the-pg_config-of-the-host-.patch (100%) rename meta/recipes-qt/qt4/{qt4-4.8.5 = qt4-4.8.6}/0011-freetype-host-includes.patch (100%) rename meta/recipes-qt/qt4/{qt4-4.8.5 = qt4-4.8.6}/0012-Add-2bpp-support.patch
[OE-core] [PATCH v2 2/2] qt4: add patch for GIF denial-of-service vulnerability
For further details, see: https://bugreports.qt-project.org/browse/QTBUG-38367 Signed-off-by: Paul Eggleton paul.eggle...@linux.intel.com --- meta/recipes-qt/qt4/qt4-4.8.6.inc | 1 + .../0028-Don-t-crash-on-broken-GIF-images.patch| 47 ++ 2 files changed, 48 insertions(+) create mode 100644 meta/recipes-qt/qt4/qt4-4.8.6/0028-Don-t-crash-on-broken-GIF-images.patch diff --git a/meta/recipes-qt/qt4/qt4-4.8.6.inc b/meta/recipes-qt/qt4/qt4-4.8.6.inc index c4dd36f..ae6692b 100644 --- a/meta/recipes-qt/qt4/qt4-4.8.6.inc +++ b/meta/recipes-qt/qt4/qt4-4.8.6.inc @@ -21,6 +21,7 @@ SRC_URI = http://download.qt-project.org/official_releases/qt/4.8/${PV}/qt-ever file://0018-configure-make-pulseaudio-a-configurable-option.patch \ file://0019-Fixes-for-gcc-4.7.0-particularly-on-qemux86.patch \ file://0027-tools.pro-disable-qmeegographicssystemhelper.patch \ + file://0028-Don-t-crash-on-broken-GIF-images.patch \ file://g++.conf \ file://linux.conf \ diff --git a/meta/recipes-qt/qt4/qt4-4.8.6/0028-Don-t-crash-on-broken-GIF-images.patch b/meta/recipes-qt/qt4/qt4-4.8.6/0028-Don-t-crash-on-broken-GIF-images.patch new file mode 100644 index 000..906e2fd --- /dev/null +++ b/meta/recipes-qt/qt4/qt4-4.8.6/0028-Don-t-crash-on-broken-GIF-images.patch @@ -0,0 +1,47 @@ +From f1b76c126c476c155af8c404b97c42cd1a709333 Mon Sep 17 00:00:00 2001 +From: Lars Knoll lars.kn...@digia.com +Date: Thu, 24 Apr 2014 15:33:27 +0200 +Subject: [PATCH] Don't crash on broken GIF images + +Broken GIF images could set invalid width and height +values inside the image, leading to Qt creating a null +QImage for it. In that case we need to abort decoding +the image and return an error. + +Initial patch by Rich Moore. + +Backport of Id82a4036f478bd6e49c402d6598f57e7e5bb5e1e from Qt 5 + +Task-number: QTBUG-38367 +Change-Id: I0680740018aaa8356d267b7af3f01fac3697312a +Security-advisory: CVE-2014-0190 +Reviewed-by: Richard J. Moore r...@kde.org + +Upstream-Status: Backport +Signed-off-by: Paul Eggleton paul.eggle...@linux.intel.com + +--- + src/gui/image/qgifhandler.cpp | 7 +++ + 1 file changed, 7 insertions(+) + +diff --git a/src/gui/image/qgifhandler.cpp b/src/gui/image/qgifhandler.cpp +index 3324f04..5199dd3 100644 +--- a/src/gui/image/qgifhandler.cpp b/src/gui/image/qgifhandler.cpp +@@ -359,6 +359,13 @@ int QGIFFormat::decode(QImage *image, const uchar *buffer, int length, + memset(bits, 0, image-byteCount()); + } + ++// Check if the previous attempt to create the image failed. If it ++// did then the image is broken and we should give up. ++if (image-isNull()) { ++state = Error; ++return -1; ++} ++ + disposePrevious(image); + disposed = false; + +-- +1.9.3 + -- 1.9.3 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 2/3] apr: fix cross compiling failed
On 05/28/2014 06:48 PM, Burton, Ross wrote: On 28 May 2014 10:05, Hongxu Jia hongxu@windriver.com wrote: The tools/gen_test_char was invoked at build time, and it didn't work for the cross compiling, so we used the native one to instead. Building all of libapr natively and installing the extra binary is wasteful when the binary is trivially compiled natively in the target build. Simply add a do_compile_prepend() that uses BUILD_CC and so on to compile tools/gen_test_char. As it only uses standard C headers this is trivial and you won't need to patch the build at all (obviously test when MACHINE is massively incompatible with the host, ie qemuarm with x86 host). Sounds reasonable, I will do that in V2. //Hongxu Ross -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH 0/4][RFT] Stop disabling autoheader warnings
Hi, When autoheader emits a warning along the lines of missing template for variable HAVE_FOO, it's not moaning that you need to be more verbose for nice comments in the config.h files. In fact it's saying that it's not writing that symbol at all to config.h.in, so even if that test succeeds this isn't reflected in config.h. I removed the patch and did a build of core-image-sato: readline was the only recipe that failed. I'll spare you the anger but readline is special... the short version is that if an upstream package hand-maintains config.h.in instead of using autoheader then set EXTRA_AUTORECONF += --exclude=autoheader and autoheader won't be executed. This is also a call out for a request for testing: I've done a core-image-sato build with this but haven't yet done world or any other layers. If there's breakage it's often due to the upstream being unconventional so feel free to prod me for help. Ross The following changes since commit c42df8cb48ceb6081680ffb802e85dad557cf29c: i2c-tools: Add i2c-tools to the core (2014-05-28 09:42:14 +0100) are available in the git repository at: git://git.yoctoproject.org/poky-contrib ross/autoconf for you to fetch changes up to a12ceb971fefe2b2f412f46b82c0d5ea6043ad62: autoconf: don't disable the autoheader warnings (2014-05-28 12:47:58 +0100) Ross Burton (4): readline: add missing STRUCT_DIRENT_D_* symbols to config.h.in readline: exclude autoheader from autoreconf readline: use upstream's aclocal.m4 as acinclude.m4 autoconf: don't disable the autoheader warnings meta/recipes-core/readline/files/acinclude.m4 | 1871 .../readline-6.3/config-dirent-symbols.patch | 34 + meta/recipes-core/readline/readline.inc| 10 +- .../autoconf/autoheader-nonfatal-warnings.patch| 15 - meta/recipes-devtools/autoconf/autoconf_2.69.bb|1 - 5 files changed, 41 insertions(+), 1890 deletions(-) delete mode 100644 meta/recipes-core/readline/files/acinclude.m4 create mode 100644 meta/recipes-core/readline/readline-6.3/config-dirent-symbols.patch delete mode 100644 meta/recipes-devtools/autoconf/autoconf/autoheader-nonfatal-warnings.patch Ross Burton (4): readline: add missing STRUCT_DIRENT_D_* symbols to config.h.in readline: exclude autoheader from autoreconf readline: use upstream's aclocal.m4 as acinclude.m4 autoconf: don't disable the autoheader warnings meta/recipes-core/readline/files/acinclude.m4 | 1871 .../readline-6.3/config-dirent-symbols.patch | 34 + meta/recipes-core/readline/readline.inc| 10 +- .../autoconf/autoheader-nonfatal-warnings.patch| 15 - meta/recipes-devtools/autoconf/autoconf_2.69.bb|1 - 5 files changed, 41 insertions(+), 1890 deletions(-) delete mode 100644 meta/recipes-core/readline/files/acinclude.m4 create mode 100644 meta/recipes-core/readline/readline-6.3/config-dirent-symbols.patch delete mode 100644 meta/recipes-devtools/autoconf/autoconf/autoheader-nonfatal-warnings.patch -- 1.7.10.4 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH 1/4] readline: add missing STRUCT_DIRENT_D_* symbols to config.h.in
readline maintains config.h.in by hand but several symbols are incorrect. Fix these so that the test results are reflected in config.h. Signed-off-by: Ross Burton ross.bur...@intel.com --- .../readline-6.3/config-dirent-symbols.patch | 34 meta/recipes-core/readline/readline.inc|1 + 2 files changed, 35 insertions(+) create mode 100644 meta/recipes-core/readline/readline-6.3/config-dirent-symbols.patch diff --git a/meta/recipes-core/readline/readline-6.3/config-dirent-symbols.patch b/meta/recipes-core/readline/readline-6.3/config-dirent-symbols.patch new file mode 100644 index 000..cfff03c --- /dev/null +++ b/meta/recipes-core/readline/readline-6.3/config-dirent-symbols.patch @@ -0,0 +1,34 @@ +Fix the names of the STRUCT_DIRENT_D symbols to match the names used by both +configure and the source code. + +Upstream-Status: Submitted (http://lists.gnu.org/archive/html/bug-readline/2014-05/msg8.html) +Signed-off-by: Ross Burton ross.bur...@intel.com + +From e48656811550774892fd4e0f4b3c7d418422da52 Mon Sep 17 00:00:00 2001 +From: Ross Burton ross.bur...@intel.com +Date: Tue, 27 May 2014 22:32:31 +0100 +Subject: [PATCH] config.h.in: fix names of STRUCT_DIRENT_D symbols + +--- + config.h.in |4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/config.h.in b/config.h.in +index a67e43e..a42acc5 100644 +--- a/config.h.in b/config.h.in +@@ -244,9 +244,9 @@ + + #undef HAVE_GETPW_DECLS + +-#undef STRUCT_DIRENT_HAS_D_INO ++#undef HAVE_STRUCT_DIRENT_D_INO + +-#undef STRUCT_DIRENT_HAS_D_FILENO ++#undef HAVE_STRUCT_DIRENT_D_FILENO + + #undef HAVE_BSD_SIGNALS + +-- +1.7.10.4 + diff --git a/meta/recipes-core/readline/readline.inc b/meta/recipes-core/readline/readline.inc index 9d78aa9..c33e91a 100644 --- a/meta/recipes-core/readline/readline.inc +++ b/meta/recipes-core/readline/readline.inc @@ -13,6 +13,7 @@ DEPENDS += ncurses SRC_URI = ${GNU_MIRROR}/readline/${BPN}-${PV}.tar.gz;name=archive \ file://configure-fix.patch \ + file://config-dirent-symbols.patch \ file://norpath.patch \ file://acinclude.m4 -- 1.7.10.4 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH 3/4] readline: use upstream's aclocal.m4 as acinclude.m4
Instead of shipping a fork of the upstream aclocal.m4, simply rename it to acinclude.m4 at configure time. We don't need the fork now that autoheader is excluded. Signed-off-by: Ross Burton ross.bur...@intel.com --- meta/recipes-core/readline/files/acinclude.m4 | 1871 - meta/recipes-core/readline/readline.inc |7 +- 2 files changed, 4 insertions(+), 1874 deletions(-) delete mode 100644 meta/recipes-core/readline/files/acinclude.m4 diff --git a/meta/recipes-core/readline/files/acinclude.m4 b/meta/recipes-core/readline/files/acinclude.m4 deleted file mode 100644 index c30a7d3..000 --- a/meta/recipes-core/readline/files/acinclude.m4 +++ /dev/null @@ -1,1871 +0,0 @@ -dnl -dnl Bash specific tests -dnl -dnl Some derived from PDKSH 5.1.3 autoconf tests -dnl - -AC_DEFUN([BASH_C_LONG_LONG], -[AC_CACHE_CHECK(for long long, ac_cv_c_long_long, -[if test $GCC = yes; then - ac_cv_c_long_long=yes -else -AC_TRY_RUN([ -int -main() -{ -long long foo = 0; -exit(sizeof(long long) sizeof(long)); -} -], ac_cv_c_long_long=yes, ac_cv_c_long_long=no) -fi]) -if test $ac_cv_c_long_long = yes; then - AC_DEFINE(HAVE_LONG_LONG, 1, [Define if the `long long' type works.]) -fi -]) - -dnl -dnl This is very similar to AC_C_LONG_DOUBLE, with the fix for IRIX -dnl ( changed to =) added. -dnl -AC_DEFUN([BASH_C_LONG_DOUBLE], -[AC_CACHE_CHECK(for long double, ac_cv_c_long_double, -[if test $GCC = yes; then - ac_cv_c_long_double=yes -else -AC_TRY_RUN([ -int -main() -{ - /* The Stardent Vistra knows sizeof(long double), but does not - support it. */ - long double foo = 0.0; - /* On Ultrix 4.3 cc, long double is 4 and double is 8. */ - /* On IRIX 5.3, the compiler converts long double to double with a warning, - but compiles this successfully. */ - exit(sizeof(long double) = sizeof(double)); -} -], ac_cv_c_long_double=yes, ac_cv_c_long_double=no) -fi]) -if test $ac_cv_c_long_double = yes; then - AC_DEFINE(HAVE_LONG_DOUBLE, 1, [Define if the `long double' type works.]) -fi -]) - -dnl -dnl Check for inttypes.h. This is separated out so that it can be -dnl AC_REQUIREd. -dnl -dnl BASH_HEADER_INTTYPES -AC_DEFUN([BASH_HEADER_INTTYPES], -[ - AC_CHECK_HEADERS(inttypes.h) -]) - -dnl -dnl check for typedef'd symbols in header files, but allow the caller to -dnl specify the include files to be checked in addition to the default -dnl -dnl BASH_CHECK_TYPE(TYPE, HEADERS, DEFAULT[, VALUE-IF-FOUND]) -AC_DEFUN([BASH_CHECK_TYPE], -[ -AC_REQUIRE([AC_HEADER_STDC])dnl -AC_REQUIRE([BASH_HEADER_INTTYPES]) -AC_MSG_CHECKING(for $1) -AC_CACHE_VAL(bash_cv_type_$1, -[AC_EGREP_CPP($1, [#include sys/types.h -#if STDC_HEADERS -#include stdlib.h -#include stddef.h -#endif -#if HAVE_INTTYPES_H -#include inttypes.h -#endif -$2 -], bash_cv_type_$1=yes, bash_cv_type_$1=no)]) -AC_MSG_RESULT($bash_cv_type_$1) -ifelse($#, 4, [if test $bash_cv_type_$1 = yes; then - AC_DEFINE($4) - fi]) -if test $bash_cv_type_$1 = no; then - AC_DEFINE_UNQUOTED($1, $3) -fi -]) - -dnl -dnl BASH_CHECK_DECL(FUNC) -dnl -dnl Check for a declaration of FUNC in stdlib.h and inttypes.h like -dnl AC_CHECK_DECL -dnl -AC_DEFUN([BASH_CHECK_DECL], -[ -AC_REQUIRE([AC_HEADER_STDC]) -AC_REQUIRE([BASH_HEADER_INTTYPES]) -AC_CACHE_CHECK([for declaration of $1], bash_cv_decl_$1, -[AC_TRY_LINK( -[ -#if STDC_HEADERS -# include stdlib.h -#endif -#if HAVE_INTTYPES_H -# include inttypes.h -#endif -], -[return !$1;], -bash_cv_decl_$1=yes, bash_cv_decl_$1=no)]) -bash_tr_func=HAVE_DECL_`echo $1 | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` -if test $bash_cv_decl_$1 = yes; then - AC_DEFINE_UNQUOTED($bash_tr_func, 1) -else - AC_DEFINE_UNQUOTED($bash_tr_func, 0) -fi -]) - -AC_DEFUN([BASH_DECL_PRINTF], -[AC_MSG_CHECKING(for declaration of printf in stdio.h) -AC_CACHE_VAL(bash_cv_printf_declared, -[AC_TRY_RUN([ -#include stdio.h -#ifdef __STDC__ -typedef int (*_bashfunc)(const char *, ...); -#else -typedef int (*_bashfunc)(); -#endif -main() -{ -_bashfunc pf; -pf = (_bashfunc) printf; -exit(pf == 0); -} -], bash_cv_printf_declared=yes, bash_cv_printf_declared=no, - [AC_MSG_WARN(cannot check printf declaration if cross compiling -- defaulting to yes) -bash_cv_printf_declared=yes] -)]) -AC_MSG_RESULT($bash_cv_printf_declared) -if test $bash_cv_printf_declared = yes; then -AC_DEFINE(PRINTF_DECLARED) -fi -]) - -AC_DEFUN([BASH_DECL_SBRK], -[AC_MSG_CHECKING(for declaration of sbrk in unistd.h) -AC_CACHE_VAL(bash_cv_sbrk_declared, -[AC_EGREP_HEADER(sbrk, unistd.h, - bash_cv_sbrk_declared=yes, bash_cv_sbrk_declared=no)]) -AC_MSG_RESULT($bash_cv_sbrk_declared) -if test $bash_cv_sbrk_declared = yes; then -AC_DEFINE(SBRK_DECLARED) -fi -]) - -dnl -dnl Check for sys_siglist[] or _sys_siglist[] -dnl -AC_DEFUN([BASH_DECL_UNDER_SYS_SIGLIST], -[AC_MSG_CHECKING([for _sys_siglist in signal.h or unistd.h]) -AC_CACHE_VAL(bash_cv_decl_under_sys_siglist, -[AC_TRY_COMPILE([ -#include sys/types.h -#include signal.h -#ifdef HAVE_UNISTD_H -#include
[OE-core] [PATCH 4/4] autoconf: don't disable the autoheader warnings
The usual autoheader warning is due to AC_DEFINE variables not having a description. This results in no variable being defined in config.h, which leads to code behaving as if the test failed when it actually succeeded. This patch was introduced to OpenEmbedded back in 2004: http://git.openembedded.org/openembedded/commit/?id=5eab06d132cb2895fd579f5cedffbb54c27794f8 There is no rationale for the patch so I suspect this is due to the warnings being fatal and the submitter not understanding that the problem is more than cosmetic. Signed-off-by: Ross Burton ross.bur...@intel.com --- .../autoconf/autoheader-nonfatal-warnings.patch | 15 --- meta/recipes-devtools/autoconf/autoconf_2.69.bb |1 - 2 files changed, 16 deletions(-) delete mode 100644 meta/recipes-devtools/autoconf/autoconf/autoheader-nonfatal-warnings.patch diff --git a/meta/recipes-devtools/autoconf/autoconf/autoheader-nonfatal-warnings.patch b/meta/recipes-devtools/autoconf/autoconf/autoheader-nonfatal-warnings.patch deleted file mode 100644 index 8ae6d5c..000 --- a/meta/recipes-devtools/autoconf/autoconf/autoheader-nonfatal-warnings.patch +++ /dev/null @@ -1,15 +0,0 @@ -Upstream-Status: Pending - autoconf-2.59/bin/autoheader.in~ 2003-10-10 14:52:56.0 +0100 -+++ autoconf-2.59/bin/autoheader.in2004-05-03 01:36:45.0 +0100 -@@ -272,8 +272,8 @@ - } - - } -- exit 1 --if keys %symbol; -+# exit 1 -+#if keys %symbol; - } - - update_file ($tmp/config.hin, $config_h_in); diff --git a/meta/recipes-devtools/autoconf/autoconf_2.69.bb b/meta/recipes-devtools/autoconf/autoconf_2.69.bb index a2ecd94..5c652d4 100644 --- a/meta/recipes-devtools/autoconf/autoconf_2.69.bb +++ b/meta/recipes-devtools/autoconf/autoconf_2.69.bb @@ -12,7 +12,6 @@ SRC_URI += file://autoreconf-include.patch \ file://autoreconf-exclude.patch \ file://autoreconf-foreign.patch \ file://autoreconf-gnuconfigize.patch \ - file://autoheader-nonfatal-warnings.patch \ file://config_site.patch \ file://remove-usr-local-lib-from-m4.patch \ file://preferbash.patch \ -- 1.7.10.4 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH 2/4] readline: exclude autoheader from autoreconf
readline ships a hand-maintained config.h, instead of letting autoheader generate one from configure.ac. The required arguments to AC_DEFINE are not in configure.ac so autoheader will produce warnings and the generated code will not behave as expected. Solve this by excluding autoheader from autoreconf, so the upstream config.h.in is used. Signed-off-by: Ross Burton ross.bur...@intel.com --- meta/recipes-core/readline/readline.inc |2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-core/readline/readline.inc b/meta/recipes-core/readline/readline.inc index c33e91a..2c5ad00 100644 --- a/meta/recipes-core/readline/readline.inc +++ b/meta/recipes-core/readline/readline.inc @@ -21,6 +21,8 @@ S = ${WORKDIR}/${BPN}-${PV} inherit autotools texinfo +EXTRA_AUTORECONF += --exclude=autoheader + LEAD_SONAME = libreadline.so do_configure_prepend () { -- 1.7.10.4 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 0/2] Update timezone files to 2014c
On Wed, 2014-05-28 at 11:40 +0100, Burton, Ross wrote: On 26 May 2014 22:05, Armin Kuster akuster...@gmail.com wrote: This updates both tzcode and tzdate to latest Please send patches using -M so they're easier to review. Also you put solaris instead of solar in the commit message. How did the license change from PD BSD to PD? Cheers, Richard -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 4/4] linux-yocto/3.10: bump kver to v3.10.40
On 14-05-28 04:36 AM, Richard Purdie wrote: On Mon, 2014-05-26 at 13:40 -0400, Bruce Ashfield wrote: diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_3.10.bb b/meta/recipes-kernel/linux/linux-yocto-tiny_3.10.bb index 7081cd18aa57..b1b80341d6d2 100644 --- a/meta/recipes-kernel/linux/linux-yocto-tiny_3.10.bb +++ b/meta/recipes-kernel/linux/linux-yocto-tiny_3.10.bb @@ -5,12 +5,12 @@ KBRANCH = ${KBRANCH_DEFAULT} LINUX_KERNEL_TYPE = tiny KCONFIG_MODE = --allnoconfig -LINUX_VERSION ?= 3.10.38 +LINUX_VERSION ?= 3.10.40 KMETA = meta -SRCREV_machine ?= 02f7e63e56c061617957388c23bd5cf9b05c5388 -SRCREV_meta ?= 617c6158c3d5b931f0d6131e0b0a7b374c792599 +SRCREV_machine ?= f53a6114b3a6e8c03ca4752de829887015f4c942 +SRCREV_meta ?= 13ae75f4a26fcd65abe526ef5f1dcde0583f453d We're seeing failures since 13ae75f4a26fcd65abe526ef5f1dcde0583f453d doesn't appear to exist in the 3.10 tree meta branch. bitbake -b linux-yocto-tiny_3.10 -c fetch reproduces. Did you miss pushing something? I don't manually push anything anymore, just my release scripts. I'll check to see if the infrastructure has let me down by re-running them now. .. and I did see the meta branch SRCREV push, and re-launched my builders. But all should be fine now. Sorry :( Bruce We're seeing failures on the autobuilder as I've merged this :/. Cheers, Richard -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] gcc: add patch to fix errors with Decimal64 type
[OE-core bug #6270] - https://bugzilla.yoctoproject.org/show_bug.cgi?id=6270 Signed-off-by: Alexandru-Cezar Sardan alexandru.sar...@freescale.com --- meta/recipes-devtools/gcc/gcc-4.9.inc |1 + ...-E500-SPE-errors-with-the-_Decimal64-type.patch | 98 2 files changed, 99 insertions(+) create mode 100644 meta/recipes-devtools/gcc/gcc-4.9/0052-Fix-GCC-targeting-E500-SPE-errors-with-the-_Decimal64-type.patch diff --git a/meta/recipes-devtools/gcc/gcc-4.9.inc b/meta/recipes-devtools/gcc/gcc-4.9.inc index a409430..9b4fc2c 100644 --- a/meta/recipes-devtools/gcc/gcc-4.9.inc +++ b/meta/recipes-devtools/gcc/gcc-4.9.inc @@ -65,6 +65,7 @@ SRC_URI = ${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \ file://0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch \ file://0050-Revert-Use-dbx_reg_number-for-spanning-registers.patch \ file://0051-eabispe.patch \ + file://0052-Fix-GCC-targeting-E500-SPE-errors-with-the-_Decimal64-type.patch \ SRC_URI[md5sum] = 9709b49ae0e904cbb0a6a1b62853b556 SRC_URI[sha256sum] = b9b047a97bade9c1c89970bc8e211ff57b7b8998a1730a80a653d329f8ed1257 diff --git a/meta/recipes-devtools/gcc/gcc-4.9/0052-Fix-GCC-targeting-E500-SPE-errors-with-the-_Decimal64-type.patch b/meta/recipes-devtools/gcc/gcc-4.9/0052-Fix-GCC-targeting-E500-SPE-errors-with-the-_Decimal64-type.patch new file mode 100644 index 000..ccfea9d --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-4.9/0052-Fix-GCC-targeting-E500-SPE-errors-with-the-_Decimal64-type.patch @@ -0,0 +1,98 @@ +From e44a6d438db4848c2a555be773568a3cf7994206 Mon Sep 17 00:00:00 2001 +From: Alexandru-Cezar Sardan alexandru.sar...@freescale.com +Date: Mon, 26 May 2014 12:11:13 +0300 +Subject: [PATCH] Fix E500 with SPE errors with the _Decimal64 type + +[gcc] +2014-04-21 Michael Meissner meiss...@linux.vnet.ibm.com + + PR target/60735 + * config/rs6000/rs6000.md (movmode_softfloat32, FMOVE64 case): + If mode is DDmode and TARGET_E500_DOUBLE allow move. + + * config/rs6000/rs6000.c (rs6000_debug_reg_global): Print some + more debug information for E500 if -mdebug=reg. + +[gcc/testsuite] +2014-04-21 Michael Meissner meiss...@linux.vnet.ibm.com + + PR target/60735 + * gcc.target/powerpc/pr60735.c: New test. Insure _Decimal64 does + not cause errors if -mspe. + +Upstream status: Accepted + +This solves upstream bug 60735 +(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60735). + +Patch taken from https://gcc.gnu.org/viewcvs/gcc?view=revisionrevision=209664 +--- + gcc/config/rs6000/rs6000.c | 18 ++ + gcc/config/rs6000/rs6000.md|3 ++- + gcc/testsuite/gcc.target/powerpc/pr60735.c | 11 +++ + 3 files changed, 31 insertions(+), 1 deletion(-) + create mode 100644 gcc/testsuite/gcc.target/powerpc/pr60735.c + +diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c +index 494efc5..6dcf440 100644 +--- a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c +@@ -2283,6 +2283,24 @@ rs6000_debug_reg_global (void) + if (rs6000_float_gprs) + fprintf (stderr, DEBUG_FMT_S, float_gprs, true); + ++ fprintf (stderr, DEBUG_FMT_S, fprs, ++ (TARGET_FPRS ? true : false)); ++ ++ fprintf (stderr, DEBUG_FMT_S, single_float, ++ (TARGET_SINGLE_FLOAT ? true : false)); ++ ++ fprintf (stderr, DEBUG_FMT_S, double_float, ++ (TARGET_DOUBLE_FLOAT ? true : false)); ++ ++ fprintf (stderr, DEBUG_FMT_S, soft_float, ++ (TARGET_SOFT_FLOAT ? true : false)); ++ ++ fprintf (stderr, DEBUG_FMT_S, e500_single, ++ (TARGET_E500_SINGLE ? true : false)); ++ ++ fprintf (stderr, DEBUG_FMT_S, e500_double, ++ (TARGET_E500_DOUBLE ? true : false)); ++ + if (TARGET_LINK_STACK) + fprintf (stderr, DEBUG_FMT_S, link_stack, true); + +diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md +index 64c9e7c..9cefe15 100644 +--- a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md +@@ -9395,7 +9395,8 @@ + (match_operand:FMOVE64 1 input_operand r,Y,r,G,H,F))] + ! TARGET_POWERPC64 + ((TARGET_FPRS TARGET_SINGLE_FLOAT) +- || TARGET_SOFT_FLOAT || TARGET_E500_SINGLE) ++ || TARGET_SOFT_FLOAT || TARGET_E500_SINGLE ++ || (MODEmode == DDmode TARGET_E500_DOUBLE)) + (gpc_reg_operand (operands[0], MODEmode) +|| gpc_reg_operand (operands[1], MODEmode)) + # +diff --git a/gcc/testsuite/gcc.target/powerpc/pr60735.c b/gcc/testsuite/gcc.target/powerpc/pr60735.c +new file mode 100644 +index 000..9bac30b +--- /dev/null b/gcc/testsuite/gcc.target/powerpc/pr60735.c +@@ -0,0 +1,11 @@ ++/* { dg-do compile } */ ++/* { dg-options -mcpu=8548 -mspe -mabi=spe -O2 } */ ++/* { dg-skip-if not an SPE target { ! powerpc_spe_nocache } { * } { } } */ ++ ++/* In PR60735, the type _Decimal64 generated an insn not found message. */ ++ ++void ++pr60735 (_Decimal64 *p,
Re: [OE-core] [PATCH 4/4] linux-yocto/3.10: bump kver to v3.10.40
On Wed, 2014-05-28 at 08:54 -0400, Bruce Ashfield wrote: On 14-05-28 04:36 AM, Richard Purdie wrote: On Mon, 2014-05-26 at 13:40 -0400, Bruce Ashfield wrote: diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_3.10.bb b/meta/recipes-kernel/linux/linux-yocto-tiny_3.10.bb index 7081cd18aa57..b1b80341d6d2 100644 --- a/meta/recipes-kernel/linux/linux-yocto-tiny_3.10.bb +++ b/meta/recipes-kernel/linux/linux-yocto-tiny_3.10.bb @@ -5,12 +5,12 @@ KBRANCH = ${KBRANCH_DEFAULT} LINUX_KERNEL_TYPE = tiny KCONFIG_MODE = --allnoconfig -LINUX_VERSION ?= 3.10.38 +LINUX_VERSION ?= 3.10.40 KMETA = meta -SRCREV_machine ?= 02f7e63e56c061617957388c23bd5cf9b05c5388 -SRCREV_meta ?= 617c6158c3d5b931f0d6131e0b0a7b374c792599 +SRCREV_machine ?= f53a6114b3a6e8c03ca4752de829887015f4c942 +SRCREV_meta ?= 13ae75f4a26fcd65abe526ef5f1dcde0583f453d We're seeing failures since 13ae75f4a26fcd65abe526ef5f1dcde0583f453d doesn't appear to exist in the 3.10 tree meta branch. bitbake -b linux-yocto-tiny_3.10 -c fetch reproduces. Did you miss pushing something? I don't manually push anything anymore, just my release scripts. I'll check to see if the infrastructure has let me down by re-running them now. .. and I did see the meta branch SRCREV push, and re-launched my builders. But all should be fine now. Sorry :( No problem, these things happen. We just need to figure out what happened and make sure it doesn't happen again. The commit is there now so I'm guessing that should fix the build failures. Cheers, Richard -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] grub_git: fix warning-error
This patch fixes a grub build error which is promoted to an error via -Werror. Signed-off-by: Trevor Woerner trevor.woer...@linaro.org Upstream-status: submitted --- ...l-grub-gen-asciih-fix-build-warning-error.patch | 44 ++ meta/recipes-bsp/grub/grub_git.bb | 1 + 2 files changed, 45 insertions(+) create mode 100644 meta/recipes-bsp/grub/grub/0001-util-grub-gen-asciih-fix-build-warning-error.patch diff --git a/meta/recipes-bsp/grub/grub/0001-util-grub-gen-asciih-fix-build-warning-error.patch b/meta/recipes-bsp/grub/grub/0001-util-grub-gen-asciih-fix-build-warning-error.patch new file mode 100644 index 000..cb46cad --- /dev/null +++ b/meta/recipes-bsp/grub/grub/0001-util-grub-gen-asciih-fix-build-warning-error.patch @@ -0,0 +1,44 @@ +From 9b8a9aafae67848cadb5961e5edbb34bea8987e1 Mon Sep 17 00:00:00 2001 +From: Trevor Woerner trevor.woer...@linaro.org +Date: Mon, 26 May 2014 12:58:50 -0400 +Subject: [PATCH] util/grub-gen-asciih: fix build warning-error + +Using a GCC 4.8.1 cross-compiler for ARM a may be used uninitialized in this +function warning is generated which is converted to an error via -Werror. +This patch eliminates the warning by initializing the structure then checking +it has been filled in correctly after calling add_glyph(). + +Signed-off-by: Trevor Woerner trevor.woer...@linaro.org +--- + util/grub-gen-asciih.c | 8 + 1 file changed, 8 insertions(+) + +diff --git a/util/grub-gen-asciih.c b/util/grub-gen-asciih.c +index e01447a..c143afd 100644 +--- a/util/grub-gen-asciih.c b/util/grub-gen-asciih.c +@@ -131,6 +131,8 @@ write_font_ascii_bitmap (FILE *file, FT_Face face) + struct grub_glyph_info glyph; + int char_code; + ++ memset (glyph, 0, sizeof(glyph)); ++ + fprintf (file, /* THIS CHUNK OF BYTES IS AUTOMATICALLY GENERATED */\n); + fprintf (file, unsigned char ascii_bitmaps[] =\n); + fprintf (file, {\n); +@@ -144,6 +146,12 @@ write_font_ascii_bitmap (FILE *file, FT_Face face) + return; + add_glyph (glyph_idx, face, char_code, glyph); + ++ if (glyph.bitmap == 0) ++{ ++ fprintf (stderr, grub-gen-asciih: add_glyph not successful); ++ exit (1); ++} ++ + if (glyph.width == 8 glyph.height == 16 + glyph.x_ofs == 0 glyph.y_ofs == 0) + { +-- +1.9.0 + diff --git a/meta/recipes-bsp/grub/grub_git.bb b/meta/recipes-bsp/grub/grub_git.bb index 1b9497c..e2e0bf0 100644 --- a/meta/recipes-bsp/grub/grub_git.bb +++ b/meta/recipes-bsp/grub/grub_git.bb @@ -22,6 +22,7 @@ SRC_URI = git://git.savannah.gnu.org/grub.git \ file://40_custom \ file://autogen.sh-exclude-pc.patch \ file://grub-2.00-add-oe-kernel.patch \ + file://0001-util-grub-gen-asciih-fix-build-warning-error.patch \ S = ${WORKDIR}/git -- 1.9.0 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 4/4] linux-yocto/3.10: bump kver to v3.10.40
On 14-05-28 09:47 AM, Richard Purdie wrote: On Wed, 2014-05-28 at 08:54 -0400, Bruce Ashfield wrote: On 14-05-28 04:36 AM, Richard Purdie wrote: On Mon, 2014-05-26 at 13:40 -0400, Bruce Ashfield wrote: diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_3.10.bb b/meta/recipes-kernel/linux/linux-yocto-tiny_3.10.bb index 7081cd18aa57..b1b80341d6d2 100644 --- a/meta/recipes-kernel/linux/linux-yocto-tiny_3.10.bb +++ b/meta/recipes-kernel/linux/linux-yocto-tiny_3.10.bb @@ -5,12 +5,12 @@ KBRANCH = ${KBRANCH_DEFAULT} LINUX_KERNEL_TYPE = tiny KCONFIG_MODE = --allnoconfig -LINUX_VERSION ?= 3.10.38 +LINUX_VERSION ?= 3.10.40 KMETA = meta -SRCREV_machine ?= 02f7e63e56c061617957388c23bd5cf9b05c5388 -SRCREV_meta ?= 617c6158c3d5b931f0d6131e0b0a7b374c792599 +SRCREV_machine ?= f53a6114b3a6e8c03ca4752de829887015f4c942 +SRCREV_meta ?= 13ae75f4a26fcd65abe526ef5f1dcde0583f453d We're seeing failures since 13ae75f4a26fcd65abe526ef5f1dcde0583f453d doesn't appear to exist in the 3.10 tree meta branch. bitbake -b linux-yocto-tiny_3.10 -c fetch reproduces. Did you miss pushing something? I don't manually push anything anymore, just my release scripts. I'll check to see if the infrastructure has let me down by re-running them now. .. and I did see the meta branch SRCREV push, and re-launched my builders. But all should be fine now. Sorry :( No problem, these things happen. We just need to figure out what happened and make sure it doesn't happen again. The commit is there now In this case, my scripts weren't checking for a return code on the push. Our gateway was *really* slow out of Ottawa over the past week and it looks like I hit a timeout. Bruce so I'm guessing that should fix the build failures. Cheers, Richard -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 1/1] strace: fix ptest execution failure
-Original Message- From: Saul Wold [mailto:s...@linux.intel.com] Sent: Tuesday, May 27, 2014 18:23 To: Tudor Florea; Chong Lu; openembedded-core@lists.openembedded.org Subject: Re: [OE-core] [PATCH 1/1] strace: fix ptest execution failure On 05/27/2014 08:16 AM, Tudor Florea wrote: -Original Message- From: openembedded-core-boun...@lists.openembedded.org [mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf Of Chong Lu Sent: Tuesday, May 27, 2014 10:03 To: openembedded-core@lists.openembedded.org Subject: [OE-core] [PATCH 1/1] strace: fix ptest execution failure Modify ptest suite to make it execute successfully. Signed-off-by: Chong Lu chong...@windriver.com --- meta/recipes-devtools/strace/strace-4.8/run-ptest | 2 +- meta/recipes-devtools/strace/strace_4.8.bb| 6 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/meta/recipes-devtools/strace/strace-4.8/run-ptest b/meta/recipes-devtools/strace/strace-4.8/run-ptest index 133cf92..66639fb 100755 --- a/meta/recipes-devtools/strace/strace-4.8/run-ptest +++ b/meta/recipes-devtools/strace/strace-4.8/run-ptest @@ -1,2 +1,2 @@ #!/bin/sh -make -C tests -k runtest-TESTS +make -C tests -k check-TESTS I have the same comment as in the previous patch. I'd rather use serial- tests in configure.ac file instead of this change. You mentioned a past patch not merged, can you rebase against master and resent if it's still appropriate? Thanks Sau! I'll review and resend the patch I a couple of days. Regards, Tudor. diff --git a/meta/recipes-devtools/strace/strace_4.8.bb b/meta/recipes- devtools/strace/strace_4.8.bb index 71563d4..9769cd4 100644 --- a/meta/recipes-devtools/strace/strace_4.8.bb +++ b/meta/recipes-devtools/strace/strace_4.8.bb @@ -41,6 +41,12 @@ do_compile_ptest() { do_install_ptest() { oe_runmake -C ${TESTDIR} install-ptest BUILDDIR=${B} DESTDIR=${D}${PTEST_PATH} TESTDIR=${TESTDIR} + install ${S}/test-driver ${D}${PTEST_PATH} + sed -e 's/bash/sh/' \ + -e 's/gawk/awk/' \ + -e 's/^top_srcdir = \(.*\)/top_srcdir = ../' \ + -e '/^all:/a\\t@:' \ + -i ${D}${PTEST_PATH}/${TESTDIR}/Makefile } BBCLASSEXTEND = native -- 1.8.1.2 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 0/2] Update timezone files to 2014c
On 05/28/2014 05:07 AM, Richard Purdie wrote: On Wed, 2014-05-28 at 11:40 +0100, Burton, Ross wrote: On 26 May 2014 22:05, Armin Kuster akuster...@gmail.com wrote: This updates both tzcode and tzdate to latest Please send patches using -M so they're easier to review. Also you put solaris instead of solar in the commit message. How did the license change from PD BSD to PD? Hmm, it shouldn’t. will correct with v2. regards, Armin Cheers, Richard -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 0/1] i2c-tools: Add i2c-tools to the core
On 5/28/14, 1:42, Richard Purdie richard.pur...@linuxfoundation.org wrote: On Tue, 2014-05-27 at 13:38 -0700, Darren Hart wrote: The following changes since commit f3d62a9eb9c47356e6150fdd55f790c159e620c7: eglinfo: updated to compile with mesa10+ (2014-05-27 16:11:55 +0100) are available in the git repository at: git://git.yoctoproject.org/poky-contrib dvhart/i2c-tools http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=dvhart/i2c-tools Darren Hart (1): i2c-tools: Add i2c-tools to the core meta/recipes-devtools/i2c-tools/files/Module.mk| 72 .../i2c-tools/i2c-tools-3.1.0/Module.mk| 72 meta/recipes-devtools/i2c-tools/i2c-tools_3.1.0.bb | 26 +++ 3 files changed, 170 insertions(+) create mode 100644 meta/recipes-devtools/i2c-tools/files/Module.mk create mode 100644 meta/recipes-devtools/i2c-tools/i2c-tools-3.1.0/Module.mk create mode 100644 meta/recipes-devtools/i2c-tools/i2c-tools_3.1.0.bb I merged this, I've said I wanted this patch for long enough to multiple people, thanks! :) I removed the duplicate Module.mk file... Oops, thanks. What follow-up is necessary/appropriate with meta-oe? -- Darren Hart Open Source Technology Center darren.h...@intel.com Intel Corporation -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 0/1] i2c-tools: Add i2c-tools to the core
On Wed, May 28, 2014 at 7:44 AM, Darren Hart dvh...@linux.intel.com wrote: What follow-up is necessary/appropriate with meta-oe? send a patch to delete the recipe from meta-openembedded -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 0/2] Update timezone files to 2014c
On 05/28/2014 03:40 AM, Burton, Ross wrote: On 26 May 2014 22:05, Armin Kuster akuster...@gmail.com wrote: This updates both tzcode and tzdate to latest Please send patches using -M so they're easier to review. Will do. Also you put solaris instead of solar in the commit message. I will fix thanks Armin Ross -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH 0/2] IPK_HIERARCHICAL_FEED support
This is a follow up to the RFC patches I sent out a few weeks ago. I've finally had time to finish up the work and give it another round of testing. Everything looks good both with and without IPK_HIERARCHICAL_FEED set. I've tested that it is possible to install from a hierarchical feed using opkg on qemuarm. Paul Barker (2): opkg-utils: Update SRCREV package_ipk.bbclass: Support hierarchical feed meta/classes/package_ipk.bbclass | 27 +- meta/conf/local.conf.sample.extended | 23 ++ meta/recipes-devtools/opkg-utils/opkg-utils_git.bb | 2 +- 3 files changed, 50 insertions(+), 2 deletions(-) -- 1.9.3 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH 1/2] opkg-utils: Update SRCREV
Recent changes in opkg-utils allow package files to be stored in a different directory to the package index if desired. Signed-off-by: Paul Barker p...@paulbarker.me.uk --- meta/recipes-devtools/opkg-utils/opkg-utils_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb b/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb index 54cfe54..2d16660 100644 --- a/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb +++ b/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ file://opkg.py;beginline=1;endline=18;md5=15917491ad6bf7acc666ca5f7cc1e083 PROVIDES += virtual/update-alternatives -SRCREV = c33b217016ee911718b10c9d57f9912935baf5a9 +SRCREV = d14458499af7dd41d8e424946c164961421b0ddb PV = 0.1.8+git${SRCPV} SRC_URI = git://git.yoctoproject.org/opkg-utils -- 1.9.3 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] OE Changelog since 2014-05-18 until 2014-05-25
Changelog since 2014-05-18 until 2014-05-25. Projects included in this report: bitbake: git://git.openembedded.org/bitbake openembedded-core: git://git.openembedded.org/openembedded-core meta-openembedded: git://git.openembedded.org/meta-openembedded meta-angstrom: git://github.com/Angstrom-distribution/meta-angstrom.git meta-arago: git://arago-project.org/git/meta-arago.git meta-beagleboard: git://github.com/beagleboard/meta-beagleboard.git meta-browser: git://github.com/OSSystems/meta-browser.git meta-bug: git://github.com/buglabs/meta-bug.git meta-chicken: git://github.com/OSSystems/meta-chicken meta-efikamx: git://github.com/kraj/meta-efikamx.git meta-ettus: http://github.com/koenkooi/meta-ettus.git meta-fsl-arm: git://git.yoctoproject.org/meta-fsl-arm meta-fsl-arm-extra: git://github.com/Freescale/meta-fsl-arm-extra.git meta-fsl-ppc: git://git.yoctoproject.org/meta-fsl-ppc meta-guacamayo: git://github.com/Guacamayo/meta-guacamayo.git meta-gumstix: git://github.com/gumstix/meta-gumstix.git meta-gumstix-community: git://gitorious.org/schnitzeltony-oe-meta/meta-gumstix-community.git meta-handheld: git://git.openembedded.org/meta-handheld meta-igep: http://github.com/ebutera/meta-igep.git meta-intel: git://git.yoctoproject.org/meta-intel meta-ivi: git://git.yoctoproject.org/meta-ivi meta-java: git://github.com/woglinde/meta-java meta-kde: git://gitorious.org/openembedded-core-layers/meta-kde.git meta-micro: git://git.openembedded.org/meta-micro meta-mono: git://git.yoctoproject.org/meta-mono.git meta-netbookpro: git://github.com/tworaz/meta-netbookpro meta-nslu2: git://github.com/kraj/meta-nslu2 meta-opie: git://git.openembedded.org/meta-opie meta-qt3: git://git.yoctoproject.org/meta-qt3 meta-qt5: git://github.com/meta-qt5/meta-qt5.git meta-slugos: git://github.com/kraj/meta-slugos meta-systemd: git://git.yoctoproject.org/meta-systemd meta-raspberrypi: git://github.com/djwillis/meta-raspberrypi.git meta-smartphone: http://git.shr-project.org/repo/meta-smartphone.git meta-ti: git://git.yoctoproject.org/meta-ti meta-webos: git://github.com/openwebos/meta-webos.git meta-xilinx: git://git.yoctoproject.org/meta-xilinx meta-yocto: git://git.yoctoproject.org/meta-yocto openembedded: git://git.openembedded.org/openembedded Changelog for bitbake: Chris Morgan (1): fetch2/gitsm: Documentation improvements for gitsm:// fetcher David Reyna (1): toaster: reduce redundant foreign key lookups Farrell Wymore (1): toaster: sort columns properly after edit columns Ionut Chisanovici (1): toaster: toaster oe-selftest support Richard Purdie (1): data_smart: Fix an unusual variable reference bug Changelog for openembedded-core: Chen Qi (4): udev-extraconf: fix the misuse of /run/media init-live.sh: list block devices correctly initrdscripts: fix for /run/media runqemu-internal: add console=ttyS0 to ramfs image kernel parameters Chong Lu (6): syslinux-native: fix parallel building issue libpcre: Update to 8.35 version quilt: Update to 0.63 version flex: Update to 2.5.39 version byacc: Update to 20140422 version guile: Update to 2.0.11 version Cristian Iorga (2): harfbuzz: upgrade to 0.9.28 bluez5: upgrade to 5.19 Cristiana Voicu (1): packagegroup-core-lsb: fix warning text João Henrique Ferreira de Freitas (2): wic: add support to look in all layers and get .wks file wic: add support to look in all layers and get plugins Li Wang (2): nss: CVE-2014-1492 nss: CVE-2013-1740 Martin Jansa (1): lttng-modules: Fix build with older kernels for 2.3.3 as 2.4.0 Paul Eggleton (2): libav: upgrade 0.8.x version to 0.8.11 libav: upgrade 9.x version to 9.13 Peter Seebach (1): pseudo: handle fchmodat better, mask out unwanted write bits Philip Balister (1): python-native : Add patch to fix configure error with gcc 4.8. Richard Purdie (1): taglib: Force a disable of the floating dependency on boost Robert Yang (1): initramfs-live-install: avoid using grub.d/40_custom Ross Burton (2): pango: enable ptest perl: stop perl-modules recommending perl-ptest Roy Li (2): lttng-tools: fix alignment issue babeltrace: fix alignment issue Saul Wold (2): libusb1: disable floating dependency on udev cups: fix for cups not building without avahi Sebastian Wiegand (2): distro_features_check.bbclass: fix wrong indentation distro_features_check.bbclass: fix searching whole list Tim Orling (4): mirrors.bbclass: add ${CPAN_MIRROR} option bitbake.conf: add default ${CPAN_MIRROR} wayland: upgrade to 1.5.0 weston: upgrade to 1.5.0 Valentin Popa (2): dri3proto: add it to oe-core libxshmfence: add it to oe-core Yue Tao (22): Screen: fix for Security Advisory CVE-2009-1214 screen: fix for Security Advisory CVE-2009-1215 subversion: fix for Security Advisory CVE-2013-1849 subversion: fix for Security Advisory CVE-2013-4505 subversion: fix for
[OE-core] [PATCH 2/2] package_ipk.bbclass: Support hierarchical feed
This patch allows for an optional new layout for ipk feed directories which I've called a 'hierarchical feed' and is based on how Debian pools package files. It is disabled by default and is enabled by setting IPK_HIERARCHICAL_FEED to 1. In the traditional feed layout, package files are placed in outdir/arch/. This can lead to several thousand files existing in a single directory which is often a problem if developers want to upload a package feed to a shared web hosting provider. For example, in my case, listing files via FTP only shows the first 2000 files, breaking my scripts which attempt to upload only new and changed files via FTP. In the hierarchical feed, package files are written to outdir/arch/pkg_prefix/pkg_subdir, where pkg_prefix is the first letter of the package file name for non-lib packages or lib plus the 4th letter of the package file name for lib packages (eg, 'l' for less, 'libc' for libc6). pkg_subdir is the root of the package file name, discarding the version and architecture parts and the common suffixes '-dbg', '-dev', '-doc', '-staticdev', '-locale' and '-locale-*' which are listed in meta/conf/bitbake.conf. This change relies on recent patches to opkg-utils which support hierarchical package feeds. Signed-off-by: Paul Barker p...@paulbarker.me.uk --- meta/classes/package_ipk.bbclass | 27 ++- meta/conf/local.conf.sample.extended | 23 +++ 2 files changed, 49 insertions(+), 1 deletion(-) diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass index 2949d1d..9586e06 100644 --- a/meta/classes/package_ipk.bbclass +++ b/meta/classes/package_ipk.bbclass @@ -63,7 +63,32 @@ python do_package_ipk () { bb.data.update_data(localdata) basedir = os.path.join(os.path.dirname(root)) arch = localdata.getVar('PACKAGE_ARCH', True) -pkgoutdir = %s/%s % (outdir, arch) + +if localdata.getVar('IPK_HIERARCHICAL_FEED') == 1: +# Spread packages across subdirectories so each isn't too crowded +if pkgname.startswith('lib'): +pkg_prefix = 'lib' + pkgname[3] +else: +pkg_prefix = pkgname[0] + +# Keep -dbg, -dev, -doc, -staticdev, -locale and -locale-* packages +# together. These package suffixes are taken from the definitions of +# PACKAGES and PACKAGES_DYNAMIC in meta/conf/bitbake.conf +if pkgname[-4:] in ('-dbg', '-dev', '-doc'): +pkg_subdir = pkgname[:-4] +elif pkgname.endswith('-staticdev'): +pkg_subdir = pkgname[:-10] +elif pkgname.endswith('-locale'): +pkg_subdir = pkgname[:-7] +elif '-locale-' in pkgname: +pkg_subdir = pkgname[:pkgname.find('-locale-')] +else: +pkg_subdir = pkgname + +pkgoutdir = %s/%s/%s/%s % (outdir, arch, pkg_prefix, pkg_subdir) +else: +pkgoutdir = %s/%s % (outdir, arch) + bb.utils.mkdirhier(pkgoutdir) os.chdir(root) cleanupcontrol(root) diff --git a/meta/conf/local.conf.sample.extended b/meta/conf/local.conf.sample.extended index a1f2464..e4f596a 100644 --- a/meta/conf/local.conf.sample.extended +++ b/meta/conf/local.conf.sample.extended @@ -310,3 +310,26 @@ #INITRAMFS_IMAGE = core-image-minimal-initramfs #INITRAMFS_IMAGE_BUNDLE = 1 +# +# IPK Hierarchical feed +# +# In some cases it may be desirable not to have all package files in the same +# directory. An example would be when package feeds are to be uploaded to a +# shared webhosting service or transferred to a Windows machine which may have +# problems with directories containing multiple thousands of files. +# +# If the IPK_HIERARCHICAL_FEED variable is set to 1, packages will be split +# between subdirectories in a similar way to how Debian package feeds are +# organised. In the hierarchical feed, package files are written to +# outdir/arch/pkg_prefix/pkg_subdir, where pkg_prefix is the first +# letter of the package file name for non-lib packages or lib plus the 4th +# letter of the package file name for lib packages (eg, 'l' for less, 'libc' for +# libc6). pkg_subdir is the root of the package file name, discarding the +# version and architecture parts and the common suffixes '-dbg', '-dev', '-doc', +# '-staticdev', '-locale' and '-locale-*' which are listed in +# meta/conf/bitbake.conf. +# +# If IPK_HIERARCHICAL_FEED is unset or set to any other value, the traditional +# feed layout is used where package files are placed in outdir/arch/. +# +#IPK_HIERARCHICAL_FEED = 1 -- 1.9.3 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] sstatesig: Move saferecipedeps handling to be earlier
We want to use the saferecipedeps handling code to allow gcc-cross-* to work on multiple different tunes. Its currently in target only code so it needs to be earlier to allow it to work on native- target dependencies. This change has no effect on existing uses but makes gcc-cross become shared as desired. Signed-off-by: Richard Purdie richard.pur...@linuxfoundation.org diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py index 40f9974..acff2a0 100644 --- a/meta/lib/oe/sstatesig.py +++ b/meta/lib/oe/sstatesig.py @@ -26,6 +26,10 @@ def sstate_rundepfilter(siggen, fn, recipename, task, dep, depname, dataCache): if depname in excludelist and recipename != depname: return False +# Exclude well defined recipe-dependency +if %s-%s % (recipename, depname) in siggen.saferecipedeps: +return False + # Don't change native/cross/nativesdk recipe dependencies any further if isNative(recipename) or isCross(recipename) or isNativeSDK(recipename): return True @@ -40,10 +44,6 @@ def sstate_rundepfilter(siggen, fn, recipename, task, dep, depname, dataCache): if depname in siggen.abisaferecipes and not isImage(fn): return False -# Exclude well defined recipe-dependency -if %s-%s % (recipename, depname) in siggen.saferecipedeps: -return False - # Kernel modules are well namespaced. We don't want to depend on the kernel's checksum # if we're just doing an RRECOMMENDS_xxx = kernel-module-*, not least because the checksum # is machine specific. -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH 1/1] ethtool: use serial-tests config needed by ptest.
buildtest-TESTS and runtest-TESTS targets are required by ptest. In order to have those targets in automake 1.13.4 serial-tests should be specified since parallel-tests is assumed by default and serial-tests is optional. ptest results: PASS: test-cmdline PASS: test-features == All 2 tests passed == Signed-off-by: Tudor Florea tudor.flo...@enea.com --- .../ethtool/ethtool/avoid_parallel_tests.patch | 19 +++ meta/recipes-extended/ethtool/ethtool_3.14.bb |6 -- 2 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-extended/ethtool/ethtool/avoid_parallel_tests.patch diff --git a/meta/recipes-extended/ethtool/ethtool/avoid_parallel_tests.patch b/meta/recipes-extended/ethtool/ethtool/avoid_parallel_tests.patch new file mode 100644 index 000..bf66267 --- /dev/null +++ b/meta/recipes-extended/ethtool/ethtool/avoid_parallel_tests.patch @@ -0,0 +1,19 @@ +ptest needs buildtest-TESTS and runtest-TESTS targets. +serial-tests is required to generate those targets. + +Signed-off-by: Tudor Florea tudor.flo...@enea.com +Upstream-Status: Inappropriate +(default automake behavior incompatible with ptest) + +diff -ruN a/configure.ac b/configure.ac +--- a/configure.ac 2014-05-28 18:19:13.513980977 +0200 b/configure.ac 2014-05-28 18:19:21.129660215 +0200 +@@ -2,7 +2,7 @@ + AC_INIT(ethtool, 3.14, net...@vger.kernel.org) + AC_PREREQ(2.52) + AC_CONFIG_SRCDIR([ethtool.c]) +-AM_INIT_AUTOMAKE([gnu]) ++AM_INIT_AUTOMAKE([gnu serial-tests]) + AC_CONFIG_HEADERS([ethtool-config.h]) + + AM_MAINTAINER_MODE diff --git a/meta/recipes-extended/ethtool/ethtool_3.14.bb b/meta/recipes-extended/ethtool/ethtool_3.14.bb index 2a3ca70..49c79b6 100644 --- a/meta/recipes-extended/ethtool/ethtool_3.14.bb +++ b/meta/recipes-extended/ethtool/ethtool_3.14.bb @@ -7,7 +7,9 @@ LIC_FILES_CHKSUM = file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ file://ethtool.c;beginline=4;endline=17;md5=c19b30548c582577fc6b443626fc1216 SRC_URI = ${KERNELORG_MIRROR}/software/network/ethtool/ethtool-${PV}.tar.gz \ - file://run-ptest + file://run-ptest \ + file://avoid_parallel_tests.patch \ + SRC_URI[md5sum] = 997e20c25c43ad5800f8ae3204455a8a SRC_URI[sha256sum] = b1a988d6e397bd9d5d73cfd64329f85121936a050174bbfe90f8701fd893a1df @@ -16,7 +18,7 @@ inherit autotools ptest RDEPENDS_${PN}-ptest += make do_compile_ptest() { - oe_runmake test-cmdline test-features + oe_runmake buildtest-TESTS } do_install_ptest () { -- 1.7.10.4 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH] sstatesig: Move saferecipedeps handling to be earlier
On 28 May 2014 17:38, Richard Purdie richard.pur...@linuxfoundation.org wrote: This change has no effect on existing uses but makes gcc-cross become shared as desired. As the reporter of the problem to Richard I confirm that this fixes the problem. Ross -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH] grub_git: fix warning-error
On Wed, May 28, 2014 at 6:26 AM, Trevor Woerner trevor.woer...@linaro.org wrote: This patch fixes a grub build error which is promoted to an error via -Werror. Signed-off-by: Trevor Woerner trevor.woer...@linaro.org Upstream-status: submitted - Upstream-status should appear in component source patch header not overall OE patch header. -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH] gcc: add patch to fix errors with Decimal64 type
On Wed, May 28, 2014 at 6:24 AM, Alexandru-Cezar Sardan alexandru.sar...@freescale.com wrote: [OE-core bug #6270] - https://bugzilla.yoctoproject.org/show_bug.cgi?id=6270 This looks good. Signed-off-by: Alexandru-Cezar Sardan alexandru.sar...@freescale.com --- meta/recipes-devtools/gcc/gcc-4.9.inc |1 + ...-E500-SPE-errors-with-the-_Decimal64-type.patch | 98 2 files changed, 99 insertions(+) create mode 100644 meta/recipes-devtools/gcc/gcc-4.9/0052-Fix-GCC-targeting-E500-SPE-errors-with-the-_Decimal64-type.patch diff --git a/meta/recipes-devtools/gcc/gcc-4.9.inc b/meta/recipes-devtools/gcc/gcc-4.9.inc index a409430..9b4fc2c 100644 --- a/meta/recipes-devtools/gcc/gcc-4.9.inc +++ b/meta/recipes-devtools/gcc/gcc-4.9.inc @@ -65,6 +65,7 @@ SRC_URI = ${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \ file://0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch \ file://0050-Revert-Use-dbx_reg_number-for-spanning-registers.patch \ file://0051-eabispe.patch \ + file://0052-Fix-GCC-targeting-E500-SPE-errors-with-the-_Decimal64-type.patch \ SRC_URI[md5sum] = 9709b49ae0e904cbb0a6a1b62853b556 SRC_URI[sha256sum] = b9b047a97bade9c1c89970bc8e211ff57b7b8998a1730a80a653d329f8ed1257 diff --git a/meta/recipes-devtools/gcc/gcc-4.9/0052-Fix-GCC-targeting-E500-SPE-errors-with-the-_Decimal64-type.patch b/meta/recipes-devtools/gcc/gcc-4.9/0052-Fix-GCC-targeting-E500-SPE-errors-with-the-_Decimal64-type.patch new file mode 100644 index 000..ccfea9d --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-4.9/0052-Fix-GCC-targeting-E500-SPE-errors-with-the-_Decimal64-type.patch @@ -0,0 +1,98 @@ +From e44a6d438db4848c2a555be773568a3cf7994206 Mon Sep 17 00:00:00 2001 +From: Alexandru-Cezar Sardan alexandru.sar...@freescale.com +Date: Mon, 26 May 2014 12:11:13 +0300 +Subject: [PATCH] Fix E500 with SPE errors with the _Decimal64 type + +[gcc] +2014-04-21 Michael Meissner meiss...@linux.vnet.ibm.com + + PR target/60735 + * config/rs6000/rs6000.md (movmode_softfloat32, FMOVE64 case): + If mode is DDmode and TARGET_E500_DOUBLE allow move. + + * config/rs6000/rs6000.c (rs6000_debug_reg_global): Print some + more debug information for E500 if -mdebug=reg. + +[gcc/testsuite] +2014-04-21 Michael Meissner meiss...@linux.vnet.ibm.com + + PR target/60735 + * gcc.target/powerpc/pr60735.c: New test. Insure _Decimal64 does + not cause errors if -mspe. + +Upstream status: Accepted + +This solves upstream bug 60735 +(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60735). + +Patch taken from https://gcc.gnu.org/viewcvs/gcc?view=revisionrevision=209664 +--- + gcc/config/rs6000/rs6000.c | 18 ++ + gcc/config/rs6000/rs6000.md|3 ++- + gcc/testsuite/gcc.target/powerpc/pr60735.c | 11 +++ + 3 files changed, 31 insertions(+), 1 deletion(-) + create mode 100644 gcc/testsuite/gcc.target/powerpc/pr60735.c + +diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c +index 494efc5..6dcf440 100644 +--- a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c +@@ -2283,6 +2283,24 @@ rs6000_debug_reg_global (void) + if (rs6000_float_gprs) + fprintf (stderr, DEBUG_FMT_S, float_gprs, true); + ++ fprintf (stderr, DEBUG_FMT_S, fprs, ++ (TARGET_FPRS ? true : false)); ++ ++ fprintf (stderr, DEBUG_FMT_S, single_float, ++ (TARGET_SINGLE_FLOAT ? true : false)); ++ ++ fprintf (stderr, DEBUG_FMT_S, double_float, ++ (TARGET_DOUBLE_FLOAT ? true : false)); ++ ++ fprintf (stderr, DEBUG_FMT_S, soft_float, ++ (TARGET_SOFT_FLOAT ? true : false)); ++ ++ fprintf (stderr, DEBUG_FMT_S, e500_single, ++ (TARGET_E500_SINGLE ? true : false)); ++ ++ fprintf (stderr, DEBUG_FMT_S, e500_double, ++ (TARGET_E500_DOUBLE ? true : false)); ++ + if (TARGET_LINK_STACK) + fprintf (stderr, DEBUG_FMT_S, link_stack, true); + +diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md +index 64c9e7c..9cefe15 100644 +--- a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md +@@ -9395,7 +9395,8 @@ + (match_operand:FMOVE64 1 input_operand r,Y,r,G,H,F))] + ! TARGET_POWERPC64 + ((TARGET_FPRS TARGET_SINGLE_FLOAT) +- || TARGET_SOFT_FLOAT || TARGET_E500_SINGLE) ++ || TARGET_SOFT_FLOAT || TARGET_E500_SINGLE ++ || (MODEmode == DDmode TARGET_E500_DOUBLE)) + (gpc_reg_operand (operands[0], MODEmode) +|| gpc_reg_operand (operands[1], MODEmode)) + # +diff --git a/gcc/testsuite/gcc.target/powerpc/pr60735.c b/gcc/testsuite/gcc.target/powerpc/pr60735.c +new file mode 100644 +index 000..9bac30b +--- /dev/null b/gcc/testsuite/gcc.target/powerpc/pr60735.c +@@ -0,0 +1,11 @@ ++/* { dg-do compile } */ ++/* { dg-options
Re: [OE-core] [PATCH] gcc: add patch to fix errors with Decimal64 type
Saul can you cherry-pick http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/gcc-4.9id=c5f8c01c48afebc8a9987dc09f87e37520b94e25 along with this one now On Wed, May 28, 2014 at 12:58 PM, Khem Raj raj.k...@gmail.com wrote: On Wed, May 28, 2014 at 6:24 AM, Alexandru-Cezar Sardan alexandru.sar...@freescale.com wrote: [OE-core bug #6270] - https://bugzilla.yoctoproject.org/show_bug.cgi?id=6270 This looks good. Signed-off-by: Alexandru-Cezar Sardan alexandru.sar...@freescale.com --- meta/recipes-devtools/gcc/gcc-4.9.inc |1 + ...-E500-SPE-errors-with-the-_Decimal64-type.patch | 98 2 files changed, 99 insertions(+) create mode 100644 meta/recipes-devtools/gcc/gcc-4.9/0052-Fix-GCC-targeting-E500-SPE-errors-with-the-_Decimal64-type.patch diff --git a/meta/recipes-devtools/gcc/gcc-4.9.inc b/meta/recipes-devtools/gcc/gcc-4.9.inc index a409430..9b4fc2c 100644 --- a/meta/recipes-devtools/gcc/gcc-4.9.inc +++ b/meta/recipes-devtools/gcc/gcc-4.9.inc @@ -65,6 +65,7 @@ SRC_URI = ${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \ file://0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch \ file://0050-Revert-Use-dbx_reg_number-for-spanning-registers.patch \ file://0051-eabispe.patch \ + file://0052-Fix-GCC-targeting-E500-SPE-errors-with-the-_Decimal64-type.patch \ SRC_URI[md5sum] = 9709b49ae0e904cbb0a6a1b62853b556 SRC_URI[sha256sum] = b9b047a97bade9c1c89970bc8e211ff57b7b8998a1730a80a653d329f8ed1257 diff --git a/meta/recipes-devtools/gcc/gcc-4.9/0052-Fix-GCC-targeting-E500-SPE-errors-with-the-_Decimal64-type.patch b/meta/recipes-devtools/gcc/gcc-4.9/0052-Fix-GCC-targeting-E500-SPE-errors-with-the-_Decimal64-type.patch new file mode 100644 index 000..ccfea9d --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-4.9/0052-Fix-GCC-targeting-E500-SPE-errors-with-the-_Decimal64-type.patch @@ -0,0 +1,98 @@ +From e44a6d438db4848c2a555be773568a3cf7994206 Mon Sep 17 00:00:00 2001 +From: Alexandru-Cezar Sardan alexandru.sar...@freescale.com +Date: Mon, 26 May 2014 12:11:13 +0300 +Subject: [PATCH] Fix E500 with SPE errors with the _Decimal64 type + +[gcc] +2014-04-21 Michael Meissner meiss...@linux.vnet.ibm.com + + PR target/60735 + * config/rs6000/rs6000.md (movmode_softfloat32, FMOVE64 case): + If mode is DDmode and TARGET_E500_DOUBLE allow move. + + * config/rs6000/rs6000.c (rs6000_debug_reg_global): Print some + more debug information for E500 if -mdebug=reg. + +[gcc/testsuite] +2014-04-21 Michael Meissner meiss...@linux.vnet.ibm.com + + PR target/60735 + * gcc.target/powerpc/pr60735.c: New test. Insure _Decimal64 does + not cause errors if -mspe. + +Upstream status: Accepted + +This solves upstream bug 60735 +(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60735). + +Patch taken from https://gcc.gnu.org/viewcvs/gcc?view=revisionrevision=209664 +--- + gcc/config/rs6000/rs6000.c | 18 ++ + gcc/config/rs6000/rs6000.md|3 ++- + gcc/testsuite/gcc.target/powerpc/pr60735.c | 11 +++ + 3 files changed, 31 insertions(+), 1 deletion(-) + create mode 100644 gcc/testsuite/gcc.target/powerpc/pr60735.c + +diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c +index 494efc5..6dcf440 100644 +--- a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c +@@ -2283,6 +2283,24 @@ rs6000_debug_reg_global (void) + if (rs6000_float_gprs) + fprintf (stderr, DEBUG_FMT_S, float_gprs, true); + ++ fprintf (stderr, DEBUG_FMT_S, fprs, ++ (TARGET_FPRS ? true : false)); ++ ++ fprintf (stderr, DEBUG_FMT_S, single_float, ++ (TARGET_SINGLE_FLOAT ? true : false)); ++ ++ fprintf (stderr, DEBUG_FMT_S, double_float, ++ (TARGET_DOUBLE_FLOAT ? true : false)); ++ ++ fprintf (stderr, DEBUG_FMT_S, soft_float, ++ (TARGET_SOFT_FLOAT ? true : false)); ++ ++ fprintf (stderr, DEBUG_FMT_S, e500_single, ++ (TARGET_E500_SINGLE ? true : false)); ++ ++ fprintf (stderr, DEBUG_FMT_S, e500_double, ++ (TARGET_E500_DOUBLE ? true : false)); ++ + if (TARGET_LINK_STACK) + fprintf (stderr, DEBUG_FMT_S, link_stack, true); + +diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md +index 64c9e7c..9cefe15 100644 +--- a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md +@@ -9395,7 +9395,8 @@ + (match_operand:FMOVE64 1 input_operand r,Y,r,G,H,F))] + ! TARGET_POWERPC64 + ((TARGET_FPRS TARGET_SINGLE_FLOAT) +- || TARGET_SOFT_FLOAT || TARGET_E500_SINGLE) ++ || TARGET_SOFT_FLOAT || TARGET_E500_SINGLE ++ || (MODEmode == DDmode TARGET_E500_DOUBLE)) + (gpc_reg_operand (operands[0], MODEmode) +|| gpc_reg_operand (operands[1], MODEmode)) + # +diff --git
Re: [OE-core] [OE-Core][PATCH] gzip: Avoid host contamination during build
On Tue, May 27, 2014 at 4:38 PM, Dan McGregor danismostlik...@gmail.com wrote: +EXTRA_OEMAKE = GREP=${base_bindir}/grep is this grep path encoded into gzip and then referred when running ? -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] How to find out why shared sstate is not being used for a recipe
On Mon, May 26, 2014 at 11:58 PM, Mike Looijmans mike.looijm...@topic.nl wrote: I have a deja-vu feeling about this question. I have this recipe: https://github.com/topic-embedded-products/meta-topic/blob/master/recipes-bsp/fpga/fpga-image-miami.bb Which includes this one: https://github.com/topic-embedded-products/meta-topic/blob/master/recipes-bsp/fpga/fpga-image.inc I have a build server that exports its sstate-cache directory through HTTP, and a local host that attempts to use that sstate-cache. This works fine, except for the recipe above. Building this recipe takes about 1 hour, so i really really really want to share that state at any cost. As you can see, I've done a big shotgun blast of vardepdsexclude to get the recipe to be as common as possible. Still any host wants to build its own version. How can I diagnose the REASON that my machine thinks it isn't building the exact same thing as the build server? see https://wiki.yoctoproject.org/wiki/Enable_sstate_cache towards the end it talks about verifying sstate sigs Met vriendelijke groet / kind regards, Mike Looijmans TOPIC Embedded Systems Eindhovenseweg 32-C, NL-5683 KH Best Postbus 440, NL-5680 AK Best Telefoon: (+31) (0) 499 33 69 79 Telefax: (+31) (0) 499 33 69 70 E-mail: mike.looijm...@topic.nl Website: www.topic.nl Please consider the environment before printing this e-mail Visit us at MEDTEC Europe 3-5 June, Messe Stuttgart, stand number 5D20 http://medteceurope.com/index.php?page=home-en -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] How to find out why shared sstate is not being used for a recipe
On Wed, May 28, 2014 at 1:42 PM, Khem Raj raj.k...@gmail.com wrote: On Mon, May 26, 2014 at 11:58 PM, Mike Looijmans mike.looijm...@topic.nl wrote: I have a deja-vu feeling about this question. I have this recipe: https://github.com/topic-embedded-products/meta-topic/blob/master/recipes-bsp/fpga/fpga-image-miami.bb Which includes this one: https://github.com/topic-embedded-products/meta-topic/blob/master/recipes-bsp/fpga/fpga-image.inc I have a build server that exports its sstate-cache directory through HTTP, and a local host that attempts to use that sstate-cache. This works fine, except for the recipe above. Building this recipe takes about 1 hour, so i really really really want to share that state at any cost. As you can see, I've done a big shotgun blast of vardepdsexclude to get the recipe to be as common as possible. Still any host wants to build its own version. How can I diagnose the REASON that my machine thinks it isn't building the exact same thing as the build server? see https://wiki.yoctoproject.org/wiki/Enable_sstate_cache towards the end it talks about verifying sstate sigs If the sstate is local at least, you can use bitbake -S printdiff target. There's also bitbake-whatchanged, but the bitbake one is superior. -- Christopher Larson clarson at kergoth dot com Founder - BitBake, OpenEmbedded, OpenZaurus Maintainer - Tslib Senior Software Engineer, Mentor Graphics -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH 0/2 V2] Update timezone files to 2014c
This updates both tzcode and tzdate to latest V2: License correction Solar type correction Armin Kuster (2): Update tzdata to 2014c Update tzcode to 2014c .../recipes-extended/tzcode/tzcode-native_2013i.bb | 26 --- .../recipes-extended/tzcode/tzcode-native_2014c.bb | 25 +++ meta/recipes-extended/tzdata/tzdata_2013i.bb | 206 - meta/recipes-extended/tzdata/tzdata_2014c.bb | 205 4 files changed, 230 insertions(+), 232 deletions(-) delete mode 100644 meta/recipes-extended/tzcode/tzcode-native_2013i.bb create mode 100644 meta/recipes-extended/tzcode/tzcode-native_2014c.bb delete mode 100644 meta/recipes-extended/tzdata/tzdata_2013i.bb create mode 100644 meta/recipes-extended/tzdata/tzdata_2014c.bb -- 1.9.1 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH 1/2 V2] Update tzdata to 2014c
Removed solar-time experiment as per http://mm.icann.org/pipermail/tz/2013-November/020488.html Signed-off-by: Armin Kuster akus...@mvista.com --- meta/recipes-extended/tzdata/tzdata_2013i.bb | 206 --- meta/recipes-extended/tzdata/tzdata_2014c.bb | 205 ++ 2 files changed, 205 insertions(+), 206 deletions(-) delete mode 100644 meta/recipes-extended/tzdata/tzdata_2013i.bb create mode 100644 meta/recipes-extended/tzdata/tzdata_2014c.bb diff --git a/meta/recipes-extended/tzdata/tzdata_2013i.bb b/meta/recipes-extended/tzdata/tzdata_2013i.bb deleted file mode 100644 index 4179b44..000 --- a/meta/recipes-extended/tzdata/tzdata_2013i.bb +++ /dev/null @@ -1,206 +0,0 @@ -SUMMARY = Timezone database -HOMEPAGE = ftp://elsie.nci.nih.gov/pub/; -SECTION = base -LICENSE = PD BSD -LIC_FILES_CHKSUM = file://asia;beginline=2;endline=3;md5=06468c0e84ef4d4c97045a4a29b08234 \ -file://README;md5=0b7570113550eb5d30aa4bd220964b8f -DEPENDS = tzcode-native - -inherit allarch - -RCONFLICTS_${PN} = timezones timezone-africa timezone-america timezone-antarctica \ - timezone-arctic timezone-asia timezone-atlantic \ - timezone-australia timezone-europe timezone-indian \ - timezone-iso3166.tab timezone-pacific timezone-zone.tab - -SRC_URI = ftp://ftp.iana.org/tz/releases/tzdata${PV}.tar.gz;name=tzdata; - -SRC_URI[tzdata.md5sum] = 8bc69eb75bea496ebe1d5a9ab576702d -SRC_URI[tzdata.sha256sum] = 1cd56a6ee964143ef0c65229968a5093988335b95e9115235b5e7b7e45e67dda - -S = ${WORKDIR} - -DEFAULT_TIMEZONE ?= Universal - -TZONES= africa antarctica asia australasia europe northamerica southamerica \ - factory etcetera backward systemv \ - -# pacificnew - -do_compile () { -for zone in ${TZONES}; do \ -${STAGING_BINDIR_NATIVE}/zic -d ${WORKDIR}${datadir}/zoneinfo -L /dev/null \ --y ${S}/yearistype.sh ${S}/${zone} ; \ -${STAGING_BINDIR_NATIVE}/zic -d ${WORKDIR}${datadir}/zoneinfo/posix -L /dev/null \ --y ${S}/yearistype.sh ${S}/${zone} ; \ -${STAGING_BINDIR_NATIVE}/zic -d ${WORKDIR}${datadir}/zoneinfo/right -L ${S}/leapseconds \ --y ${S}/yearistype.sh ${S}/${zone} ; \ -done -} - -do_install () { -install -d ${D}/$exec_prefix ${D}${datadir}/zoneinfo -cp -pPR ${S}/$exec_prefix ${D}/ -# libc is removing zoneinfo files from package -cp -pP ${S}/zone.tab ${D}${datadir}/zoneinfo -cp -pP ${S}/iso3166.tab ${D}${datadir}/zoneinfo - -# Install default timezone -if [ -e ${D}${datadir}/zoneinfo/${DEFAULT_TIMEZONE} ]; then -install -d ${D}${sysconfdir} -echo ${DEFAULT_TIMEZONE} ${D}${sysconfdir}/timezone -ln -s ${datadir}/zoneinfo/${DEFAULT_TIMEZONE} ${D}${sysconfdir}/localtime -else -bberror DEFAULT_TIMEZONE is set to an invalid value. -exit 1 -fi - -chown -R root:root ${D} -} - -pkg_postinst_${PN} () { - etc_lt=$D${sysconfdir}/localtime - src=$D${sysconfdir}/timezone - - if [ -e ${src} ] ; then - tz=$(sed -e 's:#.*::' -e 's:[[:space:]]*::g' -e '/^$/d' ${src}) - fi - - if [ -z ${tz} ] ; then - return 0 - fi - - if [ ! -e $D${datadir}/zoneinfo/${tz} ] ; then - echo You have an invalid TIMEZONE setting in ${src} - echo Your ${etc_lt} has been reset to Universal; enjoy! - tz=Universal - echo Updating ${etc_lt} with $D${datadir}/zoneinfo/${tz} - if [ -L ${etc_lt} ] ; then - rm -f ${etc_lt} - fi - ln -s ${datadir}/zoneinfo/${tz} ${etc_lt} - fi -} - -# Packages primarily organized by directory with a major city -# in most time zones in the base package - -PACKAGES = tzdata tzdata-misc tzdata-posix tzdata-right tzdata-africa \ -tzdata-americas tzdata-antarctica tzdata-arctic tzdata-asia \ -tzdata-atlantic tzdata-australia tzdata-europe tzdata-pacific - -FILES_tzdata-africa += ${datadir}/zoneinfo/Africa/* -RPROVIDES_tzdata-africa = tzdata-africa - -FILES_tzdata-americas += ${datadir}/zoneinfo/America/* \ -${datadir}/zoneinfo/US/*\ -${datadir}/zoneinfo/Brazil/*\ -${datadir}/zoneinfo/Canada/*\ -${datadir}/zoneinfo/Mexico/*\ -${datadir}/zoneinfo/Chile/* -RPROVIDES_tzdata-americas = tzdata-americas - -FILES_tzdata-antarctica += ${datadir}/zoneinfo/Antarctica/* -RPROVIDES_tzdata-antarctica = tzdata-antarctica - -FILES_tzdata-arctic += ${datadir}/zoneinfo/Arctic/* -RPROVIDES_tzdata-arctic = tzdata-arctic - -FILES_tzdata-asia += ${datadir}/zoneinfo/Asia/*\ -${datadir}/zoneinfo/Indian/*\ -
[OE-core] [PATCH 2/2 V2] Update tzcode to 2014c
Signed-off-by: Armin Kuster akus...@mvista.com --- .../recipes-extended/tzcode/tzcode-native_2013i.bb | 26 -- .../recipes-extended/tzcode/tzcode-native_2014c.bb | 25 + 2 files changed, 25 insertions(+), 26 deletions(-) delete mode 100644 meta/recipes-extended/tzcode/tzcode-native_2013i.bb create mode 100644 meta/recipes-extended/tzcode/tzcode-native_2014c.bb diff --git a/meta/recipes-extended/tzcode/tzcode-native_2013i.bb b/meta/recipes-extended/tzcode/tzcode-native_2013i.bb deleted file mode 100644 index cfedc5b..000 --- a/meta/recipes-extended/tzcode/tzcode-native_2013i.bb +++ /dev/null @@ -1,26 +0,0 @@ -SUMMARY = Timezone zoneinfo utils (zic, zdump, tzselect) -LICENSE = PD BSD - -LIC_FILES_CHKSUM = file://${WORKDIR}/README;md5=0b7570113550eb5d30aa4bd220964b8f - -# note that we allow for us to use data later than our code version -# -SRC_URI = ftp://ftp.iana.org/tz/releases/tzcode${PV}.tar.gz;name=tzcode \ - ftp://ftp.iana.org/tz/releases/tzdata2013i.tar.gz;name=tzdata; - -SRC_URI[tzcode.md5sum] = 86154c8b0cfb47f4e2027ecaa2ec547a -SRC_URI[tzcode.sha256sum] = 63bba6790afc1cb2ea0af2b998a35fc237e247608140dbe4e08b4216a8c31358 - -SRC_URI[tzdata.md5sum] = 8bc69eb75bea496ebe1d5a9ab576702d -SRC_URI[tzdata.sha256sum] = 1cd56a6ee964143ef0c65229968a5093988335b95e9115235b5e7b7e45e67dda - -S = ${WORKDIR} - -inherit native - -do_install () { -install -d ${D}${bindir}/ -install -m 755 zic ${D}${bindir}/ -install -m 755 zdump ${D}${bindir}/ -install -m 755 tzselect ${D}${bindir}/ -} diff --git a/meta/recipes-extended/tzcode/tzcode-native_2014c.bb b/meta/recipes-extended/tzcode/tzcode-native_2014c.bb new file mode 100644 index 000..65a31ae --- /dev/null +++ b/meta/recipes-extended/tzcode/tzcode-native_2014c.bb @@ -0,0 +1,25 @@ +DESCRIPTION = tzcode, timezone zoneinfo utils -- zic, zdump, tzselect +LICENSE = PD BSD + +LIC_FILES_CHKSUM = file://${WORKDIR}/README;md5=0b7570113550eb5d30aa4bd220964b8f + +# note that we allow for us to use data later than our code version +# +SRC_URI = ftp://ftp.iana.org/tz/releases/tzcode${PV}.tar.gz;name=tzcode \ + ftp://ftp.iana.org/tz/releases/tzdata2014c.tar.gz;name=tzdata; + +SRC_URI[tzcode.md5sum] = 657636f201ae8b561225afde49d274af +SRC_URI[tzcode.sha256sum] = 1461e6f6973797ccf516421b272a28082fe26754e8ae94967d8f931a4c8f011b +SRC_URI[tzdata.md5sum] = fa7f3dc1c6f6238253a6f2b850467e2e +SRC_URI[tzdata.sha256sum] = aa2924e012644de3a6cc3160690cb3afecf350af435daefa43bb669fb8f1 + +S = ${WORKDIR} + +inherit native + +do_install () { +install -d ${D}${bindir}/ +install -m 755 zic ${D}${bindir}/ +install -m 755 zdump ${D}${bindir}/ +install -m 755 tzselect ${D}${bindir}/ +} -- 1.9.1 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [OE-Core][PATCH] gzip: Avoid host contamination during build
It's encoded in zgrep, which is part of the gzip package. On 28 May 2014 14:29, Khem Raj raj.k...@gmail.com wrote: On Tue, May 27, 2014 at 4:38 PM, Dan McGregor danismostlik...@gmail.com wrote: +EXTRA_OEMAKE = GREP=${base_bindir}/grep is this grep path encoded into gzip and then referred when running ? -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 0/2 V2] Update timezone files to 2014c
On 2014-05-28 15:21, Armin Kuster wrote: This updates both tzcode and tzdate to latest V2: License correction Solar type correction Armin Kuster (2): Update tzdata to 2014c Update tzcode to 2014c .../recipes-extended/tzcode/tzcode-native_2013i.bb | 26 --- .../recipes-extended/tzcode/tzcode-native_2014c.bb | 25 +++ meta/recipes-extended/tzdata/tzdata_2013i.bb | 206 - meta/recipes-extended/tzdata/tzdata_2014c.bb | 205 4 files changed, 230 insertions(+), 232 deletions(-) delete mode 100644 meta/recipes-extended/tzcode/tzcode-native_2013i.bb create mode 100644 meta/recipes-extended/tzcode/tzcode-native_2014c.bb delete mode 100644 meta/recipes-extended/tzdata/tzdata_2013i.bb create mode 100644 meta/recipes-extended/tzdata/tzdata_2014c.bb These changes would probably be much easier to read/understand if you use the -M option since the actual differences are pretty minor. -- Gary Thomas | Consulting for the MLB Associates |Embedded world -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 0/2 V2] Update timezone files to 2014c
On 05/28/2014 02:27 PM, Gary Thomas wrote: On 2014-05-28 15:21, Armin Kuster wrote: This updates both tzcode and tzdate to latest V2: License correction Solar type correction Armin Kuster (2): Update tzdata to 2014c Update tzcode to 2014c .../recipes-extended/tzcode/tzcode-native_2013i.bb | 26 --- .../recipes-extended/tzcode/tzcode-native_2014c.bb | 25 +++ meta/recipes-extended/tzdata/tzdata_2013i.bb | 206 - meta/recipes-extended/tzdata/tzdata_2014c.bb | 205 4 files changed, 230 insertions(+), 232 deletions(-) delete mode 100644 meta/recipes-extended/tzcode/tzcode-native_2013i.bb create mode 100644 meta/recipes-extended/tzcode/tzcode-native_2014c.bb delete mode 100644 meta/recipes-extended/tzdata/tzdata_2013i.bb create mode 100644 meta/recipes-extended/tzdata/tzdata_2014c.bb These changes would probably be much easier to read/understand if you use the -M option since the actual differences are pretty minor. I did.. or I thought I did. hmm... thanks, Armin -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [OE-Core][PATCH] gzip: Avoid host contamination during build
On Tue, 2014-05-27 at 17:38 -0600, Dan McGregor wrote: From: Dan McGregor dan.mcgre...@usask.ca On systems with /bin and /usr/bin merged the gzip recipe may find grep in /usr/bin, while OE puts it in /bin. Force the recipe to find grep in the correct place. Signed-off-by: Dan McGregor dan.mcgre...@usask.ca --- meta/recipes-extended/gzip/gzip.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-extended/gzip/gzip.inc b/meta/recipes-extended/gzip/gzip.inc index 920b256..57873cb 100644 --- a/meta/recipes-extended/gzip/gzip.inc +++ b/meta/recipes-extended/gzip/gzip.inc @@ -12,6 +12,8 @@ SRC_URI = ${GNU_MIRROR}/gzip/${BP}.tar.gz inherit autotools texinfo +EXTRA_OEMAKE = GREP=${base_bindir}/grep + do_install_append () { # Rename and move files into /bin (FHS), which is typical place for gzip install -d ${D}${base_bindir} My worry is what happens to gzip-native. Do we have to encode a path? Cheers, Richard -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] How to find out why shared sstate is not being used for a recipe
On Wed, 2014-05-28 at 13:46 -0700, Christopher Larson wrote: On Wed, May 28, 2014 at 1:42 PM, Khem Raj raj.k...@gmail.com wrote: On Mon, May 26, 2014 at 11:58 PM, Mike Looijmans mike.looijm...@topic.nl wrote: I have a deja-vu feeling about this question. I have this recipe: https://github.com/topic-embedded-products/meta-topic/blob/master/recipes-bsp/fpga/fpga-image-miami.bb Which includes this one: https://github.com/topic-embedded-products/meta-topic/blob/master/recipes-bsp/fpga/fpga-image.inc I have a build server that exports its sstate-cache directory through HTTP, and a local host that attempts to use that sstate-cache. This works fine, except for the recipe above. Building this recipe takes about 1 hour, so i really really really want to share that state at any cost. As you can see, I've done a big shotgun blast of vardepdsexclude to get the recipe to be as common as possible. Still any host wants to build its own version. How can I diagnose the REASON that my machine thinks it isn't building the exact same thing as the build server? see https://wiki.yoctoproject.org/wiki/Enable_sstate_cache towards the end it talks about verifying sstate sigs If the sstate is local at least, you can use bitbake -S printdiff target. There's also bitbake-whatchanged, but the bitbake one is superior. Worst case, you can pull the siginfo files from one build and the siginfo files from the sstate mirror and then see which ones are different, then run bitbake-diffsigs X Y to compare the two files. bitbake -S just tries to automate that process if it can. Cheers, Richard -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH] gcc: add patch to fix errors with Decimal64 type
On 05/28/2014 01:00 PM, Khem Raj wrote: Saul can you cherry-pick http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/gcc-4.9id=c5f8c01c48afebc8a9987dc09f87e37520b94e25 along with this one now I have been testing MUT with this one just to make sure we don't regress anywhere else in the interim. We are building master/weekly currently, I will fire off a MUT build later today. Sau! On Wed, May 28, 2014 at 12:58 PM, Khem Raj raj.khem-re5jqeeqqe8avxtiumw...@public.gmane.org wrote: On Wed, May 28, 2014 at 6:24 AM, Alexandru-Cezar Sardan alexandru.sardan-kzfg59tc24xl57midrc...@public.gmane.org wrote: [OE-core bug #6270] - https://bugzilla.yoctoproject.org/show_bug.cgi?id=6270 This looks good. Signed-off-by: Alexandru-Cezar Sardan alexandru.sardan-kzfg59tc24xl57midrc...@public.gmane.org --- meta/recipes-devtools/gcc/gcc-4.9.inc |1 + ...-E500-SPE-errors-with-the-_Decimal64-type.patch | 98 2 files changed, 99 insertions(+) create mode 100644 meta/recipes-devtools/gcc/gcc-4.9/0052-Fix-GCC-targeting-E500-SPE-errors-with-the-_Decimal64-type.patch diff --git a/meta/recipes-devtools/gcc/gcc-4.9.inc b/meta/recipes-devtools/gcc/gcc-4.9.inc index a409430..9b4fc2c 100644 --- a/meta/recipes-devtools/gcc/gcc-4.9.inc +++ b/meta/recipes-devtools/gcc/gcc-4.9.inc @@ -65,6 +65,7 @@ SRC_URI = ${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \ file://0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch \ file://0050-Revert-Use-dbx_reg_number-for-spanning-registers.patch \ file://0051-eabispe.patch \ + file://0052-Fix-GCC-targeting-E500-SPE-errors-with-the-_Decimal64-type.patch \ SRC_URI[md5sum] = 9709b49ae0e904cbb0a6a1b62853b556 SRC_URI[sha256sum] = b9b047a97bade9c1c89970bc8e211ff57b7b8998a1730a80a653d329f8ed1257 diff --git a/meta/recipes-devtools/gcc/gcc-4.9/0052-Fix-GCC-targeting-E500-SPE-errors-with-the-_Decimal64-type.patch b/meta/recipes-devtools/gcc/gcc-4.9/0052-Fix-GCC-targeting-E500-SPE-errors-with-the-_Decimal64-type.patch new file mode 100644 index 000..ccfea9d --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-4.9/0052-Fix-GCC-targeting-E500-SPE-errors-with-the-_Decimal64-type.patch @@ -0,0 +1,98 @@ +From e44a6d438db4848c2a555be773568a3cf7994206 Mon Sep 17 00:00:00 2001 +From: Alexandru-Cezar Sardan alexandru.sardan-kzfg59tc24xl57midrc...@public.gmane.org +Date: Mon, 26 May 2014 12:11:13 +0300 +Subject: [PATCH] Fix E500 with SPE errors with the _Decimal64 type + +[gcc] +2014-04-21 Michael Meissner meissner-23vcf4htsmix0ybbhkvfkdbpr1lh4...@public.gmane.org + + PR target/60735 + * config/rs6000/rs6000.md (movmode_softfloat32, FMOVE64 case): + If mode is DDmode and TARGET_E500_DOUBLE allow move. + + * config/rs6000/rs6000.c (rs6000_debug_reg_global): Print some + more debug information for E500 if -mdebug=reg. + +[gcc/testsuite] +2014-04-21 Michael Meissner meissner-23vcf4htsmix0ybbhkvfkdbpr1lh4...@public.gmane.org + + PR target/60735 + * gcc.target/powerpc/pr60735.c: New test. Insure _Decimal64 does + not cause errors if -mspe. + +Upstream status: Accepted + +This solves upstream bug 60735 +(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60735). + +Patch taken from https://gcc.gnu.org/viewcvs/gcc?view=revisionrevision=209664 +--- + gcc/config/rs6000/rs6000.c | 18 ++ + gcc/config/rs6000/rs6000.md|3 ++- + gcc/testsuite/gcc.target/powerpc/pr60735.c | 11 +++ + 3 files changed, 31 insertions(+), 1 deletion(-) + create mode 100644 gcc/testsuite/gcc.target/powerpc/pr60735.c + +diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c +index 494efc5..6dcf440 100644 +--- a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c +@@ -2283,6 +2283,24 @@ rs6000_debug_reg_global (void) + if (rs6000_float_gprs) + fprintf (stderr, DEBUG_FMT_S, float_gprs, true); + ++ fprintf (stderr, DEBUG_FMT_S, fprs, ++ (TARGET_FPRS ? true : false)); ++ ++ fprintf (stderr, DEBUG_FMT_S, single_float, ++ (TARGET_SINGLE_FLOAT ? true : false)); ++ ++ fprintf (stderr, DEBUG_FMT_S, double_float, ++ (TARGET_DOUBLE_FLOAT ? true : false)); ++ ++ fprintf (stderr, DEBUG_FMT_S, soft_float, ++ (TARGET_SOFT_FLOAT ? true : false)); ++ ++ fprintf (stderr, DEBUG_FMT_S, e500_single, ++ (TARGET_E500_SINGLE ? true : false)); ++ ++ fprintf (stderr, DEBUG_FMT_S, e500_double, ++ (TARGET_E500_DOUBLE ? true : false)); ++ + if (TARGET_LINK_STACK) + fprintf (stderr, DEBUG_FMT_S, link_stack, true); + +diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md +index 64c9e7c..9cefe15 100644 +--- a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md +@@ -9395,7 +9395,8 @@ + (match_operand:FMOVE64 1 input_operand r,Y,r,G,H,F))] + ! TARGET_POWERPC64 + ((TARGET_FPRS
[OE-core] [PATCH 0/1] update-rc.d: fix to handle priority numbers correctly
The following changes since commit 32ac58819580d359e22161be1abf62215d202250: i2c-tools: Add i2c-tools to the core (2014-05-28 09:41:11 +0100) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib ChenQi/updatercd-priority http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=ChenQi/updatercd-priority Chen Qi (1): update-rc.d: fix to handle priority numbers correctly .../fix-to-handle-priority-numbers-correctly.patch | 28 meta/recipes-core/update-rc.d/update-rc.d_0.7.bb |1 + 2 files changed, 29 insertions(+) create mode 100644 meta/recipes-core/update-rc.d/update-rc.d/fix-to-handle-priority-numbers-correctly.patch -- 1.7.9.5 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH 1/1] update-rc.d: fix to handle priority numbers correctly
The update-rc.d treated priority numbers begin with '0' as octal numbers. This led to problems of update-rc.d being unable to handle priorities like '08' or '09' correctly. This patch fixes the above problem. [YOCTO #6376] Signed-off-by: Chen Qi qi.c...@windriver.com --- .../fix-to-handle-priority-numbers-correctly.patch | 28 meta/recipes-core/update-rc.d/update-rc.d_0.7.bb |1 + 2 files changed, 29 insertions(+) create mode 100644 meta/recipes-core/update-rc.d/update-rc.d/fix-to-handle-priority-numbers-correctly.patch diff --git a/meta/recipes-core/update-rc.d/update-rc.d/fix-to-handle-priority-numbers-correctly.patch b/meta/recipes-core/update-rc.d/update-rc.d/fix-to-handle-priority-numbers-correctly.patch new file mode 100644 index 000..85bc234 --- /dev/null +++ b/meta/recipes-core/update-rc.d/update-rc.d/fix-to-handle-priority-numbers-correctly.patch @@ -0,0 +1,28 @@ +Upstream-Status: Pending + +Fix to handle priority numbers correctly. +Previously, if the priority number is '08' or '09', for example, +the script cannot handle them correctly as these numbers are treated +as octal numbers. + +Signed-off-by: Chen Qi qi.c...@windriver.com +--- + update-rc.d |2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/update-rc.d b/update-rc.d +index ec50d15..c70b859 100644 +--- a/update-rc.d b/update-rc.d +@@ -205,7 +205,7 @@ case $1 in + exit 1 + fi + shift +- NN=`printf %02d $1` ++ NN=`printf %02d $(expr $1 + 0)` + shift + while [ x$1 != x. ]; do + if [ $# -eq 0 ]; then +-- +1.7.9.5 + diff --git a/meta/recipes-core/update-rc.d/update-rc.d_0.7.bb b/meta/recipes-core/update-rc.d/update-rc.d_0.7.bb index 50dcaa2..c15cb78 100644 --- a/meta/recipes-core/update-rc.d/update-rc.d_0.7.bb +++ b/meta/recipes-core/update-rc.d/update-rc.d_0.7.bb @@ -13,6 +13,7 @@ SRCREV = eca680ddf28d024954895f59a241a622dd575c11 SRC_URI = git://github.com/philb/update-rc.d.git \ file://add-verbose.patch \ file://check-if-symlinks-are-valid.patch \ + file://fix-to-handle-priority-numbers-correctly.patch \ S = ${WORKDIR}/git -- 1.7.9.5 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] combo-layer: fix revlist taking into account file_filter
If file_filter is set, git format-patch takes account but git rev-list does not. So revlist is going to get with wrong revisions. And last_revision will be updated with wrong revision. The next time that user run combo-layer it complain about applying patches. So ensure that 'git rev-list' are using file_filter as 'git format-patch'. Signed-off-by: João Henrique Ferreira de Freitas joa...@gmail.com --- scripts/combo-layer | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/combo-layer b/scripts/combo-layer index 9da1d3a..19d64e6 100755 --- a/scripts/combo-layer +++ b/scripts/combo-layer @@ -395,7 +395,7 @@ def action_update(conf, args): logger.debug(generated patch set:\n%s % output) patchlist = output.splitlines() -rev_cmd = 'git rev-list --no-merges ' + rev_cmd_range +rev_cmd = git rev-list --no-merges %s -- %s % (rev_cmd_range, file_filter) revlist = runcmd(rev_cmd, ldir).splitlines() # Step 3: Call repo specific hook to adjust patch -- 1.9.1 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] combo-layer: git revlist does't take account about file_filter
Hello, This fixes a combo-layer behaviour that I found using this .conf: [meta-intel] src_uri = git://git.yoctoproject.org/meta-intel local_repo_dir = /home/joaohf/jhf/opensource/meta/meta-intel dest_dir = . branch = daisy last_revision = file_filter = conf common meta-crownbay The first time that I run, everything was Ok. But the second time was a mess. combo-layer took the wrongly last_revision and was trying to use it to compute its revlist. The patch fix the 'git rev-list' command passing file_filter that 'git format-patch' uses. I don't know if my assumptions are correct but 'git rev-list' really needs to take account about file_filter too. João Henrique Ferreira de Freitas (1): combo-layer: fix revlist taking into account file_filter scripts/combo-layer | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.9.1 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH] grub_git: fix warning-error
On 05/28/14 15:57, Khem Raj wrote: Upstream-status should appear in component source patch header not overall OE patch header. Thanks for the clarification. v2 is on its way. -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH v2] grub_git: fix build warning-error
This patch fixes a build warning which is promoted to an error via -Werror. changes from v1: * put Upstream-Status in patch itself, not in OE patch header * fix commit wording Signed-off-by: Trevor Woerner trevor.woer...@linaro.org --- .../grub/grub/asciih-fix-build-warning-error.patch | 34 ++ meta/recipes-bsp/grub/grub_git.bb | 1 + 2 files changed, 35 insertions(+) create mode 100644 meta/recipes-bsp/grub/grub/asciih-fix-build-warning-error.patch diff --git a/meta/recipes-bsp/grub/grub/asciih-fix-build-warning-error.patch b/meta/recipes-bsp/grub/grub/asciih-fix-build-warning-error.patch new file mode 100644 index 000..48ace56 --- /dev/null +++ b/meta/recipes-bsp/grub/grub/asciih-fix-build-warning-error.patch @@ -0,0 +1,34 @@ +util/grub-gen-asciih.c: fix build warning-error + +A potential problem is flagged by the compiler and generates a warning. This +warning is promoted to an error via -Werror. This patch fixes the original +issue, avoids the warning, and therefore avoids the build error. + +Upstream-Status: Pending + +Index: git/util/grub-gen-asciih.c +=== +--- git.orig/util/grub-gen-asciih.c git/util/grub-gen-asciih.c +@@ -131,6 +131,8 @@ write_font_ascii_bitmap (FILE *file, FT_ + struct grub_glyph_info glyph; + int char_code; + ++ memset (glyph, 0, sizeof(glyph)); ++ + fprintf (file, /* THIS CHUNK OF BYTES IS AUTOMATICALLY GENERATED */\n); + fprintf (file, unsigned char ascii_bitmaps[] =\n); + fprintf (file, {\n); +@@ -144,6 +146,12 @@ write_font_ascii_bitmap (FILE *file, FT_ + return; + add_glyph (glyph_idx, face, char_code, glyph); + ++ if (glyph.bitmap == 0) ++{ ++ fprintf (stderr, grub-gen-asciih: add_glyph not successful); ++ exit (1); ++} ++ + if (glyph.width == 8 glyph.height == 16 + glyph.x_ofs == 0 glyph.y_ofs == 0) + { diff --git a/meta/recipes-bsp/grub/grub_git.bb b/meta/recipes-bsp/grub/grub_git.bb index 1b9497c..3edc20a 100644 --- a/meta/recipes-bsp/grub/grub_git.bb +++ b/meta/recipes-bsp/grub/grub_git.bb @@ -22,6 +22,7 @@ SRC_URI = git://git.savannah.gnu.org/grub.git \ file://40_custom \ file://autogen.sh-exclude-pc.patch \ file://grub-2.00-add-oe-kernel.patch \ + file://asciih-fix-build-warning-error.patch \ S = ${WORKDIR}/git -- 1.9.0 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [daisy][PATCH] x264: Update SRCREV to match commit in upstream git repo
It seems that 585324fee380109acd9986388f857f413a60b896 is no longer there in git and it has been rewritten to ffc3ad4945da69f3caa2b40e4eed715a9a8d9526 Change-Id: I9ffe8bd9bcef0d2dc5e6f6d3a6e4317bada8f4be Signed-off-by: Khem Raj raj.k...@gmail.com --- meta/recipes-multimedia/x264/x264_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-multimedia/x264/x264_git.bb b/meta/recipes-multimedia/x264/x264_git.bb index d192c30..0e856b3 100644 --- a/meta/recipes-multimedia/x264/x264_git.bb +++ b/meta/recipes-multimedia/x264/x264_git.bb @@ -12,7 +12,7 @@ SRC_URI = git://git.videolan.org/x264.git \ file://don-t-default-to-cortex-a9-with-neon.patch \ -SRCREV = 585324fee380109acd9986388f857f413a60b896 +SRCREV = ffc3ad4945da69f3caa2b40e4eed715a9a8d9526 PV = r2265+git${SRCPV} -- 1.9.3 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH 2/2] gcc, uclibc: Add/Fix Upstream-Status in patches
Signed-off-by: Khem Raj raj.k...@gmail.com --- .../recipes-core/uclibc/uclibc-git/0004-Add-clock_adjtime-syscall.patch | 2 ++ meta/recipes-devtools/gcc/gcc-4.9/0047-repomembug.patch | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/recipes-core/uclibc/uclibc-git/0004-Add-clock_adjtime-syscall.patch b/meta/recipes-core/uclibc/uclibc-git/0004-Add-clock_adjtime-syscall.patch index 3062ae4..c596db6 100644 --- a/meta/recipes-core/uclibc/uclibc-git/0004-Add-clock_adjtime-syscall.patch +++ b/meta/recipes-core/uclibc/uclibc-git/0004-Add-clock_adjtime-syscall.patch @@ -1,3 +1,5 @@ +Upstream-Status: Pending + From 8e19e651145554fbcb90179f3dfbc7ea8a07c900 Mon Sep 17 00:00:00 2001 From: Khem Raj raj.k...@gmail.com Date: Sat, 15 Mar 2014 09:32:20 -0700 diff --git a/meta/recipes-devtools/gcc/gcc-4.9/0047-repomembug.patch b/meta/recipes-devtools/gcc/gcc-4.9/0047-repomembug.patch index 868a4f3..9afd55c 100644 --- a/meta/recipes-devtools/gcc/gcc-4.9/0047-repomembug.patch +++ b/meta/recipes-devtools/gcc/gcc-4.9/0047-repomembug.patch @@ -31,7 +31,7 @@ RP 2013/10/9 [YOCTO #5133] -Upstream-State: Pending +Upstream-Status: Pending Index: gcc-4.8.1/gcc/toplev.c === -- 1.9.3 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH 1/2] eglibc: Fix configure when re-building with gold
Signed-off-by: Khem Raj raj.k...@gmail.com --- .../eglibc/eglibc-2.19/grok_gold.patch | 34 ++ meta/recipes-core/eglibc/eglibc_2.19.bb| 3 +- 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-core/eglibc/eglibc-2.19/grok_gold.patch diff --git a/meta/recipes-core/eglibc/eglibc-2.19/grok_gold.patch b/meta/recipes-core/eglibc/eglibc-2.19/grok_gold.patch new file mode 100644 index 000..d46737a --- /dev/null +++ b/meta/recipes-core/eglibc/eglibc-2.19/grok_gold.patch @@ -0,0 +1,34 @@ +Make ld --version output matching grok gold's output + +adapted from from upstream branch roland/gold-vs-libc + +Signed-off-by: Khem Raj raj.k...@gmail.com +Upstream-Status: Backport + + +Index: libc/configure +=== +--- libc.orig/configure libc/configure +@@ -4654,7 +4654,7 @@ else + # Found it, now check the version. + { $as_echo $as_me:${as_lineno-$LINENO}: checking version of $LD 5 + $as_echo_n checking version of $LD... 6; } +- ac_prog_version=`$LD --version 21 | sed -n 's/^.*GNU ld.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'` ++ ac_prog_version=`$LD --version 21 | sed -n 's/^.*GNU [Bbinutilsd][^.]* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'` + case $ac_prog_version in + '') ac_prog_version=v. ?.??, bad; ac_verc_fail=yes;; + 2.1[0-9][0-9]*|2.[2-9][0-9]*|[3-9].*|[1-9][0-9]*) +Index: libc/configure.ac +=== +--- libc.orig/configure.ac libc/configure.ac +@@ -990,7 +990,7 @@ AC_CHECK_PROG_VER(AS, $AS, --version, + [GNU assembler.* \([0-9]*\.[0-9.]*\)], + [2.1[0-9][0-9]*|2.[2-9][0-9]*|[3-9].*|[1-9][0-9]*], AS=: critic_missing=$critic_missing as) + AC_CHECK_PROG_VER(LD, $LD, --version, +-[GNU ld.* \([0-9][0-9]*\.[0-9.]*\)], ++[GNU [Bbinutilsd][^.]* \([0-9][0-9]*\.[0-9.]*\)], + [2.1[0-9][0-9]*|2.[2-9][0-9]*|[3-9].*|[1-9][0-9]*], LD=: critic_missing=$critic_missing ld) + + # These programs are version sensitive. diff --git a/meta/recipes-core/eglibc/eglibc_2.19.bb b/meta/recipes-core/eglibc/eglibc_2.19.bb index 8f09676..c65e6a5 100644 --- a/meta/recipes-core/eglibc/eglibc_2.19.bb +++ b/meta/recipes-core/eglibc/eglibc_2.19.bb @@ -24,7 +24,8 @@ SRC_URI = http://downloads.yoctoproject.org/releases/eglibc/eglibc-${PV}-svnr25 file://0001-R_ARM_TLS_DTPOFF32.patch \ file://0001-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch \ file://fix-tibetian-locales.patch \ - file://ppce6500-32b_slow_ieee754_sqrt.patch \ + file://ppce6500-32b_slow_ieee754_sqrt.patch \ + file://grok_gold.patch \ SRC_URI[md5sum] = 197836c2ba42fb146e971222647198dd SRC_URI[sha256sum] = baaa030531fc308f7820c46acdf8e1b2f8e3c1f40bcd28b6e440d1c95d170d4c -- 1.9.3 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core