Re: [oe] [meta-webserver][PATCH] nginx.service: sleep 0.1 after nginx start

2020-02-24 Thread Changqing Li


On 2/25/20 12:49 PM, Khem Raj wrote:



On 2/24/20 7:53 PM, Changqing Li wrote:


On 2/25/20 12:40 AM, Khem Raj wrote:

On Mon, Feb 24, 2020 at 3:41 AM  wrote:

From: Changqing Li

Fix error info:
nginx.service: failed to parse pid from file /run/nginx/nginx.pid:
invalid argument

Signed-off-by: Changqing Li
---
  meta-webserver/recipes-httpd/nginx/files/nginx.service | 1 +
  1 file changed, 1 insertion(+)

diff --git a/meta-webserver/recipes-httpd/nginx/files/nginx.service 
b/meta-webserver/recipes-httpd/nginx/files/nginx.service

index 9a6ca96..65c7752 100644
--- a/meta-webserver/recipes-httpd/nginx/files/nginx.service
+++ b/meta-webserver/recipes-httpd/nginx/files/nginx.service
@@ -7,6 +7,7 @@ Type=forking
  PIDFile=/run/nginx/nginx.pid
  ExecStartPre=@SBINDIR@/nginx -t
  ExecStart=@SBINDIR@/nginx
+ExecStartPost=/bin/sleep 0.1
I dont thiink we should be adding sleeps instead try to lock the 
dependencies

so it happens correctly. or perhaps change the logic in code itself if
dependencies
can not handle it.


error info: "nginx.service: failed to parse pid from file 
/run/nginx/nginx.pid: invalid argument" is caused by race condition 
between


systemd and nginx.  And this error will not caused problem except 
scary log


This should be a known problem: 
https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1581864


other distro like ubuntu, fedora, should also have this problem, I 
can google people report this error on different distro.


I do not question the problem but the solution, there have been 
different solutions posted to ml e.g.


https://mailman.nginx.org/pipermail/nginx-devel/2016-February/007961.html

or ubuntu fix

https://github.com/aroth-arsoft/pkg-nginx/blob/master/debian/patches/nginx-fix-pidfile.patch 


Thanks.  I send a V2 with this solution.


perhaps you should try one of these patches



ubuntu 16.04 use this as a workaround.


  ExecReload=@SBINDIR@/nginx -s reload
  ExecStop=@BASE_BINDIR@/kill -s QUIT $MAINPID
  PrivateTmp=true
--
2.7.4

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



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


[oe] [meta-webserver][PATCH V2] ngnix: fix error during service startup

2020-02-24 Thread changqing.li
From: Changqing Li 

fix below error:
nginx.service: failed to parse pid from file /run/nginx/nginx.pid:
invalid argument

Signed-off-by: Changqing Li 
---
 .../nginx/files/nginx-fix-pidfile.patch| 99 ++
 meta-webserver/recipes-httpd/nginx/nginx.inc   |  1 +
 2 files changed, 100 insertions(+)
 create mode 100644 
meta-webserver/recipes-httpd/nginx/files/nginx-fix-pidfile.patch

diff --git a/meta-webserver/recipes-httpd/nginx/files/nginx-fix-pidfile.patch 
b/meta-webserver/recipes-httpd/nginx/files/nginx-fix-pidfile.patch
new file mode 100644
index 000..90159a6
--- /dev/null
+++ b/meta-webserver/recipes-httpd/nginx/files/nginx-fix-pidfile.patch
@@ -0,0 +1,99 @@
+Description: Fix NGINX pidfile handling   
+Author: Tj   
+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1581864
+Last-Update: 2019-06-04 
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+
+Upstream-Status: Pending
+
+This patch is from ubuntu, https://github.com/aroth-arsoft/pkg-nginx/blob
+/master/debian/patches/nginx-fix-pidfile.patch, for fix below
+error info:
+nginx.service: failed to parse pid from file /run/nginx/nginx.pid:
+invalid argument
+
+Signed-off-by: Changqing Li 
+
+diff --git a/src/core/nginx.c b/src/core/nginx.c
+index 9fcb0eb2..083eba1d 100644
+--- a/src/core/nginx.c
 b/src/core/nginx.c
+@@ -338,14 +338,21 @@ main(int argc, char *const *argv)
+ ngx_process = NGX_PROCESS_MASTER;
+ }
+ 
++/* tell-tale to detect if this is parent or child process */
++ngx_int_t child_pid = NGX_BUSY;
++
+ #if !(NGX_WIN32)
+ 
+ if (ngx_init_signals(cycle->log) != NGX_OK) {
+ return 1;
+ }
+ 
++/* tell-tale that this code has been executed */
++child_pid--;
++
+ if (!ngx_inherited && ccf->daemon) {
+-if (ngx_daemon(cycle->log) != NGX_OK) {
++child_pid = ngx_daemon(cycle->log);
++if (child_pid == NGX_ERROR) {
+ return 1;
+ }
+ 
+@@ -358,8 +365,19 @@ main(int argc, char *const *argv)
+ 
+ #endif
+ 
+-if (ngx_create_pidfile(>pid, cycle->log) != NGX_OK) {
+-return 1;
++/* If ngx_daemon() returned the child's PID in the parent process
++ * after the fork() set ngx_pid to the child_pid, which gets
++ * written to the PID file, then exit.
++ * For NGX_WIN32 always write the PID file
++ * For others, only write it from the parent process */
++if (child_pid < NGX_OK || child_pid > NGX_OK) {
++  ngx_pid = child_pid > NGX_OK ? child_pid : ngx_pid;
++if (ngx_create_pidfile(>pid, cycle->log) != NGX_OK) {
++return 1;
++  }
++}
++if (child_pid > NGX_OK) {
++exit(0);
+ }
+ 
+ if (ngx_log_redirect_stderr(cycle) != NGX_OK) {
+diff --git a/src/os/unix/ngx_daemon.c b/src/os/unix/ngx_daemon.c
+index 385c49b6..3719854c 100644
+--- a/src/os/unix/ngx_daemon.c
 b/src/os/unix/ngx_daemon.c
+@@ -7,14 +7,17 @@
+ 
+ #include 
+ #include 
++#include 
+ 
+ 
+ ngx_int_t
+ ngx_daemon(ngx_log_t *log)
+ {
+ int  fd;
++/* retain the return value for passing back to caller */
++pid_t pid_child = fork();
+ 
+-switch (fork()) {
++switch (pid_child) {
+ case -1:
+ ngx_log_error(NGX_LOG_EMERG, log, ngx_errno, "fork() failed");
+ return NGX_ERROR;
+@@ -23,7 +26,8 @@ ngx_daemon(ngx_log_t *log)
+ break;
+ 
+ default:
+-exit(0);
++/* let caller do the exit() */
++return pid_child;
+ }
+ 
+ ngx_parent = ngx_pid;
diff --git a/meta-webserver/recipes-httpd/nginx/nginx.inc 
b/meta-webserver/recipes-httpd/nginx/nginx.inc
index 0d229ff..2824c66 100644
--- a/meta-webserver/recipes-httpd/nginx/nginx.inc
+++ b/meta-webserver/recipes-httpd/nginx/nginx.inc
@@ -21,6 +21,7 @@ SRC_URI = " \
 file://nginx.init \
 file://nginx-volatile.conf \
 file://nginx.service \
+file://nginx-fix-pidfile.patch \
 "
 
 inherit siteinfo update-rc.d useradd systemd
-- 
2.7.4

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


Re: [oe] [meta-oe][PATCH v3] luajit: Upgrade to 2.1.0-beta3

2020-02-24 Thread Leo Yan
Hi Khem,

On Mon, Feb 24, 2020 at 10:41:04PM -0800, Khem Raj wrote:
> 
> 
> On 2/24/20 10:37 PM, Leo Yan wrote:
> > Since luajit 2.1.0-beta3 can support architecture aarch64 and the old
> > misses to support aarch64, the patch upgrades to luajit 2.1.0-beta3.
> > 
> > Signed-off-by: Leo Yan 
> > ---
> >   .../luajit/luajit/clang.patch | 19 ---
> 
> 
> why is this patch dropped ? it building with clang handled differently now ?
> if so please add a line or two in commit msg

To be honest, I don't know how to hit the condition for
'#elif !LJ_TARGET_PS3', and since considering Clang has upgraded to new
version (9.0.1), this is another reason I dropped this patch.

But I cannot give out any concrete reason, will keep this patch.

Thanks,
Leo

> >   .../luajit/{luajit_2.0.5.bb => luajit_git.bb} | 14 ++
> >   2 files changed, 6 insertions(+), 27 deletions(-)
> >   delete mode 100644 meta-oe/recipes-devtools/luajit/luajit/clang.patch
> >   rename meta-oe/recipes-devtools/luajit/{luajit_2.0.5.bb => luajit_git.bb} 
> > (89%)
> > 
> > diff --git a/meta-oe/recipes-devtools/luajit/luajit/clang.patch 
> > b/meta-oe/recipes-devtools/luajit/luajit/clang.patch
> > deleted file mode 100644
> > index c39ef6fd4..0
> > --- a/meta-oe/recipes-devtools/luajit/luajit/clang.patch
> > +++ /dev/null
> > @@ -1,19 +0,0 @@
> > -clang pretends to be gcc 4.2.0 which is a big lie when it comes
> > -to features, its same as latest gcc
> > -
> > -Signed-off-by: Khem Raj 
> > -Upstream-Status: Pending
> > -
> > -Index: LuaJIT-2.0.5/src/lj_arch.h
> > -===
> >  LuaJIT-2.0.5.orig/src/lj_arch.h
> > -+++ LuaJIT-2.0.5/src/lj_arch.h
> > -@@ -313,7 +313,7 @@
> > - #error "Need at least GCC 4.2 or newer"
> > - #endif
> > - #elif !LJ_TARGET_PS3
> > --#if (__GNUC__ < 4) || ((__GNUC__ == 4) && __GNUC_MINOR__ < 3)
> > -+#if (__GNUC__ < 4) || ((__GNUC__ == 4) && __GNUC_MINOR__ < 3) && 
> > !defined(__clang__)
> > - #error "Need at least GCC 4.3 or newer"
> > - #endif
> > - #endif
> > diff --git a/meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb 
> > b/meta-oe/recipes-devtools/luajit/luajit_git.bb
> > similarity index 89%
> > rename from meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb
> > rename to meta-oe/recipes-devtools/luajit/luajit_git.bb
> > index 93128dda8..da798328e 100644
> > --- a/meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb
> > +++ b/meta-oe/recipes-devtools/luajit/luajit_git.bb
> > @@ -1,14 +1,13 @@
> >   SUMMARY = "Just-In-Time Compiler for Lua"
> >   LICENSE = "MIT"
> > -LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=10a96c93403affcc34765f4c2612bc22"
> > +LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=d739bb9250a55c124a545b588fd76771"
> >   HOMEPAGE = "http://luajit.org;
> > -PV .= "+git${SRCPV}"
> > -SRCREV = "02b521981a1ab919ff2cd4d9bcaee80baf77dce2"
> > -SRC_URI = "git://luajit.org/git/luajit-2.0.git;protocol=http \
> > +PV = "2.0.5+2.1.0-beta3"
> > +SRCREV = "0ad60ccbc3768fa8e3e726858adf261950edbc22"
> > +SRC_URI = "git://luajit.org/git/luajit-2.0.git;protocol=http;branch=v2.1 \
> >  
> > file://0001-Do-not-strip-automatically-this-leaves-the-stripping.patch \
> > -   file://clang.patch \
> > -"
> > +   "
> >   S = "${WORKDIR}/git"
> > @@ -90,8 +89,7 @@ FILES_${PN}-dev += "${libdir}/libluajit-5.1.a \
> >   "
> >   FILES_luajit-common = "${datadir}/${BPN}-${PV}"
> > -# Aarch64/mips64/ppc/ppc64/riscv64 is not supported in this release
> > -COMPATIBLE_HOST_aarch64 = "null"
> > +# mips64/ppc/ppc64/riscv64 is not supported in this release
> >   COMPATIBLE_HOST_mipsarchn32 = "null"
> >   COMPATIBLE_HOST_mipsarchn64 = "null"
> >   COMPATIBLE_HOST_powerpc = "null"
> > 
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-python2][PATCH 1/1] python-lxml: fix installation

2020-02-24 Thread Tim Orling
I made one slight change in that I kept the "inherit" line intact, but
moved it where you had done.

Merged.

Thank you!

On Thu, Feb 20, 2020 at 9:34 AM Joe Slater  wrote:

> Inherit setuptools before adding to variables defined in it.
>
> Signed-off-by: Joe Slater 
> ---
>  recipes-devtools/python/python-lxml_4.4.2.bb | 7 ++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/recipes-devtools/python/python-lxml_4.4.2.bb
> b/recipes-devtools/python/python-lxml_4.4.2.bb
> index 911ba58..0f9cdf7 100644
> --- a/recipes-devtools/python/python-lxml_4.4.2.bb
> +++ b/recipes-devtools/python/python-lxml_4.4.2.bb
> @@ -21,6 +21,11 @@ SRC_URI[sha256sum] =
> "eff69ddbf3ad86375c344339371168640951c302450c5d3e9936e98d64
>
>  DEPENDS += "libxml2 libxslt"
>
> +
> +inherit setuptools
> +
> +# add to the defaults which are set in the setuptools bbclass
> +#
>  DISTUTILS_BUILD_ARGS += " \
>   --with-xslt-config='pkg-config libxslt' \
>   --with-xml2-config='pkg-config libxml-2.0' \
> @@ -31,7 +36,7 @@ DISTUTILS_INSTALL_ARGS += " \
>   --with-xml2-config='pkg-config libxml-2.0' \
>  "
>
> -inherit pypi setuptools
> +inherit pypi
>
>  # {standard input}: Assembler messages:
>  # {standard input}:1488805: Error: branch out of range
> --
> 2.7.4
>
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH v3] luajit: Upgrade to 2.1.0-beta3

2020-02-24 Thread Khem Raj




On 2/24/20 10:37 PM, Leo Yan wrote:

Since luajit 2.1.0-beta3 can support architecture aarch64 and the old
misses to support aarch64, the patch upgrades to luajit 2.1.0-beta3.

Signed-off-by: Leo Yan 
---
  .../luajit/luajit/clang.patch | 19 ---



why is this patch dropped ? it building with clang handled differently 
now ? if so please add a line or two in commit msg




  .../luajit/{luajit_2.0.5.bb => luajit_git.bb} | 14 ++
  2 files changed, 6 insertions(+), 27 deletions(-)
  delete mode 100644 meta-oe/recipes-devtools/luajit/luajit/clang.patch
  rename meta-oe/recipes-devtools/luajit/{luajit_2.0.5.bb => luajit_git.bb} 
(89%)

diff --git a/meta-oe/recipes-devtools/luajit/luajit/clang.patch 
b/meta-oe/recipes-devtools/luajit/luajit/clang.patch
deleted file mode 100644
index c39ef6fd4..0
--- a/meta-oe/recipes-devtools/luajit/luajit/clang.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-clang pretends to be gcc 4.2.0 which is a big lie when it comes
-to features, its same as latest gcc
-
-Signed-off-by: Khem Raj 
-Upstream-Status: Pending
-
-Index: LuaJIT-2.0.5/src/lj_arch.h
-===
 LuaJIT-2.0.5.orig/src/lj_arch.h
-+++ LuaJIT-2.0.5/src/lj_arch.h
-@@ -313,7 +313,7 @@
- #error "Need at least GCC 4.2 or newer"
- #endif
- #elif !LJ_TARGET_PS3
--#if (__GNUC__ < 4) || ((__GNUC__ == 4) && __GNUC_MINOR__ < 3)
-+#if (__GNUC__ < 4) || ((__GNUC__ == 4) && __GNUC_MINOR__ < 3) && 
!defined(__clang__)
- #error "Need at least GCC 4.3 or newer"
- #endif
- #endif
diff --git a/meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb 
b/meta-oe/recipes-devtools/luajit/luajit_git.bb
similarity index 89%
rename from meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb
rename to meta-oe/recipes-devtools/luajit/luajit_git.bb
index 93128dda8..da798328e 100644
--- a/meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb
+++ b/meta-oe/recipes-devtools/luajit/luajit_git.bb
@@ -1,14 +1,13 @@
  SUMMARY = "Just-In-Time Compiler for Lua"
  LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=10a96c93403affcc34765f4c2612bc22"
+LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=d739bb9250a55c124a545b588fd76771"
  HOMEPAGE = "http://luajit.org;
  
-PV .= "+git${SRCPV}"

-SRCREV = "02b521981a1ab919ff2cd4d9bcaee80baf77dce2"
-SRC_URI = "git://luajit.org/git/luajit-2.0.git;protocol=http \
+PV = "2.0.5+2.1.0-beta3"
+SRCREV = "0ad60ccbc3768fa8e3e726858adf261950edbc22"
+SRC_URI = "git://luajit.org/git/luajit-2.0.git;protocol=http;branch=v2.1 \
 
file://0001-Do-not-strip-automatically-this-leaves-the-stripping.patch \
-   file://clang.patch \
-"
+   "
  
  S = "${WORKDIR}/git"
  
@@ -90,8 +89,7 @@ FILES_${PN}-dev += "${libdir}/libluajit-5.1.a \

  "
  FILES_luajit-common = "${datadir}/${BPN}-${PV}"
  
-# Aarch64/mips64/ppc/ppc64/riscv64 is not supported in this release

-COMPATIBLE_HOST_aarch64 = "null"
+# mips64/ppc/ppc64/riscv64 is not supported in this release
  COMPATIBLE_HOST_mipsarchn32 = "null"
  COMPATIBLE_HOST_mipsarchn64 = "null"
  COMPATIBLE_HOST_powerpc = "null"


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


[oe] [meta-oe][PATCH v3] luajit: Upgrade to 2.1.0-beta3

2020-02-24 Thread Leo Yan
Since luajit 2.1.0-beta3 can support architecture aarch64 and the old
misses to support aarch64, the patch upgrades to luajit 2.1.0-beta3.

Signed-off-by: Leo Yan 
---
 .../luajit/luajit/clang.patch | 19 ---
 .../luajit/{luajit_2.0.5.bb => luajit_git.bb} | 14 ++
 2 files changed, 6 insertions(+), 27 deletions(-)
 delete mode 100644 meta-oe/recipes-devtools/luajit/luajit/clang.patch
 rename meta-oe/recipes-devtools/luajit/{luajit_2.0.5.bb => luajit_git.bb} (89%)

diff --git a/meta-oe/recipes-devtools/luajit/luajit/clang.patch 
b/meta-oe/recipes-devtools/luajit/luajit/clang.patch
deleted file mode 100644
index c39ef6fd4..0
--- a/meta-oe/recipes-devtools/luajit/luajit/clang.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-clang pretends to be gcc 4.2.0 which is a big lie when it comes
-to features, its same as latest gcc
-
-Signed-off-by: Khem Raj 
-Upstream-Status: Pending
-
-Index: LuaJIT-2.0.5/src/lj_arch.h
-===
 LuaJIT-2.0.5.orig/src/lj_arch.h
-+++ LuaJIT-2.0.5/src/lj_arch.h
-@@ -313,7 +313,7 @@
- #error "Need at least GCC 4.2 or newer"
- #endif
- #elif !LJ_TARGET_PS3
--#if (__GNUC__ < 4) || ((__GNUC__ == 4) && __GNUC_MINOR__ < 3)
-+#if (__GNUC__ < 4) || ((__GNUC__ == 4) && __GNUC_MINOR__ < 3) && 
!defined(__clang__)
- #error "Need at least GCC 4.3 or newer"
- #endif
- #endif
diff --git a/meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb 
b/meta-oe/recipes-devtools/luajit/luajit_git.bb
similarity index 89%
rename from meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb
rename to meta-oe/recipes-devtools/luajit/luajit_git.bb
index 93128dda8..da798328e 100644
--- a/meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb
+++ b/meta-oe/recipes-devtools/luajit/luajit_git.bb
@@ -1,14 +1,13 @@
 SUMMARY = "Just-In-Time Compiler for Lua"
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=10a96c93403affcc34765f4c2612bc22"
+LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=d739bb9250a55c124a545b588fd76771"
 HOMEPAGE = "http://luajit.org;
 
-PV .= "+git${SRCPV}"
-SRCREV = "02b521981a1ab919ff2cd4d9bcaee80baf77dce2"
-SRC_URI = "git://luajit.org/git/luajit-2.0.git;protocol=http \
+PV = "2.0.5+2.1.0-beta3"
+SRCREV = "0ad60ccbc3768fa8e3e726858adf261950edbc22"
+SRC_URI = "git://luajit.org/git/luajit-2.0.git;protocol=http;branch=v2.1 \

file://0001-Do-not-strip-automatically-this-leaves-the-stripping.patch \
-   file://clang.patch \
-"
+   "
 
 S = "${WORKDIR}/git"
 
@@ -90,8 +89,7 @@ FILES_${PN}-dev += "${libdir}/libluajit-5.1.a \
 "
 FILES_luajit-common = "${datadir}/${BPN}-${PV}"
 
-# Aarch64/mips64/ppc/ppc64/riscv64 is not supported in this release
-COMPATIBLE_HOST_aarch64 = "null"
+# mips64/ppc/ppc64/riscv64 is not supported in this release
 COMPATIBLE_HOST_mipsarchn32 = "null"
 COMPATIBLE_HOST_mipsarchn64 = "null"
 COMPATIBLE_HOST_powerpc = "null"
-- 
2.17.1

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


[oe] [meta-oe][PATCH] phoronix-test-suite: Do not mark it allarch

2020-02-24 Thread Khem Raj
This package depends on target packages due to mime/mime-xdg
therefore it can no longer be marked as allarch

Signed-off-by: Khem Raj 
---
 .../phoronix-test-suite/phoronix-test-suite_9.2.1.bb| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/meta-oe/recipes-benchmark/phoronix-test-suite/phoronix-test-suite_9.2.1.bb 
b/meta-oe/recipes-benchmark/phoronix-test-suite/phoronix-test-suite_9.2.1.bb
index 4a8e5b5b2a..31b30bb878 100644
--- a/meta-oe/recipes-benchmark/phoronix-test-suite/phoronix-test-suite_9.2.1.bb
+++ b/meta-oe/recipes-benchmark/phoronix-test-suite/phoronix-test-suite_9.2.1.bb
@@ -11,7 +11,7 @@ SRC_URI[sha256sum] = 
"675e7ca96719e2f3b42a6c13421213a398f04da0f8e78f4691fa9261fd
 
 S = "${WORKDIR}/phoronix-test-suite"
 
-inherit systemd allarch mime mime-xdg
+inherit systemd mime mime-xdg
 
 do_install() {
 DESTDIR=${D} ./install-sh ${exec_prefix}
-- 
2.25.1

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


Re: [oe] [meta-networking][PATCH] daq: upgrade 2.0.6 -> 2.2.2

2020-02-24 Thread Khem Raj




On 2/24/20 1:28 AM, Zheng Ruoqin wrote:

Signed-off-by: Zheng Ruoqin 
---
  .../recipes-connectivity/daq/{daq_2.0.6.bb => daq_2.2.2.bb}   | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
  rename meta-networking/recipes-connectivity/daq/{daq_2.0.6.bb => 
daq_2.2.2.bb} (88%)

diff --git a/meta-networking/recipes-connectivity/daq/daq_2.0.6.bb 
b/meta-networking/recipes-connectivity/daq/daq_2.2.2.bb
similarity index 88%
rename from meta-networking/recipes-connectivity/daq/daq_2.0.6.bb
rename to meta-networking/recipes-connectivity/daq/daq_2.2.2.bb
index 42ffb17a1..29ac5c770 100644
--- a/meta-networking/recipes-connectivity/daq/daq_2.0.6.bb
+++ b/meta-networking/recipes-connectivity/daq/daq_2.2.2.bb
@@ -25,8 +25,8 @@ EXTRA_OECONF = "--disable-nfq-module --disable-ipq-module 
--includedir=${include
  PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
  PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
  
-SRC_URI[md5sum] = "2cd6da422a72c129c685fc4bb848c24c"

-SRC_URI[sha256sum] = 
"b40e1d1273e08aaeaa86e69d4f28d535b7e53bdb3898adf539266b63137be7cb"
+SRC_URI[md5sum] = "c61f60674a5f951f0c50faf33a611fee"
+SRC_URI[sha256sum] = 
"7cd818cabb1ad35360e83076e54775f07165ee71407dc672d147e27d3cd37f7b"
  
  inherit autotools
  


This is causing snort build failures since we use snort 2.9

https://errors.yoctoproject.org/Errors/Details/392611/

Perhaps we need to upgrade snort 3.0 and daq together
--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-webserver][PATCH] nginx.service: sleep 0.1 after nginx start

2020-02-24 Thread Khem Raj



On 2/24/20 7:53 PM, Changqing Li wrote:


On 2/25/20 12:40 AM, Khem Raj wrote:

On Mon, Feb 24, 2020 at 3:41 AM  wrote:

From: Changqing Li

Fix error info:
nginx.service: failed to parse pid from file /run/nginx/nginx.pid:
invalid argument

Signed-off-by: Changqing Li
---
  meta-webserver/recipes-httpd/nginx/files/nginx.service | 1 +
  1 file changed, 1 insertion(+)

diff --git a/meta-webserver/recipes-httpd/nginx/files/nginx.service 
b/meta-webserver/recipes-httpd/nginx/files/nginx.service
index 9a6ca96..65c7752 100644
--- a/meta-webserver/recipes-httpd/nginx/files/nginx.service
+++ b/meta-webserver/recipes-httpd/nginx/files/nginx.service
@@ -7,6 +7,7 @@ Type=forking
  PIDFile=/run/nginx/nginx.pid
  ExecStartPre=@SBINDIR@/nginx -t
  ExecStart=@SBINDIR@/nginx
+ExecStartPost=/bin/sleep 0.1

I dont thiink we should be adding sleeps instead try to lock the dependencies
so it happens correctly. or perhaps change the logic in code itself if
dependencies
can not handle it.


error info: "nginx.service: failed to parse pid from file 
/run/nginx/nginx.pid: invalid argument" is caused by race condition between


systemd and nginx.  And this error will not caused problem except scary log

This should be a known problem: 
https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1581864


other distro like ubuntu, fedora, should also have this problem, I can 
google people report this error on different distro.


I do not question the problem but the solution, there have been 
different solutions posted to ml e.g.


https://mailman.nginx.org/pipermail/nginx-devel/2016-February/007961.html

or ubuntu fix

https://github.com/aroth-arsoft/pkg-nginx/blob/master/debian/patches/nginx-fix-pidfile.patch

perhaps you should try one of these patches



ubuntu 16.04 use this as a workaround.


  ExecReload=@SBINDIR@/nginx -s reload
  ExecStop=@BASE_BINDIR@/kill -s QUIT $MAINPID
  PrivateTmp=true
--
2.7.4

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

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


Re: [oe] [meta-webserver][PATCH] nginx.service: sleep 0.1 after nginx start

2020-02-24 Thread Changqing Li


On 2/25/20 11:53 AM, Changqing Li wrote:


On 2/25/20 12:40 AM, Khem Raj wrote:

On Mon, Feb 24, 2020 at 3:41 AM  wrote:

From: Changqing Li 

Fix error info:
nginx.service: failed to parse pid from file /run/nginx/nginx.pid:
invalid argument

Signed-off-by: Changqing Li 
---
  meta-webserver/recipes-httpd/nginx/files/nginx.service | 1 +
  1 file changed, 1 insertion(+)

diff --git a/meta-webserver/recipes-httpd/nginx/files/nginx.service 
b/meta-webserver/recipes-httpd/nginx/files/nginx.service

index 9a6ca96..65c7752 100644
--- a/meta-webserver/recipes-httpd/nginx/files/nginx.service
+++ b/meta-webserver/recipes-httpd/nginx/files/nginx.service
@@ -7,6 +7,7 @@ Type=forking
  PIDFile=/run/nginx/nginx.pid
  ExecStartPre=@SBINDIR@/nginx -t
  ExecStart=@SBINDIR@/nginx
+ExecStartPost=/bin/sleep 0.1
I dont thiink we should be adding sleeps instead try to lock the 
dependencies

so it happens correctly. or perhaps change the logic in code itself if
dependencies
can not handle it.


error info: "nginx.service: failed to parse pid from file 
/run/nginx/nginx.pid: invalid argument" is caused by race condition 
between


systemd and nginx.  And this error will not caused problem except 
scary log


This should be a known problem: 
https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1581864


other distro like ubuntu, fedora, should also have this problem, I can 
google people report this error on different distro.


ubuntu 16.04 use this as a workaround.


But ubuntu 18.04,  fedora30, centos8 seems still have this error info,  
I just googled it, not test verified on every distro.


maybe other distro select to just let it report this error.






  ExecReload=@SBINDIR@/nginx -s reload
  ExecStop=@BASE_BINDIR@/kill -s QUIT $MAINPID
  PrivateTmp=true
--
2.7.4

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

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


[oe] [[meta-oe][PATCH v2] ttf-noto-emoji: add recipe

2020-02-24 Thread Matt Ranostay
Add both B/W and color emojis fonts from the noto-emoji project.

Important note for the color emojis to render the pixmap PACKAGECONFIG
option needs to be set in freetype package.

Signed-off-by: Matt Ranostay 
---
 .../ttf-fonts/ttf-noto-emoji_20190815.bb  | 19 +++
 1 file changed, 19 insertions(+)
 create mode 100644 
meta-oe/recipes-graphics/ttf-fonts/ttf-noto-emoji_20190815.bb

diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-noto-emoji_20190815.bb 
b/meta-oe/recipes-graphics/ttf-fonts/ttf-noto-emoji_20190815.bb
new file mode 100644
index 0..e74f7a7f6
--- /dev/null
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-noto-emoji_20190815.bb
@@ -0,0 +1,19 @@
+require ttf.inc
+
+SUMMARY = "Google noto emoji font pack"
+HOMEPAGE = "https://github.com/googlefonts/noto-emoji;
+LICENSE = "OFL-1.1"
+LIC_FILES_CHKSUM = "file://fonts/LICENSE;md5=55719faa0112708e946b820b24b14097"
+
+SRC_URI = "git://github.com/googlefonts/noto-emoji;protocol=https"
+SRCREV = "833a43d03246a9325e748a2d783006454d76ff66"
+
+PACKAGES = "${PN}-color ${PN}-regular"
+FONT_PACKAGES = "${PN}-color ${PN}-regular"
+
+S = "${WORKDIR}/git"
+
+FILES_${PN}-color = "${datadir}/fonts/truetype/NotoColorEmoji.ttf"
+FILES_${PN}-regular = "${datadir}/fonts/truetype/NotoEmoji-Regular.ttf"
+
+do_compile[noexec] = "1"
-- 
2.20.1

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


Re: [oe] [meta-webserver][PATCH] nginx.service: sleep 0.1 after nginx start

2020-02-24 Thread Changqing Li


On 2/25/20 12:40 AM, Khem Raj wrote:

On Mon, Feb 24, 2020 at 3:41 AM  wrote:

From: Changqing Li 

Fix error info:
nginx.service: failed to parse pid from file /run/nginx/nginx.pid:
invalid argument

Signed-off-by: Changqing Li 
---
  meta-webserver/recipes-httpd/nginx/files/nginx.service | 1 +
  1 file changed, 1 insertion(+)

diff --git a/meta-webserver/recipes-httpd/nginx/files/nginx.service 
b/meta-webserver/recipes-httpd/nginx/files/nginx.service
index 9a6ca96..65c7752 100644
--- a/meta-webserver/recipes-httpd/nginx/files/nginx.service
+++ b/meta-webserver/recipes-httpd/nginx/files/nginx.service
@@ -7,6 +7,7 @@ Type=forking
  PIDFile=/run/nginx/nginx.pid
  ExecStartPre=@SBINDIR@/nginx -t
  ExecStart=@SBINDIR@/nginx
+ExecStartPost=/bin/sleep 0.1

I dont thiink we should be adding sleeps instead try to lock the dependencies
so it happens correctly. or perhaps change the logic in code itself if
dependencies
can not handle it.


error info: "nginx.service: failed to parse pid from file 
/run/nginx/nginx.pid: invalid argument" is caused by race condition between


systemd and nginx.  And this error will not caused problem except scary log

This should be a known problem: 
https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1581864


other distro like ubuntu, fedora, should also have this problem, I can 
google people report this error on different distro.


ubuntu 16.04 use this as a workaround.




  ExecReload=@SBINDIR@/nginx -s reload
  ExecStop=@BASE_BINDIR@/kill -s QUIT $MAINPID
  PrivateTmp=true
--
2.7.4

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

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


[oe] [meta-multimedia][PATCH] fdk-aac: add initial fdk-aac recipe

2020-02-24 Thread Scott Branden via Openembedded-devel
From: Mircea Carausu 

Add Fraunhofer FDK AAC Codec Library recipe.

Signed-off-by: Mircea Carausu 
Signed-off-by: Scott Branden 
---
 .../fdk-aac/fdk-aac_2.0.1.bb  | 22 +++
 1 file changed, 22 insertions(+)
 create mode 100644 meta-multimedia/recipes-multimedia/fdk-aac/fdk-aac_2.0.1.bb

diff --git a/meta-multimedia/recipes-multimedia/fdk-aac/fdk-aac_2.0.1.bb 
b/meta-multimedia/recipes-multimedia/fdk-aac/fdk-aac_2.0.1.bb
new file mode 100644
index 0..d7911681c
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/fdk-aac/fdk-aac_2.0.1.bb
@@ -0,0 +1,22 @@
+SUMMARY = "FDK-AAC audio codec"
+
+DESCRIPTION = "The Fraunhofer FDK AAC Codec Library for Android \
+(\"FDK AAC Codec\") is software that implements the MPEG \
+Advanced Audio Coding (\"AAC\") encoding and decoding scheme \
+for digital audio."
+
+HOMEPAGE = "https://www.iis.fraunhofer.de/en/ff/amm/impl.html;
+
+LICENSE = "Fraunhofer_FDK_AAC_Codec_Library_for_Android"
+LICENSE_FLAGS = "commercial"
+LIC_FILES_CHKSUM = "file://NOTICE;md5=5985e1e12f4afa710d64ed7bfd291875"
+
+SRC_URI = "git://github.com/mstorsjo/fdk-aac.git;protocol=git;branch=master"
+SRCREV = "d387d3b6ed79ff9a82c60440bdd86e6e5e324bec"
+
+S = "${WORKDIR}/git"
+
+SRC_URI[md5sum] = "fef453b5d6ee28ff302c600b8cded3e7"
+SRC_URI[sha256sum] = 
"07c2a64b098eb48b2e9d729d5e778c08f7d22f28adc8da7c3f92c58da1cbbd8e"
+
+inherit autotools
-- 
2.17.1

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


[oe] [meta-multi-media][PATCH] fdk-aac: add initial fdk-aac recipe

2020-02-24 Thread Scott Branden via Openembedded-devel
From: Mircea Carausu 

Add Fraunhofer FDK AAC Codec Library recipe.

Signed-off-by: Mircea Carausu 
Signed-off-by: Scott Branden 
---
 .../fdk-aac/fdk-aac_2.0.1.bb  | 22 +++
 1 file changed, 22 insertions(+)
 create mode 100644 meta-multimedia/recipes-multimedia/fdk-aac/fdk-aac_2.0.1.bb

diff --git a/meta-multimedia/recipes-multimedia/fdk-aac/fdk-aac_2.0.1.bb 
b/meta-multimedia/recipes-multimedia/fdk-aac/fdk-aac_2.0.1.bb
new file mode 100644
index 0..d7911681c
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/fdk-aac/fdk-aac_2.0.1.bb
@@ -0,0 +1,22 @@
+SUMMARY = "FDK-AAC audio codec"
+
+DESCRIPTION = "The Fraunhofer FDK AAC Codec Library for Android \
+(\"FDK AAC Codec\") is software that implements the MPEG \
+Advanced Audio Coding (\"AAC\") encoding and decoding scheme \
+for digital audio."
+
+HOMEPAGE = "https://www.iis.fraunhofer.de/en/ff/amm/impl.html;
+
+LICENSE = "Fraunhofer_FDK_AAC_Codec_Library_for_Android"
+LICENSE_FLAGS = "commercial"
+LIC_FILES_CHKSUM = "file://NOTICE;md5=5985e1e12f4afa710d64ed7bfd291875"
+
+SRC_URI = "git://github.com/mstorsjo/fdk-aac.git;protocol=git;branch=master"
+SRCREV = "d387d3b6ed79ff9a82c60440bdd86e6e5e324bec"
+
+S = "${WORKDIR}/git"
+
+SRC_URI[md5sum] = "fef453b5d6ee28ff302c600b8cded3e7"
+SRC_URI[sha256sum] = 
"07c2a64b098eb48b2e9d729d5e778c08f7d22f28adc8da7c3f92c58da1cbbd8e"
+
+inherit autotools
-- 
2.17.1

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


[oe] [meta-oe][PATCH v2] span-lite: Add git version

2020-02-24 Thread William A. Kennington III via Openembedded-devel
We would generally prefer to use stable releases, but there are fixes in
master that have not yet been released for compiling the test cases
against libc++.

Signed-off-by: William A. Kennington III 
---
 meta-oe/recipes-support/span-lite/span-lite_git.bb | 12 
 1 file changed, 12 insertions(+)
 create mode 100644 meta-oe/recipes-support/span-lite/span-lite_git.bb

diff --git a/meta-oe/recipes-support/span-lite/span-lite_git.bb 
b/meta-oe/recipes-support/span-lite/span-lite_git.bb
new file mode 100644
index 0..96ec829b7
--- /dev/null
+++ b/meta-oe/recipes-support/span-lite/span-lite_git.bb
@@ -0,0 +1,12 @@
+SUMMARY = "single-file header-only version of a C++20-like span for C++98, 
C++11 and later"
+HOMEPAGE = "https://github.com/martinmoene/span-lite;
+LICENSE = "BSL-1.0"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e4224ccaecb14d942c71d31bef20d78c"
+
+SRC_URI += "git://github.com/martinmoene/span-lite"
+SRCREV = "e03d1166ccc8481d993dc02aae703966301a5e6e"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
+inherit ptest
-- 
2.24.1

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


Re: [oe] [meta-oe][PATCH] ttf-noto-emoji: add recipe

2020-02-24 Thread Khem Raj
On Mon, Feb 24, 2020 at 11:24 AM Matt Ranostay 
wrote:

> Add both B/W and color emojis fonts from the noto-emoji project.
>
> Important note for the color emojis to render the pixmap PACKAGECONFIG
> option needs to be set in freetype package.
>
> Signed-off-by: Matt Ranostay 
> ---
>  .../ttf-fonts/ttf-noto-emoji_20190815.bb  | 19 +++
>  1 file changed, 19 insertions(+)
>  create mode 100644 meta-oe/recipes-graphics/ttf-fonts/
> ttf-noto-emoji_20190815.bb
>
> diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-noto-emoji_20190815.bb
> b/meta-oe/recipes-graphics/ttf-fonts/ttf-noto-emoji_20190815.bb
> new file mode 100644
> index 0..e35e08ae1
> --- /dev/null
> +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-noto-emoji_20190815.bb
> @@ -0,0 +1,19 @@
> +require ttf.inc
> +
> +SUMMARY = "Google noto emoji font pack"
> +HOMEPAGE = "https://github.com/googlefonts/noto-emoji;
> +LICENSE = "OFL-1.1"
> +LIC_FILES_CHKSUM =
> "file://${S}/fonts/LICENSE;md5=55719faa0112708e946b820b24b14097"


Do we need S here ?

>
> +
> +SRC_URI = "git://
> github.com/googlefonts/noto-emoji;protocol=https;branch=master"


Drop branch here master is default

>
> +SRCREV = "833a43d03246a9325e748a2d783006454d76ff66"
> +
> +PACKAGES = "${PN}-color ${PN}-regular"
> +FONT_PACKAGES = "${PN}-color ${PN}-regular"
> +
> +S = "${WORKDIR}/git"
> +
> +FILES_${PN}-color = "${datadir}/fonts/truetype/NotoColorEmoji.ttf"
> +FILES_${PN}-regular = "${datadir}/fonts/truetype/NotoEmoji-Regular.ttf"
> +
> +do_compile[noexec] = "1”


I wonder how f this should simply use deltask here

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


[oe] [meta-oe][PATCH] ttf-noto-emoji: add recipe

2020-02-24 Thread Matt Ranostay
Add both B/W and color emojis fonts from the noto-emoji project.

Important note for the color emojis to render the pixmap PACKAGECONFIG
option needs to be set in freetype package.

Signed-off-by: Matt Ranostay 
---
 .../ttf-fonts/ttf-noto-emoji_20190815.bb  | 19 +++
 1 file changed, 19 insertions(+)
 create mode 100644 
meta-oe/recipes-graphics/ttf-fonts/ttf-noto-emoji_20190815.bb

diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-noto-emoji_20190815.bb 
b/meta-oe/recipes-graphics/ttf-fonts/ttf-noto-emoji_20190815.bb
new file mode 100644
index 0..e35e08ae1
--- /dev/null
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-noto-emoji_20190815.bb
@@ -0,0 +1,19 @@
+require ttf.inc
+
+SUMMARY = "Google noto emoji font pack"
+HOMEPAGE = "https://github.com/googlefonts/noto-emoji;
+LICENSE = "OFL-1.1"
+LIC_FILES_CHKSUM = 
"file://${S}/fonts/LICENSE;md5=55719faa0112708e946b820b24b14097"
+
+SRC_URI = 
"git://github.com/googlefonts/noto-emoji;protocol=https;branch=master"
+SRCREV = "833a43d03246a9325e748a2d783006454d76ff66"
+
+PACKAGES = "${PN}-color ${PN}-regular"
+FONT_PACKAGES = "${PN}-color ${PN}-regular"
+
+S = "${WORKDIR}/git"
+
+FILES_${PN}-color = "${datadir}/fonts/truetype/NotoColorEmoji.ttf"
+FILES_${PN}-regular = "${datadir}/fonts/truetype/NotoEmoji-Regular.ttf"
+
+do_compile[noexec] = "1"
-- 
2.20.1

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


Re: [oe] [meta-webserver][PATCH] nginx.service: sleep 0.1 after nginx start

2020-02-24 Thread Khem Raj
On Mon, Feb 24, 2020 at 3:41 AM  wrote:
>
> From: Changqing Li 
>
> Fix error info:
> nginx.service: failed to parse pid from file /run/nginx/nginx.pid:
> invalid argument
>
> Signed-off-by: Changqing Li 
> ---
>  meta-webserver/recipes-httpd/nginx/files/nginx.service | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta-webserver/recipes-httpd/nginx/files/nginx.service 
> b/meta-webserver/recipes-httpd/nginx/files/nginx.service
> index 9a6ca96..65c7752 100644
> --- a/meta-webserver/recipes-httpd/nginx/files/nginx.service
> +++ b/meta-webserver/recipes-httpd/nginx/files/nginx.service
> @@ -7,6 +7,7 @@ Type=forking
>  PIDFile=/run/nginx/nginx.pid
>  ExecStartPre=@SBINDIR@/nginx -t
>  ExecStart=@SBINDIR@/nginx
> +ExecStartPost=/bin/sleep 0.1

I dont thiink we should be adding sleeps instead try to lock the dependencies
so it happens correctly. or perhaps change the logic in code itself if
dependencies
can not handle it.

>  ExecReload=@SBINDIR@/nginx -s reload
>  ExecStop=@BASE_BINDIR@/kill -s QUIT $MAINPID
>  PrivateTmp=true
> --
> 2.7.4
>
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH 3/3] xfce4-sensors-plugin: Change defaults to useful ones

2020-02-24 Thread Andreas Müller
Every time I added xfce4-sensors-plugin to panel xfce4-sensors-plugin suggested
sensors not exactly useful. So change defaults:

* remove lmsensors
* make sysfsacpi work and don't disable it because that's where embedded
  machines drop useful information

Background: Have spent lots of efforts to get Raspi4 cooled properly while
running at gouvernor 'performance' and rendering music. Would like to see if it
really wears a cool hat [1]

[1] https://github.com/schnitzeltony/rpi-cool-hat

Signed-off-by: Andreas Müller 
---
 ...-sys-class-power_supply-we-are-cross.patch | 44 +++
 .../sensors/xfce4-sensors-plugin_1.3.92.bb|  3 +-
 2 files changed, 45 insertions(+), 2 deletions(-)
 create mode 100644 
meta-xfce/recipes-panel-plugins/sensors/xfce4-sensors-plugin/0001-Do-not-check-for-sys-class-power_supply-we-are-cross.patch

diff --git 
a/meta-xfce/recipes-panel-plugins/sensors/xfce4-sensors-plugin/0001-Do-not-check-for-sys-class-power_supply-we-are-cross.patch
 
b/meta-xfce/recipes-panel-plugins/sensors/xfce4-sensors-plugin/0001-Do-not-check-for-sys-class-power_supply-we-are-cross.patch
new file mode 100644
index 0..ac1d603b2
--- /dev/null
+++ 
b/meta-xfce/recipes-panel-plugins/sensors/xfce4-sensors-plugin/0001-Do-not-check-for-sys-class-power_supply-we-are-cross.patch
@@ -0,0 +1,44 @@
+From 9b7e1beca872ca4a5fce8938c58379103787f79a Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= 
+Date: Sun, 23 Feb 2020 22:06:32 +0100
+Subject: [PATCH] Do not check for /sys/class/power_supply - we are cross
+ compiling
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Upstream-Status: Inappropriate [OE-specific]
+
+Signed-off-by: Andreas Müller 
+---
+ configure.ac | 12 +---
+ 1 file changed, 1 insertion(+), 11 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index c281af9..60ba0c0 100644
+--- a/configure.ac
 b/configure.ac
+@@ -209,19 +209,9 @@ dnl Check for interface for /sys/class/power_supply to be 
used
+ AC_ARG_ENABLE([sysfsacpi], [AC_HELP_STRING([--enable-sysfsacpi], [Use 
/sys/class/power_supply to read your battery value @<:@default=auto@:>@])],
+ [],
+ [
+-enable_sysfsacpi=auto
++enable_sysfsacpi=yes
+ ])
+ 
+-if test x"$enable_sysfsacpi" = x"auto"; then
+-AC_CHECK_FILE([/sys/class/power_supply],
+-[
+-enable_sysfsacpi=yes
+-],
+-[
+-enable_sysfsacpi=no
+-])
+-fi
+-
+ if test x"$enable_sysfsacpi" = x"yes"; then
+ AC_DEFINE([HAVE_SYSFS_ACPI], [1], [Define to 1 if /sys/class/power_supply 
is found])
+ enable_procacpi=yes
+-- 
+2.21.0
+
diff --git 
a/meta-xfce/recipes-panel-plugins/sensors/xfce4-sensors-plugin_1.3.92.bb 
b/meta-xfce/recipes-panel-plugins/sensors/xfce4-sensors-plugin_1.3.92.bb
index 8b650143f..3fd0ff6cf 100644
--- a/meta-xfce/recipes-panel-plugins/sensors/xfce4-sensors-plugin_1.3.92.bb
+++ b/meta-xfce/recipes-panel-plugins/sensors/xfce4-sensors-plugin_1.3.92.bb
@@ -7,10 +7,10 @@ inherit xfce-panel-plugin
 
 SRC_URI[md5sum] = "7327c4c316ebd5d93665e77b432b8d89"
 SRC_URI[sha256sum] = 
"3dc6643d2c064b7718badff44b948f8d410f00f13db197820b26ae38045f5112"
+SRC_URI += 
"file://0001-Do-not-check-for-sys-class-power_supply-we-are-cross.patch"
 
 EXTRA_OECONF = " \
 --disable-procacpi \
---disable-sysfsacpi \
 --disable-xnvctrl \
 "
 
@@ -18,7 +18,6 @@ do_configure_prepend() {
 sed -i 's:LIBSENSORS_CFLAGS=.*:LIBSENSORS_CFLAGS=-I${STAGING_INCDIR}:g' 
${S}/configure.ac
 }
 
-PACKAGECONFIG ??= "libsensors"
 PACKAGECONFIG[libsensors] = "--enable-libsensors,--disable-libsensors, 
lmsensors"
 PACKAGECONFIG[hddtemp]= "--enable-hddtemp,--disable-hddtemp, hddtemp"
 PACKAGECONFIG[netcat] = "--enable-netcat,--disable-netcat, netcat"
-- 
2.21.0

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


[oe] [PATCH 2/3] xfce4-sensors-plugin: upgrade 1.2.97 -> 1.3.92

2020-02-24 Thread Andreas Müller
Although not explicitly mentioned in release announcement it seems that
this is a develpoment release. It was tested and there could be no reason
found not to use this version.

Signed-off-by: Andreas Müller 
---
 ...ensors-plugin_1.2.97.bb => xfce4-sensors-plugin_1.3.92.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-xfce/recipes-panel-plugins/sensors/{xfce4-sensors-plugin_1.2.97.bb 
=> xfce4-sensors-plugin_1.3.92.bb} (86%)

diff --git 
a/meta-xfce/recipes-panel-plugins/sensors/xfce4-sensors-plugin_1.2.97.bb 
b/meta-xfce/recipes-panel-plugins/sensors/xfce4-sensors-plugin_1.3.92.bb
similarity index 86%
rename from 
meta-xfce/recipes-panel-plugins/sensors/xfce4-sensors-plugin_1.2.97.bb
rename to meta-xfce/recipes-panel-plugins/sensors/xfce4-sensors-plugin_1.3.92.bb
index 4d78bb2bf..8b650143f 100644
--- a/meta-xfce/recipes-panel-plugins/sensors/xfce4-sensors-plugin_1.2.97.bb
+++ b/meta-xfce/recipes-panel-plugins/sensors/xfce4-sensors-plugin_1.3.92.bb
@@ -5,8 +5,8 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=b94789bed9aec03b9656a9cc5398c706"
 
 inherit xfce-panel-plugin
 
-SRC_URI[md5sum] = "0c74c3112c5e6e07647c116cd43ff5a7"
-SRC_URI[sha256sum] = 
"7524ec4534de9ef7f676de2895a41bf70b73b94da5a27fd4a022b16eda56d0f4"
+SRC_URI[md5sum] = "7327c4c316ebd5d93665e77b432b8d89"
+SRC_URI[sha256sum] = 
"3dc6643d2c064b7718badff44b948f8d410f00f13db197820b26ae38045f5112"
 
 EXTRA_OECONF = " \
 --disable-procacpi \
-- 
2.21.0

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


[oe] [PATCH 1/3] fluidsynth: upgrade 2.1.0 -> 2.1.1

2020-02-24 Thread Andreas Müller
From announcement:

* a regression introduced in 2.1.0 caused the jack audio driver to not correct 
a sample-rate mismatch (#607)
* pkg-config is now being to used to find readline (#606, thanks to @ffontaine)
* fix various typos in the documentation (#600, thanks to @luzpaz)
* fix a memory leak in the file renderer
* fix leaking memory when sequencer clients were not explicitly unregistered 
(#610)
* fix a heap-based use-after-free in jack driver (#613)
* fix the linker possibly not finding libinstpatch (#617, thanks to @realnc)

Signed-off-by: Andreas Müller 
---
 meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth.inc 
b/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth.inc
index 9ce65064d..4fb622c46 100644
--- a/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth.inc
+++ b/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth.inc
@@ -5,8 +5,8 @@ LICENSE = "LGPL-2.1"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=fc178bcd425090939a8b634d1d6a9594"
 
 SRC_URI = "git://github.com/FluidSynth/fluidsynth.git"
-SRCREV = "37c9ae2bf431a764032f023b3b2c0c0b86b7c272"
+SRCREV = "3b851da6f721fcf15ec0b935eba72707bdb53d7b"
 S = "${WORKDIR}/git"
-PV = "2.1.0"
+PV = "2.1.1"
 
 inherit cmake pkgconfig lib_package
-- 
2.21.0

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


[oe] [meta-webserver][PATCH] nginx.service: sleep 0.1 after nginx start

2020-02-24 Thread changqing.li
From: Changqing Li 

Fix error info:
nginx.service: failed to parse pid from file /run/nginx/nginx.pid:
invalid argument

Signed-off-by: Changqing Li 
---
 meta-webserver/recipes-httpd/nginx/files/nginx.service | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-webserver/recipes-httpd/nginx/files/nginx.service 
b/meta-webserver/recipes-httpd/nginx/files/nginx.service
index 9a6ca96..65c7752 100644
--- a/meta-webserver/recipes-httpd/nginx/files/nginx.service
+++ b/meta-webserver/recipes-httpd/nginx/files/nginx.service
@@ -7,6 +7,7 @@ Type=forking
 PIDFile=/run/nginx/nginx.pid
 ExecStartPre=@SBINDIR@/nginx -t
 ExecStart=@SBINDIR@/nginx
+ExecStartPost=/bin/sleep 0.1
 ExecReload=@SBINDIR@/nginx -s reload
 ExecStop=@BASE_BINDIR@/kill -s QUIT $MAINPID
 PrivateTmp=true
-- 
2.7.4

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


[oe] [meta-networking][PATCH] kea: upgrade 1.7.3 -> 1.7.4

2020-02-24 Thread Zheng Ruoqin
-License-Update: Copyright year updated to 2020.

Signed-off-by: Zheng Ruoqin 
---
 .../recipes-connectivity/kea/{kea_1.7.3.bb => kea_1.7.4.bb} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-networking/recipes-connectivity/kea/{kea_1.7.3.bb => kea_1.7.4.bb} 
(90%)

diff --git a/meta-networking/recipes-connectivity/kea/kea_1.7.3.bb 
b/meta-networking/recipes-connectivity/kea/kea_1.7.4.bb
similarity index 90%
rename from meta-networking/recipes-connectivity/kea/kea_1.7.3.bb
rename to meta-networking/recipes-connectivity/kea/kea_1.7.4.bb
index e230fd0fe..a2c97655a 100644
--- a/meta-networking/recipes-connectivity/kea/kea_1.7.3.bb
+++ b/meta-networking/recipes-connectivity/kea/kea_1.7.4.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "Kea is the next generation of DHCP software 
developed by ISC. It
 HOMEPAGE = "http://kea.isc.org;
 SECTION = "connectivity"
 LICENSE = "MPL-2.0 & Apache-2.0"
-LIC_FILES_CHKSUM = "file://COPYING;md5=0e5b01c848c7736a0c9e68f9c9cd0281"
+LIC_FILES_CHKSUM = "file://COPYING;md5=68d95543d2096459290a4e6b9ceccffa"
 
 DEPENDS += "kea-native"
 
@@ -14,8 +14,8 @@ SRC_URI = "\
 file://kea-dhcp6.service \
 file://kea-dhcp-ddns.service \
 "
-SRC_URI[md5sum] = "fda03bf465818009b70dffc226da777d"
-SRC_URI[sha256sum] = 
"30f82c548b844c12ed46c4eb3880d63b45ec04cecfcf2e4ab1d7bada7fff4f2a"
+SRC_URI[md5sum] = "d2d0e3ad8064a5e6f3ba1e970d39f9cc"
+SRC_URI[sha256sum] = 
"2b7f8d8cafdb9ad2be8df9aceb2de58c8f37c1544e47c28f05e84555d0015ef5"
 
 inherit autotools systemd
 
-- 
2.17.1



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


[oe] [meta-networking][PATCH] dhcpcd: upgrade 8.1.5 -> 8.1.6

2020-02-24 Thread Zheng Ruoqin
Signed-off-by: Zheng Ruoqin 
---
 .../dhcpcd/{dhcpcd_8.1.5.bb => dhcpcd_8.1.6.bb}   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-networking/recipes-connectivity/dhcpcd/{dhcpcd_8.1.5.bb => 
dhcpcd_8.1.6.bb} (86%)

diff --git a/meta-networking/recipes-connectivity/dhcpcd/dhcpcd_8.1.5.bb 
b/meta-networking/recipes-connectivity/dhcpcd/dhcpcd_8.1.6.bb
similarity index 86%
rename from meta-networking/recipes-connectivity/dhcpcd/dhcpcd_8.1.5.bb
rename to meta-networking/recipes-connectivity/dhcpcd/dhcpcd_8.1.6.bb
index 3349ca153..1cb2af500 100644
--- a/meta-networking/recipes-connectivity/dhcpcd/dhcpcd_8.1.5.bb
+++ b/meta-networking/recipes-connectivity/dhcpcd/dhcpcd_8.1.6.bb
@@ -12,8 +12,8 @@ UPSTREAM_CHECK_URI = 
"https://roy.marples.name/downloads/dhcpcd/;
 SRC_URI = "http://roy.marples.name/downloads/${BPN}/${BPN}-${PV}.tar.xz \
file://0001-remove-INCLUDEDIR-to-prevent-build-issues.patch"
 
-SRC_URI[md5sum] = "57fd5dd4ff9722773ec67239db34d3b5"
-SRC_URI[sha256sum] = 
"c5cbe15069cef347e72d0bf7a19b0255571ee0c184c6705859a09588a50a8ebd"
+SRC_URI[md5sum] = "e1eea03388d12c9ad21ecd7c135fdf8b"
+SRC_URI[sha256sum] = 
"6c2934a3e1e67a5cfd5bb15b1efa71f65c00314ac1ccb5c50da8eae3a0b8147f"
 
 inherit pkgconfig autotools-brokensep
 
-- 
2.17.1



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


[oe] [meta-networking][PATCH] daq: upgrade 2.0.6 -> 2.2.2

2020-02-24 Thread Zheng Ruoqin
Signed-off-by: Zheng Ruoqin 
---
 .../recipes-connectivity/daq/{daq_2.0.6.bb => daq_2.2.2.bb}   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-networking/recipes-connectivity/daq/{daq_2.0.6.bb => daq_2.2.2.bb} 
(88%)

diff --git a/meta-networking/recipes-connectivity/daq/daq_2.0.6.bb 
b/meta-networking/recipes-connectivity/daq/daq_2.2.2.bb
similarity index 88%
rename from meta-networking/recipes-connectivity/daq/daq_2.0.6.bb
rename to meta-networking/recipes-connectivity/daq/daq_2.2.2.bb
index 42ffb17a1..29ac5c770 100644
--- a/meta-networking/recipes-connectivity/daq/daq_2.0.6.bb
+++ b/meta-networking/recipes-connectivity/daq/daq_2.2.2.bb
@@ -25,8 +25,8 @@ EXTRA_OECONF = "--disable-nfq-module --disable-ipq-module 
--includedir=${include
 PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
 PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
 
-SRC_URI[md5sum] = "2cd6da422a72c129c685fc4bb848c24c"
-SRC_URI[sha256sum] = 
"b40e1d1273e08aaeaa86e69d4f28d535b7e53bdb3898adf539266b63137be7cb"
+SRC_URI[md5sum] = "c61f60674a5f951f0c50faf33a611fee"
+SRC_URI[sha256sum] = 
"7cd818cabb1ad35360e83076e54775f07165ee71407dc672d147e27d3cd37f7b"
 
 inherit autotools
 
-- 
2.17.1



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


[oe] [meta-filesystems][PATCH] xfsdump: 3.1.8 -> 3.1.9

2020-02-24 Thread Zheng Ruoqin
work-with-new-version-of-xfsprogs.patch
is removed because it is included in 3.1.9.

Signed-off-by: Zheng Ruoqin 
---
 .../work-with-new-version-of-xfsprogs.patch   | 28 ---
 .../{xfsdump_3.1.8.bb => xfsdump_3.1.9.bb}|  5 ++--
 2 files changed, 2 insertions(+), 31 deletions(-)
 delete mode 100644 
meta-filesystems/recipes-utils/xfsdump/files/work-with-new-version-of-xfsprogs.patch
 rename meta-filesystems/recipes-utils/xfsdump/{xfsdump_3.1.8.bb => 
xfsdump_3.1.9.bb} (87%)

diff --git 
a/meta-filesystems/recipes-utils/xfsdump/files/work-with-new-version-of-xfsprogs.patch
 
b/meta-filesystems/recipes-utils/xfsdump/files/work-with-new-version-of-xfsprogs.patch
deleted file mode 100644
index 4ce23d717..0
--- 
a/meta-filesystems/recipes-utils/xfsdump/files/work-with-new-version-of-xfsprogs.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-Make it work with xfsprogs 5.2.0.
-
-"xfs_fsop_geom_v1_t" has changed to "struct xfs_fsop_geom_v1"
-in xfsprogs since version 5.2.0.
-
-Upstream-Status: Pending
-
-Signed-off-by: Yuan Chao 

- common/fs.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/common/fs.c b/common/fs.c
-index 60cf0fd..2cc7031 100644
 a/common/fs.c
-+++ b/common/fs.c
-@@ -204,7 +204,7 @@ fs_mounted( char *typs, char *chrs, char *mnts, uuid_t 
*idp )
- int
- fs_getid( char *mnts, uuid_t *idb )
- {
--  xfs_fsop_geom_v1_t geo;
-+  struct xfs_fsop_geom_v1 geo;
-   int fd;
- 
-   fd = open( mnts, O_RDONLY );
--- 
-2.7.4
-
diff --git a/meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.8.bb 
b/meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.9.bb
similarity index 87%
rename from meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.8.bb
rename to meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.9.bb
index 9c5755862..3e18fba74 100644
--- a/meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.8.bb
+++ b/meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.9.bb
@@ -12,11 +12,10 @@ DEPENDS = "xfsprogs attr"
 
 SRC_URI = "https://www.kernel.org/pub/linux/utils/fs/xfs/xfsdump/${BP}.tar.xz \
file://remove-install-as-user.patch \
-   file://work-with-new-version-of-xfsprogs.patch \

${@bb.utils.contains('DISTRO_FEATURES','usrmerge','file://0001-xfsdump-support-usrmerge.patch','',d)}
 \
"
-SRC_URI[md5sum] = "84d3bc287b4a2bb5d16b2320a47049a7"
-SRC_URI[sha256sum] = 
"ed14e67ae5b273c2698e767b43a46f033d361e540fe13feaaf9b110ee0edc585"
+SRC_URI[md5sum] = "086f7582875b14c17522867ffe3e202b"
+SRC_URI[sha256sum] = 
"55aeede6232ddce6c9e79e2af88d6f808534df1552eb2bfaf7fb85b92add6dd1"
 
 inherit autotools-brokensep
 
-- 
2.17.1



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