[oe] [meta-networking][PATCH 6/6] pimd: Upgrade to 2.3.2

2017-07-14 Thread Khem Raj
Signed-off-by: Khem Raj 
---
 ...ure-Dont-use-uname-to-determine-target-OS.patch | 28 ++
 meta-networking/recipes-support/pimd/pimd_2.1.8.bb | 19 ---
 meta-networking/recipes-support/pimd/pimd_2.3.2.bb | 20 
 3 files changed, 48 insertions(+), 19 deletions(-)
 create mode 100644 
meta-networking/recipes-support/pimd/pimd/0001-configure-Dont-use-uname-to-determine-target-OS.patch
 delete mode 100644 meta-networking/recipes-support/pimd/pimd_2.1.8.bb
 create mode 100644 meta-networking/recipes-support/pimd/pimd_2.3.2.bb

diff --git 
a/meta-networking/recipes-support/pimd/pimd/0001-configure-Dont-use-uname-to-determine-target-OS.patch
 
b/meta-networking/recipes-support/pimd/pimd/0001-configure-Dont-use-uname-to-determine-target-OS.patch
new file mode 100644
index 0..eb549ded9
--- /dev/null
+++ 
b/meta-networking/recipes-support/pimd/pimd/0001-configure-Dont-use-uname-to-determine-target-OS.patch
@@ -0,0 +1,28 @@
+From f3e04281bad361249a8dad0cde150a801d720f67 Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Fri, 14 Jul 2017 18:46:52 -0700
+Subject: [PATCH] configure: Dont use uname to determine target OS
+
+Helps with cross-compiling
+
+Signed-off-by: Khem Raj 
+---
+ configure | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure b/configure
+index 6c35a72..f9714e2 100755
+--- a/configure
 b/configure
+@@ -31,7 +31,7 @@
+ #DEFS += -DSCOPED_ACL
+ #
+ 
+-OS=`uname`
++OS="Linux"
+ CFG=config.mk
+ TMP=`mktemp /tmp/XX`
+ BUGREPORT_URL="https://github.com/troglobit/pimd/issues;
+-- 
+2.13.3
+
diff --git a/meta-networking/recipes-support/pimd/pimd_2.1.8.bb 
b/meta-networking/recipes-support/pimd/pimd_2.1.8.bb
deleted file mode 100644
index 7edb6422d..0
--- a/meta-networking/recipes-support/pimd/pimd_2.1.8.bb
+++ /dev/null
@@ -1,19 +0,0 @@
-SUMMARY = "pimd is a lightweight stand-alone PIM-SM v2 multicast routing 
daemon."
-HOMEPAGE = "http://troglobit.com/pimd.html;
-SECTION = "net"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=94f108f91fab720d62425770b70dd790"
-
-SRC_URI = "ftp://ftp.troglobit.com/pimd/${BP}.tar.bz2;
-SRC_URI[md5sum] = "a12448bc7c9bfcebf51a13ebf1ffa962"
-SRC_URI[sha256sum] = 
"01016940543a0a6131d4e6c91b595d47e187012c59a298eec14c3dbc38564b3a"
-
-EXTRA_OEMAKE = "-e MAKEFLAGS="
-CFLAGS += "-I ${S}/include "
-
-do_install() {
-unset datadir
-unset mandir
-oe_runmake 'DESTDIR=${D}' install
-}
-
diff --git a/meta-networking/recipes-support/pimd/pimd_2.3.2.bb 
b/meta-networking/recipes-support/pimd/pimd_2.3.2.bb
new file mode 100644
index 0..2faa7cb1c
--- /dev/null
+++ b/meta-networking/recipes-support/pimd/pimd_2.3.2.bb
@@ -0,0 +1,20 @@
+SUMMARY = "pimd is a lightweight stand-alone PIM-SM v2 multicast routing 
daemon."
+HOMEPAGE = "http://troglobit.com/pimd.html;
+SECTION = "net"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=94f108f91fab720d62425770b70dd790"
+
+SRC_URI = "ftp://ftp.troglobit.com/pimd/${BP}.tar.gz \
+   file://0001-configure-Dont-use-uname-to-determine-target-OS.patch \
+   "
+SRC_URI[md5sum] = "a3c03e40540980b2c06e265a17988e60"
+SRC_URI[sha256sum] = 
"c77a9812751f114490a28a6839b16aac8b020c8d9fd6aa22bf3880c054e19f1d"
+
+EXTRA_OECONF_append_libc-musl = " --embedded-libc"
+
+inherit autotools-brokensep
+
+do_configure() {
+oe_runconf
+}
+
-- 
2.13.3

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-webserver][PATCH V2 5/6] monkey: Link in libexecinfo on musl

2017-07-14 Thread Khem Raj
Needed for backtrace() APIs

Signed-off-by: Khem Raj 
---
 ...-configure-Respect-LIBS-variable-from-env.patch | 29 ++
 .../recipes-httpd/monkey/monkey_1.5.6.bb   |  9 +++
 2 files changed, 38 insertions(+)
 create mode 100644 
meta-webserver/recipes-httpd/monkey/files/0001-configure-Respect-LIBS-variable-from-env.patch

diff --git 
a/meta-webserver/recipes-httpd/monkey/files/0001-configure-Respect-LIBS-variable-from-env.patch
 
b/meta-webserver/recipes-httpd/monkey/files/0001-configure-Respect-LIBS-variable-from-env.patch
new file mode 100644
index 0..7a229513b
--- /dev/null
+++ 
b/meta-webserver/recipes-httpd/monkey/files/0001-configure-Respect-LIBS-variable-from-env.patch
@@ -0,0 +1,29 @@
+From b0526a9b5325bd4758dad8d14efd85c98ef2ebff Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Fri, 14 Jul 2017 18:25:23 -0700
+Subject: [PATCH] configure: Respect LIBS variable from env
+
+For musl we need to pass -lexecinfo from env
+this change accomodates that
+
+Signed-off-by: Khem Raj 
+---
+ configure | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure b/configure
+index 4286c34..f1c65db 100755
+--- a/configure
 b/configure
+@@ -620,7 +620,7 @@ LIBDEFS = -DSHAREDLIB -fPIC \$(DEFS)
+ INCDIR  = ./include
+ LDFLAGS = $LDFLAGS
+ DESTDIR = ../bin/monkey
+-LIBS= -ldl $libs
++LIBS= -ldl $libs ${LIBS}
+ OBJ = monkey.o mk_method.o mk_mimetype.o mk_vhost.o mk_request.o \\
+   mk_header.o mk_config.o mk_signals.o \\
+   mk_user.o mk_utils.o mk_epoll.o mk_scheduler.o \\
+-- 
+2.13.3
+
diff --git a/meta-webserver/recipes-httpd/monkey/monkey_1.5.6.bb 
b/meta-webserver/recipes-httpd/monkey/monkey_1.5.6.bb
index be8ed37b9..97dc2769a 100644
--- a/meta-webserver/recipes-httpd/monkey/monkey_1.5.6.bb
+++ b/meta-webserver/recipes-httpd/monkey/monkey_1.5.6.bb
@@ -7,7 +7,10 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
 
 SECTION = "net"
 
+DEPENDS_append_libc-musl = " libexecinfo"
+
 SRC_URI = "http://monkey-project.com/releases/1.5/monkey-${PV}.tar.gz \
+   file://0001-configure-Respect-LIBS-variable-from-env.patch \
file://monkey.service \
file://monkey.init"
 
@@ -24,7 +27,13 @@ EXTRA_OECONF = "--plugdir=${libdir}/monkey/ \
 --disable-plugins=mbedtls \
 --debug \
 --malloc-libc"
+
+do_configure_prepend_libc-musl() {
+   export LIBS="-lexecinfo"
+}
+
 DISABLE_STATIC = ""
+CLEANBROKEN = "1"
 
 inherit autotools-brokensep pkgconfig update-rc.d systemd
 
-- 
2.13.3

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-gnome][PATCH V2 4/6] metacity: Fix build with musl by defining _GNU_SOURCE

2017-07-14 Thread Khem Raj
Signed-off-by: Khem Raj 
---
 .../metacity/0001-ui-Define-_GNU_SOURCE.patch  | 27 ++
 .../recipes-gnome/metacity/metacity_2.34.13.bb |  5 +++-
 2 files changed, 31 insertions(+), 1 deletion(-)
 create mode 100644 
meta-gnome/recipes-gnome/metacity/metacity/0001-ui-Define-_GNU_SOURCE.patch

diff --git 
a/meta-gnome/recipes-gnome/metacity/metacity/0001-ui-Define-_GNU_SOURCE.patch 
b/meta-gnome/recipes-gnome/metacity/metacity/0001-ui-Define-_GNU_SOURCE.patch
new file mode 100644
index 0..539d756b3
--- /dev/null
+++ 
b/meta-gnome/recipes-gnome/metacity/metacity/0001-ui-Define-_GNU_SOURCE.patch
@@ -0,0 +1,27 @@
+From e7fd072f0df968f342878b77098e97ff07ed28d7 Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Fri, 14 Jul 2017 10:26:31 -0700
+Subject: [PATCH] ui: Define _GNU_SOURCE
+
+it becomes portable across musl and glibc
+
+Signed-off-by: Khem Raj 
+---
+ src/ui/theme.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/ui/theme.c b/src/ui/theme.c
+index 84b57a0..c7eafc8 100644
+--- a/src/ui/theme.c
 b/src/ui/theme.c
+@@ -60,6 +60,7 @@
+ #include 
+ #include 
+ #include 
++#define _GNU_SOURCE
+ #define __USE_XOPEN
+ #include 
+ 
+-- 
+2.13.3
+
diff --git a/meta-gnome/recipes-gnome/metacity/metacity_2.34.13.bb 
b/meta-gnome/recipes-gnome/metacity/metacity_2.34.13.bb
index 662c90db8..370de7000 100644
--- a/meta-gnome/recipes-gnome/metacity/metacity_2.34.13.bb
+++ b/meta-gnome/recipes-gnome/metacity/metacity_2.34.13.bb
@@ -13,7 +13,10 @@ REQUIRED_DISTRO_FEATURES = "x11"
 
 GNOME_COMPRESS_TYPE = "xz"
 
-SRC_URI += "file://remove-yelp-help-rules-var.patch"
+SRC_URI = 
"${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive
 \
+   file://remove-yelp-help-rules-var.patch \
+   file://0001-ui-Define-_GNU_SOURCE.patch \
+   "
 SRC_URI[archive.md5sum] = "6d89b71672d4fa49fc87f83d610d0ef6"
 SRC_URI[archive.sha256sum] = 
"8cf4dbf0da0a6f36357ce7db7f829ec685908a7792453c662fb8184572b91075"
 
-- 
2.13.3

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH V2 3/6] nmon: Upgrade to 16g

2017-07-14 Thread Khem Raj
Fix build with musl while here.
link with libm for ceilf API

Signed-off-by: Khem Raj 
---
 .../0001-lmon16g.c-Adjust-system-headers.patch | 46 ++
 .../nmon/{nmon_13g.bb => nmon_16g.bb}  | 16 
 2 files changed, 55 insertions(+), 7 deletions(-)
 create mode 100644 
meta-oe/recipes-support/nmon/nmon/0001-lmon16g.c-Adjust-system-headers.patch
 rename meta-oe/recipes-support/nmon/{nmon_13g.bb => nmon_16g.bb} (59%)

diff --git 
a/meta-oe/recipes-support/nmon/nmon/0001-lmon16g.c-Adjust-system-headers.patch 
b/meta-oe/recipes-support/nmon/nmon/0001-lmon16g.c-Adjust-system-headers.patch
new file mode 100644
index 0..e8debe56a
--- /dev/null
+++ 
b/meta-oe/recipes-support/nmon/nmon/0001-lmon16g.c-Adjust-system-headers.patch
@@ -0,0 +1,46 @@
+From d977b5170027926eb97ab9742ddc51d2aa34 Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Fri, 14 Jul 2017 10:06:49 -0700
+Subject: [PATCH] lmon16g.c: Adjust system headers
+
+fstab.h is unused
+errno.h is in /usr/include
+defines from sys/cdefs.h is used
+
+Signed-off-by: Khem Raj 
+---
+ lmon16g.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/lmon16g.c b/lmon16g.c
+index cb27e09..d2a11c5 100644
+--- a/lmon16g.c
 b/lmon16g.c
