Public bug reported:
>From the announcement at
>https://savannah.gnu.org/forum/forum.php?forum_id=9515:
"""
The Linux-specific <sys/sysctl.h> header and the sysctl function have been
deprecated and will be removed from a future version of glibc.
Application should directly access /proc instead. For obtaining random
bits, the getentropy function can be used.
"""
This results in a build failure:
In file included from Eui48.cc:49:
/usr/include/x86_64-linux-gnu/sys/sysctl.h:21:2: error: #warning "The
<sys/sysctl.h> header is deprecated and will be removed." [-Werror=cpp]
21 | #warning "The <sys/sysctl.h> header is deprecated and will be removed."
| ^~~~~~~
** Affects: squid
Importance: Unknown
Status: Unknown
** Affects: squid (Ubuntu)
Importance: High
Status: New
** Tags: ftbfs
** Summary changed:
- FTBFS glibc 2.30: sysctl.h is deprecated
+ FTBFS with glibc 2.30: sysctl.h is deprecated
** Bug watch added: Squid Bugzilla #4985
http://bugs.squid-cache.org/show_bug.cgi?id=4985
** Also affects: squid via
http://bugs.squid-cache.org/show_bug.cgi?id=4985
Importance: Unknown
Status: Unknown
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1843325
Title:
FTBFS with glibc 2.30: sysctl.h is deprecated
To manage notifications about this bug go to:
https://bugs.launchpad.net/squid/+bug/1843325/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs