All of lore.kernel.org
 help / color / mirror / Atom feed
* [zeus 00/11] Patch review
@ 2020-02-09 16:17 Armin Kuster
  2020-02-09 16:17 ` [zeus 01/11] libldb: upgrade 1.5.5 -> 1.5.6 Armin Kuster
                   ` (10 more replies)
  0 siblings, 11 replies; 13+ messages in thread
From: Armin Kuster @ 2020-02-09 16:17 UTC (permalink / raw)
  To: openembedded-devel

Here are the next set of changes for meta-oe zeus.
Please have commnets back by Tuesday

The following changes since commit 81e186f6141a6e8f4ab3185b00b9f1392bb89ca1:

  adduser: set default shell with /sbin/nologin (2020-01-19 09:05:19 -0800)

are available in the Git repository at:

  git://git.openembedded.org/meta-openembedded-contrib stable/zeus-nut
  http://cgit.openembedded.org/meta-openembedded-contrib/log/?h=stable/zeus-nut

Khem Raj (6):
  squid: Link with libatomic on riscv
  grpc: Link with libatomic on clang/x86
  grpc: Link with libatomic on powerpc
  grpc: Link with libatomic on riscv
  netdata: Add libatomic to link step
  fluentbit: Fix packaging in multilib env

Peter Kjellerstedt (1):
  gitpkgv.bbclass: Add support for extending the supported tag formats

Sumit Garg (1):
  mariadb: fix library LZ4 lookup

Trevor Gamblin (2):
  python-twisted: add required RDEPENDS for twistd
  pyhamcrest: add python3 version of recipe

Yi Zhao (1):
  libldb: upgrade 1.5.5 -> 1.5.6

 .../recipes-daemons/squid/squid_4.6.bb        |  2 ++
 .../recipes-devtools/grpc/grpc_1.24.1.bb      | 16 ++++++++++
 .../{libldb_1.5.5.bb => libldb_1.5.6.bb}      |  4 +--
 meta-oe/classes/gitpkgv.bbclass               | 14 ++++++---
 meta-oe/recipes-dbs/mysql/mariadb.inc         |  1 +
 .../mariadb/0001-Fix-library-LZ4-lookup.patch | 30 +++++++++++++++++++
 .../fluentbit/fluentbit/cmake_multilib.patch  | 18 +++++++++++
 .../fluentbit/fluentbit_0.12.19.bb            |  1 +
 .../python/python-twisted.inc                 | 18 ++++++++++-
 .../python/python3-pyhamcrest_1.9.0.bb        | 10 +++++++
 .../recipes-webadmin/netdata/netdata_git.bb   |  2 ++
 11 files changed, 109 insertions(+), 7 deletions(-)
 rename meta-networking/recipes-support/libldb/{libldb_1.5.5.bb => libldb_1.5.6.bb} (95%)
 create mode 100644 meta-oe/recipes-dbs/mysql/mariadb/0001-Fix-library-LZ4-lookup.patch
 create mode 100644 meta-oe/recipes-extended/fluentbit/fluentbit/cmake_multilib.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-pyhamcrest_1.9.0.bb

-- 
2.17.1



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

* [zeus 01/11] libldb: upgrade 1.5.5 -> 1.5.6
  2020-02-09 16:17 [zeus 00/11] Patch review Armin Kuster
@ 2020-02-09 16:17 ` Armin Kuster
  2020-02-10 20:00   ` Khem Raj
  2020-02-09 16:17 ` [zeus 02/11] mariadb: fix library LZ4 lookup Armin Kuster
                   ` (9 subsequent siblings)
  10 siblings, 1 reply; 13+ messages in thread
From: Armin Kuster @ 2020-02-09 16:17 UTC (permalink / raw)
  To: openembedded-devel

