[oe] [meta-python][PATCH] python-cython: update to version 0.28.5

2018-08-14 Thread Derek Straka
Signed-off-by: Derek Straka 
---
 meta-python/recipes-devtools/python/python-cython.inc | 4 ++--
 .../python/{python-cython_0.28.4.bb => python-cython_0.28.5.bb}   | 0
 .../python/{python3-cython_0.28.4.bb => python3-cython_0.28.5.bb} | 0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python-cython_0.28.4.bb => 
python-cython_0.28.5.bb} (100%)
 rename meta-python/recipes-devtools/python/{python3-cython_0.28.4.bb => 
python3-cython_0.28.5.bb} (100%)

diff --git a/meta-python/recipes-devtools/python/python-cython.inc 
b/meta-python/recipes-devtools/python/python-cython.inc
index 713fd2f..0939cad 100644
--- a/meta-python/recipes-devtools/python/python-cython.inc
+++ b/meta-python/recipes-devtools/python/python-cython.inc
@@ -7,8 +7,8 @@ LIC_FILES_CHKSUM = 
"file://LICENSE.txt;md5=e23fadd6ceef8c618fc1c65191d846fa"
 PYPI_PACKAGE = "Cython"
 BBCLASSEXTEND = "native nativesdk"
 
-SRC_URI[md5sum] = "fa01ba71b1e3136b0f12e3ed8958ea02"
-SRC_URI[sha256sum] = 
"76ac2b08d3d956d77b574bb43cbf1d37bd58b9d50c04ba281303e695854ebc46"
+SRC_URI[md5sum] = "0cb620e1259818e4ecc1a056e8c3a8be"
+SRC_URI[sha256sum] = 
"b64575241f64f6ec005a4d4137339fb0ba5e156e826db2fdb5f458060d9979e0"
 
 inherit pypi
 
diff --git a/meta-python/recipes-devtools/python/python-cython_0.28.4.bb 
b/meta-python/recipes-devtools/python/python-cython_0.28.5.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python-cython_0.28.4.bb
rename to meta-python/recipes-devtools/python/python-cython_0.28.5.bb
diff --git a/meta-python/recipes-devtools/python/python3-cython_0.28.4.bb 
b/meta-python/recipes-devtools/python/python3-cython_0.28.5.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-cython_0.28.4.bb
rename to meta-python/recipes-devtools/python/python3-cython_0.28.5.bb
-- 
2.7.4

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


[oe] [meta-python][PATCH] python-certifi: update to version 2018.8.13

2018-08-14 Thread Derek Straka
Signed-off-by: Derek Straka 
---
 meta-python/recipes-devtools/python/python-certifi.inc| 4 ++--
 .../{python-certifi_2018.4.16.bb => python-certifi_2018.8.13.bb}  | 0
 .../{python3-certifi_2018.4.16.bb => python3-certifi_2018.8.13.bb}| 0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python-certifi_2018.4.16.bb => 
python-certifi_2018.8.13.bb} (100%)
 rename meta-python/recipes-devtools/python/{python3-certifi_2018.4.16.bb => 
python3-certifi_2018.8.13.bb} (100%)

diff --git a/meta-python/recipes-devtools/python/python-certifi.inc 
b/meta-python/recipes-devtools/python/python-certifi.inc
index a930ff9..c7955c5 100644
--- a/meta-python/recipes-devtools/python/python-certifi.inc
+++ b/meta-python/recipes-devtools/python/python-certifi.inc
@@ -7,7 +7,7 @@ HOMEPAGE = " http://certifi.io/;
 LICENSE = "ISC"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=f77f61d14ee6feac4228d3ebd26cc1f1"
 
-SRC_URI[sha256sum] = 
"13e698f54293db9f89122b0581843a782ad0934a4fe0172d2a980ba77fc61bb7"
-SRC_URI[md5sum] = "f5d81d0048e84285611412b0dea0630a"
+SRC_URI[md5sum] = "a84571995a209dcd00a1702a74302b88"
+SRC_URI[sha256sum] = 
"4c1d68a1408dd090d2f3a869aa94c3947cc1d967821d1ed303208c9f41f0f2f4"
 
 BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-certifi_2018.4.16.bb 
b/meta-python/recipes-devtools/python/python-certifi_2018.8.13.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python-certifi_2018.4.16.bb
rename to meta-python/recipes-devtools/python/python-certifi_2018.8.13.bb
diff --git a/meta-python/recipes-devtools/python/python3-certifi_2018.4.16.bb 
b/meta-python/recipes-devtools/python/python3-certifi_2018.8.13.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-certifi_2018.4.16.bb
rename to meta-python/recipes-devtools/python/python3-certifi_2018.8.13.bb
-- 
2.7.4

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


[oe] [meta-python][PATCH] python-lxml: update to version 4.2.4

2018-08-14 Thread Derek Straka
Signed-off-by: Derek Straka 
---
 meta-python/recipes-devtools/python/python-lxml.inc   | 4 ++--
 .../python/{python-lxml_4.2.3.bb => python-lxml_4.2.4.bb} | 0
 .../python/{python3-lxml_4.2.3.bb => python3-lxml_4.2.4.bb}   | 0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python-lxml_4.2.3.bb => 
python-lxml_4.2.4.bb} (100%)
 rename meta-python/recipes-devtools/python/{python3-lxml_4.2.3.bb => 
python3-lxml_4.2.4.bb} (100%)

diff --git a/meta-python/recipes-devtools/python/python-lxml.inc 
b/meta-python/recipes-devtools/python/python-lxml.inc
index 09061ed..7f355a7 100644
--- a/meta-python/recipes-devtools/python/python-lxml.inc
+++ b/meta-python/recipes-devtools/python/python-lxml.inc
@@ -18,8 +18,8 @@ LIC_FILES_CHKSUM = 
"file://LICENSES.txt;md5=e4c045ebad958ead4b48008f70838403 \
 
 DEPENDS += "libxml2 libxslt"
 
-SRC_URI[md5sum] = "40331e46f6aa49fd0e7043d82e58a879"
-SRC_URI[sha256sum] = 
"622f7e40faef13d232fb52003661f2764ce6cdef3edb0a59af7c1559e4cc36d1"
+SRC_URI[md5sum] = "31239400ca4e130b69993bb3c14204b3"
+SRC_URI[sha256sum] = 
"e2afbe403090f5893e254958d02875e0732975e73c4c0cdd33c1f009a61963ca"
 
 DISTUTILS_BUILD_ARGS += " \
  --with-xslt-config='pkg-config libxslt' \
diff --git a/meta-python/recipes-devtools/python/python-lxml_4.2.3.bb 
b/meta-python/recipes-devtools/python/python-lxml_4.2.4.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python-lxml_4.2.3.bb
rename to meta-python/recipes-devtools/python/python-lxml_4.2.4.bb
diff --git a/meta-python/recipes-devtools/python/python3-lxml_4.2.3.bb 
b/meta-python/recipes-devtools/python/python3-lxml_4.2.4.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-lxml_4.2.3.bb
rename to meta-python/recipes-devtools/python/python3-lxml_4.2.4.bb
-- 
2.7.4

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


[oe] [meta-python][PATCH] python-pandas: update to version 0.23.4

2018-08-14 Thread Derek Straka
Signed-off-by: Derek Straka 
---
 meta-python/recipes-devtools/python/python-pandas.inc | 4 ++--
 .../python/{python-pandas_0.23.3.bb => python-pandas_0.23.4.bb}   | 0
 .../python/{python3-pandas_0.23.3.bb => python3-pandas_0.23.4.bb} | 0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python-pandas_0.23.3.bb => 
python-pandas_0.23.4.bb} (100%)
 rename meta-python/recipes-devtools/python/{python3-pandas_0.23.3.bb => 
python3-pandas_0.23.4.bb} (100%)

diff --git a/meta-python/recipes-devtools/python/python-pandas.inc 
b/meta-python/recipes-devtools/python/python-pandas.inc
index 8b4914f..d6ca243 100644
--- a/meta-python/recipes-devtools/python/python-pandas.inc
+++ b/meta-python/recipes-devtools/python/python-pandas.inc
@@ -6,8 +6,8 @@ HOMEPAGE = "http://pandas.pydata.org/;
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=ee0470f2de336c370a71c2f8d5e81c11"
 
-SRC_URI[md5sum] = "ed532e0cdc2aebe190f01e2ae84162f6"
-SRC_URI[sha256sum] = 
"9cd3614b4e31a0889388ff1bd19ae857ad52658b33f776065793c293a29cf612"
+SRC_URI[md5sum] = "7b597c7f989652e0c9af5f09a157e3ae"
+SRC_URI[sha256sum] = 
"5b24ca47acf69222e82530e89111dd9d14f9b970ab2cd3a1c2c78f0c4fbba4f4"
 
 inherit pypi
 
diff --git a/meta-python/recipes-devtools/python/python-pandas_0.23.3.bb 
b/meta-python/recipes-devtools/python/python-pandas_0.23.4.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python-pandas_0.23.3.bb
rename to meta-python/recipes-devtools/python/python-pandas_0.23.4.bb
diff --git a/meta-python/recipes-devtools/python/python3-pandas_0.23.3.bb 
b/meta-python/recipes-devtools/python/python3-pandas_0.23.4.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-pandas_0.23.3.bb
rename to meta-python/recipes-devtools/python/python3-pandas_0.23.4.bb
-- 
2.7.4

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


Re: [oe] [PATCH 1/2] mozjs: set -fno-schedule-insns2 on both CFLAGS and CXXFLAGS

2018-08-14 Thread Andy
Hi,

Am Do., 2. Aug. 2018 um 10:34 Uhr schrieb Khem Raj :
>
> Hi Ricardo
>
>
> On Tue, Jul 31, 2018 at 8:06 PM Ricardo Salveti  wrote:
> >
> > Mozjs fails to start on several architectures due broken build
> > optimizations when building with GCC >= 6.
> >
> > Set -fno-schedule-insns2 as workaround (flag also used by Firefox and
> > Debian).
> >
> > Signed-off-by: Ricardo Salveti 
> > ---
> >  meta-oe/recipes-extended/mozjs/mozjs_52.8.1.bb | 5 +
> >  1 file changed, 5 insertions(+)
> >
> > diff --git a/meta-oe/recipes-extended/mozjs/mozjs_52.8.1.bb 
> > b/meta-oe/recipes-extended/mozjs/mozjs_52.8.1.bb
> > index da80b63..adc27ac 100644
> > --- a/meta-oe/recipes-extended/mozjs/mozjs_52.8.1.bb
> > +++ b/meta-oe/recipes-extended/mozjs/mozjs_52.8.1.bb
> > @@ -30,6 +30,11 @@ CONFLICT_DISTRO_FEATURES_mipsarchn32 = "ld-is-gold"
> >
> >  DEPENDS += "nspr zlib"
> >
> > +# Avoid broken JIT on several architectures (from Firefox and Debian)
> > +# https://bugzilla.mozilla.org/show_bug.cgi?id=1245783
> > +CFLAGS += "-fno-schedule-insns2"
> > +CXXFLAGS += "-fno-schedule-insns2"
> > +
>
> Could you test with -fno-tree-vrp -fno-strict-aliasing
> -fno-delete-null-pointer-checks instead of -fno-schedule-insns2
>

at least polkit is able to start again using

CFLAGS += "-fno-tree-vrp -fno-strict-aliasing -fno-delete-null-pointer-checks"
CXXFLAGS += "-fno-tree-vrp -fno-strict-aliasing -fno-delete-null-pointer-checks"

before I got:
Assertion failure: !joinable()
in 
cortexa7t2hf-neon-poky-linux-gnueabi/mozjs/52.8.1-r0/mozjs-52.8.1/js/src/threading/Thread.h:122

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


[oe] [meta-oe][PATCH 2/2] ckermit: Pass -DNOARROWKEYS by default

2018-08-14 Thread Khem Raj
glibc 2.28+ has caught up with rest of libraries
and now build complains in same manner as musl

ckucmd.c: In function 'cmdconchk':
ckucmd.c:7386:14: error: 'FILE' {aka 'struct _IO_FILE'} has no member named 
'_cnt'
 x = stdin->_cnt;
  ^~

therefore add -DNOARROWKEYS even for glibc as well

Signed-off-by: Khem Raj 
---
 meta-oe/recipes-support/ckermit/ckermit_302.bb | 8 +---
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/meta-oe/recipes-support/ckermit/ckermit_302.bb 
b/meta-oe/recipes-support/ckermit/ckermit_302.bb
index 61c08ee276..abeeeccd1d 100644
--- a/meta-oe/recipes-support/ckermit/ckermit_302.bb
+++ b/meta-oe/recipes-support/ckermit/ckermit_302.bb
@@ -20,12 +20,6 @@ export INFODIR = "${infodir}"
 
 EXTRA_OEMAKE = "-e MAKEFLAGS="
 
-# Additional flags. For uclibc we add -DNOARROWKEYS which stops ckermit
-# trying to look inside the stdio headers.
-CKERMIT_ADDITIONAL = ""
-CKERMIT_ADDITIONAL_libc-uclibc = "-DNOARROWKEYS"
-CKERMIT_ADDITIONAL_libc-musl = "-DNOARROWKEYS"
-
 TARGET_CC_ARCH += "${LDFLAGS}"
 
 do_compile () {
@@ -49,7 +43,7 @@ do_compile () {
 -DNORESEND -DNOAUTODL -DNOSTREAMING -DNOHINTS -DNOCKXYZ -DNOLEARN \
 -DNOMKDIR -DNOPERMS -DNOCKTIMERS -DNOCKREGEX -DNOREALPATH \
 -DCK_SMALL -DNOLOGDIAL -DNORENAME -DNOWHATAMI \
-${CKERMIT_ADDITIONAL}"
+-DNOARROWKEYS"
 }
 
 do_install () {
-- 
2.18.0

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


[oe] [meta-oe][PATCH V2 1/2] stress-ng: Upgrade to 0.09.37

2018-08-14 Thread Khem Raj
Carries fixes needed for building with glibc 2.28+

Signed-off-by: Khem Raj 
---
v2: Update to 0.09.37

 ...force-sync-after-build-in-case-reboo.patch | 28 +++
 ...01-Several-changes-to-fix-musl-build.patch |  2 +-
 ...0002-stress-fcntl-fix-build-for-musl.patch | 25 -
 ...ess-ng_0.09.14.bb => stress-ng_0.09.37.bb} |  8 +++---
 4 files changed, 33 insertions(+), 30 deletions(-)
 create mode 100644 
meta-oe/recipes-test/stress-ng/stress-ng/0001-Revert-Makefile-force-sync-after-build-in-case-reboo.patch
 delete mode 100644 
meta-oe/recipes-test/stress-ng/stress-ng/0002-stress-fcntl-fix-build-for-musl.patch
 rename meta-oe/recipes-test/stress-ng/{stress-ng_0.09.14.bb => 
stress-ng_0.09.37.bb} (74%)

diff --git 
a/meta-oe/recipes-test/stress-ng/stress-ng/0001-Revert-Makefile-force-sync-after-build-in-case-reboo.patch
 
b/meta-oe/recipes-test/stress-ng/stress-ng/0001-Revert-Makefile-force-sync-after-build-in-case-reboo.patch
new file mode 100644
index 00..fd2199e535
--- /dev/null
+++ 
b/meta-oe/recipes-test/stress-ng/stress-ng/0001-Revert-Makefile-force-sync-after-build-in-case-reboo.patch
@@ -0,0 +1,28 @@
+From 7c97710bfc44d895b7111bef9c55866f00a3589c Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Mon, 13 Aug 2018 11:54:27 -0700
+Subject: [PATCH] Revert "Makefile: force sync after build in case reboot loses
+ executable"
+
+This reverts commit ae6322b1baea56a589207c96e358daae8edd0a8f.
+
+Not needed for cross-builds
+
+Upstream-Status: Inappropriate [Cross compile specific]
+Signed-off-by: Khem Raj 
+---
+ Makefile | 1 -
+ 1 file changed, 1 deletion(-)
+
+Index: stress-ng-0.09.37/Makefile
+===
+--- stress-ng-0.09.37.orig/Makefile
 stress-ng-0.09.37/Makefile
+@@ -344,7 +344,6 @@ OBJS += $(CONFIG_OBJS)
+ stress-ng: info $(OBJS)
+   @echo "LD $@"
+   @$(CC) $(CPPFLAGS) $(CFLAGS) $(OBJS) -lm $(LDFLAGS) -lc -o $@
+-  @sync
+ 
+ .PHONY: info
+ info:
diff --git 
a/meta-oe/recipes-test/stress-ng/stress-ng/0001-Several-changes-to-fix-musl-build.patch
 
b/meta-oe/recipes-test/stress-ng/stress-ng/0001-Several-changes-to-fix-musl-build.patch
index d604f860a1..93d9b544d5 100644
--- 
a/meta-oe/recipes-test/stress-ng/stress-ng/0001-Several-changes-to-fix-musl-build.patch
+++ 
b/meta-oe/recipes-test/stress-ng/stress-ng/0001-Several-changes-to-fix-musl-build.patch
@@ -1,4 +1,4 @@
-From 784dcd09d3f266e271d007f4fd257e85036872ca Mon Sep 17 00:00:00 2001
+From d499375fe267be8819ecb985123d89a21edc0e59 Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?An=C3=ADbal=20Lim=C3=B3n?= 
 Date: Tue, 17 Oct 2017 10:13:20 -0500
 Subject: [PATCH] Several changes to fix musl build
diff --git 
a/meta-oe/recipes-test/stress-ng/stress-ng/0002-stress-fcntl-fix-build-for-musl.patch
 
b/meta-oe/recipes-test/stress-ng/stress-ng/0002-stress-fcntl-fix-build-for-musl.patch
deleted file mode 100644
index ed3287e329..00
--- 
a/meta-oe/recipes-test/stress-ng/stress-ng/0002-stress-fcntl-fix-build-for-musl.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From faadbc147394cea9278bc2494f33e3521d88e742 Mon Sep 17 00:00:00 2001
-From: Tim Orling 
-Date: Tue, 9 Jan 2018 18:38:45 -0800
-Subject: [PATCH] stress-fcntl: fix build for musl
-
-Signed-off-by: Tim Orling 
-
-Upstream-status: Pending
-

- stress-fcntl.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/stress-fcntl.c b/stress-fcntl.c
-index 2ea867b..e91b345 100644
 a/stress-fcntl.c
-+++ b/stress-fcntl.c
-@@ -415,6 +415,7 @@ ofd_lock_abort:{ /* Nowt */ }
- #if (defined(F_GET_FILE_RW_HINT) && defined(F_SET_FILE_RW_HINT)) | \
- (defined(F_GET_RW_HINT) && defined(F_SET_RW_HINT))
-   {
-+  int ret;
-   size_t i;
-   unsigned long hint;
-   static const unsigned long hints[] = {
diff --git a/meta-oe/recipes-test/stress-ng/stress-ng_0.09.14.bb 
b/meta-oe/recipes-test/stress-ng/stress-ng_0.09.37.bb
similarity index 74%
rename from meta-oe/recipes-test/stress-ng/stress-ng_0.09.14.bb
rename to meta-oe/recipes-test/stress-ng/stress-ng_0.09.37.bb
index 7fab43025f..19ce641924 100644
--- a/meta-oe/recipes-test/stress-ng/stress-ng_0.09.14.bb
+++ b/meta-oe/recipes-test/stress-ng/stress-ng_0.09.37.bb
@@ -6,13 +6,13 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 DEPENDS = "zlib libaio"
 
 SRC_URI = "http://kernel.ubuntu.com/~cking/tarballs/${BPN}/${BP}.tar.xz \
-   file://0002-stress-fcntl-fix-build-for-musl.patch \
-  "
+   
file://0001-Revert-Makefile-force-sync-after-build-in-case-reboo.patch \
+   "
 SRC_URI_append_libc-musl = " \
 file://0001-Several-changes-to-fix-musl-build.patch \
 "
-SRC_URI[md5sum] = "1f8b6c2c2830704d2a2814c16082d48e"
-SRC_URI[sha256sum] = 
"02cac34a5cb041197af60c1867844c6cbb089a6d10a38cdcf7b8f27bfaa6ef8f"
+SRC_URI[md5sum] = "81d73313ea7778f749470b6f950553af"
+SRC_URI[sha256sum] = 
"8494afb2f2e2cf7e79ec9c6c3129308b098e530141ba2b07d6547708fd63af3d"
 

Re: [oe] [meta-java][PATCH v3] openjdk-8: gcc-8 fix #4: undefined behaviour (hotspot)

2018-08-14 Thread Richard Leitner
Hi,
this is a note to let you know that I've just added this patch to the
master-next branch of the meta-java repository at
git://git.yoctoproject.org/meta-java

As soon as it has gone through some more testing it will likely be
merged to the master branch.

If you have any questions, please let me know.

regards;Richard.L

On 8/14/18 2:50 PM, André Draszik wrote:
> From: André Draszik 
> 
> Using gcc-8, Hotspot is being miscompiled, resulting in non-
> working binaries.
> 
> The reason is undefined behaviour, which gcc-8 even warns about
> and errors out. We have so far have taped over those warnings,
> but it turns out that we simply cannot do that.
> 
> Add patches to address undefined behaviour causing miscompilation
> of hotsport.
> 
> This also means we can remove the -Wno-error=return-type C compiler
> flag again which was recently added in error in
> commit 52fb41cec7d5 ("openjdk-8: fix build for gcc8.x") only hiding
> the compiler warnings/errors that were flagging the incorrect code
> in the first place.
> 
> With these patches applied, the openjdk-8 ARM port works again:
> | RESULTS:
> | RESULTS - ping.PingTest.test_ping - Testcase 964: PASSED (0.04s)
> | RESULTS - ssh.SSHTest.test_ssh - Testcase 224: PASSED (0.68s)
> | RESULTS - java.JavaTest.test_java_exists - Testcase -1: PASSED (0.14s)
> | RESULTS - java.JavaTest.test_java_jar_comp_mode - Testcase -1: FAILED 
> (5.13s)
> | RESULTS - java.JavaTest.test_java_jar_int_mode - Testcase -1: PASSED (4.48s)
> | RESULTS - java.JavaTest.test_java_jar_works - Testcase -1: PASSED (4.44s)
> | RESULTS - java.JavaTest.test_java_version - Testcase -1: PASSED (3.66s)
> | RESULTS - javac.JavacTest.test_javac_exists - Testcase -1: PASSED (0.13s)
> | RESULTS - javac.JavacTest.test_javac_works - Testcase -1: PASSED (30.87s)
> | SUMMARY:
> | openjdk-8-test-image () - Ran 9 tests in 50.263s
> 
> The java.JavaTest.test_java_jar_comp_mode failure can be ignored for now,
> as that test verifies compiled mode which is not available on arm. The
> testcase must be fixed instead.
> 
> (We need to refresh one unrelated existing patch to avoid patch fuzz warnings)
> 
> Signed-off-by: André Draszik 
> 
> ---
> v3:
> * rebase against master-next
> 
> v2:
> *  refresh 
> musl-0007-hotspot-os_linux_x86-remove-glibc-dependencies-fpu_c.patch
>to avoid patch fuzz warnings
> ---
>  recipes-core/openjdk/openjdk-8-common.inc |   2 +-
>  .../openjdk-8-release-172b11-common.inc   |  13 +
>  ...4-fix-undefined-behaviour-gcc-v8-fix.patch |  41 +++
>  ...Fix-further-functions-with-a-missing.patch |  38 +++
>  ...o-fix-undefined-behaviour-gcc-v8-fix.patch |  42 
>  ...urn-type-issues-introduced-by-806165.patch |  56 +
>  ...ero-build-requires-disabled-warnings.patch | 148 +++
>  ...return-statement-in-__sync_val_compa.patch |  53 
>  ...g-build-after-8062808-Turn-on-the-Wr.patch |  47 
>  ...pot-Turn-on-the-Wreturn-type-warning.patch | 233 ++
>  ..._x86-remove-glibc-dependencies-fpu_c.patch |   2 +-
>  11 files changed, 673 insertions(+), 2 deletions(-)
>  create mode 100644 
> recipes-core/openjdk/patches-openjdk-8/0012-hotspot-aarch64-fix-undefined-behaviour-gcc-v8-fix.patch
>  create mode 100644 
> recipes-core/openjdk/patches-openjdk-8/0013-hotspot-aarch64-Fix-further-functions-with-a-missing.patch
>  create mode 100644 
> recipes-core/openjdk/patches-openjdk-8/0014-hotspot-zero-fix-undefined-behaviour-gcc-v8-fix.patch
>  create mode 100644 
> recipes-core/openjdk/patches-openjdk-8/0015-hotspot-fix-Wreturn-type-issues-introduced-by-806165.patch
>  create mode 100644 
> recipes-core/openjdk/patches-openjdk-8/0016-hotspot-Zero-build-requires-disabled-warnings.patch
>  create mode 100644 
> recipes-core/openjdk/patches-openjdk-8/0017-hotspot-Missing-return-statement-in-__sync_val_compa.patch
>  create mode 100644 
> recipes-core/openjdk/patches-openjdk-8/0018-hotspot-Fix-debug-build-after-8062808-Turn-on-the-Wr.patch
>  create mode 100644 
> recipes-core/openjdk/patches-openjdk-8/0019-hotspot-Turn-on-the-Wreturn-type-warning.patch
> 
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-java][PATCH v3] openjdk-8: gcc-8 fix #4: undefined behaviour (hotspot)

2018-08-14 Thread Richard Leitner
On 8/14/18 2:50 PM, André Draszik wrote:

> ---
> v3:
> * rebase against master-next

Thank you :-)

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


Re: [oe] [meta-java][PATCH v2] icedtea: disable error format-overflow for gcc 7

2018-08-14 Thread Richard Leitner
Hi,

On 8/14/18 10:27 AM, André Draszik wrote:
> On Mon, 2018-08-13 at 17:46 +0200, Richard Leitner wrote:
>> From: Andreas Obergschwandtner 
>>
>> As no patch has been found in debian and hotspot repo for this issue we
>> just disable this warning which was introduced with GCC 7.
>>
>> Also known as: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=881824
> 
> Two points:
> 
> TBH, I'd be a bit wary of this considering the recent fallout from silencing
> compiler warnings. Can you try to address this instead please?

I agree... Therefore I've removed the patch from master-next.

> 
> E.g. OpenJDK-8 has very similar code, so should be possible?
> 
> Also, I have gcc 7.3, yet I don't see that error. Is there something else
> happening?

We have already looked into it more deeply and will probably send a patch
for it next week. Although we are currently not entirely sure why the compiler
is complaining ;-)

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


[oe] [meta-qt5]: required packages to run qt5 qml applications

2018-08-14 Thread Mohamed Dawod
Hi,
I need to know what is the minimum packages which I need to add to
IMAGE_INSTALL_append variable in local.conf file
to be able to run qt5 qml applications in custom image on Minnowboard
Turbot that support wayland without x11. ?

Thank you,



-- 

Mohamed Dawod
Computer Engineering Department
Faculty of Engineering
Cairo University
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH 2/2] pcmciautils: depend on bison-native

2018-08-14 Thread Andrea Adami
pcmciautils needs yacc as well as lex.

Backport of oe-core commit dd5208ae22d4

Signed-off-by: Christopher Larson 
Signed-off-by: Richard Purdie 
---
 meta-oe/recipes-bsp/pcmciautils/pcmciautils_018.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-bsp/pcmciautils/pcmciautils_018.bb 
b/meta-oe/recipes-bsp/pcmciautils/pcmciautils_018.bb
index 2e59f05..fc06455 100644
--- a/meta-oe/recipes-bsp/pcmciautils/pcmciautils_018.bb
+++ b/meta-oe/recipes-bsp/pcmciautils/pcmciautils_018.bb
@@ -5,7 +5,7 @@ SECTION = "kernel/userland"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
 
-DEPENDS = "udev sysfsutils flex-native"
+DEPENDS = "udev sysfsutils flex-native bison-native"
 RDEPENDS_${PN} = "udev module-init-tools"
 
 PR = "r1"
-- 
2.7.4

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


[oe] [PATCH 1/2] pcmciautils: drop duplicate chunk from pcmciautils-018/makefile_race.patch

2018-08-14 Thread Andrea Adami
The new rule was patched into the makefile twice.

Backport of oe-core commit c52228f4d071

Signed-off-by: Alexander Kanavin 
Signed-off-by: Ross Burton 
Signed-off-by: Ross Burton 
---
 .../pcmciautils/pcmciautils/makefile_race.patch| 14 --
 1 file changed, 14 deletions(-)

