On Fri, 2020-08-21 at 08:18 +0100, Ken Moffat via blfs-support wrote: > On Fri, Aug 21, 2020 at 01:23:19AM -0400, Bud Rozwood via blfs- > support wrote: > > Hi, > > > > I'm getting an error saying: > > > > fatal error: sys/sysctl.h: No such file or directory > > > > when trying to build OpenJDK 14.01+7 using glibc 2.32 version. I've > > looked it up on archlinux.org/packages for glibc version 2.32 and > > it > > seems that this version of glibc doesn't ship with the header file > > "sysctl.h". I've searched other places and they also said the same > > thing, like for example, Debian's babeld: > > https://www.mail-archive.com/[email protected]/msg1759087.html > > > > The LFS version is 9.1, System V. The only reason why I'm using > > this > > version of OpenJDK is for compatibility with the latest FireFox. > > Also, > > I'm using the latest FireFox and glibc for security updates. > > I rarely build OpenJDK, and never before firefox, so I've no idea > what it offers to firefox users. In BLFS we do not generally talk > about older versions of dependant packages (I have been known to do > so occasionally, and in the wiki for firefox I mention the versions > for required dependencies), so I would not be surprised to learn > that any maintained version of OpenJDK could be used - if it built. > > But > http://openjdk.5641.n7.nabble.com/8u-RFR-XS-8244461-JDK-8u-Build-fails-with-glibc-2-32-td410342.htm > with a link to > https://bugs.openjdk.java.net/browse/JDK-8244461 > said (before 2.32 was released) that this would only be a problem in > OpenJDK 8u and 7u because in later versions the headers had been > cleaned up. >
Well, obviously, it has problems in jdk 14 as well... FWIIW, I have tagged openjdk, but forgot to include the sed, sorry about that. Will commit soon. Pierre -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
