[Bug 3784] New: [IcedTea8] Backport "8167481: cleanup of headers and includes for native libnet" to fix builds with glibc >= 2.32
bugzilla-daemon at icedtea.classpath.org
bugzilla-daemon at icedtea.classpath.org
Wed Apr 29 01:05:41 UTC 2020
https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3784
Bug ID: 3784
Summary: [IcedTea8] Backport "8167481: cleanup of headers and
includes for native libnet" to fix builds with glibc
>= 2.32
Product: IcedTea
Version: 8.x-hg
Hardware: all
OS: All
Status: NEW
Severity: normal
Priority: P5
Component: IcedTea
Assignee: gnu.andrew at redhat.com
Reporter: gnu.andrew at redhat.com
CC: unassigned at icedtea.classpath.org
Glibc 2.32 will remove sys/sysctl.h which is still included by OpenJDK 8:
https://sourceware.org/git/?p=glibc.git;a=patch;h=076f09afbac1aa57756faa7a8feadb7936a724e4
The appearance of this in Fedora:
https://koji.fedoraproject.org/koji/buildinfo?buildID=1494024
has already broken the build there:
/builddir/build/BUILD/java-1.8.0-openjdk-1.8.0.252.b01-0.0.ea.fc33.x86_64/openjdk/jdk/src/solaris/native/java/net/PlainDatagramS
ocketImpl.c:44:10: fatal error: sys/sysctl.h: No such file or directory
44 | #include <sys/sysctl.h>
| ^~~~~~~~~~~~~~
compilation terminated.
gmake[2]: *** [lib/NetworkingLibraries.gmk:62:
/builddir/build/BUILD/java-1.8.0-openjdk-1.8.0.252.b01-0.0.ea.fc33.x86_64/bootbui
ld/jdk8.build/jdk/objs/libnet/PlainDatagramSocketImpl.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
/builddir/build/BUILD/java-1.8.0-openjdk-1.8.0.252.b01-0.0.ea.fc33.x86_64/openjdk/jdk/src/solaris/native/java/net/PlainSocketImp
l.c:46:10: fatal error: sys/sysctl.h: No such file or directory
46 | #include <sys/sysctl.h>
| ^~~~~~~~~~~~~~
compilation terminated.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20200429/eb19ae07/attachment.htm>
More information about the distro-pkg-dev
mailing list