All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-python][PATCH] python3-bandit: Add missing dependency on pbr native
@ 2018-07-28  2:39 Khem Raj
  2018-07-28  2:39 ` [meta-python][PATCH] python-stevedore: Upgrade to 1.29.0 Khem Raj
  2018-07-28  2:39 ` [meta-networking][PATCH] samba: LDB 1.4.0 breaks Samba < 4.9 Khem Raj
  0 siblings, 2 replies; 3+ messages in thread
From: Khem Raj @ 2018-07-28  2:39 UTC (permalink / raw)
  To: openembedded-devel

Fixes:

| ERROR: Do not try to fetch `pbr>=1.8' for building. Please add its native recipe to DEPENDS.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-python/recipes-devtools/python/python3-bandit_1.4.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-python/recipes-devtools/python/python3-bandit_1.4.0.bb b/meta-python/recipes-devtools/python/python3-bandit_1.4.0.bb
index 2d24c8b0f7..84f47614e0 100644
--- a/meta-python/recipes-devtools/python/python3-bandit_1.4.0.bb
+++ b/meta-python/recipes-devtools/python/python3-bandit_1.4.0.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2"
 SRC_URI[md5sum] = "f74155cb9921be857693b32d2531e857"
 SRC_URI[sha256sum] = "cb977045497f83ec3a02616973ab845c829cdab8144ce2e757fe031104a9abd4"
 
-DEPENDS = "python3-pyyaml python3-six python3-stevedore"
+DEPENDS = "python3-pyyaml python3-six python3-stevedore python3-pbr-native"
 
 inherit setuptools3 pypi
 
-- 
2.18.0



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

* [meta-python][PATCH] python-stevedore: Upgrade to 1.29.0
  2018-07-28  2:39 [meta-python][PATCH] python3-bandit: Add missing dependency on pbr native Khem Raj
@ 2018-07-28  2:39 ` Khem Raj
  2018-07-28  2:39 ` [meta-networking][PATCH] samba: LDB 1.4.0 breaks Samba < 4.9 Khem Raj
  1 sibling, 0 replies; 3+ messages in thread
From: Khem Raj @ 2018-07-28  2:39 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-python/recipes-devtools/python/python-stevedore.inc    | 6 +++---
 ...ython-stevedore_1.28.0.bb => python-stevedore_1.29.0.bb} | 0
 ...hon3-stevedore_1.28.0.bb => python3-stevedore_1.29.0.bb} | 0
 3 files changed, 3 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python-stevedore_1.28.0.bb => python-stevedore_1.29.0.bb} (100%)
 rename meta-python/recipes-devtools/python/{python3-stevedore_1.28.0.bb => python3-stevedore_1.29.0.bb} (100%)

diff --git a/meta-python/recipes-devtools/python/python-stevedore.inc b/meta-python/recipes-devtools/python/python-stevedore.inc
index b23fb4c8c5..16e4155e10 100644
--- a/meta-python/recipes-devtools/python/python-stevedore.inc
+++ b/meta-python/recipes-devtools/python/python-stevedore.inc
@@ -3,11 +3,11 @@ HOMEPAGE = "https://github.com/dreamhost/stevedore"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
 
-SRC_URI[md5sum] = "b736a71431a2ff5831bbff4a6ccec0c1"
-SRC_URI[sha256sum] = "f1c7518e7b160336040fee272174f1f7b29a46febb3632502a8f2055f973d60b"
+SRC_URI[md5sum] = "525186cba577852e0408c92c3f8fac65"
+SRC_URI[sha256sum] = "1e153545aca7a6a49d8337acca4f41c212fbfa60bf864ecd056df0cafb9627e8"
 
 inherit pypi
-
+DEPENDS += "${PYTHON_PN}-pbr"
 RDEPENDS_${PN} += "${PYTHON_PN}-pbr ${PYTHON_PN}-six"
 
 BBCLASSEXTEND = "native"
diff --git a/meta-python/recipes-devtools/python/python-stevedore_1.28.0.bb b/meta-python/recipes-devtools/python/python-stevedore_1.29.0.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python-stevedore_1.28.0.bb
rename to meta-python/recipes-devtools/python/python-stevedore_1.29.0.bb
diff --git a/meta-python/recipes-devtools/python/python3-stevedore_1.28.0.bb b/meta-python/recipes-devtools/python/python3-stevedore_1.29.0.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-stevedore_1.28.0.bb
rename to meta-python/recipes-devtools/python/python3-stevedore_1.29.0.bb
-- 
2.18.0



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

* [meta-networking][PATCH] samba: LDB 1.4.0 breaks Samba < 4.9
  2018-07-28  2:39 [meta-python][PATCH] python3-bandit: Add missing dependency on pbr native Khem Raj
  2018-07-28  2:39 ` [meta-python][PATCH] python-stevedore: Upgrade to 1.29.0 Khem Raj
@ 2018-07-28  2:39 ` Khem Raj
  1 sibling, 0 replies; 3+ messages in thread
From: Khem Raj @ 2018-07-28  2:39 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 ...ild-Samba-against-a-newer-minor-vers.patch | 86 +++++++++++++++++++
 .../recipes-connectivity/samba/samba_4.7.8.bb |  1 +
 2 files changed, 87 insertions(+)
 create mode 100644 meta-networking/recipes-connectivity/samba/samba/0001-ldb-Refuse-to-build-Samba-against-a-newer-minor-vers.patch

diff --git a/meta-networking/recipes-connectivity/samba/samba/0001-ldb-Refuse-to-build-Samba-against-a-newer-minor-vers.patch b/meta-networking/recipes-connectivity/samba/samba/0001-ldb-Refuse-to-build-Samba-against-a-newer-minor-vers.patch
new file mode 100644
index 0000000000..4c94831d7f
--- /dev/null
+++ b/meta-networking/recipes-connectivity/samba/samba/0001-ldb-Refuse-to-build-Samba-against-a-newer-minor-vers.patch
@@ -0,0 +1,86 @@
+From 0bc8bc4143a58f91f6d7ce228b6763f377fdf45a Mon Sep 17 00:00:00 2001
+From: Andrew Bartlett <abartlet@samba.org>
+Date: Thu, 12 Jul 2018 12:34:56 +1200
+Subject: [PATCH] ldb: Refuse to build Samba against a newer minor version of
+ ldb
+
+Samba is not compatible with new versions of ldb (except release versions)
+
+Other users would not notice the breakages, but Samba makes many
+more assuptions about the LDB internals than any other package.
+
+(Specifically, LDB 1.2 and 1.4 broke builds against released
+Samba versions)
+
+BUG: https://bugzilla.samba.org/show_bug.cgi?id=13519
+
+Signed-off-by: Andrew Bartlett <abartlet@samba.org>
+Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
+(cherry picked from commit 52efa796538ae004ca62ea32fc8c833472991be6)
+---
+ lib/ldb/wscript | 32 ++++++++++++++++++++++----------
+ 1 file changed, 22 insertions(+), 10 deletions(-)
+
+diff --git a/lib/ldb/wscript b/lib/ldb/wscript
+index d94086b..2bb0832 100644
+--- a/lib/ldb/wscript
++++ b/lib/ldb/wscript
+@@ -62,23 +62,33 @@ def configure(conf):
+     conf.env.standalone_ldb = conf.IN_LAUNCH_DIR()
+ 
+     if not conf.env.standalone_ldb:
++        max_ldb_version = [int(x) for x in VERSION.split(".")]
++        max_ldb_version[2] = 999
++        max_ldb_version_dots = "%d.%d.%d" % tuple(max_ldb_version)
++
+         if conf.env.disable_python:
+-            if conf.CHECK_BUNDLED_SYSTEM_PKG('ldb', minversion=VERSION,
+-                                         onlyif='talloc tdb tevent',
+-                                         implied_deps='replace talloc tdb tevent'):
++            if conf.CHECK_BUNDLED_SYSTEM_PKG('ldb',
++                                             minversion=VERSION,
++                                             maxversion=max_ldb_version_dots,
++                                             onlyif='talloc tdb tevent',
++                                             implied_deps='replace talloc tdb tevent'):
+                 conf.define('USING_SYSTEM_LDB', 1)
+         else:
+             using_system_pyldb_util = True
+-            if not conf.CHECK_BUNDLED_SYSTEM_PKG('pyldb-util', minversion=VERSION,
+-                                             onlyif='talloc tdb tevent',
+-                                             implied_deps='replace talloc tdb tevent ldb'):
++            if not conf.CHECK_BUNDLED_SYSTEM_PKG('pyldb-util',
++                                                 minversion=VERSION,
++                                                 maxversion=max_ldb_version_dots,
++                                                 onlyif='talloc tdb tevent',
++                                                 implied_deps='replace talloc tdb tevent ldb'):
+                 using_system_pyldb_util = False
+ 
+             # We need to get a pyldb-util for all the python versions
+             # we are building for
+             if conf.env['EXTRA_PYTHON']:
+                 name = 'pyldb-util' + conf.all_envs['extrapython']['PYTHON_SO_ABI_FLAG']
+-                if not conf.CHECK_BUNDLED_SYSTEM_PKG(name, minversion=VERSION,
++                if not conf.CHECK_BUNDLED_SYSTEM_PKG(name,
++                                                     minversion=VERSION,
++                                                     maxversion=max_ldb_version_dots,
+                                                      onlyif='talloc tdb tevent',
+                                                      implied_deps='replace talloc tdb tevent ldb'):
+                     using_system_pyldb_util = False
+@@ -86,9 +96,11 @@ def configure(conf):
+             if using_system_pyldb_util:
+                 conf.define('USING_SYSTEM_PYLDB_UTIL', 1)
+ 
+-            if conf.CHECK_BUNDLED_SYSTEM_PKG('ldb', minversion=VERSION,
+-                                         onlyif='talloc tdb tevent pyldb-util',
+-                                         implied_deps='replace talloc tdb tevent'):
++            if conf.CHECK_BUNDLED_SYSTEM_PKG('ldb',
++                                             minversion=VERSION,
++                                             maxversion=max_ldb_version_dots,
++                                             onlyif='talloc tdb tevent pyldb-util',
++                                             implied_deps='replace talloc tdb tevent'):
+                 conf.define('USING_SYSTEM_LDB', 1)
+ 
+     if conf.CONFIG_SET('USING_SYSTEM_LDB'):
+-- 
+2.18.0
+
diff --git a/meta-networking/recipes-connectivity/samba/samba_4.7.8.bb b/meta-networking/recipes-connectivity/samba/samba_4.7.8.bb
index fc1a2e0fd0..9858a18c49 100644
--- a/meta-networking/recipes-connectivity/samba/samba_4.7.8.bb
+++ b/meta-networking/recipes-connectivity/samba/samba_4.7.8.bb
@@ -24,6 +24,7 @@ SRC_URI = "${SAMBA_MIRROR}/stable/samba-${PV}.tar.gz \
            file://dnsserver-4.7.0.patch \
            file://smb_conf-4.7.0.patch \
            file://volatiles.03_samba \
+           file://0001-ldb-Refuse-to-build-Samba-against-a-newer-minor-vers.patch \
           "
 SRC_URI_append_libc-musl = " \
            file://samba-pam.patch \
-- 
2.18.0



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

end of thread, other threads:[~2018-07-28  2:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-28  2:39 [meta-python][PATCH] python3-bandit: Add missing dependency on pbr native Khem Raj
2018-07-28  2:39 ` [meta-python][PATCH] python-stevedore: Upgrade to 1.29.0 Khem Raj
2018-07-28  2:39 ` [meta-networking][PATCH] samba: LDB 1.4.0 breaks Samba < 4.9 Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.