From: Yi Zhao <yi.zhao@windriver.com>

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 2b3fd534874aee125a6c79c70c93b1aa498fda3f)
[Samba's update via ee5aa6911b2e93b89e67ae6167ee7d9a029b9262  required
 libldb upgrade to 1.5.6 Yocto # 13750]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
 .../libldb/{libldb_1.5.5.bb => libldb_1.5.6.bb}               | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-networking/recipes-support/libldb/{libldb_1.5.5.bb => libldb_1.5.6.bb} (95%)

diff --git a/meta-networking/recipes-support/libldb/libldb_1.5.5.bb b/meta-networking/recipes-support/libldb/libldb_1.5.6.bb
similarity index 95%
rename from meta-networking/recipes-support/libldb/libldb_1.5.5.bb
rename to meta-networking/recipes-support/libldb/libldb_1.5.6.bb
index b19c964d85..99eb6f9ce8 100644
--- a/meta-networking/recipes-support/libldb/libldb_1.5.5.bb
+++ b/meta-networking/recipes-support/libldb/libldb_1.5.6.bb
@@ -33,8 +33,8 @@ LIC_FILES_CHKSUM = "file://pyldb.h;endline=24;md5=dfbd238cecad76957f7f860fbe9ada
                     file://man/ldb.3.xml;beginline=261;endline=262;md5=137f9fd61040c1505d1aa1019663fd08 \
                     file://tools/ldbdump.c;endline=19;md5=a7d4fc5d1f75676b49df491575a86a42"
 
-SRC_URI[md5sum] = "339a41ac9efaec680e6d1469dd9aa35b"
-SRC_URI[sha256sum] = "199f5861aa863f538ec66d5fa95ecc13254a2030c53daf0e47363fa9ba235c68"
+SRC_URI[md5sum] = "fc58ef432c1fcb03fc3bb6cccce08977"
+SRC_URI[sha256sum] = "ff82474d0bf109e415a2d50334bde5715f486a53ff4bb8c7f74459dd229e975b"
 
 inherit waf-samba distro_features_check
 REQUIRED_DISTRO_FEATURES = "pam"
-- 
2.17.1



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

* [zeus 02/11] mariadb: fix library LZ4 lookup
  2020-02-09 16:17 [zeus 00/11] Patch review Armin Kuster
  2020-02-09 16:17 ` [zeus 01/11] libldb: upgrade 1.5.5 -> 1.5.6 Armin Kuster
@ 2020-02-09 16:17 ` Armin Kuster
  2020-02-09 16:17 ` [zeus 03/11] python-twisted: add required RDEPENDS for twistd Armin Kuster
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 13+ messages in thread
From: Armin Kuster @ 2020-02-09 16:17 UTC (permalink / raw)
  To: openembedded-devel

From: Sumit Garg <sumit.garg@linaro.org>

While cross-compiling mariadb package it tries to link lz4 library
present in the target sysroot and if not found it tries to link host
lz4 library which is incorrect leading to linker errors. So fix that
via restricting lz4 library lookup to target sysroot only.

Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
 meta-oe/recipes-dbs/mysql/mariadb.inc         |  1 +
 .../mariadb/0001-Fix-library-LZ4-lookup.patch | 30 +++++++++++++++++++
 2 files changed, 31 insertions(+)
 create mode 100644 meta-oe/recipes-dbs/mysql/mariadb/0001-Fix-library-LZ4-lookup.patch

diff --git a/meta-oe/recipes-dbs/mysql/mariadb.inc b/meta-oe/recipes-dbs/mysql/mariadb.inc
index e1ae58ae7a..703e172174 100644
--- a/meta-oe/recipes-dbs/mysql/mariadb.inc
+++ b/meta-oe/recipes-dbs/mysql/mariadb.inc
@@ -18,6 +18,7 @@ SRC_URI = "http://archive.mariadb.org/${BP}/source/${BP}.tar.gz \
            file://c11_atomics.patch \
            file://clang_version_header_conflict.patch \
            file://fix-arm-atomic.patch \
+           file://0001-Fix-library-LZ4-lookup.patch \
           "
 SRC_URI[md5sum] = "b3524c0825c3a1c255496daea38304a0"
 SRC_URI[sha256sum] = "69456ca85bf9d96c6d28b4ade2a9f6787d79a602e27ef941f9ba4e0b55dddedc"
diff --git a/meta-oe/recipes-dbs/mysql/mariadb/0001-Fix-library-LZ4-lookup.patch b/meta-oe/recipes-dbs/mysql/mariadb/0001-Fix-library-LZ4-lookup.patch
new file mode 100644
index 0000000000..574dfd317a
--- /dev/null
+++ b/meta-oe/recipes-dbs/mysql/mariadb/0001-Fix-library-LZ4-lookup.patch
@@ -0,0 +1,30 @@
+From 1d7612b063eb1fc7bf97bc27b13e1de596748aa1 Mon Sep 17 00:00:00 2001
+From: Sumit Garg <sumit.garg@linaro.org>
+Date: Wed, 8 Jan 2020 04:58:30 +0000
+Subject: [PATCH] Fix library LZ4 lookup.
+
+Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
+---
+ cmake/FindLZ4.cmake | 9 +++++++--
+ 1 file changed, 7 insertions(+), 2 deletions(-)
+
+diff --git a/cmake/FindLZ4.cmake b/cmake/FindLZ4.cmake
+index e97dd63e2b0..2f4694e727c 100644
+--- a/cmake/FindLZ4.cmake
++++ b/cmake/FindLZ4.cmake
+@@ -1,5 +1,10 @@
+-find_path(LZ4_INCLUDE_DIR NAMES lz4.h)
+-find_library(LZ4_LIBRARY NAMES lz4)
++find_path(LZ4_INCLUDE_DIR
++  NAMES	lz4.h
++  NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH)
++
++find_library(LZ4_LIBRARY
++  NAMES lz4
++  NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH)
+ 
+ include(FindPackageHandleStandardArgs)
+ FIND_PACKAGE_HANDLE_STANDARD_ARGS(
+-- 
+2.17.1
+
-- 
2.17.1



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

* [zeus 03/11] python-twisted: add required RDEPENDS for twistd
  2020-02-09 16:17 [zeus 00/11] Patch review Armin Kuster
  2020-02-09 16:17 ` [zeus 01/11] libldb: upgrade 1.5.5 -> 1.5.6 Armin Kuster
  2020-02-09 16:17 ` [zeus 02/11] mariadb: fix library LZ4 lookup Armin Kuster
@ 2020-02-09 16:17 ` Armin Kuster
  2020-02-09 16:17 ` [zeus 04/11] pyhamcrest: add python3 version of recipe Armin Kuster
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 13+ messages in thread
From: Armin Kuster @ 2020-02-09 16:17 UTC (permalink / raw)
  To: openembedded-devel

From: Trevor Gamblin <trevor.gamblin@windriver.com>

python-twisted is currently missing some packages for its /usr/bin/twistd
executable to function. Add these to the RDEPENDS list, and also clean up
formatting since the list is getting long.

Note that a similar patch has already been submitted for master branch,
but the python2 version of twisted needs more explicit RDEPENDS than the
python3 version submitted to master in order for /usr/bin/twistd to work
properly.

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
 .../recipes-devtools/python/python-twisted.inc | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/meta-python/recipes-devtools/python/python-twisted.inc b/meta-python/recipes-devtools/python/python-twisted.inc
index d70104dc26..f55bbb0330 100644
--- a/meta-python/recipes-devtools/python/python-twisted.inc
+++ b/meta-python/recipes-devtools/python/python-twisted.inc
@@ -56,7 +56,23 @@ RDEPENDS_${PN} = "\
     ${PN}-zsh \
 "
 
-RDEPENDS_${PN}-core = "${PYTHON_PN}-core ${PYTHON_PN}-zopeinterface ${PYTHON_PN}-incremental ${PYTHON_PN}-constantly ${PYTHON_PN}-hyperlink ${PYTHON_PN}-automat"
+RDEPENDS_${PN}-core = "${PYTHON_PN}-core \ 
+                       ${PYTHON_PN}-zopeinterface \
+                       ${PYTHON_PN}-incremental \
+                       ${PYTHON_PN}-constantly \
+                       ${PYTHON_PN}-hyperlink \
+                       ${PYTHON_PN}-automat \
+                       ${PYTHON_PN}-pyserial \
+                       ${PYTHON_PN}-pyhamcrest \
+                       ${PYTHON_PN}-debugger \
+                       ${PYTHON_PN}-unixadmin \
+                       ${PYTHON_PN}-pkg-resources \
+                       ${PYTHON_PN}-misc \
+                       ${PYTHON_PN}-pkgutil \
+                       ${PYTHON_PN}-plistlib \
+                       ${PYTHON_PN}-setuptools \
+"
+
 RDEPENDS_${PN}-test = "${PN}"
 RDEPENDS_${PN}-conch = "${PN}-core ${PN}-protocols"
 RDEPENDS_${PN}-mail = "${PN}-core ${PN}-protocols"
-- 
2.17.1



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

* [zeus 04/11] pyhamcrest: add python3 version of recipe
  2020-02-09 16:17 [zeus 00/11] Patch review Armin Kuster
                   ` (2 preceding siblings ...)
  2020-02-09 16:17 ` [zeus 03/11] python-twisted: add required RDEPENDS for twistd Armin Kuster
@ 2020-02-09 16:17 ` Armin Kuster
  2020-02-09 16:17 ` [zeus 05/11] gitpkgv.bbclass: Add support for extending the supported tag formats Armin Kuster
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 13+ messages in thread
From: Armin Kuster @ 2020-02-09 16:17 UTC (permalink / raw)
  To: openembedded-devel

From: Trevor Gamblin <trevor.gamblin@windriver.com>

Twisted requires pyhamcrest for /usr/bin/twistd to work, but in zeus
there is only a python2 recipe for this package, thus the twistd daemon
won't be able to run properly for python3.

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
 .../python/python3-pyhamcrest_1.9.0.bb                 | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-pyhamcrest_1.9.0.bb

diff --git a/meta-python/recipes-devtools/python/python3-pyhamcrest_1.9.0.bb b/meta-python/recipes-devtools/python/python3-pyhamcrest_1.9.0.bb
new file mode 100644
index 0000000000..04aa9b47f0
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pyhamcrest_1.9.0.bb
@@ -0,0 +1,10 @@
+SUMMARY = "Hamcrest framework for matcher objects"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f6df1318c6071dd1707f5e3b6c11f24f"
+
+PYPI_PACKAGE = "PyHamcrest"
+
+SRC_URI[md5sum] = "8b833a3fa30197455df79424f30c8c3f"
+SRC_URI[sha256sum] = "8ffaa0a53da57e89de14ced7185ac746227a8894dbd5a3c718bf05ddbd1d56cd"
+
+inherit pypi setuptools3
-- 
2.17.1



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

* [zeus 05/11] gitpkgv.bbclass: Add support for extending the supported tag formats
  2020-02-09 16:17 [zeus 00/11] Patch review Armin Kuster
                   ` (3 preceding siblings ...)
  2020-02-09 16:17 ` [zeus 04/11] pyhamcrest: add python3 version of recipe Armin Kuster
@ 2020-02-09 16:17 ` Armin Kuster
  2020-02-09 16:17 ` [zeus 06/11] squid: Link with libatomic on riscv Armin Kuster
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 13+ messages in thread
From: Armin Kuster @ 2020-02-09 16:17 UTC (permalink / raw)
  To: openembedded-devel

From: Peter Kjellerstedt <pkj@axis.com>

Introduce GITPKGV_TAG_REGEXP (which defaults to "v(\d.*)") to support
dropping other unwanted parts of the found tags than just a leading
"v". Any matching groups in the regexp will be concatenated to yield
the final version.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit b51af6b5b7a41b44d3539f44c10d21624c4cc4a7)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
 meta-oe/classes/gitpkgv.bbclass | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/meta-oe/classes/gitpkgv.bbclass b/meta-oe/classes/gitpkgv.bbclass
index ab591bd45c..180421ed35 100644
--- a/meta-oe/classes/gitpkgv.bbclass
+++ b/meta-oe/classes/gitpkgv.bbclass
@@ -40,10 +40,16 @@
 GITPKGV = "${@get_git_pkgv(d, False)}"
 GITPKGVTAG = "${@get_git_pkgv(d, True)}"
 
-def gitpkgv_drop_tag_prefix(version):
+# This regexp is used to drop unwanted parts of the found tags. Any matching
+# groups will be concatenated to yield the final version.
+GITPKGV_TAG_REGEXP ??= "v(\d.*)"
+
+def gitpkgv_drop_tag_prefix(d, version):
     import re
-    if re.match("v\d", version):
-        return version[1:]
+
+    m = re.match(d.getVar('GITPKGV_TAG_REGEXP'), version)
+    if m:
+        return ''.join(group for group in m.groups() if group)
     else:
         return version
 
@@ -105,7 +111,7 @@ def get_git_pkgv(d, use_tags):
                         output = bb.fetch2.runfetchcmd(
                             "git --git-dir=%(repodir)s describe %(rev)s --tags --exact-match 2>/dev/null"
                             % vars, d, quiet=True).strip()
-                        ver = gitpkgv_drop_tag_prefix(output)
+                        ver = gitpkgv_drop_tag_prefix(d, output)
                     except Exception:
                         ver = "0.0-%s-g%s" % (commits, vars['rev'][:7])
                 else:
-- 
2.17.1



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

* [zeus 06/11] squid: Link with libatomic on riscv
  2020-02-09 16:17 [zeus 00/11] Patch review Armin Kuster
                   ` (4 preceding siblings ...)
  2020-02-09 16:17 ` [zeus 05/11] gitpkgv.bbclass: Add support for extending the supported tag formats Armin Kuster
@ 2020-02-09 16:17 ` Armin Kuster
  2020-02-09 16:17 ` [zeus 07/11] grpc: Link with libatomic on clang/x86 Armin Kuster
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 13+ messages in thread
From: Armin Kuster @ 2020-02-09 16:17 UTC (permalink / raw)
  To: openembedded-devel

From: Khem Raj <raj.khem@gmail.com>

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 626209aabb5684316eba0d4b762980924d783c93)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
 meta-networking/recipes-daemons/squid/squid_4.6.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-networking/recipes-daemons/squid/squid_4.6.bb b/meta-networking/recipes-daemons/squid/squid_4.6.bb
index ca4927dda1..dfd625b214 100644
--- a/meta-networking/recipes-daemons/squid/squid_4.6.bb
+++ b/meta-networking/recipes-daemons/squid/squid_4.6.bb
@@ -40,6 +40,8 @@ inherit autotools pkgconfig useradd ptest perlnative
 
 LDFLAGS_append_mipsarch = " -latomic"
 LDFLAGS_append_powerpc = " -latomic"
+LDFLAGS_append_riscv64 = " -latomic"
+LDFLAGS_append_riscv32 = " -latomic"
 
 USERADD_PACKAGES = "${PN}"
 USERADD_PARAM_${PN} = "--system --no-create-home --home-dir /var/run/squid --shell /bin/false --user-group squid"
-- 
2.17.1



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

* [zeus 07/11] grpc: Link with libatomic on clang/x86
  2020-02-09 16:17 [zeus 00/11] Patch review Armin Kuster
                   ` (5 preceding siblings ...)
  2020-02-09 16:17 ` [zeus 06/11] squid: Link with libatomic on riscv Armin Kuster
@ 2020-02-09 16:17 ` Armin Kuster
  2020-02-09 16:17 ` [zeus 08/11] grpc: Link with libatomic on powerpc Armin Kuster
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 13+ messages in thread
From: Armin Kuster @ 2020-02-09 16:17 UTC (permalink / raw)
  To: openembedded-devel

From: Khem Raj <raj.khem@gmail.com>

clang does delegate the atomic<double> calls to libatomic on x86 where
as gcc tries to use intrinsics, its debatable who is right, but it does
seem that clang is safe in case pointer is unaligned

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit f7a7a2aafe87437aefca21612dc156fde645ac89)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
 meta-networking/recipes-devtools/grpc/grpc_1.24.1.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta-networking/recipes-devtools/grpc/grpc_1.24.1.bb b/meta-networking/recipes-devtools/grpc/grpc_1.24.1.bb
index 8d54dbeff8..c11b55669a 100644
--- a/meta-networking/recipes-devtools/grpc/grpc_1.24.1.bb
+++ b/meta-networking/recipes-devtools/grpc/grpc_1.24.1.bb
@@ -44,6 +44,10 @@ do_configure_prepend_mipsarch() {
     sed -i -e "s/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} rt m pthread)/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} atomic rt m pthread)/g" ${S}/CMakeLists.txt
 }
 
+do_configure_prepend_toolchain-clang_x86() {
+    sed -i -e "s/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} rt m pthread)/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} atomic rt m pthread)/g" ${S}/CMakeLists.txt
+}
+
 BBCLASSEXTEND = "native nativesdk"
 
 SYSROOT_DIRS_BLACKLIST_append_class-target = "${baselib}/cmake/grpc"
-- 
2.17.1



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

* [zeus 08/11] grpc: Link with libatomic on powerpc
  2020-02-09 16:17 [zeus 00/11] Patch review Armin Kuster
                   ` (6 preceding siblings ...)
  2020-02-09 16:17 ` [zeus 07/11] grpc: Link with libatomic on clang/x86 Armin Kuster
@ 2020-02-09 16:17 ` Armin Kuster
  2020-02-09 16:17 ` [zeus 09/11] grpc: Link with libatomic on riscv Armin Kuster
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 13+ messages in thread
From: Armin Kuster @ 2020-02-09 16:17 UTC (permalink / raw)
  To: openembedded-devel

From: Khem Raj <raj.khem@gmail.com>

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 2b8c1fa1cbfa21fc0044a172fffa5986a0fd4ad0)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
 meta-networking/recipes-devtools/grpc/grpc_1.24.1.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta-networking/recipes-devtools/grpc/grpc_1.24.1.bb b/meta-networking/recipes-devtools/grpc/grpc_1.24.1.bb
index c11b55669a..34b4e317be 100644
--- a/meta-networking/recipes-devtools/grpc/grpc_1.24.1.bb
+++ b/meta-networking/recipes-devtools/grpc/grpc_1.24.1.bb
@@ -44,6 +44,10 @@ do_configure_prepend_mipsarch() {
     sed -i -e "s/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} rt m pthread)/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} atomic rt m pthread)/g" ${S}/CMakeLists.txt
 }
 
+do_configure_prepend_powerpc() {
+    sed -i -e "s/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} rt m pthread)/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} atomic rt m pthread)/g" ${S}/CMakeLists.txt
+}
+
 do_configure_prepend_toolchain-clang_x86() {
     sed -i -e "s/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} rt m pthread)/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} atomic rt m pthread)/g" ${S}/CMakeLists.txt
 }
-- 
2.17.1



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

* [zeus 09/11] grpc: Link with libatomic on riscv
  2020-02-09 16:17 [zeus 00/11] Patch review Armin Kuster
                   ` (7 preceding siblings ...)
  2020-02-09 16:17 ` [zeus 08/11] grpc: Link with libatomic on powerpc Armin Kuster
@ 2020-02-09 16:17 ` Armin Kuster
  2020-02-09 16:17 ` [zeus 10/11] netdata: Add libatomic to link step Armin Kuster
  2020-02-09 16:17 ` [zeus 11/11] fluentbit: Fix packaging in multilib env Armin Kuster
  10 siblings, 0 replies; 13+ messages in thread
From: Armin Kuster @ 2020-02-09 16:17 UTC (permalink / raw)
  To: openembedded-devel

From: Khem Raj <raj.khem@gmail.com>

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit e82f1802a60d451f978cdef0f2ff69feb1f12039)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
 meta-networking/recipes-devtools/grpc/grpc_1.24.1.bb | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/meta-networking/recipes-devtools/grpc/grpc_1.24.1.bb b/meta-networking/recipes-devtools/grpc/grpc_1.24.1.bb