diff --git a/meta-oe/recipes-bsp/pcmciautils/pcmciautils/makefile_race.patch 
b/meta-oe/recipes-bsp/pcmciautils/pcmciautils/makefile_race.patch
index f5a518f..4c5eba7 100644
--- a/meta-oe/recipes-bsp/pcmciautils/pcmciautils/makefile_race.patch
+++ b/meta-oe/recipes-bsp/pcmciautils/pcmciautils/makefile_race.patch
@@ -16,20 +16,6 @@ Index: pcmciautils-018/Makefile
 ===
 --- pcmciautils-018.orig/Makefile
 +++ pcmciautils-018/Makefile
-@@ -249,6 +249,9 @@ $(PCMCIA_SOCKET_STARTUP): $(LIBC) src/st
- yacc_config.o lex_config.o: %.o: %.c src/yacc_config.h
-   $(CC) -c -MD -O -pipe $(CPPFLAGS) $<
- 
-+src/lex_config.o : src/lex_config.c src/yacc_config.h
-+  $(QUIET) $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
-+
- debugtools: ccdv $(CBDUMP) $(CISDUMP)
- 
- $(CBDUMP): $(LIBC) debug/cbdump.o
-Index: pcmciautils-018/Makefile
-===
 pcmciautils-018.orig/Makefile
-+++ pcmciautils-018/Makefile
 @@ -246,8 +246,8 @@ $(PCMCIA_SOCKET_STARTUP): $(LIBC) src/st
$(QUIET) $(LD) $(LDFLAGS) -o $@ $(CRT0) src/startup.o src/yacc_config.o 
src/lex_config.o $(LIB_OBJS) $(ARCH_LIB_OBJS)
$(QUIET) $(STRIPCMD) $@
-- 
2.7.4

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


[oe] [meta-java][PATCH v3] openjdk-8: gcc-8 fix #4: undefined behaviour (hotspot)

2018-08-14 Thread André Draszik
From: André Draszik 

Using gcc-8, Hotspot is being miscompiled, resulting in non-
working binaries.

The reason is undefined behaviour, which gcc-8 even warns about
and errors out. We have so far have taped over those warnings,
but it turns out that we simply cannot do that.

Add patches to address undefined behaviour causing miscompilation
of hotsport.

This also means we can remove the -Wno-error=return-type C compiler
flag again which was recently added in error in
commit 52fb41cec7d5 ("openjdk-8: fix build for gcc8.x") only hiding
the compiler warnings/errors that were flagging the incorrect code
in the first place.

With these patches applied, the openjdk-8 ARM port works again:
| RESULTS:
| RESULTS - ping.PingTest.test_ping - Testcase 964: PASSED (0.04s)
| RESULTS - ssh.SSHTest.test_ssh - Testcase 224: PASSED (0.68s)
| RESULTS - java.JavaTest.test_java_exists - Testcase -1: PASSED (0.14s)
| RESULTS - java.JavaTest.test_java_jar_comp_mode - Testcase -1: FAILED (5.13s)
| RESULTS - java.JavaTest.test_java_jar_int_mode - Testcase -1: PASSED (4.48s)
| RESULTS - java.JavaTest.test_java_jar_works - Testcase -1: PASSED (4.44s)
| RESULTS - java.JavaTest.test_java_version - Testcase -1: PASSED (3.66s)
| RESULTS - javac.JavacTest.test_javac_exists - Testcase -1: PASSED (0.13s)
| RESULTS - javac.JavacTest.test_javac_works - Testcase -1: PASSED (30.87s)
| SUMMARY:
| openjdk-8-test-image () - Ran 9 tests in 50.263s

The java.JavaTest.test_java_jar_comp_mode failure can be ignored for now,
as that test verifies compiled mode which is not available on arm. The
testcase must be fixed instead.

(We need to refresh one unrelated existing patch to avoid patch fuzz warnings)

Signed-off-by: André Draszik 

---
v3:
* rebase against master-next

v2:
*  refresh musl-0007-hotspot-os_linux_x86-remove-glibc-dependencies-fpu_c.patch
   to avoid patch fuzz warnings
---
 recipes-core/openjdk/openjdk-8-common.inc |   2 +-
 .../openjdk-8-release-172b11-common.inc   |  13 +
 ...4-fix-undefined-behaviour-gcc-v8-fix.patch |  41 +++
 ...Fix-further-functions-with-a-missing.patch |  38 +++
 ...o-fix-undefined-behaviour-gcc-v8-fix.patch |  42 
 ...urn-type-issues-introduced-by-806165.patch |  56 +
 ...ero-build-requires-disabled-warnings.patch | 148 +++
 ...return-statement-in-__sync_val_compa.patch |  53 
 ...g-build-after-8062808-Turn-on-the-Wr.patch |  47 
 ...pot-Turn-on-the-Wreturn-type-warning.patch | 233 ++
 ..._x86-remove-glibc-dependencies-fpu_c.patch |   2 +-
 11 files changed, 673 insertions(+), 2 deletions(-)
 create mode 100644 
recipes-core/openjdk/patches-openjdk-8/0012-hotspot-aarch64-fix-undefined-behaviour-gcc-v8-fix.patch
 create mode 100644 
recipes-core/openjdk/patches-openjdk-8/0013-hotspot-aarch64-Fix-further-functions-with-a-missing.patch
 create mode 100644 
recipes-core/openjdk/patches-openjdk-8/0014-hotspot-zero-fix-undefined-behaviour-gcc-v8-fix.patch
 create mode 100644 
recipes-core/openjdk/patches-openjdk-8/0015-hotspot-fix-Wreturn-type-issues-introduced-by-806165.patch
 create mode 100644 
recipes-core/openjdk/patches-openjdk-8/0016-hotspot-Zero-build-requires-disabled-warnings.patch
 create mode 100644 
recipes-core/openjdk/patches-openjdk-8/0017-hotspot-Missing-return-statement-in-__sync_val_compa.patch
 create mode 100644 
recipes-core/openjdk/patches-openjdk-8/0018-hotspot-Fix-debug-build-after-8062808-Turn-on-the-Wr.patch
 create mode 100644 
recipes-core/openjdk/patches-openjdk-8/0019-hotspot-Turn-on-the-Wreturn-type-warning.patch

diff --git a/recipes-core/openjdk/openjdk-8-common.inc 
b/recipes-core/openjdk/openjdk-8-common.inc
index 1c33a3b..7348657 100644
--- a/recipes-core/openjdk/openjdk-8-common.inc
+++ b/recipes-core/openjdk/openjdk-8-common.inc
@@ -217,7 +217,7 @@ EXTRA_OECONF_append = "\
 # of these changes.
 FLAGS_GCC6 = "-fno-lifetime-dse -fno-delete-null-pointer-checks"
 FLAGS_GCC7 = "-fno-lifetime-dse -fno-delete-null-pointer-checks"
-FLAGS_GCC8 = "-fno-lifetime-dse -fno-delete-null-pointer-checks 
-Wno-error=return-type"
+FLAGS_GCC8 = "-fno-lifetime-dse -fno-delete-null-pointer-checks"
 
 # flags for -native, and for bits that need a host-tool during -cross
 BUILD_CFLAGS_append = " ${@openjdk_build_helper_get_build_cflags(d)}"
diff --git a/recipes-core/openjdk/openjdk-8-release-172b11-common.inc 
b/recipes-core/openjdk/openjdk-8-release-172b11-common.inc
index 8b30c37..4bcecef 100644
--- a/recipes-core/openjdk/openjdk-8-release-172b11-common.inc
+++ b/recipes-core/openjdk/openjdk-8-release-172b11-common.inc
@@ -17,6 +17,19 @@ PATCHES_URI = "\
 file://0009-jdk-disable-backtrace-musl-build-fix.patch \
 file://0010-build-fix-build-on-as-needed-toolchains-generic.patch \
 file://0011-hotspot-backport-patch-to-fix-misuses-of-strncpy-str.patch \
+${HOTSPOT_UB_PATCH} \
+"
+HOTSPOT_UB_PATCH = "\
+file://0014-hotspot-zero-fix-undefined-behaviour-gcc-v8-fix.patch \
+

Re: [oe] [meta-java][PATCH] oeqa: runtime: java: skip not supported version/arch combinations

2018-08-14 Thread Richard Leitner
Hi,
this is a note to let you know that I've just added this patch to the
master-next branch of the meta-java repository at
git://git.yoctoproject.org/meta-java

As soon as it has gone through some more testing it will likely be
merged to the master branch.

If you have any questions, please let me know.

regards;Richard.L

On 8/14/18 12:11 PM, Richard Leitner wrote:
> The following OpenJDK Version/Target architecture combinations are
> currently not supported with "compiled mode" aka JIT:
> 
> OpenJRE-8 on arm
> OpenJDK-7 on aarch64
> OpenJDK-7 on x86
> OpenJDK-7 on x86-64
> 
> Therefore we skip the correspoding oeqa runtime tests for now.
> 
> Signed-off-by: Richard Leitner 
> ---
>  lib/oeqa/runtime/cases/java.py | 22 +-
>  1 file changed, 21 insertions(+), 1 deletion(-)
> 
> diff --git a/lib/oeqa/runtime/cases/java.py b/lib/oeqa/runtime/cases/java.py
> index feb572b..f2375a4 100644
> --- a/lib/oeqa/runtime/cases/java.py
> +++ b/lib/oeqa/runtime/cases/java.py
> @@ -3,6 +3,7 @@ import os
>  from oeqa.runtime.case import OERuntimeTestCase
>  from oeqa.core.decorator.depends import OETestDepends
>  from oeqa.core.decorator.oeid import OETestID
> +from oeqa.core.decorator.data import skipIfDataVar
>  from oeqa.runtime.decorator.package import OEHasPackage
>  
>  class JavaTest(OERuntimeTestCase):
> @@ -50,8 +51,27 @@ class JavaTest(OERuntimeTestCase):
>  msg = 'Incorrect mode: %s' % output
>  self.assertIn(', interpreted mode)', output, msg=msg)
>  
> +# As OpenJDK-7 doesn't support compiled mode (JIT) for all architectures 
> yet
> +# we skip these tests for now.
> +@OEHasPackage(["openjdk-7-jre", "openjdk-7"])
>  @OETestDepends(['java.JavaTest.test_java_exists'])
> -def test_java_jar_comp_mode(self):
> +@skipIfDataVar('ARCH', 'arm64', 'OpenJDK 7 compiled mode not yet 
> supported for aarch64')
> +@skipIfDataVar('ARCH', 'x86', 'OpenJDK 7 compiled mode not yet supported 
> for x86')
> +@skipIfDataVar('ARCH', 'x86-64', 'OpenJDK 7 compiled mode not yet 
> supported for x86-64')
> +def test_java7_jar_comp_mode(self):
> +status, output = self.target.run('java -showversion -Xcomp -jar 
> /tmp/test.jar')
> +msg = 'Exit status was not 0. Output: %s' % output
> +self.assertEqual(status, 0, msg=msg)
> +
> +msg = 'Incorrect mode: %s' % output
> +self.assertIn(', compiled mode)', output, msg=msg)
> +
> +# As OpenJDK-8 doesn't support compiled mode (JIT) for arm yet we skip 
> this
> +# test for now.
> +@OEHasPackage(["openjre-8", "openjdk-8"])
> +@OETestDepends(['java.JavaTest.test_java_exists'])
> +@skipIfDataVar('ARCH', 'arm', 'OpenJDK 8 compiled mode not yet supported 
> for arm')
> +def test_java8_jar_comp_mode(self):
>  status, output = self.target.run('java -showversion -Xcomp -jar 
> /tmp/test.jar')
>  msg = 'Exit status was not 0. Output: %s' % output
>  self.assertEqual(status, 0, msg=msg)
> 
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-java][PATCH] dbus-java: Do not build any documentation

2018-08-14 Thread Richard Leitner
Hi,
this is a note to let you know that I've just added this patch to the
master-next branch of the meta-java repository at
git://git.yoctoproject.org/meta-java

As soon as it has gone through some more testing it will likely be
merged to the master branch.

If you have any questions, please let me know.

regards;Richard.L

On 8/13/18 6:49 PM, Yevgeny Popovych wrote:
> Support for respective docbook tools has been removed in pyro release.
> 
> Signed-off-by: Yevgeny Popovych 
> Cc: Henning Heinold 
> Cc: Maxin John 
> Cc: Otavio Salvador 
> Cc: Richard Leitner 
> ---
>  recipes-extended/dbus/dbus-java_2.7.bb | 22 ++
>  1 file changed, 2 insertions(+), 20 deletions(-)
> 
> diff --git a/recipes-extended/dbus/dbus-java_2.7.bb 
> b/recipes-extended/dbus/dbus-java_2.7.bb
> index 4964cf8..0b093a0 100644
> --- a/recipes-extended/dbus/dbus-java_2.7.bb
> +++ b/recipes-extended/dbus/dbus-java_2.7.bb
> @@ -6,7 +6,7 @@ HOMEPAGE = "http://dbus.freedesktop.org/doc/dbus-java;
>  SECTION = "libs"
>  LICENSE = "LGPL-2.1 & AFL-2.1"
>  
> -DEPENDS = "libmatthew docbook-utils-native docbook-sgml-dtd-4.1-native 
> fastjar-native"
> +DEPENDS = "libmatthew gettext-native fastjar-native"
>  RDEPENDS_${PN}-viewer = "java2-runtime libunixsocket-java ${PN}-bin 
> libmatthew-debug-java ${JPN}"
>  RDEPENDS_${PN}-bin = "java2-runtime libunixsocket-java libmatthew-debug-java 
> ${JPN}"
>  RSUGGESTS_${JPN} = "libunixsocket-java"
> @@ -49,15 +49,6 @@ do_compile () {
>   JAVAUNIXJARDIR=${datadir_java} \
>   JAVAUNIXLIBDIR=${libdir_jni} \
>   bin
> -
> - # Generate man pages.
> - oe_runmake \
> - JAVAC="oefatal \"No Java compilation expected here.\"" \
> - JAR="oefatal \"No jar invocation expected here.\"" \
> - JARPREFIX=${datadir_java} \
> - JAVAUNIXJARDIR=${datadir_java} \
> - JAVAUNIXLIBDIR=${libdir_jni} \
> - man
>  }
>  
>  JARFILENAME = "${JPN}-${PV}.jar"
> @@ -73,20 +64,11 @@ do_install () {
>install bin/CreateInterface ${D}${bindir}
>install bin/ListDBus ${D}${bindir}
>install bin/DBusDaemon ${D}${bindir}
> -
> - oe_runmake \
> - JAVAC="oefatal \"No Java compilation expected here.\"" \
> - JAR="oefatal \"No jar invocation expected here.\"" \
> - MANPREFIX=${D}${mandir} \
> - DOCPREFIX=${D}${docdir}/${JPN} \
> - install-man
>  }
>  
>  # ${JPN} must be last otherwise it would pick up dbus-viewer*.jar
>  # and dbus-bin*.jar
> -PACKAGES = "${PN}-viewer ${PN}-viewer-doc ${PN}-bin ${PN}-bin-doc ${JPN}"
> +PACKAGES = "${PN}-viewer ${PN}-bin ${JPN}"
>  
>  FILES_${PN}-viewer = "${datadir}/java/dbus-java-viewer*.jar 
> ${bindir}/DBusViewer"
> -FILES_${PN}-viewer-doc = "${mandir}/DBusViewer*"
>  FILES_${PN}-bin = "${datadir}/java/dbus-java-bin*.jar ${bindir}"
> -FILES_${PN}-bin-doc = "${mandir} ${docdir}/${JPN}"
> 
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-java][PATCH v2] openjdk-8: gcc-8 fix #4: undefined behaviour (hotspot)

2018-08-14 Thread Richard Leitner
On 8/14/18 2:02 PM, André Draszik wrote:
> On Tue, 2018-08-14 at 13:08 +0200, Richard Leitner wrote:
>> Hi André,
>>
>> this v2 isn't applying to the current master-next... could you please
>> check?
>>
>>
>> Applying: openjdk-8: gcc-8 fix #4: undefined behaviour (hotspot)
>> .git/rebase-apply/patch:101: trailing whitespace.
>>  
>> .git/rebase-apply/patch:106: trailing whitespace.
>>  
>> .git/rebase-apply/patch:108: trailing whitespace.
>> -- 
>> .git/rebase-apply/patch:150: trailing whitespace.
>>  
>> .git/rebase-apply/patch:152: trailing whitespace.
>> -- 
>> error: patch failed: recipes-core/openjdk/openjdk-8-common.inc:216
>> error: recipes-core/openjdk/openjdk-8-common.inc: patch does not apply
>> Patch failed at 0001 openjdk-8: gcc-8 fix #4: undefined behaviour
>> (hotspot)
> 
> OK. I'm still a bit dubious about just silencing the compiler rather than
> fixing the warnings, given all the problems this has caused so far, so this
> version #2 actually sits on top of d359ad5ad46c.

Yeah, we'll take a look at fixing this.
Furthermore I will remove the patch from master-next with my next push.

Nonetheless could you please rebase your patch on the current master-next?
As the error silencing patch doesn't collide with this patch it should be fine.

> 
> Cheers,
> Andre'
> 

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


Re: [oe] [meta-java][PATCH v2] openjdk-8: gcc-8 fix #4: undefined behaviour (hotspot)

2018-08-14 Thread André Draszik
On Tue, 2018-08-14 at 13:08 +0200, Richard Leitner wrote:
> Hi André,
> 
> this v2 isn't applying to the current master-next... could you please
> check?
> 
> 
> Applying: openjdk-8: gcc-8 fix #4: undefined behaviour (hotspot)
> .git/rebase-apply/patch:101: trailing whitespace.
>  
> .git/rebase-apply/patch:106: trailing whitespace.
>  
> .git/rebase-apply/patch:108: trailing whitespace.
> -- 
> .git/rebase-apply/patch:150: trailing whitespace.
>  
> .git/rebase-apply/patch:152: trailing whitespace.
> -- 
> error: patch failed: recipes-core/openjdk/openjdk-8-common.inc:216
> error: recipes-core/openjdk/openjdk-8-common.inc: patch does not apply
> Patch failed at 0001 openjdk-8: gcc-8 fix #4: undefined behaviour
> (hotspot)

OK. I'm still a bit dubious about just silencing the compiler rather than
fixing the warnings, given all the problems this has caused so far, so this
version #2 actually sits on top of d359ad5ad46c.

Cheers,
Andre'

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


Re: [oe] [meta-java][PATCH v2] openjdk-8: gcc-8 fix #4: undefined behaviour (hotspot)

2018-08-14 Thread Richard Leitner
Hi André,

this v2 isn't applying to the current master-next... could you please check?


Applying: openjdk-8: gcc-8 fix #4: undefined behaviour (hotspot)
.git/rebase-apply/patch:101: trailing whitespace.
 
.git/rebase-apply/patch:106: trailing whitespace.
 
.git/rebase-apply/patch:108: trailing whitespace.
-- 
.git/rebase-apply/patch:150: trailing whitespace.
 
.git/rebase-apply/patch:152: trailing whitespace.
-- 
error: patch failed: recipes-core/openjdk/openjdk-8-common.inc:216
error: recipes-core/openjdk/openjdk-8-common.inc: patch does not apply
Patch failed at 0001 openjdk-8: gcc-8 fix #4: undefined behaviour (hotspot)


Thanks!

regards;Richard.L


On 8/14/18 12:42 PM, André Draszik wrote:
> From: André Draszik 
> 
> Using gcc-8, Hotspot is being miscompiled, resulting in non-
> working binaries.
> 
> The reason is undefined behaviour, which gcc-8 even warns about
> and errors out. We have so far have taped over those warnings,
> but it turns out that we simply cannot do that.
> 
> Add patches to address undefined behaviour causing miscompilation
> of hotsport.
> 
> This also means we can remove the -Wno-error=return-type C compiler
> flag again which was recently added in error in
> commit 52fb41cec7d5 ("openjdk-8: fix build for gcc8.x") only hiding
> the compiler warnings/errors that were flagging the incorrect code
> in the first place.
> 
> With these patches applied, the openjdk-8 ARM port works again:
> | RESULTS:
> | RESULTS - ping.PingTest.test_ping - Testcase 964: PASSED (0.04s)
> | RESULTS - ssh.SSHTest.test_ssh - Testcase 224: PASSED (0.68s)
> | RESULTS - java.JavaTest.test_java_exists - Testcase -1: PASSED (0.14s)
> | RESULTS - java.JavaTest.test_java_jar_comp_mode - Testcase -1: FAILED 
> (5.13s)
> | RESULTS - java.JavaTest.test_java_jar_int_mode - Testcase -1: PASSED (4.48s)
> | RESULTS - java.JavaTest.test_java_jar_works - Testcase -1: PASSED (4.44s)
> | RESULTS - java.JavaTest.test_java_version - Testcase -1: PASSED (3.66s)
> | RESULTS - javac.JavacTest.test_javac_exists - Testcase -1: PASSED (0.13s)
> | RESULTS - javac.JavacTest.test_javac_works - Testcase -1: PASSED (30.87s)
> | SUMMARY:
> | openjdk-8-test-image () - Ran 9 tests in 50.263s
> 
> The java.JavaTest.test_java_jar_comp_mode failure can be ignored for now,
> as that test verifies compiled mode which is not available on arm. The
> testcase must be fixed instead.
> 
> (We need to refresh one unrelated existing patch to avoid patch fuzz warnings)
> 
> Signed-off-by: André Draszik 
> 
> ---
> v2:
> *  refresh 
> musl-0007-hotspot-os_linux_x86-remove-glibc-dependencies-fpu_c.patch
>to avoid patch fuzz warnings
> ---
>  recipes-core/openjdk/openjdk-8-common.inc |   2 +-
>  .../openjdk-8-release-172b11-common.inc   |  13 +
>  ...4-fix-undefined-behaviour-gcc-v8-fix.patch |  41 +++
>  ...Fix-further-functions-with-a-missing.patch |  38 +++
>  ...o-fix-undefined-behaviour-gcc-v8-fix.patch |  42 
>  ...urn-type-issues-introduced-by-806165.patch |  56 +
>  ...ero-build-requires-disabled-warnings.patch | 148 +++
>  ...return-statement-in-__sync_val_compa.patch |  53 
>  ...g-build-after-8062808-Turn-on-the-Wr.patch |  47 
>  ...pot-Turn-on-the-Wreturn-type-warning.patch | 233 ++
>  ..._x86-remove-glibc-dependencies-fpu_c.patch |   2 +-
>  11 files changed, 673 insertions(+), 2 deletions(-)
>  create mode 100644 
> recipes-core/openjdk/patches-openjdk-8/0012-hotspot-aarch64-fix-undefined-behaviour-gcc-v8-fix.patch
>  create mode 100644 
> recipes-core/openjdk/patches-openjdk-8/0013-hotspot-aarch64-Fix-further-functions-with-a-missing.patch
>  create mode 100644 
> recipes-core/openjdk/patches-openjdk-8/0014-hotspot-zero-fix-undefined-behaviour-gcc-v8-fix.patch
>  create mode 100644 
> recipes-core/openjdk/patches-openjdk-8/0015-hotspot-fix-Wreturn-type-issues-introduced-by-806165.patch
>  create mode 100644 
> recipes-core/openjdk/patches-openjdk-8/0016-hotspot-Zero-build-requires-disabled-warnings.patch
>  create mode 100644 
> recipes-core/openjdk/patches-openjdk-8/0017-hotspot-Missing-return-statement-in-__sync_val_compa.patch
>  create mode 100644 
> recipes-core/openjdk/patches-openjdk-8/0018-hotspot-Fix-debug-build-after-8062808-Turn-on-the-Wr.patch
>  create mode 100644 
> recipes-core/openjdk/patches-openjdk-8/0019-hotspot-Turn-on-the-Wreturn-type-warning.patch
> 
> diff --git a/recipes-core/openjdk/openjdk-8-common.inc 
> b/recipes-core/openjdk/openjdk-8-common.inc
> index 6b2f5e7..ff6e940 100644
> --- a/recipes-core/openjdk/openjdk-8-common.inc
> +++ b/recipes-core/openjdk/openjdk-8-common.inc
> @@ -216,7 +216,7 @@ EXTRA_OECONF_append = "\
>  # of these changes.
>  FLAGS_GCC6 = "-fno-lifetime-dse -fno-delete-null-pointer-checks"
>  FLAGS_GCC7 = "-fno-lifetime-dse -fno-delete-null-pointer-checks"
> -FLAGS_GCC8 = "-fno-lifetime-dse -fno-delete-null-pointer-checks 
> -Wno-error=return-type"
> +FLAGS_GCC8 = "-fno-lifetime-dse -fno-delete-null-pointer-checks"
>  
>  # All 

[oe] [meta-oe][PATCH] glmark2: add dependency on virtual/libgbm for drm-gl, drm-gles2 PACKAGECONFIG

2018-08-14 Thread Martin Jansa
* it's checked by wscript for all flavors with drm in it:
  ('gbm','gbm', None, list_contains(ctx.options.flavors, 'drm')),

Signed-off-by: Martin Jansa 
---
 meta-oe/recipes-benchmark/glmark2/glmark2_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb 
b/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb
index b72ced06ad..99050e7047 100644
--- a/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb
+++ b/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb
@@ -36,8 +36,8 @@ CXXFLAGS += "-std=c++11"
 
 PACKAGECONFIG[x11-gl] = ",,virtual/libgl virtual/libx11"
 PACKAGECONFIG[x11-gles2] = ",,virtual/libgles2 virtual/libx11"
-PACKAGECONFIG[drm-gl] = ",,virtual/libgl libdrm"
-PACKAGECONFIG[drm-gles2] = ",,virtual/libgles2 libdrm"
+PACKAGECONFIG[drm-gl] = ",,virtual/libgl libdrm virtual/libgbm"
+PACKAGECONFIG[drm-gles2] = ",,virtual/libgles2 libdrm virtual/libgbm"
 PACKAGECONFIG[wayland-gl] = ",,virtual/libgl wayland"
 PACKAGECONFIG[wayland-gles2] = ",,virtual/libgles2 wayland"
 
-- 
2.17.1

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


[oe] [meta-java][PATCH v2] openjdk-8: gcc-8 fix #4: undefined behaviour (hotspot)

2018-08-14 Thread André Draszik
From: André Draszik 

Using gcc-8, Hotspot is being miscompiled, resulting in non-
working binaries.

The reason is undefined behaviour, which gcc-8 even warns about
and errors out. We have so far have taped over those warnings,
but it turns out that we simply cannot do that.

Add patches to address undefined behaviour causing miscompilation
of hotsport.

This also means we can remove the -Wno-error=return-type C compiler
flag again which was recently added in error in
commit 52fb41cec7d5 ("openjdk-8: fix build for gcc8.x") only hiding
the compiler warnings/errors that were flagging the incorrect code
in the first place.

With these patches applied, the openjdk-8 ARM port works again:
| RESULTS:
| RESULTS - ping.PingTest.test_ping - Testcase 964: PASSED (0.04s)
| RESULTS - ssh.SSHTest.test_ssh - Testcase 224: PASSED (0.68s)
| RESULTS - java.JavaTest.test_java_exists - Testcase -1: PASSED (0.14s)
| RESULTS - java.JavaTest.test_java_jar_comp_mode - Testcase -1: FAILED (5.13s)
| RESULTS - java.JavaTest.test_java_jar_int_mode - Testcase -1: PASSED (4.48s)
| RESULTS - java.JavaTest.test_java_jar_works - Testcase -1: PASSED (4.44s)
| RESULTS - java.JavaTest.test_java_version - Testcase -1: PASSED (3.66s)
| RESULTS - javac.JavacTest.test_javac_exists - Testcase -1: PASSED (0.13s)
| RESULTS - javac.JavacTest.test_javac_works - Testcase -1: PASSED (30.87s)
| SUMMARY:
| openjdk-8-test-image () - Ran 9 tests in 50.263s

The java.JavaTest.test_java_jar_comp_mode failure can be ignored for now,
as that test verifies compiled mode which is not available on arm. The
testcase must be fixed instead.

(We need to refresh one unrelated existing patch to avoid patch fuzz warnings)

Signed-off-by: André Draszik 

---
v2:
*  refresh musl-0007-hotspot-os_linux_x86-remove-glibc-dependencies-fpu_c.patch
   to avoid patch fuzz warnings
---
 recipes-core/openjdk/openjdk-8-common.inc |   2 +-
 .../openjdk-8-release-172b11-common.inc   |  13 +
 ...4-fix-undefined-behaviour-gcc-v8-fix.patch |  41 +++
 ...Fix-further-functions-with-a-missing.patch |  38 +++
 ...o-fix-undefined-behaviour-gcc-v8-fix.patch |  42 
 ...urn-type-issues-introduced-by-806165.patch |  56 +
 ...ero-build-requires-disabled-warnings.patch | 148 +++
 ...return-statement-in-__sync_val_compa.patch |  53 
 ...g-build-after-8062808-Turn-on-the-Wr.patch |  47 
 ...pot-Turn-on-the-Wreturn-type-warning.patch | 233 ++
 ..._x86-remove-glibc-dependencies-fpu_c.patch |   2 +-
 11 files changed, 673 insertions(+), 2 deletions(-)
 create mode 100644 
recipes-core/openjdk/patches-openjdk-8/0012-hotspot-aarch64-fix-undefined-behaviour-gcc-v8-fix.patch
 create mode 100644 
recipes-core/openjdk/patches-openjdk-8/0013-hotspot-aarch64-Fix-further-functions-with-a-missing.patch
 create mode 100644 
recipes-core/openjdk/patches-openjdk-8/0014-hotspot-zero-fix-undefined-behaviour-gcc-v8-fix.patch
 create mode 100644 
recipes-core/openjdk/patches-openjdk-8/0015-hotspot-fix-Wreturn-type-issues-introduced-by-806165.patch
 create mode 100644 
recipes-core/openjdk/patches-openjdk-8/0016-hotspot-Zero-build-requires-disabled-warnings.patch
 create mode 100644 
recipes-core/openjdk/patches-openjdk-8/0017-hotspot-Missing-return-statement-in-__sync_val_compa.patch
 create mode 100644 
recipes-core/openjdk/patches-openjdk-8/0018-hotspot-Fix-debug-build-after-8062808-Turn-on-the-Wr.patch
 create mode 100644 
recipes-core/openjdk/patches-openjdk-8/0019-hotspot-Turn-on-the-Wreturn-type-warning.patch

diff --git a/recipes-core/openjdk/openjdk-8-common.inc 
b/recipes-core/openjdk/openjdk-8-common.inc
index 6b2f5e7..ff6e940 100644
--- a/recipes-core/openjdk/openjdk-8-common.inc
+++ b/recipes-core/openjdk/openjdk-8-common.inc
@@ -216,7 +216,7 @@ EXTRA_OECONF_append = "\
 # of these changes.
 FLAGS_GCC6 = "-fno-lifetime-dse -fno-delete-null-pointer-checks"
 FLAGS_GCC7 = "-fno-lifetime-dse -fno-delete-null-pointer-checks"
-FLAGS_GCC8 = "-fno-lifetime-dse -fno-delete-null-pointer-checks 
-Wno-error=return-type"
+FLAGS_GCC8 = "-fno-lifetime-dse -fno-delete-null-pointer-checks"
 
 # All supported cross compilers support the compiler flags that were
 # added to make compilation with gcc6 work. But the host compiler for
diff --git a/recipes-core/openjdk/openjdk-8-release-172b11-common.inc 
b/recipes-core/openjdk/openjdk-8-release-172b11-common.inc
index 8b30c37..4bcecef 100644
--- a/recipes-core/openjdk/openjdk-8-release-172b11-common.inc
+++ b/recipes-core/openjdk/openjdk-8-release-172b11-common.inc
@@ -17,6 +17,19 @@ PATCHES_URI = "\
 file://0009-jdk-disable-backtrace-musl-build-fix.patch \
 file://0010-build-fix-build-on-as-needed-toolchains-generic.patch \
 file://0011-hotspot-backport-patch-to-fix-misuses-of-strncpy-str.patch \
+${HOTSPOT_UB_PATCH} \
+"
+HOTSPOT_UB_PATCH = "\
+file://0014-hotspot-zero-fix-undefined-behaviour-gcc-v8-fix.patch \
+file://0015-hotspot-fix-Wreturn-type-issues-introduced-by-806165.patch \
+

Re: [oe] [meta-java][PATCH] dbus-java: Do not build any documentation

2018-08-14 Thread Richard Leitner
Hi Yevgeny,

On 8/14/18 11:09 AM, Yevgeny Popovych wrote:
> Hi Richard,
> 
> Thank you, please find my answers below.
> If you are going to accept this, can you consider also applying to sumo?

sure.

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


[oe] [meta-java][PATCH] oeqa: runtime: java: skip not supported version/arch combinations

2018-08-14 Thread Richard Leitner
The following OpenJDK Version/Target architecture combinations are
currently not supported with "compiled mode" aka JIT:

OpenJRE-8 on arm
OpenJDK-7 on aarch64
OpenJDK-7 on x86
OpenJDK-7 on x86-64

Therefore we skip the correspoding oeqa runtime tests for now.

Signed-off-by: Richard Leitner 
---
 lib/oeqa/runtime/cases/java.py | 22 +-
 1 file changed, 21 insertions(+), 1 deletion(-)

diff --git a/lib/oeqa/runtime/cases/java.py b/lib/oeqa/runtime/cases/java.py
index feb572b..f2375a4 100644
--- a/lib/oeqa/runtime/cases/java.py
+++ b/lib/oeqa/runtime/cases/java.py
@@ -3,6 +3,7 @@ import os
 from oeqa.runtime.case import OERuntimeTestCase
 from oeqa.core.decorator.depends import OETestDepends
 from oeqa.core.decorator.oeid import OETestID
+from oeqa.core.decorator.data import skipIfDataVar
 from oeqa.runtime.decorator.package import OEHasPackage
 
 class JavaTest(OERuntimeTestCase):
@@ -50,8 +51,27 @@ class JavaTest(OERuntimeTestCase):
 msg = 'Incorrect mode: %s' % output
 self.assertIn(', interpreted mode)', output, msg=msg)
 
+# As OpenJDK-7 doesn't support compiled mode (JIT) for all architectures 
yet
+# we skip these tests for now.
+@OEHasPackage(["openjdk-7-jre", "openjdk-7"])
 @OETestDepends(['java.JavaTest.test_java_exists'])
-def test_java_jar_comp_mode(self):
+@skipIfDataVar('ARCH', 'arm64', 'OpenJDK 7 compiled mode not yet supported 
for aarch64')
+@skipIfDataVar('ARCH', 'x86', 'OpenJDK 7 compiled mode not yet supported 
for x86')
+@skipIfDataVar('ARCH', 'x86-64', 'OpenJDK 7 compiled mode not yet 
supported for x86-64')
+def test_java7_jar_comp_mode(self):
+status, output = self.target.run('java -showversion -Xcomp -jar 
/tmp/test.jar')
+msg = 'Exit status was not 0. Output: %s' % output
+self.assertEqual(status, 0, msg=msg)
+
+msg = 'Incorrect mode: %s' % output
+self.assertIn(', compiled mode)', output, msg=msg)
+
+# As OpenJDK-8 doesn't support compiled mode (JIT) for arm yet we skip this
+# test for now.
+@OEHasPackage(["openjre-8", "openjdk-8"])
+@OETestDepends(['java.JavaTest.test_java_exists'])
+@skipIfDataVar('ARCH', 'arm', 'OpenJDK 8 compiled mode not yet supported 
for arm')
+def test_java8_jar_comp_mode(self):
 status, output = self.target.run('java -showversion -Xcomp -jar 
/tmp/test.jar')
 msg = 'Exit status was not 0. Output: %s' % output
 self.assertEqual(status, 0, msg=msg)
-- 
2.11.0

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


Re: [oe] [meta-java][PATCH] dbus-java: Do not build any documentation

2018-08-14 Thread Yevgeny Popovych
Hi Richard,

Thank you, please find my answers below.
If you are going to accept this, can you consider also applying to sumo?


On 08/14/2018 09:56 AM, Richard Leitner wrote:
> Hi Yevgeny,
> thank you for your patch.
> 
> Please find my comments below.
> 
> On 8/13/18 6:49 PM, Yevgeny Popovych wrote:
>> Support for respective docbook tools has been removed in pyro release.
> 
> Do you have any reference for that?
> It would be great if you could include it here.

Yes, it was removed by commit 4814d93646f6b86aaffbd3fca1af29c8c577db5b
in openembedded-core, which is included since pyro release.

> 
> Is there no alternative to removing the manpages?

Nothing I can think of.. and it's probably not a huge loss.
For instance, before removing SGML stack Alexander Kanavin 
removed man pages for iputils (58ac4da13cf32e1c8484d1a6ac51f0f439a6932c).

> 
>>
>> Signed-off-by: Yevgeny Popovych 
>> Cc: Henning Heinold 
>> Cc: Maxin John 
>> Cc: Otavio Salvador 
>> Cc: Richard Leitner 
>> ---
>>  recipes-extended/dbus/dbus-java_2.7.bb | 22 ++
>>  1 file changed, 2 insertions(+), 20 deletions(-)
>>
>> diff --git a/recipes-extended/dbus/dbus-java_2.7.bb 
>> b/recipes-extended/dbus/dbus-java_2.7.bb
>> index 4964cf8..0b093a0 100644
>> --- a/recipes-extended/dbus/dbus-java_2.7.bb
>> +++ b/recipes-extended/dbus/dbus-java_2.7.bb
>> @@ -6,7 +6,7 @@ HOMEPAGE = "http://dbus.freedesktop.org/doc/dbus-java;
>>  SECTION = "libs"
>>  LICENSE = "LGPL-2.1 & AFL-2.1"
>>  
>> -DEPENDS = "libmatthew docbook-utils-native docbook-sgml-dtd-4.1-native 
>> fastjar-native"
>> +DEPENDS = "libmatthew gettext-native fastjar-native"
>>  RDEPENDS_${PN}-viewer = "java2-runtime libunixsocket-java ${PN}-bin 
>> libmatthew-debug-java ${JPN}"
>>  RDEPENDS_${PN}-bin = "java2-runtime libunixsocket-java 
>> libmatthew-debug-java ${JPN}"
>>  RSUGGESTS_${JPN} = "libunixsocket-java"
>> @@ -49,15 +49,6 @@ do_compile () {
>>  JAVAUNIXJARDIR=${datadir_java} \
>>  JAVAUNIXLIBDIR=${libdir_jni} \
>>  bin
>> -
>> -# Generate man pages.
>> -oe_runmake \
>> -JAVAC="oefatal \"No Java compilation expected here.\"" \
>> -JAR="oefatal \"No jar invocation expected here.\"" \
>> -JARPREFIX=${datadir_java} \
>> -JAVAUNIXJARDIR=${datadir_java} \
>> -JAVAUNIXLIBDIR=${libdir_jni} \
>> -man
>>  }
>>  
>>  JARFILENAME = "${JPN}-${PV}.jar"
>> @@ -73,20 +64,11 @@ do_install () {
>>install bin/CreateInterface ${D}${bindir}
>>install bin/ListDBus ${D}${bindir}
>>install bin/DBusDaemon ${D}${bindir}
>> -
>> -oe_runmake \
>> -JAVAC="oefatal \"No Java compilation expected here.\"" \
>> -JAR="oefatal \"No jar invocation expected here.\"" \
>> -MANPREFIX=${D}${mandir} \
>> -DOCPREFIX=${D}${docdir}/${JPN} \
>> -install-man
>>  }
>>  
>>  # ${JPN} must be last otherwise it would pick up dbus-viewer*.jar
>>  # and dbus-bin*.jar
>> -PACKAGES = "${PN}-viewer ${PN}-viewer-doc ${PN}-bin ${PN}-bin-doc ${JPN}"
>> +PACKAGES = "${PN}-viewer ${PN}-bin ${JPN}"
>>  
>>  FILES_${PN}-viewer = "${datadir}/java/dbus-java-viewer*.jar 
>> ${bindir}/DBusViewer"
>> -FILES_${PN}-viewer-doc = "${mandir}/DBusViewer*"
>>  FILES_${PN}-bin = "${datadir}/java/dbus-java-bin*.jar ${bindir}"
>> -FILES_${PN}-bin-doc = "${mandir} ${docdir}/${JPN}"
>>
> 
> regards;Richard.L
> 

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


Re: [oe] [meta-java][PATCH v2] icedtea: disable error format-overflow for gcc 7

2018-08-14 Thread André Draszik
On Mon, 2018-08-13 at 17:46 +0200, Richard Leitner wrote:
> From: Andreas Obergschwandtner 
> 
> As no patch has been found in debian and hotspot repo for this issue we
> just disable this warning which was introduced with GCC 7.
> 
> Also known as: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=881824

Two points:

TBH, I'd be a bit wary of this considering the recent fallout from silencing
compiler warnings. Can you try to address this instead please?

E.g. OpenJDK-8 has very similar code, so should be possible?

Also, I have gcc 7.3, yet I don't see that error. Is there something else
happening?


Cheers,
Andre'

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


Re: [oe] [meta-oe][PATCH] ltrace: added alternate source

2018-08-14 Thread Mikko.Rapeli
On Mon, Aug 13, 2018 at 11:23:49AM -0700, Khem Raj wrote:
> On Mon, Aug 13, 2018 at 5:37 AM Aditya Tayade  wrote:
> >
> > Description:
> > As alioth (the Debian service hosting anonscm) has been discontinued using 
> > https://alioth-archive.debian.org/git/ltrace/ltrace.git.tar.xz as a new 
> > source for ltrace.
> > The new source tree SRCREV SHA "ea8928dab8" and old source tree (from 
> > discontinued link)SRCREV SHA "c22d359433" points to same git history but 
> > have some diffs.
> > Hence added a patch which applies the diff to SHA "ea8928dab8" to make it 
> > same as SHA "c22d359433" from the earlier git source.
> >
> 
> it might be better to push a repo from
> https://alioth-archive.debian.org/git/ltrace/ltrace.git.tar.xz into
> github or some place. Have we asked the debian salsa migration team if
> this is planned for migration at all ?

Yes, but hosting the git repo feels like taking over maintenance of it too.

This patch enables building ltrace from poky master and sumo again without
ltrace sources in download caches. Thus I would take it.

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


Re: [oe] [meta-oe][PATCH v2] Add recipe for cereal, a header-only C++11 serialization library.

2018-08-14 Thread Fritjof Jonsson
Please ignore this patch, since a move of the recipe  to the correct location 
has been submitted. 


Change-Id: I93a3d6b34650998d67f5c00ed8ff14e2658cbec7
Signed-off-by: Fritjof Jonsson 
---
 meta-oe/recipes-support/libcereal/libcereal_1.2.2.bb | 16 
 1 file changed, 16 insertions(+)
 create mode 100644 meta-oe/recipes-support/libcereal/libcereal_1.2.2.bb

diff --git a/meta-oe/recipes-support/libcereal/libcereal_1.2.2.bb 
b/meta-oe/recipes-support/libcereal/libcereal_1.2.2.bb
new file mode 100644
index 0..6507dd63e
--- /dev/null
+++ b/meta-oe/recipes-support/libcereal/libcereal_1.2.2.bb
@@ -0,0 +1,16 @@
+SUMMARY = "A C++11 library for serialization"
+HOMEPAGE = "https://uscilab.github.io/cereal/;
+
+SECTION = "libs"
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = 
"[file://LICENSE;md5=e612690af2f575dfd02e2e91443cea23]file://LICENSE;md5=e612690af2f575dfd02e2e91443cea23"
+
+SRCREV = "51cbda5f30e56c801c07fe3d3aba5d7fb9e6cca4"
+SRC_URI = "git://github.com/USCiLab/cereal.git"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
+
+EXTRA_OECMAKE = "-DJUST_INSTALL_CEREAL=ON"
--
2.11.0

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


Re: [oe] [meta-java][PATCH] dbus-java: Do not build any documentation

2018-08-14 Thread Richard Leitner
Hi Yevgeny,
thank you for your patch.

Please find my comments below.

On 8/13/18 6:49 PM, Yevgeny Popovych wrote:
> Support for respective docbook tools has been removed in pyro release.

Do you have any reference for that?
It would be great if you could include it here.

Is there no alternative to removing the manpages?

> 
> Signed-off-by: Yevgeny Popovych 
> Cc: Henning Heinold 
> Cc: Maxin John 
> Cc: Otavio Salvador 
> Cc: Richard Leitner 
> ---
>  recipes-extended/dbus/dbus-java_2.7.bb | 22 ++
>  1 file changed, 2 insertions(+), 20 deletions(-)
> 
> diff --git a/recipes-extended/dbus/dbus-java_2.7.bb 
> b/recipes-extended/dbus/dbus-java_2.7.bb
> index 4964cf8..0b093a0 100644
> --- a/recipes-extended/dbus/dbus-java_2.7.bb
> +++ b/recipes-extended/dbus/dbus-java_2.7.bb
> @@ -6,7 +6,7 @@ HOMEPAGE = "http://dbus.freedesktop.org/doc/dbus-java;
>  SECTION = "libs"
>  LICENSE = "LGPL-2.1 & AFL-2.1"
>  
> -DEPENDS = "libmatthew docbook-utils-native docbook-sgml-dtd-4.1-native 
> fastjar-native"
> +DEPENDS = "libmatthew gettext-native fastjar-native"
>  RDEPENDS_${PN}-viewer = "java2-runtime libunixsocket-java ${PN}-bin 
> libmatthew-debug-java ${JPN}"
>  RDEPENDS_${PN}-bin = "java2-runtime libunixsocket-java libmatthew-debug-java 
> ${JPN}"
>  RSUGGESTS_${JPN} = "libunixsocket-java"
> @@ -49,15 +49,6 @@ do_compile () {
>   JAVAUNIXJARDIR=${datadir_java} \
>   JAVAUNIXLIBDIR=${libdir_jni} \
>   bin
> -
> - # Generate man pages.
> - oe_runmake \
> - JAVAC="oefatal \"No Java compilation expected here.\"" \
> - JAR="oefatal \"No jar invocation expected here.\"" \
> - JARPREFIX=${datadir_java} \
> - JAVAUNIXJARDIR=${datadir_java} \
> - JAVAUNIXLIBDIR=${libdir_jni} \
> - man
>  }
>  
>  JARFILENAME = "${JPN}-${PV}.jar"
> @@ -73,20 +64,11 @@ do_install () {
>install bin/CreateInterface ${D}${bindir}
>install bin/ListDBus ${D}${bindir}
>install bin/DBusDaemon ${D}${bindir}
> -
> - oe_runmake \
> - JAVAC="oefatal \"No Java compilation expected here.\"" \
> - JAR="oefatal \"No jar invocation expected here.\"" \
> - MANPREFIX=${D}${mandir} \
> - DOCPREFIX=${D}${docdir}/${JPN} \
> - install-man
>  }
>  
>  # ${JPN} must be last otherwise it would pick up dbus-viewer*.jar
>  # and dbus-bin*.jar
> -PACKAGES = "${PN}-viewer ${PN}-viewer-doc ${PN}-bin ${PN}-bin-doc ${JPN}"
> +PACKAGES = "${PN}-viewer ${PN}-bin ${JPN}"
>  
>  FILES_${PN}-viewer = "${datadir}/java/dbus-java-viewer*.jar 
> ${bindir}/DBusViewer"
> -FILES_${PN}-viewer-doc = "${mandir}/DBusViewer*"
>  FILES_${PN}-bin = "${datadir}/java/dbus-java-bin*.jar ${bindir}"
> -FILES_${PN}-bin-doc = "${mandir} ${docdir}/${JPN}"
> 

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