Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/6] Package Upgrade: pciutils, diffutils, cups, sudo, sysstat, dbus
@ 2017-07-24  9:51 Chen Qi
  2017-07-24  9:51 ` [PATCH 1/6] pciutils: upgrade to 3.5.5 Chen Qi
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Chen Qi @ 2017-07-24  9:51 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit 0f20512deac20f3ec7241ff431c8523ce3c66034:

  poky: Remove machine specific kernel overrides (2017-07-24 09:13:55 +0100)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib ChenQi/PU-20170724
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/PU-20170724

Chen Qi (6):
  pciutils: upgrade to 3.5.5
  diffutils: upgrade to 3.6
  cups: upgrade to 2.2.4
  sudo: upgrade to 1.8.20p2
  sysstat: upgrade to 11.5.7
  dbus/dbus-test: upgrade to 1.10.20

 .../{pciutils_3.5.4.bb => pciutils_3.5.5.bb}       |   4 +-
 .../{dbus-test_1.10.18.bb => dbus-test_1.10.20.bb} |   4 +-
 .../dbus/{dbus_1.10.18.bb => dbus_1.10.20.bb}      |   4 +-
 .../cups/{cups_2.2.3.bb => cups_2.2.4.bb}          |   4 +-
 .../diffutils-3.5/diffutils-3.5-gcc7.patch         | 228 ---------------------
 ...need_charset_alias-when-building-for-musl.patch |   0
 .../0001-explicitly-disable-replacing-getopt.patch |  30 +++
 .../{diffutils-3.5 => diffutils-3.6}/run-ptest     |   0
 .../{diffutils_3.5.bb => diffutils_3.6.bb}         |  14 +-
 meta/recipes-extended/sudo/sudo.inc                |   2 +-
 .../sudo/{sudo_1.8.19p2.bb => sudo_1.8.20p2.bb}    |   4 +-
 .../{sysstat_11.5.6.bb => sysstat_11.5.7.bb}       |   4 +-
 12 files changed, 47 insertions(+), 251 deletions(-)
 rename meta/recipes-bsp/pciutils/{pciutils_3.5.4.bb => pciutils_3.5.5.bb} (92%)
 rename meta/recipes-core/dbus/{dbus-test_1.10.18.bb => dbus-test_1.10.20.bb} (93%)
 rename meta/recipes-core/dbus/{dbus_1.10.18.bb => dbus_1.10.20.bb} (97%)
 rename meta/recipes-extended/cups/{cups_2.2.3.bb => cups_2.2.4.bb} (40%)
 delete mode 100644 meta/recipes-extended/diffutils/diffutils-3.5/diffutils-3.5-gcc7.patch
 rename meta/recipes-extended/diffutils/{diffutils-3.5 => diffutils-3.6}/0001-Unset-need_charset_alias-when-building-for-musl.patch (100%)
 create mode 100644 meta/recipes-extended/diffutils/diffutils-3.6/0001-explicitly-disable-replacing-getopt.patch
 rename meta/recipes-extended/diffutils/{diffutils-3.5 => diffutils-3.6}/run-ptest (100%)
 rename meta/recipes-extended/diffutils/{diffutils_3.5.bb => diffutils_3.6.bb} (66%)
 rename meta/recipes-extended/sudo/{sudo_1.8.19p2.bb => sudo_1.8.20p2.bb} (90%)
 rename meta/recipes-extended/sysstat/{sysstat_11.5.6.bb => sysstat_11.5.7.bb} (53%)

-- 
1.9.1



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

* [PATCH 1/6] pciutils: upgrade to 3.5.5
  2017-07-24  9:51 [PATCH 0/6] Package Upgrade: pciutils, diffutils, cups, sudo, sysstat, dbus Chen Qi
@ 2017-07-24  9:51 ` Chen Qi
  2017-07-24  9:51 ` [PATCH 2/6] diffutils: upgrade to 3.6 Chen Qi
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: Chen Qi @ 2017-07-24  9:51 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 meta/recipes-bsp/pciutils/{pciutils_3.5.4.bb => pciutils_3.5.5.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-bsp/pciutils/{pciutils_3.5.4.bb => pciutils_3.5.5.bb} (92%)

diff --git a/meta/recipes-bsp/pciutils/pciutils_3.5.4.bb b/meta/recipes-bsp/pciutils/pciutils_3.5.5.bb
similarity index 92%
rename from meta/recipes-bsp/pciutils/pciutils_3.5.4.bb
rename to meta/recipes-bsp/pciutils/pciutils_3.5.5.bb
index 418f712..8382c84 100644
--- a/meta/recipes-bsp/pciutils/pciutils_3.5.4.bb
+++ b/meta/recipes-bsp/pciutils/pciutils_3.5.5.bb
@@ -11,8 +11,8 @@ DEPENDS = "zlib kmod"
 SRC_URI = "${KERNELORG_MIRROR}/software/utils/pciutils/pciutils-${PV}.tar.xz \
            file://configure.patch"
 
-SRC_URI[md5sum] = "e82537cd2194111c45fa7e684b52252e"
-SRC_URI[sha256sum] = "64293c6ab9318c40ef262b76d87bd9097531759752bac556e50979b1e63cfe66"
+SRC_URI[md5sum] = "238d9969cc0de8b9105d972007d9d546"
+SRC_URI[sha256sum] = "1d62f8fa192f90e61c35a6fc15ff3cb9a7a792f782407acc42ef67817c5939f5"
 
 inherit multilib_header
 
-- 
1.9.1



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

* [PATCH 2/6] diffutils: upgrade to 3.6
  2017-07-24  9:51 [PATCH 0/6] Package Upgrade: pciutils, diffutils, cups, sudo, sysstat, dbus Chen Qi
  2017-07-24  9:51 ` [PATCH 1/6] pciutils: upgrade to 3.5.5 Chen Qi
@ 2017-07-24  9:51 ` Chen Qi
  2017-08-07 16:33   ` Christopher Larson
  2017-07-24  9:51 ` [PATCH 3/6] cups: upgrade to 2.2.4 Chen Qi
                   ` (3 subsequent siblings)
  5 siblings, 1 reply; 8+ messages in thread
From: Chen Qi @ 2017-07-24  9:51 UTC (permalink / raw)
  To: openembedded-core

diffutils-3.5-gcc7.patch is removed as it's merged in this version.

do_configure_prepend is removed to solve the following configure error.

  error: possibly undefined macro: gl_TYPE_WINT_T_PREREQ

A workaround patch is made to fix the following compilation error for glibc.

  error: dereferencing pointer to incomplete type 'const struct rpl_option'

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 .../diffutils-3.5/diffutils-3.5-gcc7.patch         | 228 ---------------------
 ...need_charset_alias-when-building-for-musl.patch |   0
 .../0001-explicitly-disable-replacing-getopt.patch |  30 +++
 .../{diffutils-3.5 => diffutils-3.6}/run-ptest     |   0
 .../{diffutils_3.5.bb => diffutils_3.6.bb}         |  14 +-
 5 files changed, 34 insertions(+), 238 deletions(-)
 delete mode 100644 meta/recipes-extended/diffutils/diffutils-3.5/diffutils-3.5-gcc7.patch
 rename meta/recipes-extended/diffutils/{diffutils-3.5 => diffutils-3.6}/0001-Unset-need_charset_alias-when-building-for-musl.patch (100%)
 create mode 100644 meta/recipes-extended/diffutils/diffutils-3.6/0001-explicitly-disable-replacing-getopt.patch
 rename meta/recipes-extended/diffutils/{diffutils-3.5 => diffutils-3.6}/run-ptest (100%)
 rename meta/recipes-extended/diffutils/{diffutils_3.5.bb => diffutils_3.6.bb} (66%)

diff --git a/meta/recipes-extended/diffutils/diffutils-3.5/diffutils-3.5-gcc7.patch b/meta/recipes-extended/diffutils/diffutils-3.5/diffutils-3.5-gcc7.patch
deleted file mode 100644
index 52bcd7c..0000000
--- a/meta/recipes-extended/diffutils/diffutils-3.5/diffutils-3.5-gcc7.patch
+++ /dev/null
@@ -1,228 +0,0 @@
-Cumulative Backports from upstream to address gcc 7 portablility issues
-Imported from Fedora
-
-Upstream-Status: Backport
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-
-diff -up diffutils-3.5/lib/intprops.h.than diffutils-3.5/lib/intprops.h
---- diffutils-3.5/lib/intprops.h.than	2017-02-21 09:08:39.470417367 -0500
-+++ diffutils-3.5/lib/intprops.h	2017-02-21 09:46:57.090996508 -0500
-@@ -1,6 +1,6 @@
- /* intprops.h -- properties of integer types
- 
--   Copyright (C) 2001-2016 Free Software Foundation, Inc.
-+   Copyright (C) 2001-2017 Free Software Foundation, Inc.
- 
-    This program is free software: you can redistribute it and/or modify it
-    under the terms of the GNU General Public License as published
-@@ -47,12 +47,16 @@
- 
- /* Minimum and maximum values for integer types and expressions.  */
- 
-+/* The width in bits of the integer type or expression T.
-+   Padding bits are not supported; this is checked at compile-time below.  */
-+#define TYPE_WIDTH(t) (sizeof (t) * CHAR_BIT)
-+
- /* The maximum and minimum values for the integer type T.  */
- #define TYPE_MINIMUM(t) ((t) ~ TYPE_MAXIMUM (t))
- #define TYPE_MAXIMUM(t)                                                 \
-   ((t) (! TYPE_SIGNED (t)                                               \
-         ? (t) -1                                                        \
--        : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1)))
-+        : ((((t) 1 << (TYPE_WIDTH (t) - 2)) - 1) * 2 + 1)))
- 
- /* The maximum and minimum values for the type of the expression E,
-    after integer promotion.  E should not have side effects.  */
-@@ -65,7 +69,13 @@
-    ? _GL_SIGNED_INT_MAXIMUM (e)                                         \
-    : _GL_INT_NEGATE_CONVERT (e, 1))
- #define _GL_SIGNED_INT_MAXIMUM(e)                                       \
--  (((_GL_INT_CONVERT (e, 1) << (sizeof ((e) + 0) * CHAR_BIT - 2)) - 1) * 2 + 1)
-+  (((_GL_INT_CONVERT (e, 1) << (TYPE_WIDTH ((e) + 0) - 2)) - 1) * 2 + 1)
-+
-+/* Work around OpenVMS incompatibility with C99.  */
-+#if !defined LLONG_MAX && defined __INT64_MAX
-+# define LLONG_MAX __INT64_MAX
-+# define LLONG_MIN __INT64_MIN
-+#endif
- 
- /* This include file assumes that signed types are two's complement without
-    padding bits; the above macros have undefined behavior otherwise.
-@@ -84,10 +94,15 @@ verify (TYPE_MAXIMUM (long int) == LONG_
- verify (TYPE_MINIMUM (long long int) == LLONG_MIN);
- verify (TYPE_MAXIMUM (long long int) == LLONG_MAX);
- #endif
-+/* Similarly, sanity-check one ISO/IEC TS 18661-1:2014 macro if defined.  */
-+#ifdef UINT_WIDTH
-+verify (TYPE_WIDTH (unsigned int) == UINT_WIDTH);
-+#endif
- 
- /* Does the __typeof__ keyword work?  This could be done by
-    'configure', but for now it's easier to do it by hand.  */
--#if (2 <= __GNUC__ || defined __IBM__TYPEOF__ \
-+#if (2 <= __GNUC__ \
-+     || (1210 <= __IBMC__ && defined __IBM__TYPEOF__) \
-      || (0x5110 <= __SUNPRO_C && !__STDC__))
- # define _GL_HAVE___TYPEOF__ 1
- #else
-@@ -116,8 +131,7 @@ verify (TYPE_MAXIMUM (long long int) ==
-    signed, this macro may overestimate the true bound by one byte when
-    applied to unsigned types of size 2, 4, 16, ... bytes.  */
- #define INT_STRLEN_BOUND(t)                                     \
--  (INT_BITS_STRLEN_BOUND (sizeof (t) * CHAR_BIT                 \
--                          - _GL_SIGNED_TYPE_OR_EXPR (t))        \
-+  (INT_BITS_STRLEN_BOUND (TYPE_WIDTH (t) - _GL_SIGNED_TYPE_OR_EXPR (t)) \
-    + _GL_SIGNED_TYPE_OR_EXPR (t))
- 
- /* Bound on buffer size needed to represent an integer type or expression T,
-@@ -222,20 +236,23 @@ verify (TYPE_MAXIMUM (long long int) ==
-    ? (a) < (min) >> (b)                                 \
-    : (max) >> (b) < (a))
- 
--/* True if __builtin_add_overflow (A, B, P) works when P is null.  */
--#define _GL_HAS_BUILTIN_OVERFLOW_WITH_NULL (7 <= __GNUC__)
-+/* True if __builtin_add_overflow (A, B, P) works when P is non-null.  */
-+#define _GL_HAS_BUILTIN_OVERFLOW (5 <= __GNUC__)
-+
-+/* True if __builtin_add_overflow_p (A, B, C) works.  */
-+#define _GL_HAS_BUILTIN_OVERFLOW_P (7 <= __GNUC__)
- 
- /* The _GL*_OVERFLOW macros have the same restrictions as the
-    *_RANGE_OVERFLOW macros, except that they do not assume that operands
-    (e.g., A and B) have the same type as MIN and MAX.  Instead, they assume
-    that the result (e.g., A + B) has that type.  */
--#if _GL_HAS_BUILTIN_OVERFLOW_WITH_NULL
--# define _GL_ADD_OVERFLOW(a, b, min, max)
--   __builtin_add_overflow (a, b, (__typeof__ ((a) + (b)) *) 0)
--# define _GL_SUBTRACT_OVERFLOW(a, b, min, max)
--   __builtin_sub_overflow (a, b, (__typeof__ ((a) - (b)) *) 0)
--# define _GL_MULTIPLY_OVERFLOW(a, b, min, max)
--   __builtin_mul_overflow (a, b, (__typeof__ ((a) * (b)) *) 0)
-+#if _GL_HAS_BUILTIN_OVERFLOW_P
-+# define _GL_ADD_OVERFLOW(a, b, min, max)                               \
-+   __builtin_add_overflow_p (a, b, (__typeof__ ((a) + (b))) 0)
-+# define _GL_SUBTRACT_OVERFLOW(a, b, min, max)                          \
-+   __builtin_sub_overflow_p (a, b, (__typeof__ ((a) - (b))) 0)
-+# define _GL_MULTIPLY_OVERFLOW(a, b, min, max)                          \
-+   __builtin_mul_overflow_p (a, b, (__typeof__ ((a) * (b))) 0)
- #else
- # define _GL_ADD_OVERFLOW(a, b, min, max)                                \
-    ((min) < 0 ? INT_ADD_RANGE_OVERFLOW (a, b, min, max)                  \
-@@ -315,7 +332,7 @@ verify (TYPE_MAXIMUM (long long int) ==
-   _GL_BINARY_OP_OVERFLOW (a, b, _GL_ADD_OVERFLOW)
- #define INT_SUBTRACT_OVERFLOW(a, b) \
-   _GL_BINARY_OP_OVERFLOW (a, b, _GL_SUBTRACT_OVERFLOW)
--#if _GL_HAS_BUILTIN_OVERFLOW_WITH_NULL
-+#if _GL_HAS_BUILTIN_OVERFLOW_P
- # define INT_NEGATE_OVERFLOW(a) INT_SUBTRACT_OVERFLOW (0, a)
- #else
- # define INT_NEGATE_OVERFLOW(a) \
-@@ -349,10 +366,6 @@ verify (TYPE_MAXIMUM (long long int) ==
- #define INT_MULTIPLY_WRAPV(a, b, r) \
-   _GL_INT_OP_WRAPV (a, b, r, *, __builtin_mul_overflow, INT_MULTIPLY_OVERFLOW)
- 
--#ifndef __has_builtin
--# define __has_builtin(x) 0
--#endif
--
- /* Nonzero if this compiler has GCC bug 68193 or Clang bug 25390.  See:
-    https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68193
-    https://llvm.org/bugs/show_bug.cgi?id=25390
-@@ -369,7 +382,7 @@ verify (TYPE_MAXIMUM (long long int) ==
-    the operation.  BUILTIN is the builtin operation, and OVERFLOW the
-    overflow predicate.  Return 1 if the result overflows.  See above
-    for restrictions.  */
--#if 5 <= __GNUC__ || __has_builtin (__builtin_add_overflow)
-+#if _GL_HAS_BUILTIN_OVERFLOW
- # define _GL_INT_OP_WRAPV(a, b, r, op, builtin, overflow) builtin (a, b, r)
- #elif 201112 <= __STDC_VERSION__ && !_GL__GENERIC_BOGUS
- # define _GL_INT_OP_WRAPV(a, b, r, op, builtin, overflow) \
-@@ -412,7 +425,7 @@ verify (TYPE_MAXIMUM (long long int) ==
- # else
- #  define _GL_INT_OP_WRAPV_LONGISH(a, b, r, op, overflow) \
-     _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long int, \
--                     long int, LONG_MIN, LONG_MAX))
-+                     long int, LONG_MIN, LONG_MAX)
- # endif
- #endif
- 
-diff -up diffutils-3.5/lib/xalloc-oversized.h.than diffutils-3.5/lib/xalloc-oversized.h
---- diffutils-3.5/lib/xalloc-oversized.h.than	2017-02-21 09:45:13.729168233 -0500
-+++ diffutils-3.5/lib/xalloc-oversized.h	2017-02-21 09:45:18.309249247 -0500
-@@ -1,6 +1,6 @@
- /* xalloc-oversized.h -- memory allocation size checking
- 
--   Copyright (C) 1990-2000, 2003-2004, 2006-2016 Free Software Foundation, Inc.
-+   Copyright (C) 1990-2000, 2003-2004, 2006-2017 Free Software Foundation, Inc.
- 
-    This program is free software: you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-@@ -19,48 +19,37 @@
- #define XALLOC_OVERSIZED_H_
- 
- #include <stddef.h>
-+#include <stdint.h>
- 
--/* Default for (non-Clang) compilers that lack __has_builtin.  */
--#ifndef __has_builtin
--# define __has_builtin(x) 0
--#endif
--
--/* True if N * S would overflow in a size calculation.
-+/* True if N * S would overflow in a size_t calculation,
-+   or would generate a value larger than PTRDIFF_MAX.
-    This expands to a constant expression if N and S are both constants.
-    By gnulib convention, SIZE_MAX represents overflow in size
--   calculations, so the conservative dividend to use here is
--   SIZE_MAX - 1, since SIZE_MAX might represent an overflowed value.
--   However, malloc (SIZE_MAX) fails on all known hosts where
--   sizeof (ptrdiff_t) <= sizeof (size_t), so do not bother to test for
--   exactly-SIZE_MAX allocations on such hosts; this avoids a test and
--   branch when S is known to be 1.  */
-+   calculations, so the conservative size_t-based dividend to use here
-+   is SIZE_MAX - 1.  */
- #define __xalloc_oversized(n, s) \
--    ((size_t) (sizeof (ptrdiff_t) <= sizeof (size_t) ? -1 : -2) / (s) < (n))
-+  ((size_t) (PTRDIFF_MAX < SIZE_MAX ? PTRDIFF_MAX : SIZE_MAX - 1) / (s) < (n))
- 
-+#if PTRDIFF_MAX < SIZE_MAX
-+typedef ptrdiff_t __xalloc_count_type;
-+#else
-+typedef size_t __xalloc_count_type;
-+#endif
- 
--/* Return 1 if an array of N objects, each of size S, cannot exist due
--   to size arithmetic overflow.  S must be positive and N must be
--   nonnegative.  This is a macro, not a function, so that it
--   works correctly even when SIZE_MAX < N.  */
-+/* Return 1 if an array of N objects, each of size S, cannot exist
-+   reliably due to size or ptrdiff_t arithmetic overflow.  S must be
-+   positive and N must be nonnegative.  This is a macro, not a
-+   function, so that it works correctly even when SIZE_MAX < N.  */
- 
--/* GCC 7 __builtin_mul_overflow should easily compute this.  See:
--   https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68120  */
- #if 7 <= __GNUC__
--# define xalloc_oversized(n, s) __builtin_mul_overflow (n, s, (size_t *) NULL)
--
--/* GCC 5 and Clang __builtin_mul_overflow needs a temporary, and
--   should be used only for non-constant operands, so that
--   xalloc_oversized is a constant expression if both arguments are.
--   Do not use this if pedantic, since pedantic GCC issues a diagnostic
--   for ({ ... }).  */
--#elif ((5 <= __GNUC__ \
--        || (__has_builtin (__builtin_mul_overflow) \
--            && __has_builtin (__builtin_constant_p))) \
--       && !__STRICT_ANSI__)
-+# define xalloc_oversized(n, s) \
-+   __builtin_mul_overflow_p (n, s, (__xalloc_count_type) 1)
-+#elif 5 <= __GNUC__ && !__STRICT_ANSI__
- # define xalloc_oversized(n, s) \
-    (__builtin_constant_p (n) && __builtin_constant_p (s) \
-     ? __xalloc_oversized (n, s) \
--    : ({ size_t __xalloc_size; __builtin_mul_overflow (n, s, &__xalloc_size); }))
-+    : ({ __xalloc_count_type __xalloc_count; \
-+         __builtin_mul_overflow (n, s, &__xalloc_count); }))
- 
- /* Other compilers use integer division; this may be slower but is
-    more portable.  */
diff --git a/meta/recipes-extended/diffutils/diffutils-3.5/0001-Unset-need_charset_alias-when-building-for-musl.patch b/meta/recipes-extended/diffutils/diffutils-3.6/0001-Unset-need_charset_alias-when-building-for-musl.patch
similarity index 100%
rename from meta/recipes-extended/diffutils/diffutils-3.5/0001-Unset-need_charset_alias-when-building-for-musl.patch
rename to meta/recipes-extended/diffutils/diffutils-3.6/0001-Unset-need_charset_alias-when-building-for-musl.patch
diff --git a/meta/recipes-extended/diffutils/diffutils-3.6/0001-explicitly-disable-replacing-getopt.patch b/meta/recipes-extended/diffutils/diffutils-3.6/0001-explicitly-disable-replacing-getopt.patch
new file mode 100644
index 0000000..351f87c
--- /dev/null
+++ b/meta/recipes-extended/diffutils/diffutils-3.6/0001-explicitly-disable-replacing-getopt.patch
@@ -0,0 +1,30 @@
+Subject: explicitly disable replacing getopt
+
+Explicitly disable replacing getopt to avoid compilation error like below.
+
+  xstrtol-error.c:84:26: error: invalid use of undefined type 'struct rpl_option'
+
+Upstream-Status: Inappropriate [workaround]
+Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
+---
+ m4/getopt.m4 | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/m4/getopt.m4 b/m4/getopt.m4
+index 3ebc7b7..8934426 100644
+--- a/m4/getopt.m4
++++ b/m4/getopt.m4
+@@ -22,8 +22,8 @@ AC_DEFUN([gl_FUNC_GETOPT_POSIX],
+     fi
+   ])
+   if test $REPLACE_GETOPT = 1; then
+-    dnl Arrange for getopt.h to be created.
+-    gl_GETOPT_SUBSTITUTE_HEADER
++    dnl Explicitly disable replacing getopt
++    :
+   fi
+ ])
+ 
+-- 
+2.11.0
+
diff --git a/meta/recipes-extended/diffutils/diffutils-3.5/run-ptest b/meta/recipes-extended/diffutils/diffutils-3.6/run-ptest
similarity index 100%
rename from meta/recipes-extended/diffutils/diffutils-3.5/run-ptest
rename to meta/recipes-extended/diffutils/diffutils-3.6/run-ptest
diff --git a/meta/recipes-extended/diffutils/diffutils_3.5.bb b/meta/recipes-extended/diffutils/diffutils_3.6.bb
similarity index 66%
rename from meta/recipes-extended/diffutils/diffutils_3.5.bb
rename to meta/recipes-extended/diffutils/diffutils_3.6.bb
index a4fc27b..a2ea484 100644
--- a/meta/recipes-extended/diffutils/diffutils_3.5.bb
+++ b/meta/recipes-extended/diffutils/diffutils_3.6.bb
@@ -5,24 +5,18 @@ require diffutils.inc
 
 SRC_URI = "${GNU_MIRROR}/diffutils/diffutils-${PV}.tar.xz \
            file://0001-Unset-need_charset_alias-when-building-for-musl.patch \
-           file://diffutils-3.5-gcc7.patch \
            file://run-ptest \
 "
-SRC_URI[md5sum] = "569354697ff1cfc9a9de3781361015fa"
-SRC_URI[sha256sum] = "dad398ccd5b9faca6b0ab219a036453f62a602a56203ac659b43e889bec35533"
+SRC_URI_append_libc-glibc = " file://0001-explicitly-disable-replacing-getopt.patch"
+
+SRC_URI[md5sum] = "07cf286672ced26fba54cd0313bdc071"
+SRC_URI[sha256sum] = "d621e8bdd4b573918c8145f7ae61817d1be9deb4c8d2328a65cea8e11d783bd6"
 
 EXTRA_OECONF += "ac_cv_path_PR_PROGRAM=${bindir}/pr --without-libsigsegv-prefix"
 
 # Fix "Argument list too long" error when len(TMPDIR) = 410
 acpaths = "-I ./m4"
 
-do_configure_prepend () {
-	# Need to remove gettext macros with weird mix of versions
-	for i in codeset.m4 gettext_gl.m4 intlmacosx.m4 inttypes-pri.m4 lib-ld_gl.m4 lib-prefix_gl.m4 po_gl.m4 ssize_t.m4 wchar_t.m4 wint_t.m4; do
-		rm -f ${S}/m4/$i
-	done
-}
-
 inherit ptest
 
 do_install_ptest() {
-- 
1.9.1



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

* [PATCH 3/6] cups: upgrade to 2.2.4
  2017-07-24  9:51 [PATCH 0/6] Package Upgrade: pciutils, diffutils, cups, sudo, sysstat, dbus Chen Qi
  2017-07-24  9:51 ` [PATCH 1/6] pciutils: upgrade to 3.5.5 Chen Qi
  2017-07-24  9:51 ` [PATCH 2/6] diffutils: upgrade to 3.6 Chen Qi
@ 2017-07-24  9:51 ` Chen Qi
  2017-07-24  9:51 ` [PATCH 4/6] sudo: upgrade to 1.8.20p2 Chen Qi
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: Chen Qi @ 2017-07-24  9:51 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 meta/recipes-extended/cups/{cups_2.2.3.bb => cups_2.2.4.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-extended/cups/{cups_2.2.3.bb => cups_2.2.4.bb} (40%)

diff --git a/meta/recipes-extended/cups/cups_2.2.3.bb b/meta/recipes-extended/cups/cups_2.2.4.bb
similarity index 40%
rename from meta/recipes-extended/cups/cups_2.2.3.bb
rename to meta/recipes-extended/cups/cups_2.2.4.bb
index 204d14d..ed94b67 100644
--- a/meta/recipes-extended/cups/cups_2.2.3.bb
+++ b/meta/recipes-extended/cups/cups_2.2.4.bb
@@ -2,5 +2,5 @@ require cups.inc
 
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f212b4338db0da8cb892e94bf2949460"
 
-SRC_URI[md5sum] = "006a8156680a516e43c59034e31df8bf"
-SRC_URI[sha256sum] = "66701fe15838f2c892052c913bde1ba106bbee2e0a953c955a62ecacce76885f"
+SRC_URI[md5sum] = "d26e5a0a574a69fe1d01079b2931fc49"
+SRC_URI[sha256sum] = "596d4db72651c335469ae5f37b0da72ac9f97d73e30838d787065f559dea98cc"
-- 
1.9.1



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

* [PATCH 4/6] sudo: upgrade to 1.8.20p2
  2017-07-24  9:51 [PATCH 0/6] Package Upgrade: pciutils, diffutils, cups, sudo, sysstat, dbus Chen Qi
                   ` (2 preceding siblings ...)
  2017-07-24  9:51 ` [PATCH 3/6] cups: upgrade to 2.2.4 Chen Qi
@ 2017-07-24  9:51 ` Chen Qi
  2017-07-24  9:51 ` [PATCH 5/6] sysstat: upgrade to 11.5.7 Chen Qi
  2017-07-24  9:51 ` [PATCH 6/6] dbus/dbus-test: upgrade to 1.10.20 Chen Qi
  5 siblings, 0 replies; 8+ messages in thread
From: Chen Qi @ 2017-07-24  9:51 UTC (permalink / raw)
  To: openembedded-core

The checksum for doc/LICENSE is changed, but the content only changes
year from '2013' to '2017', so the license remains the same.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 meta/recipes-extended/sudo/sudo.inc                               | 2 +-
 meta/recipes-extended/sudo/{sudo_1.8.19p2.bb => sudo_1.8.20p2.bb} | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-extended/sudo/{sudo_1.8.19p2.bb => sudo_1.8.20p2.bb} (90%)

diff --git a/meta/recipes-extended/sudo/sudo.inc b/meta/recipes-extended/sudo/sudo.inc
index d42a04a..8c16d83 100644
--- a/meta/recipes-extended/sudo/sudo.inc
+++ b/meta/recipes-extended/sudo/sudo.inc
@@ -4,7 +4,7 @@ HOMEPAGE = "http://www.sudo.ws"
 BUGTRACKER = "http://www.sudo.ws/bugs/"
 SECTION = "admin"
 LICENSE = "ISC & BSD & Zlib"
-LIC_FILES_CHKSUM = "file://doc/LICENSE;md5=f600a47c2a2cdde5899e449607810ed1 \
+LIC_FILES_CHKSUM = "file://doc/LICENSE;md5=652fb4334c13b511597d7940ef8b3323 \
                     file://plugins/sudoers/redblack.c;beginline=1;endline=41;md5=cfe41112f96c19a074934d128f45c693 \
                     file://lib/util/reallocarray.c;beginline=3;endline=16;md5=85b0905b795d4d58bf2e00635649eec6 \
                     file://lib/util/fnmatch.c;beginline=3;endline=27;md5=67f83ee9bd456557397082f8f1be0efd \
diff --git a/meta/recipes-extended/sudo/sudo_1.8.19p2.bb b/meta/recipes-extended/sudo/sudo_1.8.20p2.bb
similarity index 90%
rename from meta/recipes-extended/sudo/sudo_1.8.19p2.bb
rename to meta/recipes-extended/sudo/sudo_1.8.20p2.bb
index a9659c3..4f24b3c 100644
--- a/meta/recipes-extended/sudo/sudo_1.8.19p2.bb
+++ b/meta/recipes-extended/sudo/sudo_1.8.20p2.bb
@@ -7,8 +7,8 @@ SRC_URI = "http://ftp.sudo.ws/sudo/dist/sudo-${PV}.tar.gz \
 
 PAM_SRC_URI = "file://sudo.pam"
 
-SRC_URI[md5sum] = "31a6090ed1d0946fa22cba19e86aafef"
-SRC_URI[sha256sum] = "237e18e67c2ad59ecacfa4b7707198b09fcf84914621585a9bc670dcc31a52e0"
+SRC_URI[md5sum] = "03da8e711caca6fd93e57751bfb74adc"
+SRC_URI[sha256sum] = "bd42ae1059e935f795c69ea97b3de09fe9410a58a74b5d5e6836eb5067a445d9"
 
 DEPENDS += " ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
 RDEPENDS_${PN} += " ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam-plugin-limits pam-plugin-keyinit', '', d)}"
-- 
1.9.1



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

* [PATCH 5/6] sysstat: upgrade to 11.5.7
  2017-07-24  9:51 [PATCH 0/6] Package Upgrade: pciutils, diffutils, cups, sudo, sysstat, dbus Chen Qi
                   ` (3 preceding siblings ...)
  2017-07-24  9:51 ` [PATCH 4/6] sudo: upgrade to 1.8.20p2 Chen Qi
@ 2017-07-24  9:51 ` Chen Qi
  2017-07-24  9:51 ` [PATCH 6/6] dbus/dbus-test: upgrade to 1.10.20 Chen Qi
  5 siblings, 0 replies; 8+ messages in thread
From: Chen Qi @ 2017-07-24  9:51 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 .../recipes-extended/sysstat/{sysstat_11.5.6.bb => sysstat_11.5.7.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-extended/sysstat/{sysstat_11.5.6.bb => sysstat_11.5.7.bb} (53%)

diff --git a/meta/recipes-extended/sysstat/sysstat_11.5.6.bb b/meta/recipes-extended/sysstat/sysstat_11.5.7.bb
similarity index 53%
rename from meta/recipes-extended/sysstat/sysstat_11.5.6.bb
rename to meta/recipes-extended/sysstat/sysstat_11.5.7.bb
index cdf9b12..72af931 100644
--- a/meta/recipes-extended/sysstat/sysstat_11.5.6.bb
+++ b/meta/recipes-extended/sysstat/sysstat_11.5.7.bb
@@ -4,5 +4,5 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a23a74b3f4caf9616230789d94217acb"
 
 SRC_URI += "file://0001-Include-needed-headers-explicitly.patch"
 
-SRC_URI[md5sum] = "92735f1be44c676960b53ee28e3a4984"
-SRC_URI[sha256sum] = "83a81e0a6c1d39a0985310dc2944ac6214c963adb4dc8af24ae03a9ae8d0f3ac"
+SRC_URI[md5sum] = "8f4a5d0de29f1056153e25e7a9c518d2"
+SRC_URI[sha256sum] = "4a38efaa0ca85ee5484d046bd427012979264fef17f07fd7855860e592819482"
-- 
1.9.1



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

* [PATCH 6/6] dbus/dbus-test: upgrade to 1.10.20
  2017-07-24  9:51 [PATCH 0/6] Package Upgrade: pciutils, diffutils, cups, sudo, sysstat, dbus Chen Qi
                   ` (4 preceding siblings ...)
  2017-07-24  9:51 ` [PATCH 5/6] sysstat: upgrade to 11.5.7 Chen Qi
@ 2017-07-24  9:51 ` Chen Qi
  5 siblings, 0 replies; 8+ messages in thread
From: Chen Qi @ 2017-07-24  9:51 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 meta/recipes-core/dbus/{dbus-test_1.10.18.bb => dbus-test_1.10.20.bb} | 4 ++--
 meta/recipes-core/dbus/{dbus_1.10.18.bb => dbus_1.10.20.bb}           | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
 rename meta/recipes-core/dbus/{dbus-test_1.10.18.bb => dbus-test_1.10.20.bb} (93%)
 rename meta/recipes-core/dbus/{dbus_1.10.18.bb => dbus_1.10.20.bb} (97%)

diff --git a/meta/recipes-core/dbus/dbus-test_1.10.18.bb b/meta/recipes-core/dbus/dbus-test_1.10.20.bb
similarity index 93%
rename from meta/recipes-core/dbus/dbus-test_1.10.18.bb
rename to meta/recipes-core/dbus/dbus-test_1.10.20.bb
index 141baf2..eeadb7d 100644
--- a/meta/recipes-core/dbus/dbus-test_1.10.18.bb
+++ b/meta/recipes-core/dbus/dbus-test_1.10.20.bb
@@ -17,8 +17,8 @@ SRC_URI = "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \
            file://clear-guid_from_server-if-send_negotiate_unix_f.patch \
            "
 
-SRC_URI[md5sum] = "1209c455598165a0c5263d4201894179"
-SRC_URI[sha256sum] = "6049ddd5f3f3e2618f615f1faeda0a115104423a7996b7aa73e2f36e38cc514a"
+SRC_URI[md5sum] = "94c991e763d4f9f13690416b2dcd9411"
+SRC_URI[sha256sum] = "e574b9780b5425fde4d973bb596e7ea0f09e00fe2edd662da9016e976c460b48"
 
 S="${WORKDIR}/dbus-${PV}"
 FILESEXTRAPATHS =. "${FILE_DIRNAME}/dbus:"
diff --git a/meta/recipes-core/dbus/dbus_1.10.18.bb b/meta/recipes-core/dbus/dbus_1.10.20.bb
similarity index 97%
rename from meta/recipes-core/dbus/dbus_1.10.18.bb
rename to meta/recipes-core/dbus/dbus_1.10.20.bb
index c0b63d1..9ddedc1 100644
--- a/meta/recipes-core/dbus/dbus_1.10.18.bb
+++ b/meta/recipes-core/dbus/dbus_1.10.20.bb
@@ -20,8 +20,8 @@ SRC_URI = "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \
            file://0001-configure.ac-explicitely-check-stdint.h.patch \
 "
 
-SRC_URI[md5sum] = "1209c455598165a0c5263d4201894179"
-SRC_URI[sha256sum] = "6049ddd5f3f3e2618f615f1faeda0a115104423a7996b7aa73e2f36e38cc514a"
+SRC_URI[md5sum] = "94c991e763d4f9f13690416b2dcd9411"
+SRC_URI[sha256sum] = "e574b9780b5425fde4d973bb596e7ea0f09e00fe2edd662da9016e976c460b48"
 
 inherit useradd autotools pkgconfig gettext update-rc.d upstream-version-is-even
 
-- 
1.9.1



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

* Re: [PATCH 2/6] diffutils: upgrade to 3.6
  2017-07-24  9:51 ` [PATCH 2/6] diffutils: upgrade to 3.6 Chen Qi
@ 2017-08-07 16:33   ` Christopher Larson
  0 siblings, 0 replies; 8+ messages in thread
From: Christopher Larson @ 2017-08-07 16:33 UTC (permalink / raw)
  To: Chen Qi; +Cc: Patches and discussions about the oe-core layer

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

On Mon, Jul 24, 2017 at 2:51 AM, Chen Qi <Qi.Chen@windriver.com> wrote:

> diffutils-3.5-gcc7.patch is removed as it's merged in this version.
>
> do_configure_prepend is removed to solve the following configure error.
>
>   error: possibly undefined macro: gl_TYPE_WINT_T_PREREQ
>
> A workaround patch is made to fix the following compilation error for
> glibc.
>
>   error: dereferencing pointer to incomplete type 'const struct rpl_option'
>
> Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
>

This disables use of the internal getopt, yet we don’t set
gl_cv_func_getopt_gnu=yes in our site info, so it always assumes it doesn’t
have a valid gnu getopt and decides to use the internal one, and the build
fails. I expect we need to add that to the site info in glibc-common in the
glib section in order to get this to build, now.
-- 
Christopher Larson
kergoth at gmail dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Senior Software Engineer, Mentor Graphics

[-- Attachment #2: Type: text/html, Size: 1541 bytes --]

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

end of thread, other threads:[~2017-08-07 16:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-24  9:51 [PATCH 0/6] Package Upgrade: pciutils, diffutils, cups, sudo, sysstat, dbus Chen Qi
2017-07-24  9:51 ` [PATCH 1/6] pciutils: upgrade to 3.5.5 Chen Qi
2017-07-24  9:51 ` [PATCH 2/6] diffutils: upgrade to 3.6 Chen Qi
2017-08-07 16:33   ` Christopher Larson
2017-07-24  9:51 ` [PATCH 3/6] cups: upgrade to 2.2.4 Chen Qi
2017-07-24  9:51 ` [PATCH 4/6] sudo: upgrade to 1.8.20p2 Chen Qi
2017-07-24  9:51 ` [PATCH 5/6] sysstat: upgrade to 11.5.7 Chen Qi
2017-07-24  9:51 ` [PATCH 6/6] dbus/dbus-test: upgrade to 1.10.20 Chen Qi

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