+@@ -63,7 +63,7 @@ static char *SccsId = "nmon " VERSION;
+ #include 
+ #include 
+ #include 
+-#include 
++#include 
+ #include 
+ #include 
+ #include 
+@@ -71,6 +71,7 @@ static char *SccsId = "nmon " VERSION;
+ #include 
+ #include 
+ #include 
++#include 
+ 
+ /* Windows moved here so they can be cleared when the screen mode changes */
+ WINDOW *padwelcome = NULL;
+@@ -576,7 +577,6 @@ struct procsinfo {
+ int isroot = 0;
+ 
+ #include 
+-#include 
+ #include 
+ #include 
+ #include 
+-- 
+2.13.3
+
diff --git a/meta-oe/recipes-support/nmon/nmon_13g.bb 
b/meta-oe/recipes-support/nmon/nmon_16g.bb
similarity index 59%
rename from meta-oe/recipes-support/nmon/nmon_13g.bb
rename to meta-oe/recipes-support/nmon/nmon_16g.bb
index 1f7518972..e77faa30a 100644
--- a/meta-oe/recipes-support/nmon/nmon_13g.bb
+++ b/meta-oe/recipes-support/nmon/nmon_16g.bb
@@ -4,23 +4,25 @@ SECTION = "console/utils"
 LICENSE = "GPLv3"
 LIC_FILES_CHKSUM = 
"file://${WORKDIR}/Documentation.txt;md5=dbb13658cf55d687c4f2ff771a696d4a"
 DEPENDS = "ncurses"
-PR = "r2"
+DEPENDS_append_libc-musl = " bsd-headers"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/nmon/lmon13g.c;name=lmon \
+SRC_URI = "${SOURCEFORGE_MIRROR}/nmon/lmon${PV}.c;name=lmon \
${SOURCEFORGE_MIRROR}/nmon/Documentation.txt;name=doc \
+   file://0001-lmon16g.c-Adjust-system-headers.patch \
 "
-
-SRC_URI[lmon.md5sum] = "b1b8e6c0123ad232394991f2d4f40494"
-SRC_URI[lmon.sha256sum] = 
"456ab2a342b31d1a352d0d940af5962fa65a12ae8757ff73e6e73210832ae8b5"
+SRC_URI[lmon.md5sum] = "246ccfc74d5af55d992601fc4d3d4a72"
+SRC_URI[lmon.sha256sum] = 
"da82dd693b503b062854dfe7dbb5d36b347872ab44a4aa05b97e9d577747f688"
 SRC_URI[doc.md5sum] = "dbb13658cf55d687c4f2ff771a696d4a"
 SRC_URI[doc.sha256sum] = 
"1f7f83afe62a7210be5e83cd24157adb854c14599efe0b377a7ecca933869278"
 
 CFLAGS += "-D JFS -D GETUSER -Wall -D LARGEMEM"
-LDFLAGS += "-ltinfo -lncursesw"
+LDFLAGS += "-ltinfo -lncursesw -lm"
 ASNEEDED_pn-nmon = ""
 
+S = "${WORKDIR}"
+
 do_compile() {
-${CC} ${CFLAGS} ${LDFLAGS} ${WORKDIR}/lmon13g.c -o nmon
+${CC} ${CFLAGS} ${LDFLAGS} lmon${PV}.c -o nmon
 }
 
 do_install() {
-- 
2.13.3

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH 2/6] v4l-utils: Fix build with musl

2017-07-14 Thread Khem Raj
Signed-off-by: Khem Raj 
---
 ...tl-Define-TEMP_FAILURE_RETRY-if-undefined.patch | 55 ++
 ...t-Link-mc_nextgen_test-with-libargp-if-ne.patch | 28 +++
 .../0003-v4l2-ctl-Do-not-use-getsubopt.patch   | 49 +++
 .../v4l2apps/v4l-utils_1.12.3.bb   |  5 +-
 4 files changed, 136 insertions(+), 1 deletion(-)
 create mode 100644 
meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-ir-ctl-Define-TEMP_FAILURE_RETRY-if-undefined.patch
 create mode 100644 
meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0002-contrib-test-Link-mc_nextgen_test-with-libargp-if-ne.patch
 create mode 100644 
meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0003-v4l2-ctl-Do-not-use-getsubopt.patch

diff --git 
a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-ir-ctl-Define-TEMP_FAILURE_RETRY-if-undefined.patch
 
b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-ir-ctl-Define-TEMP_FAILURE_RETRY-if-undefined.patch
new file mode 100644
index 0..f1e11da3f
--- /dev/null
+++ 
b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-ir-ctl-Define-TEMP_FAILURE_RETRY-if-undefined.patch
@@ -0,0 +1,55 @@
+From e60aea50e41ae8a17672beb5859beecb66e7a305 Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Fri, 14 Jul 2017 13:11:25 -0700
+Subject: [PATCH 1/3] ir-ctl: Define TEMP_FAILURE_RETRY if undefined
+
+use strndup() instead of strndupa() which is not
+universally available in C libraries
+
+Taken from AlpineLinux
+
+Signed-off-by: Khem Raj 
+---
+ utils/ir-ctl/ir-ctl.c | 14 +-
+ 1 file changed, 13 insertions(+), 1 deletion(-)
+
+diff --git a/utils/ir-ctl/ir-ctl.c b/utils/ir-ctl/ir-ctl.c
+index bc58cee..1a44011 100644
+--- a/utils/ir-ctl/ir-ctl.c
 b/utils/ir-ctl/ir-ctl.c
+@@ -42,6 +42,16 @@
+ # define _(string) string
+ #endif
+ 
++/* taken from glibc unistd.h */
++#ifndef TEMP_FAILURE_RETRY
++#define TEMP_FAILURE_RETRY(expression) \
++  (__extension__  
\
++({ long int __result; 
\
++   do __result = (long int) (expression); 
\
++   while (__result == -1L && errno == EINTR); 
\
++   __result; }))
++#endif
++
+ # define N_(string) string
+ 
+ 
+@@ -344,12 +354,14 @@ static struct file *read_scancode(const char *name)
+   return NULL;
+   }
+ 
+-  pstr = strndupa(name, p - name);
++  pstr = strndup(name, p - name);
+ 
+   if (!protocol_match(pstr, )) {
+   fprintf(stderr, _("error: protocol '%s' not found\n"), pstr);
++  free(pstr);
+   return NULL;
+   }
++  free(pstr);
+ 
+   if (!strtoscancode(p + 1, )) {
+   fprintf(stderr, _("error: invalid scancode '%s'\n"), p + 1);
+-- 
+2.13.3
+
diff --git 
a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0002-contrib-test-Link-mc_nextgen_test-with-libargp-if-ne.patch
 
b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0002-contrib-test-Link-mc_nextgen_test-with-libargp-if-ne.patch
new file mode 100644
index 0..2fb4057ec
--- /dev/null
+++ 
b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0002-contrib-test-Link-mc_nextgen_test-with-libargp-if-ne.patch
@@ -0,0 +1,28 @@
+From b3acc4c6407f9553f32582a9aee6a11b5fcd1d8a Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Fri, 14 Jul 2017 13:17:19 -0700
+Subject: [PATCH 2/3] contrib/test: Link mc_nextgen_test with libargp if needed
+
+musl depends on external argp implementation e.g.
+
+Signed-off-by: Khem Raj 
+---
+ contrib/test/Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/contrib/test/Makefile.am b/contrib/test/Makefile.am
+index 4641e21..e47b948 100644
+--- a/contrib/test/Makefile.am
 b/contrib/test/Makefile.am
+@@ -32,7 +32,7 @@ v4l2gl_LDFLAGS = $(X11_LIBS) $(GL_LIBS) $(GLU_LIBS) 
$(ARGP_LIBS)
+ v4l2gl_LDADD = ../../lib/libv4l2/libv4l2.la 
../../lib/libv4lconvert/libv4lconvert.la
+ 
+ mc_nextgen_test_CFLAGS = $(LIBUDEV_CFLAGS)
+-mc_nextgen_test_LDFLAGS = $(LIBUDEV_LIBS)
++mc_nextgen_test_LDFLAGS = $(ARGP_LIBS) $(LIBUDEV_LIBS)
+ 
+ 
+ ioctl_test_SOURCES = ioctl-test.c ioctl-test.h ioctl_32.h ioctl_64.h
+-- 
+2.13.3
+
diff --git 
a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0003-v4l2-ctl-Do-not-use-getsubopt.patch
 
b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0003-v4l2-ctl-Do-not-use-getsubopt.patch
new file mode 100644
index 0..0a986ae5d
--- /dev/null
+++ 
b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0003-v4l2-ctl-Do-not-use-getsubopt.patch
@@ -0,0 +1,49 @@
+From d04aa6866cbea57c4a81b033cd60586a9436ac6b Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Fri, 14 Jul 2017 13:20:05 -0700
+Subject: [PATCH 3/3] v4l2-ctl: Do not use getsubopt
+
+POSIX says that behavior when subopts list is empty is undefined.
+musl libs will set value to NULL 

[oe] [meta-oe][PATCH 1/6] iperf3: Fix missing stdint.h and do not link with -pg

2017-07-14 Thread Khem Raj
Helps compile with musl

Signed-off-by: Khem Raj 
---
 ...de-stdint.h-for-various-std-c99-int-types.patch | 39 ++
 .../0002-Remove-pg-from-profile_CFLAGS.patch   | 31 +
 meta-oe/recipes-benchmark/iperf3/iperf3_git.bb | 11 +++---
 3 files changed, 77 insertions(+), 4 deletions(-)
 create mode 100644 
meta-oe/recipes-benchmark/iperf3/iperf3/0001-include-stdint.h-for-various-std-c99-int-types.patch
 create mode 100644 
meta-oe/recipes-benchmark/iperf3/iperf3/0002-Remove-pg-from-profile_CFLAGS.patch

diff --git 
a/meta-oe/recipes-benchmark/iperf3/iperf3/0001-include-stdint.h-for-various-std-c99-int-types.patch
 
b/meta-oe/recipes-benchmark/iperf3/iperf3/0001-include-stdint.h-for-various-std-c99-int-types.patch
new file mode 100644
index 0..ae3620800
--- /dev/null
+++ 
b/meta-oe/recipes-benchmark/iperf3/iperf3/0001-include-stdint.h-for-various-std-c99-int-types.patch
@@ -0,0 +1,39 @@
+From be653711fb92d2430b3ecc546b4e3ad927d19ec5 Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Fri, 14 Jul 2017 12:59:42 -0700
+Subject: [PATCH 1/2] include stdint.h for various std c99 int types
+
+Signed-off-by: Khem Raj 
+---
+ src/cjson.h | 2 ++
+ src/timer.h | 1 +
+ 2 files changed, 3 insertions(+)
+
+diff --git a/src/cjson.h b/src/cjson.h
+index fb8cd3b..69cd272 100644
+--- a/src/cjson.h
 b/src/cjson.h
+@@ -23,6 +23,8 @@
+ #ifndef cJSON__h
+ #define cJSON__h
+ 
++#include 
++
+ #ifdef __cplusplus
+ extern "C"
+ {
+diff --git a/src/timer.h b/src/timer.h
+index 0f9c5eb..0b195be 100644
+--- a/src/timer.h
 b/src/timer.h
+@@ -31,6 +31,7 @@
+ #define __TIMER_H
+ 
+ #include 
++#include 
+ 
+ /* TimerClientData is an opaque value that tags along with a timer.  The
+ ** client can use it for whatever, and it gets passed to the callback when
+-- 
+2.13.3
+
diff --git 
a/meta-oe/recipes-benchmark/iperf3/iperf3/0002-Remove-pg-from-profile_CFLAGS.patch
 
b/meta-oe/recipes-benchmark/iperf3/iperf3/0002-Remove-pg-from-profile_CFLAGS.patch
new file mode 100644
index 0..06eb41ac0
--- /dev/null
+++ 
b/meta-oe/recipes-benchmark/iperf3/iperf3/0002-Remove-pg-from-profile_CFLAGS.patch
@@ -0,0 +1,31 @@
+From 6db0e28f906bc3784019dfb5bb011237a8034fda Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Fri, 14 Jul 2017 13:00:16 -0700
+Subject: [PATCH 2/2] Remove -pg from profile_CFLAGS
+
+musl fails to link with missing gcrt1.o
+
+Signed-off-by: Khem Raj 
+---
+ src/Makefile.am | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/Makefile.am b/src/Makefile.am
+index 23b0c72..6268145 100644
+--- a/src/Makefile.am
 b/src/Makefile.am
+@@ -49,9 +49,9 @@ iperf3_LDFLAGS  = -g
+ iperf3_profile_SOURCES  = main.c \
+ $(libiperf_la_SOURCES)
+ 
+-iperf3_profile_CFLAGS   = -pg -g
++iperf3_profile_CFLAGS   = -g
+ iperf3_profile_LDADD= libiperf.la
+-iperf3_profile_LDFLAGS  = -pg -g
++iperf3_profile_LDFLAGS  = -g
+ 
+ # Specify the sources and various flags for the test cases
+ t_timer_SOURCES = t_timer.c
+-- 
+2.13.3
+
diff --git a/meta-oe/recipes-benchmark/iperf3/iperf3_git.bb 
b/meta-oe/recipes-benchmark/iperf3/iperf3_git.bb
index d19aa1ec4..4a01896ca 100644
--- a/meta-oe/recipes-benchmark/iperf3/iperf3_git.bb
+++ b/meta-oe/recipes-benchmark/iperf3/iperf3_git.bb
@@ -11,10 +11,11 @@ AUTHOR = "ESNET , Lawrence Berkeley National 
Laboratory http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH] uftrace: add recipe

2017-07-14 Thread Changhyeok Bae
- Add recipe for uftrace v0.7.
- Support x86_64, arm (v6 or later), and aarch64.
- Disable for armv4 and armv5 in arm architecture which is only
  supported armv6 or later.
- Attached 2 patches is merged to upstream.

Signed-off-by: Changhyeok Bae 
---
 .../0001-Makefile-Add-LDFLAGS-in-export.patch  | 31 +++
 ...tils-Add-limits-header-to-fix-build-error.patch | 31 +++
 meta-oe/recipes-devtools/uftrace/uftrace_0.7.bb| 35 ++
 3 files changed, 97 insertions(+)
 create mode 100644 
meta-oe/recipes-devtools/uftrace/uftrace/0001-Makefile-Add-LDFLAGS-in-export.patch
 create mode 100644 
meta-oe/recipes-devtools/uftrace/uftrace/0002-utils-Add-limits-header-to-fix-build-error.patch
 create mode 100644 meta-oe/recipes-devtools/uftrace/uftrace_0.7.bb

diff --git 
a/meta-oe/recipes-devtools/uftrace/uftrace/0001-Makefile-Add-LDFLAGS-in-export.patch
 
b/meta-oe/recipes-devtools/uftrace/uftrace/0001-Makefile-Add-LDFLAGS-in-export.patch
new file mode 100644
index 000..f665051
--- /dev/null
+++ 
b/meta-oe/recipes-devtools/uftrace/uftrace/0001-Makefile-Add-LDFLAGS-in-export.patch
@@ -0,0 +1,31 @@
+From ec794945475d5792f2ae85afe461e64266613640 Mon Sep 17 00:00:00 2001
+From: Changhyeok Bae 
+Date: Thu, 13 Jul 2017 16:44:52 +0900
+Subject: [PATCH 1/2] Makefile: Add LDFLAGS in export
+
+To use build with musl, need to argp library.
+So need to add LDFLAGS from outside.
+
+Upstream-Status: Accepted
+
+Signed-off-by: 
+---
+ Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index 67be2da..0ca649a 100644
+--- a/Makefile
 b/Makefile
+@@ -48,7 +48,7 @@ endif
+ RM = rm -f
+ INSTALL = install
+ 
+-export ARCH CC AR LD RM srcdir objdir
++export ARCH CC AR LD RM srcdir objdir LDFLAGS
+ 
+ COMMON_CFLAGS := -O2 -g -D_GNU_SOURCE $(CFLAGS) $(CPPFLAGS)
+ COMMON_CFLAGS +=  -iquote $(srcdir) -iquote $(objdir) -iquote 
$(srcdir)/arch/$(ARCH)
+-- 
+1.9.1
+
diff --git 
a/meta-oe/recipes-devtools/uftrace/uftrace/0002-utils-Add-limits-header-to-fix-build-error.patch
 
b/meta-oe/recipes-devtools/uftrace/uftrace/0002-utils-Add-limits-header-to-fix-build-error.patch
new file mode 100644
index 000..2690011
--- /dev/null
+++ 
b/meta-oe/recipes-devtools/uftrace/uftrace/0002-utils-Add-limits-header-to-fix-build-error.patch
@@ -0,0 +1,31 @@
+From 3bda554766150705160fe2191d8761c7881e2433 Mon Sep 17 00:00:00 2001
+From: Changhyeok Bae 
+Date: Thu, 13 Jul 2017 16:46:20 +0900
+Subject: [PATCH 2/2] utils: Add limits header to fix build error
+
+[Error]
+error: 'PATH_MAX' undeclared (first use in this function); did you mean
+'INT8_MAX'?
+
+Upstream-Status: Accepted
+
+Signed-off-by: Changhyeok Bae 
+---
+ utils/utils.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/utils/utils.c b/utils/utils.c
+index 03522c9..30f9e81 100644
+--- a/utils/utils.c
 b/utils/utils.c
+@@ -6,6 +6,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ 
+ #include "utils/utils.h"
+ 
+-- 
+1.9.1
+
diff --git a/meta-oe/recipes-devtools/uftrace/uftrace_0.7.bb 
b/meta-oe/recipes-devtools/uftrace/uftrace_0.7.bb
new file mode 100644
index 000..821d0bb
--- /dev/null
+++ b/meta-oe/recipes-devtools/uftrace/uftrace_0.7.bb
@@ -0,0 +1,35 @@
+SUMMARY = "Trace and analyze execution of a program written in C/C++"
+HOMEPAGE = "https://github.com/namhyung/uftrace;
+BUGTRACKER = "https://github.com/namhyung/uftrace/issues;
+SECTION = "devel"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+DEPENDS = "elfutils"
+DEPENDS_append_libc-musl = " argp-standalone"
+
+inherit autotools
+
+SRCREV = "712ad01fdde57893936d7e254451eec67ab41ca6"
+SRC_URI = "\
+git://github.com/namhyung/${BPN} \
+file://0001-Makefile-Add-LDFLAGS-in-export.patch \
+file://0002-utils-Add-limits-header-to-fix-build-error.patch \
+"
+S = "${WORKDIR}/git"
+
+LDFLAGS_append_libc-musl = " -largp"
+EXTRA_OECONF = "ARCH=${TARGET_ARCH}"
+
+do_configure() {
+${S}/configure ${EXTRA_OECONF}
+}
+
+FILES_SOLIBSDEV = ""
+FILES_${PN} += "${libdir}/*.so"
+
+COMPATIBLE_HOST = "(x86_64|aarch64|arm)"
+
+# uftrace supports armv6 and above
+COMPATIBLE_HOST_armv4 = 'null'
+COMPATIBLE_HOST_armv5 = 'null'
-- 
2.7.4

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-xfce][PATCH 08/18] xfce4-netload-plugin: Do not include sys/sysctl.h

2017-07-14 Thread Andreas Müller
On Fri, Jul 14, 2017 at 3:25 PM, Khem Raj  wrote:
> On Thu, Jul 13, 2017 at 11:45 PM, Andreas Müller
>  wrote:
>> On Fri, Jul 14, 2017 at 7:40 AM, Khem Raj  wrote:
>>> Its unused, moreover it helps it compile with musl
>>>
>>> Signed-off-by: Khem Raj 
>>> ---
>>>  ...ude-sys-sysctl.h-its-unused-on-linux-port.patch | 25 
>>> ++
>>>  .../netload/xfce4-netload-plugin_1.3.1.bb  |  3 +++
>>>  2 files changed, 28 insertions(+)
>>>  create mode 100644 
>>> meta-xfce/recipes-panel-plugins/netload/xfce4-netload-plugin/0001-Do-not-include-sys-sysctl.h-its-unused-on-linux-port.patch
>>>
>>> diff --git 
>>> a/meta-xfce/recipes-panel-plugins/netload/xfce4-netload-plugin/0001-Do-not-include-sys-sysctl.h-its-unused-on-linux-port.patch
>>>  
>>> b/meta-xfce/recipes-panel-plugins/netload/xfce4-netload-plugin/0001-Do-not-include-sys-sysctl.h-its-unused-on-linux-port.patch
>>> new file mode 100644
>>> index 0..e35418192
>>> --- /dev/null
>>> +++ 
>>> b/meta-xfce/recipes-panel-plugins/netload/xfce4-netload-plugin/0001-Do-not-include-sys-sysctl.h-its-unused-on-linux-port.patch
>>> @@ -0,0 +1,25 @@
>>> +From 7fcc7352ec11644ac8be4e9ec1584a5be684 Mon Sep 17 00:00:00 2001
>>> +From: Khem Raj 
>>> +Date: Wed, 12 Jul 2017 18:18:30 -0700
>>> +Subject: [PATCH] Do not include sys/sysctl.h its unused on linux port
>>> +
>>> +Signed-off-by: Khem Raj 
>>> +---
>>> + panel-plugin/os.h | 1 -
>>> + 1 file changed, 1 deletion(-)
>>> +
>>> +diff --git a/panel-plugin/os.h b/panel-plugin/os.h
>>> +index 473c2a4..9a5c544 100644
>>> +--- a/panel-plugin/os.h
>>>  b/panel-plugin/os.h
>>> +@@ -170,7 +170,6 @@
>>> + #elif __linux__ /* L I N U X */
>>> + #  include 
>>> + #  include 
>>> +-#  include 
>>> + #  include 
>>> + #  include 
>>> + #  include 
>>> +--
>>> +2.13.2
>>> +
>>> diff --git 
>>> a/meta-xfce/recipes-panel-plugins/netload/xfce4-netload-plugin_1.3.1.bb 
>>> b/meta-xfce/recipes-panel-plugins/netload/xfce4-netload-plugin_1.3.1.bb
>>> index 7d7778202..35c8861bc 100644
>>> --- a/meta-xfce/recipes-panel-plugins/netload/xfce4-netload-plugin_1.3.1.bb
>>> +++ b/meta-xfce/recipes-panel-plugins/netload/xfce4-netload-plugin_1.3.1.bb
>>> @@ -5,5 +5,8 @@ LIC_FILES_CHKSUM = 
>>> "file://COPYING;md5=35a7203c41b86d15546dddc05995f97f"
>>>
>>>  inherit xfce-panel-plugin
>>>
>>> +SRC_URI = 
>>> "http://archive.xfce.org/src/panel-plugins/${BPN}/${@'${PV}'[0:3]}/${BPN}-${PV}.tar.bz2
>>>  \
>>> +   
>>> file://0001-Do-not-include-sys-sysctl.h-its-unused-on-linux-port.patch \
>>> +   "
>>>  SRC_URI[md5sum] = "f25aa3242e3119b49f259a3e4a1af08b"
>>>  SRC_URI[sha256sum] = 
>>> "99762781099d1e0ab9aa6a7b30c2bd94d8f658dbe61c760410d5d42d0766391c"
>>> --
>>> 2.13.2
>>>
>> Please add Upstream-Status (or even better - send the xfce patches upstream)
>>
>
> help me upstream it
>
OK - but I think the next 2-3 weeks there is no time for that

Andreas
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-webserver][PATCH 5/6] monkey: Link in libexecinfo on musl

2017-07-14 Thread Khem Raj
Needed for backtrace() APIs

Signed-off-by: Khem Raj 
---
 meta-webserver/recipes-httpd/monkey/monkey_1.5.6.bb | 8 
 1 file changed, 8 insertions(+)

diff --git a/meta-webserver/recipes-httpd/monkey/monkey_1.5.6.bb 
b/meta-webserver/recipes-httpd/monkey/monkey_1.5.6.bb
index be8ed37b9..02d4040dd 100644
--- a/meta-webserver/recipes-httpd/monkey/monkey_1.5.6.bb
+++ b/meta-webserver/recipes-httpd/monkey/monkey_1.5.6.bb
@@ -7,6 +7,8 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
 
 SECTION = "net"
 
+DEPENDS_append_libc-musl = " libexecinfo"
+
 SRC_URI = "http://monkey-project.com/releases/1.5/monkey-${PV}.tar.gz \
file://monkey.service \
file://monkey.init"
@@ -24,7 +26,13 @@ EXTRA_OECONF = "--plugdir=${libdir}/monkey/ \
 --disable-plugins=mbedtls \
 --debug \
 --malloc-libc"
+
+EXTRA_OEMAKE += "LIBS='${LIBS}'"
+
 DISABLE_STATIC = ""
+CLEANBROKEN = "1"
+
+LIBS_append_libc-musl = " -lexecinfo"
 
 inherit autotools-brokensep pkgconfig update-rc.d systemd
 
-- 
2.13.3

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-filesystems][PATCH 2/6] xfsdump: Fix build with musl

2017-07-14 Thread Khem Raj
Signed-off-by: Khem Raj 
---
 .../files/0001-Include-fcntl.h-for-O_EXCL.patch|  28 +
 .../0002-Replace-__uint32_t-with-uint32_t.patch| 122 +
 .../0003-replace-use-of-SIGCLD-with-SIGCHLD.patch  |  40 +++
 .../files/0004-include-limit.h-for-PATH_MAX.patch  |  29 +
 ...-types.h-for-u_int32_t-in-attr-attributes.patch |  27 +
 .../recipes-utils/xfsdump/xfsdump_3.1.6.bb |   9 +-
 6 files changed, 253 insertions(+), 2 deletions(-)
 create mode 100644 
meta-filesystems/recipes-utils/xfsdump/files/0001-Include-fcntl.h-for-O_EXCL.patch
 create mode 100644 
meta-filesystems/recipes-utils/xfsdump/files/0002-Replace-__uint32_t-with-uint32_t.patch
 create mode 100644 
meta-filesystems/recipes-utils/xfsdump/files/0003-replace-use-of-SIGCLD-with-SIGCHLD.patch
 create mode 100644 
meta-filesystems/recipes-utils/xfsdump/files/0004-include-limit.h-for-PATH_MAX.patch
 create mode 100644 
meta-filesystems/recipes-utils/xfsdump/files/0005-include-sys-types.h-for-u_int32_t-in-attr-attributes.patch

diff --git 
a/meta-filesystems/recipes-utils/xfsdump/files/0001-Include-fcntl.h-for-O_EXCL.patch
 
b/meta-filesystems/recipes-utils/xfsdump/files/0001-Include-fcntl.h-for-O_EXCL.patch
new file mode 100644
index 0..660468d73
--- /dev/null
+++ 
b/meta-filesystems/recipes-utils/xfsdump/files/0001-Include-fcntl.h-for-O_EXCL.patch
@@ -0,0 +1,28 @@
+From 8cf48da5f645dd7bbb1ccbeab5bb0964f40f17f7 Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Thu, 13 Jul 2017 23:18:47 -0700
+Subject: [PATCH 1/5] Include fcntl.h for O_EXCL
+
+Fix
+error: 'O_CREAT' undeclared (first use in this function)
+
+Signed-off-by: Khem Raj 
+---
+ invutil/invidx.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/invutil/invidx.c b/invutil/invidx.c
+index 67efdf7..325a9a1 100644
+--- a/invutil/invidx.c
 b/invutil/invidx.c
+@@ -27,6 +27,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ 
+ #include "types.h"
+ #include "mlog.h"
+-- 
+2.13.2
+
diff --git 
a/meta-filesystems/recipes-utils/xfsdump/files/0002-Replace-__uint32_t-with-uint32_t.patch
 
b/meta-filesystems/recipes-utils/xfsdump/files/0002-Replace-__uint32_t-with-uint32_t.patch
new file mode 100644
index 0..ed3e0a9e9
--- /dev/null
+++ 
b/meta-filesystems/recipes-utils/xfsdump/files/0002-Replace-__uint32_t-with-uint32_t.patch
@@ -0,0 +1,122 @@
+From f76d2142905f0e5bd830d5d576c235af1171c6ac Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Thu, 13 Jul 2017 23:23:31 -0700
+Subject: [PATCH 2/5] Replace __uint32_t with uint32_t
+
+Signed-off-by: Khem Raj 
+---
+ common/content_inode.h | 4 ++--
+ doc/xfsdump.html   | 8 
+ inventory/inv_oref.h   | 2 +-
+ inventory/inv_priv.h   | 4 ++--
+ inventory/inventory.h  | 2 +-
+ 5 files changed, 10 insertions(+), 10 deletions(-)
+
+diff --git a/common/content_inode.h b/common/content_inode.h
+index a69a9a0..6936e05 100644
+--- a/common/content_inode.h
 b/common/content_inode.h
+@@ -191,10 +191,10 @@ typedef struct bstat bstat_t;
+  * and using two 16bit values to hold new 32bit projid was choosen
+  * to retain compatibility with "old" filesystems).
+  */
+-static inline __uint32_t
++static inline uint32_t
+ bstat_projid(struct bstat *bs)
+ {
+-return (__uint32_t)bs->bs_projid_hi << 16 | bs->bs_projid_lo;
++return (uint32_t)bs->bs_projid_hi << 16 | bs->bs_projid_lo;
+ }
+ 
+ 
+diff --git a/doc/xfsdump.html b/doc/xfsdump.html
+index 9c6722e..f85128f 100644
+--- a/doc/xfsdump.html
 b/doc/xfsdump.html
+@@ -1935,7 +1935,7 @@ The files are constructed like so:
+ 
+ typedef struct invt_counter {
+ INVT_COUNTER_FIELDS
+-__uint32_tic_vernum;/* on disk version number for posterity */\
++uint32_tic_vernum;/* on disk version number for posterity */\
+ u_int ic_curnum;/* number of sessions/invindices recorded \
+so far */  \
+ u_int ic_maxnum;/* maximum number of sessions/inv_indices \
+@@ -1975,7 +1975,7 @@ typedef struct invt_fstab {
+ 
+ typedef struct invt_counter {
+ INVT_COUNTER_FIELDS
+-__uint32_tic_vernum;/* on disk version number for posterity */\
++uint32_tic_vernum;/* on disk version number for posterity */\
+ u_int ic_curnum;/* number of sessions/invindices recorded \
+so far */  \
+ u_int ic_maxnum;/* maximum number of sessions/inv_indices \
+@@ -2012,7 +2012,7 @@ typedef struct invt_entry {
+ 
+ typedef struct invt_sescounter {
+ INVT_COUNTER_FIELDS
+-__uint32_tic_vernum;/* on disk version number for posterity */\
++uint32_tic_vernum;/* on disk version number for posterity */\
+ u_int ic_curnum;/* number of sessions/invindices recorded \
+so 

[oe] [meta-filesystems][PATCH 6/6] aufs-util: Upgrade to 4.4 release

2017-07-14 Thread Khem Raj
- Download aufs_type.h instead of housing a local copy
- Build uses paste utility from coreutils-native
- Replace hardcoded strip command with STRIP env varible
  helps in cross compiling

Signed-off-by: Khem Raj 
---
 .../recipes-utils/aufs-util/aufs-util/aufs_type.h  | 419 -
 .../recipes-utils/aufs-util/aufs-util_git.bb   |  17 +-
 2 files changed, 10 insertions(+), 426 deletions(-)
 delete mode 100644 
meta-filesystems/recipes-utils/aufs-util/aufs-util/aufs_type.h

diff --git a/meta-filesystems/recipes-utils/aufs-util/aufs-util/aufs_type.h 
b/meta-filesystems/recipes-utils/aufs-util/aufs-util/aufs_type.h
deleted file mode 100644
index c948033a4..0
--- a/meta-filesystems/recipes-utils/aufs-util/aufs-util/aufs_type.h
+++ /dev/null
@@ -1,419 +0,0 @@
-/*
- * Copyright (C) 2005-2015 Junjiro R. Okajima
- *
- * This program, aufs is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see .
- */
-
-#ifndef __AUFS_TYPE_H__
-#define __AUFS_TYPE_H__
-
-#define AUFS_NAME  "aufs"
-
-#ifdef __KERNEL__
-/*
- * define it before including all other headers.
- * sched.h may use pr_* macros before defining "current", so define the
- * no-current version first, and re-define later.
- */
-#define pr_fmt(fmt)AUFS_NAME " %s:%d: " fmt, __func__, __LINE__
-#include 
-#undef pr_fmt
-#define pr_fmt(fmt) \
-   AUFS_NAME " %s:%d:%.*s[%d]: " fmt, __func__, __LINE__, \
-   (int)sizeof(current->comm), current->comm, current->pid
-#else
-#include 
-#include 
-#endif /* __KERNEL__ */
-
-#include 
-
-#define AUFS_VERSION   "3.18-20150406"
-
-/* todo? move this to linux-2.6.19/include/magic.h */
-#define AUFS_SUPER_MAGIC   ('a' << 24 | 'u' << 16 | 'f' << 8 | 's')
-
-/* -- */
-
-#ifdef CONFIG_AUFS_BRANCH_MAX_127
-typedef int8_t aufs_bindex_t;
-#define AUFS_BRANCH_MAX 127
-#else
-typedef int16_t aufs_bindex_t;
-#ifdef CONFIG_AUFS_BRANCH_MAX_511
-#define AUFS_BRANCH_MAX 511
-#elif defined(CONFIG_AUFS_BRANCH_MAX_1023)
-#define AUFS_BRANCH_MAX 1023
-#elif defined(CONFIG_AUFS_BRANCH_MAX_32767)
-#define AUFS_BRANCH_MAX 32767
-#endif
-#endif
-
-#ifdef __KERNEL__
-#ifndef AUFS_BRANCH_MAX
-#error unknown CONFIG_AUFS_BRANCH_MAX value
-#endif
-#endif /* __KERNEL__ */
-
-/* -- */
-
-#define AUFS_FSTYPEAUFS_NAME
-
-#define AUFS_ROOT_INO  2
-#define AUFS_FIRST_INO 11
-
-#define AUFS_WH_PFX".wh."
-#define AUFS_WH_PFX_LEN((int)sizeof(AUFS_WH_PFX) - 1)
-#define AUFS_WH_TMP_LEN4
-/* a limit for rmdir/rename a dir and copyup */
-#define AUFS_MAX_NAMELEN   (NAME_MAX \
-   - AUFS_WH_PFX_LEN * 2   /* doubly whiteouted */\
-   - 1 /* dot */\
-   - AUFS_WH_TMP_LEN)  /* hex */
-#define AUFS_XINO_FNAME"." AUFS_NAME ".xino"
-#define AUFS_XINO_DEFPATH  "/tmp/" AUFS_XINO_FNAME
-#define AUFS_XINO_DEF_SEC  30 /* seconds */
-#define AUFS_XINO_DEF_TRUNC45 /* percentage */
-#define AUFS_DIRWH_DEF 3
-#define AUFS_RDCACHE_DEF   10 /* seconds */
-#define AUFS_RDCACHE_MAX   3600 /* seconds */
-#define AUFS_RDBLK_DEF 512 /* bytes */
-#define AUFS_RDHASH_DEF32
-#define AUFS_WKQ_NAME  AUFS_NAME "d"
-#define AUFS_MFS_DEF_SEC   30 /* seconds */
-#define AUFS_MFS_MAX_SEC   3600 /* seconds */
-#define AUFS_FHSM_CACHE_DEF_SEC30 /* seconds */
-#define AUFS_PLINK_WARN50 /* number of plinks in a single 
bucket */
-
-/* pseudo-link maintenace under /proc */
-#define AUFS_PLINK_MAINT_NAME  "plink_maint"
-#define AUFS_PLINK_MAINT_DIR   "fs/" AUFS_NAME
-#define AUFS_PLINK_MAINT_PATH  AUFS_PLINK_MAINT_DIR "/" AUFS_PLINK_MAINT_NAME
-
-#define AUFS_DIROPQ_NAME   AUFS_WH_PFX ".opq" /* whiteouted doubly */
-#define AUFS_WH_DIROPQ AUFS_WH_PFX AUFS_DIROPQ_NAME
-
-#define AUFS_BASE_NAME AUFS_WH_PFX AUFS_NAME
-#define AUFS_PLINKDIR_NAME AUFS_WH_PFX "plnk"
-#define AUFS_ORPHDIR_NAME  AUFS_WH_PFX "orph"
-
-/* doubly whiteouted */
-#define AUFS_WH_BASE   AUFS_WH_PFX AUFS_BASE_NAME
-#define AUFS_WH_PLINKDIR   AUFS_WH_PFX AUFS_PLINKDIR_NAME
-#define AUFS_WH_ORPHDIR

[oe] [meta-gnome][PATCH 4/6] metacity: Fix build with musl

2017-07-14 Thread Khem Raj
Signed-off-by: Khem Raj 
---
 ...1-ui-Replace-__USE_XOPEN-with-_GNU_SOURCE.patch | 31 ++
 .../recipes-gnome/metacity/metacity_2.34.13.bb |  5 +++-
 2 files changed, 35 insertions(+), 1 deletion(-)
 create mode 100644 
meta-gnome/recipes-gnome/metacity/metacity/0001-ui-Replace-__USE_XOPEN-with-_GNU_SOURCE.patch

diff --git 
a/meta-gnome/recipes-gnome/metacity/metacity/0001-ui-Replace-__USE_XOPEN-with-_GNU_SOURCE.patch
 
b/meta-gnome/recipes-gnome/metacity/metacity/0001-ui-Replace-__USE_XOPEN-with-_GNU_SOURCE.patch
new file mode 100644
index 0..3d2b9c7d2
--- /dev/null
+++ 
b/meta-gnome/recipes-gnome/metacity/metacity/0001-ui-Replace-__USE_XOPEN-with-_GNU_SOURCE.patch
@@ -0,0 +1,31 @@
+From 57493928f16c6bfd054c063c511201e295128539 Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Fri, 14 Jul 2017 10:26:31 -0700
+Subject: [PATCH] ui: Replace __USE_XOPEN with _GNU_SOURCE
+
+Defining _GNU_SOURCE defines _XOPEN_SOURCE too which inturn defined __USE_XOPEN
+which is internal define for glibc
+
+additionally it becomes portable across musl and glibc
+
+Signed-off-by: Khem Raj 
+---
+ src/ui/theme.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/ui/theme.c b/src/ui/theme.c
+index 84b57a0..6209b51 100644
+--- a/src/ui/theme.c
 b/src/ui/theme.c
+@@ -60,7 +60,7 @@
+ #include 
+ #include 
+ #include 
+-#define __USE_XOPEN
++#define _GNU_SOURCE
+ #include 
+ 
+ #define GDK_COLOR_RGBA(color)   \
+-- 
+2.13.3
+
diff --git a/meta-gnome/recipes-gnome/metacity/metacity_2.34.13.bb 
b/meta-gnome/recipes-gnome/metacity/metacity_2.34.13.bb
index 662c90db8..537414d9d 100644
--- a/meta-gnome/recipes-gnome/metacity/metacity_2.34.13.bb
+++ b/meta-gnome/recipes-gnome/metacity/metacity_2.34.13.bb
@@ -13,7 +13,10 @@ REQUIRED_DISTRO_FEATURES = "x11"
 
 GNOME_COMPRESS_TYPE = "xz"
 
-SRC_URI += "file://remove-yelp-help-rules-var.patch"
+SRC_URI = 
"${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive
 \
+   file://remove-yelp-help-rules-var.patch \
+   file://0001-ui-Replace-__USE_XOPEN-with-_GNU_SOURCE.patch \
+   "
 SRC_URI[archive.md5sum] = "6d89b71672d4fa49fc87f83d610d0ef6"
 SRC_URI[archive.sha256sum] = 
"8cf4dbf0da0a6f36357ce7db7f829ec685908a7792453c662fb8184572b91075"
 
-- 
2.13.3

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH 3/6] nmon: Upgrade to 16g

2017-07-14 Thread Khem Raj
Fix build with musl while here.

Signed-off-by: Khem Raj 
---
 .../0001-lmon16g.c-Adjust-system-headers.patch | 46 ++
 .../nmon/{nmon_13g.bb => nmon_16g.bb}  | 14 ---
 2 files changed, 54 insertions(+), 6 deletions(-)
 create mode 100644 
meta-oe/recipes-support/nmon/nmon/0001-lmon16g.c-Adjust-system-headers.patch
 rename meta-oe/recipes-support/nmon/{nmon_13g.bb => nmon_16g.bb} (62%)

diff --git 
a/meta-oe/recipes-support/nmon/nmon/0001-lmon16g.c-Adjust-system-headers.patch 
b/meta-oe/recipes-support/nmon/nmon/0001-lmon16g.c-Adjust-system-headers.patch
new file mode 100644
index 0..e8debe56a
--- /dev/null
+++ 
b/meta-oe/recipes-support/nmon/nmon/0001-lmon16g.c-Adjust-system-headers.patch
@@ -0,0 +1,46 @@
+From d977b5170027926eb97ab9742ddc51d2aa34 Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Fri, 14 Jul 2017 10:06:49 -0700
+Subject: [PATCH] lmon16g.c: Adjust system headers
+
+fstab.h is unused
+errno.h is in /usr/include
+defines from sys/cdefs.h is used
+
+Signed-off-by: Khem Raj 
+---
+ lmon16g.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/lmon16g.c b/lmon16g.c
+index cb27e09..d2a11c5 100644
+--- a/lmon16g.c
 b/lmon16g.c
+@@ -63,7 +63,7 @@ static char *SccsId = "nmon " VERSION;
+ #include 
+ #include 
+ #include 
+-#include 
++#include 
+ #include 
+ #include 
+ #include 
+@@ -71,6 +71,7 @@ static char *SccsId = "nmon " VERSION;
+ #include 
+ #include 
+ #include 
++#include 
+ 
+ /* Windows moved here so they can be cleared when the screen mode changes */
+ WINDOW *padwelcome = NULL;
+@@ -576,7 +577,6 @@ struct procsinfo {
+ int isroot = 0;
+ 
+ #include 
+-#include 
+ #include 
+ #include 
+ #include 
+-- 
+2.13.3
+
diff --git a/meta-oe/recipes-support/nmon/nmon_13g.bb 
b/meta-oe/recipes-support/nmon/nmon_16g.bb
similarity index 62%
rename from meta-oe/recipes-support/nmon/nmon_13g.bb
rename to meta-oe/recipes-support/nmon/nmon_16g.bb
index 1f7518972..6232f8626 100644
--- a/meta-oe/recipes-support/nmon/nmon_13g.bb
+++ b/meta-oe/recipes-support/nmon/nmon_16g.bb
@@ -4,14 +4,14 @@ SECTION = "console/utils"
 LICENSE = "GPLv3"
 LIC_FILES_CHKSUM = 
"file://${WORKDIR}/Documentation.txt;md5=dbb13658cf55d687c4f2ff771a696d4a"
 DEPENDS = "ncurses"
-PR = "r2"
+DEPENDS_append_libc-musl = " bsd-headers"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/nmon/lmon13g.c;name=lmon \
+SRC_URI = "${SOURCEFORGE_MIRROR}/nmon/lmon${PV}.c;name=lmon \
${SOURCEFORGE_MIRROR}/nmon/Documentation.txt;name=doc \
+   file://0001-lmon16g.c-Adjust-system-headers.patch \
 "
-
-SRC_URI[lmon.md5sum] = "b1b8e6c0123ad232394991f2d4f40494"
-SRC_URI[lmon.sha256sum] = 
"456ab2a342b31d1a352d0d940af5962fa65a12ae8757ff73e6e73210832ae8b5"
+SRC_URI[lmon.md5sum] = "246ccfc74d5af55d992601fc4d3d4a72"
+SRC_URI[lmon.sha256sum] = 
"da82dd693b503b062854dfe7dbb5d36b347872ab44a4aa05b97e9d577747f688"
 SRC_URI[doc.md5sum] = "dbb13658cf55d687c4f2ff771a696d4a"
 SRC_URI[doc.sha256sum] = 
"1f7f83afe62a7210be5e83cd24157adb854c14599efe0b377a7ecca933869278"
 
@@ -19,8 +19,10 @@ CFLAGS += "-D JFS -D GETUSER -Wall -D LARGEMEM"
 LDFLAGS += "-ltinfo -lncursesw"
 ASNEEDED_pn-nmon = ""
 
+S = "${WORKDIR}"
+
 do_compile() {
-${CC} ${CFLAGS} ${LDFLAGS} ${WORKDIR}/lmon13g.c -o nmon
+${CC} ${CFLAGS} ${LDFLAGS} lmon${PV}.c -o nmon
 }
 
 do_install() {
-- 
2.13.3

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-filesystems][PATCH 1/6] unionfs-fuse: Fix build with musl

2017-07-14 Thread Khem Raj
Signed-off-by: Khem Raj 
---
 ...1-unionfs-Define-IOCPARM_LEN-if-undefined.patch | 62 ++
 .../unionfs-fuse/unionfs-fuse_2.0.bb   |  3 +-
 2 files changed, 64 insertions(+), 1 deletion(-)
 create mode 100644 
meta-filesystems/recipes-filesystems/unionfs-fuse/files/0001-unionfs-Define-IOCPARM_LEN-if-undefined.patch

diff --git 
a/meta-filesystems/recipes-filesystems/unionfs-fuse/files/0001-unionfs-Define-IOCPARM_LEN-if-undefined.patch
 
b/meta-filesystems/recipes-filesystems/unionfs-fuse/files/0001-unionfs-Define-IOCPARM_LEN-if-undefined.patch
new file mode 100644
index 0..8f991cd3f
--- /dev/null
+++ 
b/meta-filesystems/recipes-filesystems/unionfs-fuse/files/0001-unionfs-Define-IOCPARM_LEN-if-undefined.patch
@@ -0,0 +1,62 @@
+From 10411fa8658621822ae394160daffaced4a4cd7f Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Thu, 13 Jul 2017 23:07:29 -0700
+Subject: [PATCH] unionfs: Define IOCPARM_LEN if undefined
+
+musl does not have sysctl.h which defines this
+for glibc
+
+Signed-off-by: Khem Raj 
+---
+ src/unionfs.c |  8 
+ src/unionfs.h | 15 +++
+ 2 files changed, 15 insertions(+), 8 deletions(-)
+
+diff --git a/src/unionfs.c b/src/unionfs.c
+index a34d34e..51684a7 100644
+--- a/src/unionfs.c
 b/src/unionfs.c
+@@ -21,14 +21,6 @@
+ #include "opts.h"
+ #include "usyslog.h"
+ 
+-#ifndef _IOC_SIZE
+-#ifdef IOCPARM_LEN
+-#define _IOC_SIZE(x) IOCPARM_LEN(x)
+-#else
+-#error "No mechanism for determining ioctl length found."
+-#endif
+-#endif
+-
+ static struct fuse_opt unionfs_opts[] = {
+   FUSE_OPT_KEY("chroot=%s,", KEY_CHROOT),
+   FUSE_OPT_KEY("cow", KEY_COW),
+diff --git a/src/unionfs.h b/src/unionfs.h
+index 8f5e0bf..b02de5a 100644
+--- a/src/unionfs.h
 b/src/unionfs.h
+@@ -17,6 +17,21 @@
+ #define FUSE_META_FILE ".fuse_hidden"
+ #define FUSE_META_LENGTH 12
+ 
++#ifndef IOCPARM_MASK
++#define IOCPARM_MASK  0x1FFF
++#endif
++#ifndef IOCPARM_LEN
++#define IOCPARM_LEN(a)(((a) >> 16) & IOCPARM_MASK)
++#endif
++
++#ifndef _IOC_SIZE
++#ifdef IOCPARM_LEN
++#define _IOC_SIZE(x) IOCPARM_LEN(x)
++#else
++#error "No mechanism for determining ioctl length found."
++#endif
++#endif
++
+ // file access protection mask
+ #define S_PROT_MASK (S_ISUID| S_ISGID | S_ISVTX | S_IRWXU | S_IRWXG | S_IRWXO)
+ 
+-- 
+2.13.2
+
diff --git 
a/meta-filesystems/recipes-filesystems/unionfs-fuse/unionfs-fuse_2.0.bb 
b/meta-filesystems/recipes-filesystems/unionfs-fuse/unionfs-fuse_2.0.bb
index b89d8db15..6bedf16b0 100644
--- a/meta-filesystems/recipes-filesystems/unionfs-fuse/unionfs-fuse_2.0.bb
+++ b/meta-filesystems/recipes-filesystems/unionfs-fuse/unionfs-fuse_2.0.bb
@@ -8,7 +8,8 @@ LIC_FILES_CHKSUM = 
"file://src/unionfs.c;beginline=3;endline=8;md5=30fa8de70fd8a
 
 SRC_URI = "git://github.com/rpodgorny/${BPN}.git;branch=master \
file://0001-support-cross-compiling.patch \
-"
+   file://0001-unionfs-Define-IOCPARM_LEN-if-undefined.patch \
+   "
 SRCREV = "c8d23a9a75f1a62988593671839e8a168a79f3e5"
 
 DEPENDS = "fuse"
-- 
2.13.3

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [OE-core] State of bitbake world, Failed tasks 2017-07-13

2017-07-14 Thread Khem Raj
On Fri, Jul 14, 2017 at 10:03 AM, Martin Jansa  wrote:
> OK, I'll merge current batch of pending changes and before next build I'll
> include
> conf/distro/include/security_flags.inc
>
> Is that all I need to do?
>

yep

> On Fri, Jul 14, 2017 at 6:49 PM, Khem Raj  wrote:
>>
>> Hi Martin
>>
>> On Fri, Jul 14, 2017 at 9:43 AM, Martin Jansa 
>> wrote:
>> > http://www.openembedded.org/wiki/Bitbake_World_Status
>> >
>>
>> The results looks good. I wanted to suggest to start building with
>> hardening flags on if possible. I have ensured that there are no
>> regressions with hardening flags. It would be good to keep that up
>>
>> > == Number of issues - stats ==
>> > {| class='wikitable'
>> > !|Date !!colspan='3'|Failed tasks!!|Signatures
>> > !!colspan='14'|QA !!Comment
>> > |-
>> > || ||qemuarm ||qemux86 ||qemux86_64 ||all
>> > ||already-stripped ||libdir ||textrel ||build-deps ||file-rdeps
>> > ||version-going-backwards ||host-user-contaminated ||installed-vs-shipped
>> > ||unknown-configure-option ||symlink-to-sysroot ||invalid-pkgconfig
>> > ||pkgname ||ldflags ||compile-host-path ||
>> > |-
>> >
>> > ||2017-07-13 ||1 ||1 ||1 ||0 ||0 ||1 ||4 ||0 ||0 ||21 ||0 ||0 ||0 ||0
>> > ||0 ||0 ||0 ||0 ||
>> > |}
>> >
>> > == Failed tasks 2017-07-13 ==
>> >
>> > INFO: jenkins-job.sh-1.8.24 Complete log available at
>> >
>> > http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.report.20170714_064216.log
>> >
>> > === common (1) ===
>> > *
>> >
>> > openembedded-core/meta/recipes-devtools/systemd-bootchart/systemd-bootchart_231.bb:do_compile
>> >
>> > === common-x86 (0) ===
>> >
>> > === qemuarm (0) ===
>> >
>> > === qemux86 (0) ===
>> >
>> > === qemux86_64 (0) ===
>> >
>> > === Number of failed tasks (3) ===
>> > {| class=wikitable
>> >
>> > |-
>> > || qemuarm || 1 ||
>> >
>> > http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.world.qemuarm.20170711_225251.log/
>> > || http://errors.yoctoproject.org/Errors/Build/41116/
>> > |-
>> > || qemux86 || 1 ||
>> >
>> > http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.world.qemux86.20170711_225251.log/
>> > || http://errors.yoctoproject.org/Errors/Build/41118/
>> > |-
>> > || qemux86_64 || 1 ||
>> >
>> > http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.world.qemux86-64.20170713_081929.log/
>> > || http://errors.yoctoproject.org/Errors/Build/41231/
>> > |}
>> >
>> > === PNBLACKLISTs (14) ===
>> >
>> > === QA issues (26) ===
>> > {| class=wikitable
>> > !| Count ||Issue
>> > |-
>> > ||0 ||already-stripped
>> > |-
>> > ||0 ||build-deps
>> > |-
>> > ||0 ||compile-host-path
>> > |-
>> > ||0 ||file-rdeps
>> > |-
>> > ||0 ||host-user-contaminated
>> > |-
>> > ||0 ||installed-vs-shipped
>> > |-
>> > ||0 ||invalid-pkgconfig
>> > |-
>> > ||0 ||ldflags
>> > |-
>> > ||0 ||pkgname
>> > |-
>> > ||0 ||symlink-to-sysroot
>> > |-
>> > ||0 ||unknown-configure-option
>> > |-
>> > ||1 ||libdir
>> > |-
>> > ||21 ||version-going-backwards
>> > |-
>> > ||4 ||textrel
>> > |}
>> >
>> >
>> >
>> > === Incorrect PACKAGE_ARCH or sstate signatures (0) ===
>> >
>> > Complete log:
>> >
>> > http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.signatures.20170712_200847.log/
>> >
>> > No issues detected
>> >
>> >
>> > PNBLACKLISTs:
>> >
>> > openembedded-core/:
>> > meta-browser:
>> > meta-openembedded:
>> >
>> > meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.17.bb:PNBLACKLIST[lksctp-tools]
>> > ?= "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', "BROKEN: fails
>> > to
>> > link against sctp_connectx symbol", '', d)}"
>> >
>> > meta-oe/recipes-connectivity/bluez/bluez-hcidump_2.5.bb:PNBLACKLIST[bluez-hcidump]
>> > ?= "${@bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez5 conflicts
>> > with
>> > bluez4 and bluez5 is selected in DISTRO_FEATURES', '', d)}"
>> > meta-oe/recipes-connectivity/bluez/bluez4_4.101.bb:PNBLACKLIST[bluez4]
>> > ?=
>> > "${@bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez5 conflicts
>> > with
>> > bluez4 and bluez5 is selected in DISTRO_FEATURES', '', d)}"
>> >
>> > meta-oe/recipes-connectivity/bluez/gst-plugin-bluetooth_4.101.bb:PNBLACKLIST[gst-plugin-bluetooth]
>> > ?= "${@bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez5 conflicts
>> > with
>> > bluez4 and bluez5 is selected in DISTRO_FEATURES', '', d)}"
>> > meta-oe/recipes-graphics/libsexy/libsexy_0.1.11.bb:PNBLACKLIST[libsexy]
>> > ?=
>> > "Fails to build with RSS
>> > http://errors.yoctoproject.org/Errors/Details/130607/ - the recipe will
>> > be
>> > removed on 2017-09-01 unless the issue is fixed"
>> >
>> > meta-oe/recipes-graphics/xorg-driver/xf86-video-geode_2.11.16.bb:PNBLACKLIST[xf86-video-geode]
>> > ?= "BROKEN, fails to build - the recipe will be removed on 2017-09-01
>> > unless
>> > the issue is fixed"
>> >
>> > meta-oe/recipes-navigation/foxtrotgps/foxtrotgps_1.1.1.bb:PNBLACKLIST[foxtrotgps]
>> > ?= "${@bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez5 conflicts
>> > with

Re: [oe] [OE-core] State of bitbake world, Failed tasks 2017-07-13

2017-07-14 Thread Martin Jansa
OK, I'll merge current batch of pending changes and before next build I'll
include
conf/distro/include/security_flags.inc

Is that all I need to do?

On Fri, Jul 14, 2017 at 6:49 PM, Khem Raj  wrote:

> Hi Martin
>
> On Fri, Jul 14, 2017 at 9:43 AM, Martin Jansa 
> wrote:
> > http://www.openembedded.org/wiki/Bitbake_World_Status
> >
>
> The results looks good. I wanted to suggest to start building with
> hardening flags on if possible. I have ensured that there are no
> regressions with hardening flags. It would be good to keep that up
>
> > == Number of issues - stats ==
> > {| class='wikitable'
> > !|Date !!colspan='3'|Failed tasks!!|Signatures
> > !!colspan='14'|QA !!Comment
> > |-
> > || ||qemuarm ||qemux86 ||qemux86_64 ||all
> > ||already-stripped ||libdir ||textrel ||build-deps ||file-rdeps
> ||version-going-backwards ||host-user-contaminated ||installed-vs-shipped
> ||unknown-configure-option ||symlink-to-sysroot ||invalid-pkgconfig
> ||pkgname ||ldflags ||compile-host-path ||
> > |-
> >
> > ||2017-07-13 ||1 ||1 ||1 ||0 ||0 ||1 ||4 ||0 ||0 ||21 ||0 ||0 ||0 ||0
> ||0 ||0 ||0 ||0 ||
> > |}
> >
> > == Failed tasks 2017-07-13 ==
> >
> > INFO: jenkins-job.sh-1.8.24 Complete log available at
> > http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.
> report.20170714_064216.log
> >
> > === common (1) ===
> > *
> > openembedded-core/meta/recipes-devtools/systemd-
> bootchart/systemd-bootchart_231.bb:do_compile
> >
> > === common-x86 (0) ===
> >
> > === qemuarm (0) ===
> >
> > === qemux86 (0) ===
> >
> > === qemux86_64 (0) ===
> >
> > === Number of failed tasks (3) ===
> > {| class=wikitable
> >
> > |-
> > || qemuarm || 1 ||
> > http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.
> world.qemuarm.20170711_225251.log/
> > || http://errors.yoctoproject.org/Errors/Build/41116/
> > |-
> > || qemux86 || 1 ||
> > http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.
> world.qemux86.20170711_225251.log/
> > || http://errors.yoctoproject.org/Errors/Build/41118/
> > |-
> > || qemux86_64 || 1 ||
> > http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.
> world.qemux86-64.20170713_081929.log/
> > || http://errors.yoctoproject.org/Errors/Build/41231/
> > |}
> >
> > === PNBLACKLISTs (14) ===
> >
> > === QA issues (26) ===
> > {| class=wikitable
> > !| Count ||Issue
> > |-
> > ||0 ||already-stripped
> > |-
> > ||0 ||build-deps
> > |-
> > ||0 ||compile-host-path
> > |-
> > ||0 ||file-rdeps
> > |-
> > ||0 ||host-user-contaminated
> > |-
> > ||0 ||installed-vs-shipped
> > |-
> > ||0 ||invalid-pkgconfig
> > |-
> > ||0 ||ldflags
> > |-
> > ||0 ||pkgname
> > |-
> > ||0 ||symlink-to-sysroot
> > |-
> > ||0 ||unknown-configure-option
> > |-
> > ||1 ||libdir
> > |-
> > ||21 ||version-going-backwards
> > |-
> > ||4 ||textrel
> > |}
> >
> >
> >
> > === Incorrect PACKAGE_ARCH or sstate signatures (0) ===
> >
> > Complete log:
> > http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.
> signatures.20170712_200847.log/
> >
> > No issues detected
> >
> >
> > PNBLACKLISTs:
> >
> > openembedded-core/:
> > meta-browser:
> > meta-openembedded:
> > meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.17.bb:
> PNBLACKLIST[lksctp-tools]
> > ?= "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', "BROKEN:
> fails to
> > link against sctp_connectx symbol", '', d)}"
> > meta-oe/recipes-connectivity/bluez/bluez-hcidump_2.5.bb:PNB
> LACKLIST[bluez-hcidump]
> > ?= "${@bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez5 conflicts
> with
> > bluez4 and bluez5 is selected in DISTRO_FEATURES', '', d)}"
> > meta-oe/recipes-connectivity/bluez/bluez4_4.101.bb:PNBLACKLIST[bluez4]
> ?=
> > "${@bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez5 conflicts
> with
> > bluez4 and bluez5 is selected in DISTRO_FEATURES', '', d)}"
> > meta-oe/recipes-connectivity/bluez/gst-plugin-bluetooth_4.101.bb:
> PNBLACKLIST[gst-plugin-bluetooth]
> > ?= "${@bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez5 conflicts
> with
> > bluez4 and bluez5 is selected in DISTRO_FEATURES', '', d)}"
> > meta-oe/recipes-graphics/libsexy/libsexy_0.1.11.bb:PNBLACKLIST[libsexy]
> ?=
> > "Fails to build with RSS
> > http://errors.yoctoproject.org/Errors/Details/130607/ - the recipe will
> be
> > removed on 2017-09-01 unless the issue is fixed"
> > meta-oe/recipes-graphics/xorg-driver/xf86-video-geode_2.11.16.bb:
> PNBLACKLIST[xf86-video-geode]
> > ?= "BROKEN, fails to build - the recipe will be removed on 2017-09-01
> unless
> > the issue is fixed"
> > meta-oe/recipes-navigation/foxtrotgps/foxtrotgps_1.1.1.
> bb:PNBLACKLIST[foxtrotgps]
> > ?= "${@bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez5 conflicts
> with
> > bluez4 and bluez5 is selected in DISTRO_FEATURES', '', d)}"
> > meta-oe/recipes-navigation/gypsy/gypsy.inc:PNBLACKLIST[gypsy] ?=
> > "${@bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez5 conflicts
> with
> > bluez4 and bluez5 is selected in DISTRO_FEATURES', '', d)}"
> > 

Re: [oe] [OE-core] State of bitbake world, Failed tasks 2017-07-13

2017-07-14 Thread Khem Raj
Hi Martin

On Fri, Jul 14, 2017 at 9:43 AM, Martin Jansa  wrote:
> http://www.openembedded.org/wiki/Bitbake_World_Status
>

The results looks good. I wanted to suggest to start building with
hardening flags on if possible. I have ensured that there are no
regressions with hardening flags. It would be good to keep that up

> == Number of issues - stats ==
> {| class='wikitable'
> !|Date !!colspan='3'|Failed tasks!!|Signatures
> !!colspan='14'|QA !!Comment
> |-
> || ||qemuarm ||qemux86 ||qemux86_64 ||all
> ||already-stripped ||libdir ||textrel ||build-deps ||file-rdeps 
> ||version-going-backwards ||host-user-contaminated ||installed-vs-shipped 
> ||unknown-configure-option ||symlink-to-sysroot ||invalid-pkgconfig ||pkgname 
> ||ldflags ||compile-host-path ||
> |-
>
> ||2017-07-13 ||1 ||1 ||1 ||0 ||0 ||1 ||4 ||0 ||0 ||21 ||0 ||0 ||0 ||0 ||0 ||0 
> ||0 ||0 ||
> |}
>
> == Failed tasks 2017-07-13 ==
>
> INFO: jenkins-job.sh-1.8.24 Complete log available at
> http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.report.20170714_064216.log
>
> === common (1) ===
> *
> openembedded-core/meta/recipes-devtools/systemd-bootchart/systemd-bootchart_231.bb:do_compile
>
> === common-x86 (0) ===
>
> === qemuarm (0) ===
>
> === qemux86 (0) ===
>
> === qemux86_64 (0) ===
>
> === Number of failed tasks (3) ===
> {| class=wikitable
>
> |-
> || qemuarm || 1 ||
> http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.world.qemuarm.20170711_225251.log/
> || http://errors.yoctoproject.org/Errors/Build/41116/
> |-
> || qemux86 || 1 ||
> http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.world.qemux86.20170711_225251.log/
> || http://errors.yoctoproject.org/Errors/Build/41118/
> |-
> || qemux86_64 || 1 ||
> http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.world.qemux86-64.20170713_081929.log/
> || http://errors.yoctoproject.org/Errors/Build/41231/
> |}
>
> === PNBLACKLISTs (14) ===
>
> === QA issues (26) ===
> {| class=wikitable
> !| Count ||Issue
> |-
> ||0 ||already-stripped
> |-
> ||0 ||build-deps
> |-
> ||0 ||compile-host-path
> |-
> ||0 ||file-rdeps
> |-
> ||0 ||host-user-contaminated
> |-
> ||0 ||installed-vs-shipped
> |-
> ||0 ||invalid-pkgconfig
> |-
> ||0 ||ldflags
> |-
> ||0 ||pkgname
> |-
> ||0 ||symlink-to-sysroot
> |-
> ||0 ||unknown-configure-option
> |-
> ||1 ||libdir
> |-
> ||21 ||version-going-backwards
> |-
> ||4 ||textrel
> |}
>
>
>
> === Incorrect PACKAGE_ARCH or sstate signatures (0) ===
>
> Complete log:
> http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.signatures.20170712_200847.log/
>
> No issues detected
>
>
> PNBLACKLISTs:
>
> openembedded-core/:
> meta-browser:
> meta-openembedded:
> meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.17.bb:PNBLACKLIST[lksctp-tools]
> ?= "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', "BROKEN: fails to
> link against sctp_connectx symbol", '', d)}"
> meta-oe/recipes-connectivity/bluez/bluez-hcidump_2.5.bb:PNBLACKLIST[bluez-hcidump]
> ?= "${@bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez5 conflicts with
> bluez4 and bluez5 is selected in DISTRO_FEATURES', '', d)}"
> meta-oe/recipes-connectivity/bluez/bluez4_4.101.bb:PNBLACKLIST[bluez4] ?=
> "${@bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez5 conflicts with
> bluez4 and bluez5 is selected in DISTRO_FEATURES', '', d)}"
> meta-oe/recipes-connectivity/bluez/gst-plugin-bluetooth_4.101.bb:PNBLACKLIST[gst-plugin-bluetooth]
> ?= "${@bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez5 conflicts with
> bluez4 and bluez5 is selected in DISTRO_FEATURES', '', d)}"
> meta-oe/recipes-graphics/libsexy/libsexy_0.1.11.bb:PNBLACKLIST[libsexy] ?=
> "Fails to build with RSS
> http://errors.yoctoproject.org/Errors/Details/130607/ - the recipe will be
> removed on 2017-09-01 unless the issue is fixed"
> meta-oe/recipes-graphics/xorg-driver/xf86-video-geode_2.11.16.bb:PNBLACKLIST[xf86-video-geode]
> ?= "BROKEN, fails to build - the recipe will be removed on 2017-09-01 unless
> the issue is fixed"
> meta-oe/recipes-navigation/foxtrotgps/foxtrotgps_1.1.1.bb:PNBLACKLIST[foxtrotgps]
> ?= "${@bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez5 conflicts with
> bluez4 and bluez5 is selected in DISTRO_FEATURES', '', d)}"
> meta-oe/recipes-navigation/gypsy/gypsy.inc:PNBLACKLIST[gypsy] ?=
> "${@bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez5 conflicts with
> bluez4 and bluez5 is selected in DISTRO_FEATURES', '', d)}"
> meta-oe/recipes-navigation/navit/navit.inc:PNBLACKLIST[navit] ?=
> "${@bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez5 conflicts with
> bluez4 and bluez5 is selected in DISTRO_FEATURES', '', d)}"
> meta-oe/recipes-support/opensync/libsyncml_0.5.4.bb:PNBLACKLIST[libsyncml]
> ?= "${@bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez5 conflicts with
> bluez4 and bluez5 is selected in DISTRO_FEATURES', '', d)}"
> meta-qt5:
> meta-smartphone:
> meta-shr/recipes-shr/3rdparty/libsensmon_git.bb:PNBLACKLIST[libsensmon] ?=
> "BROKEN: 

[oe] State of bitbake world, Failed tasks 2017-07-13

2017-07-14 Thread Martin Jansa
http://www.openembedded.org/wiki/Bitbake_World_Status

== Number of issues - stats ==
{| class='wikitable'
!|Date   !!colspan='3'|Failed tasks 
!!|Signatures   
!!colspan='14'|QA !!Comment
|-
||  ||qemuarm   ||qemux86   ||qemux86_64||all
||already-stripped  ||libdir||textrel   ||build-deps
||file-rdeps||version-going-backwards   ||host-user-contaminated
||installed-vs-shipped  ||unknown-configure-option  ||symlink-to-sysroot
||invalid-pkgconfig ||pkgname   ||ldflags   ||compile-host-path 
||
|-

||2017-07-13||1 ||1 ||1 ||0 ||0 ||1 
||4 ||0 ||0 ||21||0 
||0 ||0 ||0 ||0 ||0 
||0 ||0 ||
|}

== Failed tasks 2017-07-13 ==

INFO: jenkins-job.sh-1.8.24 Complete log available at
http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.report.20170714_064216.log

=== common (1) ===
* 
openembedded-core/meta/recipes-devtools/systemd-bootchart/systemd-bootchart_231.bb:do_compile

=== common-x86 (0) ===

=== qemuarm (0) ===

=== qemux86 (0) ===

=== qemux86_64 (0) ===

=== Number of failed tasks (3) ===
{| class=wikitable

|-
|| qemuarm  || 1 ||
http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.world.qemuarm.20170711_225251.log/
|| http://errors.yoctoproject.org/Errors/Build/41116/
|-
|| qemux86  || 1 ||
http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.world.qemux86.20170711_225251.log/
|| http://errors.yoctoproject.org/Errors/Build/41118/
|-
|| qemux86_64   || 1 ||
http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.world.qemux86-64.20170713_081929.log/
|| http://errors.yoctoproject.org/Errors/Build/41231/
|}

=== PNBLACKLISTs (14) ===

=== QA issues (26) ===
{| class=wikitable
!| Count||Issue
|-
||0 ||already-stripped
|-
||0 ||build-deps
|-
||0 ||compile-host-path
|-
||0 ||file-rdeps
|-
||0 ||host-user-contaminated
|-
||0 ||installed-vs-shipped
|-
||0 ||invalid-pkgconfig
|-
||0 ||ldflags
|-
||0 ||pkgname
|-
||0 ||symlink-to-sysroot
|-
||0 ||unknown-configure-option
|-
||1 ||libdir
|-
||21||version-going-backwards
|-
||4 ||textrel
|}



=== Incorrect PACKAGE_ARCH or sstate signatures (0) ===

Complete log: 
http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.signatures.20170712_200847.log/

No issues detected


PNBLACKLISTs:

openembedded-core/:
meta-browser:
meta-openembedded:
meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.17.bb:PNBLACKLIST[lksctp-tools]
?= "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', "BROKEN:
fails to link against sctp_connectx symbol", '', d)}"
meta-oe/recipes-connectivity/bluez/bluez-hcidump_2.5.bb:PNBLACKLIST[bluez-hcidump]
?= "${@bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez5
conflicts with bluez4 and bluez5 is selected in DISTRO_FEATURES', '',
d)}"
meta-oe/recipes-connectivity/bluez/bluez4_4.101.bb:PNBLACKLIST[bluez4]
?= "${@bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez5
conflicts with bluez4 and bluez5 is selected in DISTRO_FEATURES', '',
d)}"
meta-oe/recipes-connectivity/bluez/gst-plugin-bluetooth_4.101.bb:PNBLACKLIST[gst-plugin-bluetooth]
?= "${@bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez5
conflicts with bluez4 and bluez5 is selected in DISTRO_FEATURES', '',
d)}"
meta-oe/recipes-graphics/libsexy/libsexy_0.1.11.bb:PNBLACKLIST[libsexy]
?= "Fails to build with RSS
http://errors.yoctoproject.org/Errors/Details/130607/ - the recipe
will be removed on 2017-09-01 unless the issue is fixed"
meta-oe/recipes-graphics/xorg-driver/xf86-video-geode_2.11.16.bb:PNBLACKLIST[xf86-video-geode]
?= "BROKEN, fails to build - the recipe will be removed on 2017-09-01
unless the issue is fixed"
meta-oe/recipes-navigation/foxtrotgps/foxtrotgps_1.1.1.bb:PNBLACKLIST[foxtrotgps]
?= "${@bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez5
conflicts with bluez4 and bluez5 is selected in DISTRO_FEATURES', '',
d)}"
meta-oe/recipes-navigation/gypsy/gypsy.inc:PNBLACKLIST[gypsy] ?=
"${@bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez5 conflicts
with bluez4 and bluez5 is selected in DISTRO_FEATURES', '', d)}"
meta-oe/recipes-navigation/navit/navit.inc:PNBLACKLIST[navit] ?=
"${@bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez5 conflicts
with bluez4 and bluez5 is selected in DISTRO_FEATURES', '', d)}"
meta-oe/recipes-support/opensync/libsyncml_0.5.4.bb:PNBLACKLIST[libsyncml]
?= "${@bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez5
conflicts with bluez4 and bluez5 is selected in DISTRO_FEATURES', '',
d)}"
meta-qt5:
meta-smartphone:
meta-shr/recipes-shr/3rdparty/libsensmon_git.bb:PNBLACKLIST[libsensmon]
?= "BROKEN: not compatible with newer vala,
http://errors.yoctoproject.org/Errors/Details/143058/;

Re: [oe] [meta-xfce][PATCH 08/18] xfce4-netload-plugin: Do not include sys/sysctl.h

2017-07-14 Thread Khem Raj
On Thu, Jul 13, 2017 at 11:45 PM, Andreas Müller
 wrote:
> On Fri, Jul 14, 2017 at 7:40 AM, Khem Raj  wrote:
>> Its unused, moreover it helps it compile with musl
>>
>> Signed-off-by: Khem Raj 
>> ---
>>  ...ude-sys-sysctl.h-its-unused-on-linux-port.patch | 25 
>> ++
>>  .../netload/xfce4-netload-plugin_1.3.1.bb  |  3 +++
>>  2 files changed, 28 insertions(+)
>>  create mode 100644 
>> meta-xfce/recipes-panel-plugins/netload/xfce4-netload-plugin/0001-Do-not-include-sys-sysctl.h-its-unused-on-linux-port.patch
>>
>> diff --git 
>> a/meta-xfce/recipes-panel-plugins/netload/xfce4-netload-plugin/0001-Do-not-include-sys-sysctl.h-its-unused-on-linux-port.patch
>>  
>> b/meta-xfce/recipes-panel-plugins/netload/xfce4-netload-plugin/0001-Do-not-include-sys-sysctl.h-its-unused-on-linux-port.patch
>> new file mode 100644
>> index 0..e35418192
>> --- /dev/null
>> +++ 
>> b/meta-xfce/recipes-panel-plugins/netload/xfce4-netload-plugin/0001-Do-not-include-sys-sysctl.h-its-unused-on-linux-port.patch
>> @@ -0,0 +1,25 @@
>> +From 7fcc7352ec11644ac8be4e9ec1584a5be684 Mon Sep 17 00:00:00 2001
>> +From: Khem Raj 
>> +Date: Wed, 12 Jul 2017 18:18:30 -0700
>> +Subject: [PATCH] Do not include sys/sysctl.h its unused on linux port
>> +
>> +Signed-off-by: Khem Raj 
>> +---
>> + panel-plugin/os.h | 1 -
>> + 1 file changed, 1 deletion(-)
>> +
>> +diff --git a/panel-plugin/os.h b/panel-plugin/os.h
>> +index 473c2a4..9a5c544 100644
>> +--- a/panel-plugin/os.h
>>  b/panel-plugin/os.h
>> +@@ -170,7 +170,6 @@
>> + #elif __linux__ /* L I N U X */
>> + #  include 
>> + #  include 
>> +-#  include 
>> + #  include 
>> + #  include 
>> + #  include 
>> +--
>> +2.13.2
>> +
>> diff --git 
>> a/meta-xfce/recipes-panel-plugins/netload/xfce4-netload-plugin_1.3.1.bb 
>> b/meta-xfce/recipes-panel-plugins/netload/xfce4-netload-plugin_1.3.1.bb
>> index 7d7778202..35c8861bc 100644
>> --- a/meta-xfce/recipes-panel-plugins/netload/xfce4-netload-plugin_1.3.1.bb
>> +++ b/meta-xfce/recipes-panel-plugins/netload/xfce4-netload-plugin_1.3.1.bb
>> @@ -5,5 +5,8 @@ LIC_FILES_CHKSUM = 
>> "file://COPYING;md5=35a7203c41b86d15546dddc05995f97f"
>>
>>  inherit xfce-panel-plugin
>>
>> +SRC_URI = 
>> "http://archive.xfce.org/src/panel-plugins/${BPN}/${@'${PV}'[0:3]}/${BPN}-${PV}.tar.bz2
>>  \
>> +   
>> file://0001-Do-not-include-sys-sysctl.h-its-unused-on-linux-port.patch \
>> +   "
>>  SRC_URI[md5sum] = "f25aa3242e3119b49f259a3e4a1af08b"
>>  SRC_URI[sha256sum] = 
>> "99762781099d1e0ab9aa6a7b30c2bd94d8f658dbe61c760410d5d42d0766391c"
>> --
>> 2.13.2
>>
> Please add Upstream-Status (or even better - send the xfce patches upstream)
>

