Thanks Richard. There's also a problem with te cacao recipe: upstream has disappeared, which renders fresh builds impossible:
--2020-08-20 10:22:51-- https://bitbucket.org/cacaovm/cacao-staging/get/2d6f6c14daf9.zip Resolving bitbucket.org (bitbucket.org)... 2406:da00:ff00::22c5:2ef4, 2406:da00:ff00::22c3:9b0a, 2406:da00:ff00::22c2:513, ... Connecting to bitbucket.org (bitbucket.org)|2406:da00:ff00::22c5:2ef4|:443... connected. HTTP request sent, awaiting response... 403 Forbidden 2020-08-20 10:22:52 ERROR 403: Forbidden. I guess we need to put the zip somewhere else, and fetch it from there? Alex On Thu, 20 Aug 2020 at 12:10, Richard Leitner <[email protected]> wrote: > Hi, > thank you for your patch! > > 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;rl > > On Thu, Aug 13, 2020 at 06:27:56PM +0200, Alexander Kanavin wrote: > > Signed-off-by: Alexander Kanavin <[email protected]> > > --- > > .../openjdk/openjdk-8-release-common.inc | 1 + > > .../2010-Remove-usage-of-sys-sysctl.h.patch | 39 +++++++++++++++++++ > > 2 files changed, 40 insertions(+) > > create mode 100644 > recipes-core/openjdk/patches-openjdk-8/2010-Remove-usage-of-sys-sysctl.h.patch > > > > diff --git a/recipes-core/openjdk/openjdk-8-release-common.inc > b/recipes-core/openjdk/openjdk-8-release-common.inc > > index 02210a1..c43fd22 100644 > > --- a/recipes-core/openjdk/openjdk-8-release-common.inc > > +++ b/recipes-core/openjdk/openjdk-8-release-common.inc > > @@ -20,6 +20,7 @@ PATCHES_URI = "\ > > file://2007-jdk-no-genx11-in-headless.patch \ > > file://2008-jdk-no-unused-deps.patch \ > > > file://2009-jdk-use-gcc-instead-of-ld-to-link-genSocketOptionRegistry.patch > \ > > + file://2010-Remove-usage-of-sys-sysctl.h.patch \ > > " > > HOTSPOT_UB_PATCH = "\ > > file://1001-hotspot-fix-crash-on-JNI_CreateJavaVM.patch \ > > diff --git > a/recipes-core/openjdk/patches-openjdk-8/2010-Remove-usage-of-sys-sysctl.h.patch > b/recipes-core/openjdk/patches-openjdk-8/2010-Remove-usage-of-sys-sysctl.h.patch > > new file mode 100644 > > index 0000000..f6d7681 > > --- /dev/null > > +++ > b/recipes-core/openjdk/patches-openjdk-8/2010-Remove-usage-of-sys-sysctl.h.patch > > @@ -0,0 +1,39 @@ > > +From 3ed9b4a109cf2f31b97ab8ba317d67886452523c Mon Sep 17 00:00:00 2001 > > +From: Alexander Kanavin <[email protected]> > > +Date: Thu, 13 Aug 2020 17:59:42 +0200 > > +Subject: [PATCH] Remove usage of sys/sysctl.h > > + > > +This header has been removed in glibc 2.32, and isn't used for > > +anything. > > + > > +Upstream-Status: Pending > > +Signed-off-by: Alexander Kanavin <[email protected]> > > +--- > > + jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c | 1 - > > + jdk/src/solaris/native/java/net/PlainSocketImpl.c | 1 - > > + 2 files changed, 2 deletions(-) > > + > > +diff --git a/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c > b/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c > > +index cd15654e..4d8abe03 100644 > > +--- a/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c > > ++++ b/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c > > +@@ -41,7 +41,6 @@ > > + #endif > > + #ifdef __linux__ > > + #include <unistd.h> > > +-#include <sys/sysctl.h> > > + #include <sys/utsname.h> > > + #include <netinet/ip.h> > > + > > +diff --git a/jdk/src/solaris/native/java/net/PlainSocketImpl.c > b/jdk/src/solaris/native/java/net/PlainSocketImpl.c > > +index 170957e7..9aafbc09 100644 > > +--- a/jdk/src/solaris/native/java/net/PlainSocketImpl.c > > ++++ b/jdk/src/solaris/native/java/net/PlainSocketImpl.c > > +@@ -43,7 +43,6 @@ > > + #endif > > + #ifdef __linux__ > > + #include <unistd.h> > > +-#include <sys/sysctl.h> > > + #endif > > + > > + #include "jvm.h" > > -- > > 2.28.0 > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#86469): https://lists.openembedded.org/g/openembedded-devel/message/86469 Mute This Topic: https://lists.openembedded.org/mt/76171040/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
