FTBFS with glibc 2.30: sysctl.h is deprecated
Bug #1843325 reported by
Andreas Hasenack
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Squid |
Unknown
|
Unknown
|
|||
squid (Ubuntu) |
Fix Released
|
High
|
Andreas Hasenack |
Bug Description
From the announcement at https:/
"""
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/
21 | #warning "The <sys/sysctl.h> header is deprecated and will be removed."
| ^~~~~~~
Related branches
~lucaskanashiro/ubuntu/+source/squid:merge_4.9-2
- Christian Ehrhardt (community): Approve
- Canonical Server: Pending requested
-
Diff: 523 lines (+418/-3)8 files modifieddebian/changelog (+308/-0)
debian/control (+3/-2)
debian/patches/90-cf.data.ubuntu.patch (+16/-0)
debian/patches/99-ubuntu-ssl-cert-snakeoil.patch (+22/-0)
debian/patches/drop-sysctl_h.patch (+27/-0)
debian/patches/series (+3/-0)
debian/rules (+6/-1)
debian/usr.sbin.squid (+33/-0)
~ahasenack/ubuntu/+source/squid:eoan-squid-ftbfs-glibc-230
- Christian Ehrhardt (community): Approve
- Canonical Server packageset reviewers: Pending requested
-
Diff: 57 lines (+35/-0)3 files modifieddebian/changelog (+7/-0)
debian/patches/drop-sysctl_h.patch (+27/-0)
debian/patches/series (+1/-0)
summary: |
- FTBFS glibc 2.30: sysctl.h is deprecated + FTBFS with glibc 2.30: sysctl.h is deprecated |
Changed in squid (Ubuntu): | |
assignee: | nobody → Andreas Hasenack (ahasenack) |
status: | New → In Progress |
To post a comment you must log in.
In progress branch:
https:/ /code.launchpad .net/~ahasenack /ubuntu/ +source/ squid/+ git/squid/ +ref/eoan- squid-ftbfs- glibc-230
With accompanying ppa:
https:/ /launchpad. net/~ahasenack/ +archive/ ubuntu/ squid-ftbfs- glibc-230
I'm waiting a bit to hear from upstream before uploading that to ubuntu.