help me upstream it

> Andreas
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-yocto][PATCH] yocto-bsp: insert the path of argparse_oe.py into libpath

2017-07-14 Thread Yue Tao
Issue: LIN9-4616

Finding the path of argparse_oe.py in env PATH. Usually, it
can be found in project/scripts/lib, or oe-core/scripts/lib.
Find the first one and insert it into libpath.

(LOCAL REV: NOT UPSTREAM) -- pending

Signed-off-by: Robert Yang 
Signed-off-by: Yue Tao 
---
 scripts/yocto-bsp |7 +++
 1 file changed, 7 insertions(+)

diff --git a/scripts/yocto-bsp b/scripts/yocto-bsp
index 6fb1f41..fdd3ed2 100755
--- a/scripts/yocto-bsp
+++ b/scripts/yocto-bsp
@@ -35,6 +35,13 @@ import sys
 import argparse
 import logging
 
+path_from_env = os.getenv('PATH').split(':')
+for script_path in path_from_env:
+if script_path.endswith('scripts'):
+if os.path.exists(os.path.join(script_path, 'lib/argparse_oe.py')):
+sys.path.insert(0, script_path + '/lib')
+break
+
 scripts_path = os.path.dirname(os.path.realpath(__file__))
 sys.path.insert(0, scripts_path + '/lib')
 import argparse_oe
-- 
1.7.9.5

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-xfce][PATCH 08/18] xfce4-netload-plugin: Do not include sys/sysctl.h

2017-07-14 Thread Andreas Müller
On Fri, Jul 14, 2017 at 7:40 AM, Khem Raj  wrote:
> Its unused, moreover it helps it compile with musl
>
> Signed-off-by: Khem Raj 
> ---
>  ...ude-sys-sysctl.h-its-unused-on-linux-port.patch | 25 
> ++
>  .../netload/xfce4-netload-plugin_1.3.1.bb  |  3 +++
>  2 files changed, 28 insertions(+)
>  create mode 100644 
> meta-xfce/recipes-panel-plugins/netload/xfce4-netload-plugin/0001-Do-not-include-sys-sysctl.h-its-unused-on-linux-port.patch
>
> diff --git 
> a/meta-xfce/recipes-panel-plugins/netload/xfce4-netload-plugin/0001-Do-not-include-sys-sysctl.h-its-unused-on-linux-port.patch
>  
> b/meta-xfce/recipes-panel-plugins/netload/xfce4-netload-plugin/0001-Do-not-include-sys-sysctl.h-its-unused-on-linux-port.patch
> new file mode 100644
> index 0..e35418192
> --- /dev/null
> +++ 
> b/meta-xfce/recipes-panel-plugins/netload/xfce4-netload-plugin/0001-Do-not-include-sys-sysctl.h-its-unused-on-linux-port.patch
> @@ -0,0 +1,25 @@
> +From 7fcc7352ec11644ac8be4e9ec1584a5be684 Mon Sep 17 00:00:00 2001
> +From: Khem Raj 
> +Date: Wed, 12 Jul 2017 18:18:30 -0700
> +Subject: [PATCH] Do not include sys/sysctl.h its unused on linux port
> +
> +Signed-off-by: Khem Raj 
> +---
> + panel-plugin/os.h | 1 -
> + 1 file changed, 1 deletion(-)
> +
> +diff --git a/panel-plugin/os.h b/panel-plugin/os.h
> +index 473c2a4..9a5c544 100644
> +--- a/panel-plugin/os.h
>  b/panel-plugin/os.h
> +@@ -170,7 +170,6 @@
> + #elif __linux__ /* L I N U X */
> + #  include 
> + #  include 
> +-#  include 
> + #  include 
> + #  include 
> + #  include 
> +--
> +2.13.2
> +
> diff --git 
> a/meta-xfce/recipes-panel-plugins/netload/xfce4-netload-plugin_1.3.1.bb 
> b/meta-xfce/recipes-panel-plugins/netload/xfce4-netload-plugin_1.3.1.bb
> index 7d7778202..35c8861bc 100644
> --- a/meta-xfce/recipes-panel-plugins/netload/xfce4-netload-plugin_1.3.1.bb
> +++ b/meta-xfce/recipes-panel-plugins/netload/xfce4-netload-plugin_1.3.1.bb
> @@ -5,5 +5,8 @@ LIC_FILES_CHKSUM = 
> "file://COPYING;md5=35a7203c41b86d15546dddc05995f97f"
>
>  inherit xfce-panel-plugin
>
> +SRC_URI = 
> "http://archive.xfce.org/src/panel-plugins/${BPN}/${@'${PV}'[0:3]}/${BPN}-${PV}.tar.bz2
>  \
> +   
> file://0001-Do-not-include-sys-sysctl.h-its-unused-on-linux-port.patch \
> +   "
>  SRC_URI[md5sum] = "f25aa3242e3119b49f259a3e4a1af08b"
>  SRC_URI[sha256sum] = 
> "99762781099d1e0ab9aa6a7b30c2bd94d8f658dbe61c760410d5d42d0766391c"
> --
> 2.13.2
>
Please add Upstream-Status (or even better - send the xfce patches upstream)

Andreas
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel