Already fixed it and sending it to Rawhide now.
-----Original Message-----
From: Miro Hrončok <mhroncok(a)redhat.com>
Sent: Saturday, April 18, 2020 4:34 AM
To: devel(a)lists.fedoraproject.org; swift-lang-maintainers(a)fedoraproject.org
Subject: Re: <sys/sysctl.h> will disappear from rawhide glibc soon
On 15. 04. 20 17:49, Florian Weimer wrote:
This follows the removal of the system call from Linux 5.5. Having
the header and function just confuses configure checks that assume
that if the function is present, it will do something useful (it never
did on aarch64, and it's been many years since it worked on Fedora
kernels on other architectures).
Replacements are uname, getentropy, and reading from /proc, but I
really do not expect much fallout from this (famous last words).
The kernel headers still provide <linux/sysctl.h>, but that will
eventually disappear as well.
swift-lang fails to build:
/builddir/build/BUILD/swift-source/swift-corelibs-foundation/CoreFoundation/PlugIn.subproj/CFBundle_InfoPlist.c:21:10:
fatal error: 'sys/sysctl.h' file not found #include <sys/sysctl.h>
^~~~~~~~~~~~~~
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok