* [meta-java][PATCHv2] openjdk-8: add a glibc 2.32 compatibility patch
@ 2020-08-13 16:27 Alexander Kanavin
2020-08-20 10:10 ` [oe] " Richard Leitner
0 siblings, 1 reply; 4+ messages in thread
From: Alexander Kanavin @ 2020-08-13 16:27 UTC (permalink / raw)
To: openembedded-devel; +Cc: Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
.../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 <alex.kanavin@gmail.com>
+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 <alex.kanavin@gmail.com>
+---
+ 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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [oe] [meta-java][PATCHv2] openjdk-8: add a glibc 2.32 compatibility patch
2020-08-13 16:27 [meta-java][PATCHv2] openjdk-8: add a glibc 2.32 compatibility patch Alexander Kanavin
@ 2020-08-20 10:10 ` Richard Leitner
2020-08-20 10:26 ` Alexander Kanavin
0 siblings, 1 reply; 4+ messages in thread
From: Richard Leitner @ 2020-08-20 10:10 UTC (permalink / raw)
To: Alexander Kanavin; +Cc: openembedded-devel
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 <alex.kanavin@gmail.com>
> ---
> .../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 <alex.kanavin@gmail.com>
> +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 <alex.kanavin@gmail.com>
> +---
> + 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
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [oe] [meta-java][PATCHv2] openjdk-8: add a glibc 2.32 compatibility patch
2020-08-20 10:10 ` [oe] " Richard Leitner
@ 2020-08-20 10:26 ` Alexander Kanavin
2020-08-20 10:58 ` Richard Leitner
0 siblings, 1 reply; 4+ messages in thread
From: Alexander Kanavin @ 2020-08-20 10:26 UTC (permalink / raw)
To: Richard Leitner; +Cc: OpenEmbedded Devel List
[-- Attachment #1: Type: text/plain, Size: 4193 bytes --]
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 <richard.leitner@skidata.com>
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 <alex.kanavin@gmail.com>
> > ---
> > .../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 <alex.kanavin@gmail.com>
> > +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 <alex.kanavin@gmail.com>
> > +---
> > + 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
> >
>
[-- Attachment #2: Type: text/html, Size: 5562 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [oe] [meta-java][PATCHv2] openjdk-8: add a glibc 2.32 compatibility patch
2020-08-20 10:26 ` Alexander Kanavin
@ 2020-08-20 10:58 ` Richard Leitner
0 siblings, 0 replies; 4+ messages in thread
From: Richard Leitner @ 2020-08-20 10:58 UTC (permalink / raw)
To: Alexander Kanavin; +Cc: OpenEmbedded Devel List
On Thu, Aug 20, 2020 at 12:26:22PM +0200, Alexander Kanavin wrote:
> 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?
Thanks for the catch!
It seems Bitbucked shut down their mercurial repositories...
The cacao-staging repository there is unavailable [1], but the cacao one got
migrated to git [2].
I'll take a look at it and will send a patch for that ASAP.
I guess it's better to use cacao than cacao-staging in any case ;-)
[1] https://bitbucket.org/cacaovm/cacao-staging
[2] https://bitbucket.org/cacaovm/cacao.git
regards;rl
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-08-20 10:58 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-13 16:27 [meta-java][PATCHv2] openjdk-8: add a glibc 2.32 compatibility patch Alexander Kanavin
2020-08-20 10:10 ` [oe] " Richard Leitner
2020-08-20 10:26 ` Alexander Kanavin
2020-08-20 10:58 ` Richard Leitner
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.