index 34b4e317be..0b5e5c3361 100644
--- a/meta-networking/recipes-devtools/grpc/grpc_1.24.1.bb
+++ b/meta-networking/recipes-devtools/grpc/grpc_1.24.1.bb
@@ -48,6 +48,14 @@ do_configure_prepend_powerpc() {
     sed -i -e "s/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} rt m pthread)/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} atomic rt m pthread)/g" ${S}/CMakeLists.txt
 }
 
+do_configure_prepend_riscv64() {
+    sed -i -e "s/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} rt m pthread)/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} atomic rt m pthread)/g" ${S}/CMakeLists.txt
+}
+
+do_configure_prepend_riscv32() {
+    sed -i -e "s/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} rt m pthread)/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} atomic rt m pthread)/g" ${S}/CMakeLists.txt
+}
+
 do_configure_prepend_toolchain-clang_x86() {
     sed -i -e "s/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} rt m pthread)/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} atomic rt m pthread)/g" ${S}/CMakeLists.txt
 }
-- 
2.17.1



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

* [zeus 10/11] netdata: Add libatomic to link step
  2020-02-09 16:17 [zeus 00/11] Patch review Armin Kuster
                   ` (8 preceding siblings ...)
  2020-02-09 16:17 ` [zeus 09/11] grpc: Link with libatomic on riscv Armin Kuster
@ 2020-02-09 16:17 ` Armin Kuster
  2020-02-09 16:17 ` [zeus 11/11] fluentbit: Fix packaging in multilib env Armin Kuster
  10 siblings, 0 replies; 13+ messages in thread
From: Armin Kuster @ 2020-02-09 16:17 UTC (permalink / raw)
  To: openembedded-devel

From: Khem Raj <raj.khem@gmail.com>

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit ae4adf2849eb23c7ea1dd53fe5d0c06c840a18a1)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
 meta-webserver/recipes-webadmin/netdata/netdata_git.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-webserver/recipes-webadmin/netdata/netdata_git.bb b/meta-webserver/recipes-webadmin/netdata/netdata_git.bb
index d179e84e33..d6a5ce0662 100644
--- a/meta-webserver/recipes-webadmin/netdata/netdata_git.bb
+++ b/meta-webserver/recipes-webadmin/netdata/netdata_git.bb
@@ -26,6 +26,8 @@ DEPENDS += "zlib util-linux"
 inherit pkgconfig autotools-brokensep useradd systemd
 
 LIBS_toolchain-clang_x86 = "-latomic"
+LIBS_riscv64 = "-latomic"
+LIBS_riscv32 = "-latomic"
 export LIBS
 
 #systemd
-- 
2.17.1



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

* [zeus 11/11] fluentbit: Fix packaging in multilib env
  2020-02-09 16:17 [zeus 00/11] Patch review Armin Kuster
                   ` (9 preceding siblings ...)
  2020-02-09 16:17 ` [zeus 10/11] netdata: Add libatomic to link step Armin Kuster
@ 2020-02-09 16:17 ` Armin Kuster
  10 siblings, 0 replies; 13+ messages in thread
From: Armin Kuster @ 2020-02-09 16:17 UTC (permalink / raw)
  To: openembedded-devel

From: Khem Raj <raj.khem@gmail.com>

Fixes
ERROR: fluentbit-0.12.19-r0 do_package: QA Issue: fluentbit: Files/directories were installed but not shipped in any package:
/usr/lib/libfluent-bit.so
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 99fe1dec83456100e0bc1c02581defa7aaf04a16)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
 .../fluentbit/fluentbit/cmake_multilib.patch   | 18 ++++++++++++++++++
 .../fluentbit/fluentbit_0.12.19.bb             |  1 +
 2 files changed, 19 insertions(+)
 create mode 100644 meta-oe/recipes-extended/fluentbit/fluentbit/cmake_multilib.patch

diff --git a/meta-oe/recipes-extended/fluentbit/fluentbit/cmake_multilib.patch b/meta-oe/recipes-extended/fluentbit/fluentbit/cmake_multilib.patch
new file mode 100644
index 0000000000..8fe9f3e703
--- /dev/null
+++ b/meta-oe/recipes-extended/fluentbit/fluentbit/cmake_multilib.patch
@@ -0,0 +1,18 @@
+Use CMAKE_INSTALL_LIBDIR instead of hardcoding lib path
+
+Helps build on platforms where libpaths are not lib/ but say lib64/
+
+Upstream-Status: Pending
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -182,7 +182,7 @@ if(NOT FLB_WITHOUT_SHARED_LIB)
+     PROPERTIES OUTPUT_NAME fluent-bit)
+ 
+   # Library install routines
+-  install(TARGETS fluent-bit-shared LIBRARY DESTINATION lib)
++  install(TARGETS fluent-bit-shared LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
+ endif()
+ 
+ # Static Library
diff --git a/meta-oe/recipes-extended/fluentbit/fluentbit_0.12.19.bb b/meta-oe/recipes-extended/fluentbit/fluentbit_0.12.19.bb
index e50aa71a9f..27b910b8be 100644
--- a/meta-oe/recipes-extended/fluentbit/fluentbit_0.12.19.bb
+++ b/meta-oe/recipes-extended/fluentbit/fluentbit_0.12.19.bb
@@ -4,6 +4,7 @@ BUGTRACKER = "https://github.com/fluent/fluent-bit/issues"
 
 SRC_URI = "http://fluentbit.io/releases/0.12/fluent-bit-${PV}.tar.gz \
            file://jemalloc.patch \
+           file://cmake_multilib.patch \
            "
 SRC_URI[md5sum] = "7c8708312ac9122faacf9e2a4751eb34"
 SRC_URI[sha256sum] = "23a81087edf0e2c6f2d49411c6a82308afc5224f67bbaa45729c057af62e9241"
-- 
2.17.1



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

* Re: [zeus 01/11] libldb: upgrade 1.5.5 -> 1.5.6
  2020-02-09 16:17 ` [zeus 01/11] libldb: upgrade 1.5.5 -> 1.5.6 Armin Kuster
@ 2020-02-10 20:00   ` Khem Raj
  0 siblings, 0 replies; 13+ messages in thread
From: Khem Raj @ 2020-02-10 20:00 UTC (permalink / raw)
  To: Armin Kuster; +Cc: OpenEmbedded Devel List

patch series looks good to me.

On Sun, Feb 9, 2020 at 8:17 AM Armin Kuster <akuster808@gmail.com> wrote:
>
> From: Yi Zhao <yi.zhao@windriver.com>
>
> Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> (cherry picked from commit 2b3fd534874aee125a6c79c70c93b1aa498fda3f)
> [Samba's update via ee5aa6911b2e93b89e67ae6167ee7d9a029b9262  required
>  libldb upgrade to 1.5.6 Yocto # 13750]
> Signed-off-by: Armin Kuster <akuster808@gmail.com>
> ---
>  .../libldb/{libldb_1.5.5.bb => libldb_1.5.6.bb}               | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>  rename meta-networking/recipes-support/libldb/{libldb_1.5.5.bb => libldb_1.5.6.bb} (95%)
>
> diff --git a/meta-networking/recipes-support/libldb/libldb_1.5.5.bb b/meta-networking/recipes-support/libldb/libldb_1.5.6.bb
> similarity index 95%
> rename from meta-networking/recipes-support/libldb/libldb_1.5.5.bb
> rename to meta-networking/recipes-support/libldb/libldb_1.5.6.bb
> index b19c964d85..99eb6f9ce8 100644
> --- a/meta-networking/recipes-support/libldb/libldb_1.5.5.bb
> +++ b/meta-networking/recipes-support/libldb/libldb_1.5.6.bb
> @@ -33,8 +33,8 @@ LIC_FILES_CHKSUM = "file://pyldb.h;endline=24;md5=dfbd238cecad76957f7f860fbe9ada
>                      file://man/ldb.3.xml;beginline=261;endline=262;md5=137f9fd61040c1505d1aa1019663fd08 \
>                      file://tools/ldbdump.c;endline=19;md5=a7d4fc5d1f75676b49df491575a86a42"
>
> -SRC_URI[md5sum] = "339a41ac9efaec680e6d1469dd9aa35b"
> -SRC_URI[sha256sum] = "199f5861aa863f538ec66d5fa95ecc13254a2030c53daf0e47363fa9ba235c68"
> +SRC_URI[md5sum] = "fc58ef432c1fcb03fc3bb6cccce08977"
> +SRC_URI[sha256sum] = "ff82474d0bf109e415a2d50334bde5715f486a53ff4bb8c7f74459dd229e975b"
>
>  inherit waf-samba distro_features_check
>  REQUIRED_DISTRO_FEATURES = "pam"
> --
> 2.17.1
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


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

end of thread, other threads:[~2020-02-10 20:00 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-09 16:17 [zeus 00/11] Patch review Armin Kuster
2020-02-09 16:17 ` [zeus 01/11] libldb: upgrade 1.5.5 -> 1.5.6 Armin Kuster
2020-02-10 20:00   ` Khem Raj
2020-02-09 16:17 ` [zeus 02/11] mariadb: fix library LZ4 lookup Armin Kuster
2020-02-09 16:17 ` [zeus 03/11] python-twisted: add required RDEPENDS for twistd Armin Kuster
2020-02-09 16:17 ` [zeus 04/11] pyhamcrest: add python3 version of recipe Armin Kuster
2020-02-09 16:17 ` [zeus 05/11] gitpkgv.bbclass: Add support for extending the supported tag formats Armin Kuster
2020-02-09 16:17 ` [zeus 06/11] squid: Link with libatomic on riscv Armin Kuster
2020-02-09 16:17 ` [zeus 07/11] grpc: Link with libatomic on clang/x86 Armin Kuster
2020-02-09 16:17 ` [zeus 08/11] grpc: Link with libatomic on powerpc Armin Kuster
2020-02-09 16:17 ` [zeus 09/11] grpc: Link with libatomic on riscv Armin Kuster
2020-02-09 16:17 ` [zeus 10/11] netdata: Add libatomic to link step Armin Kuster
2020-02-09 16:17 ` [zeus 11/11] fluentbit: Fix packaging in multilib env Armin Kuster

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.