Summary: | net-firewall/iptables-1.4.21-r1 fails to compile on armv7a-hardened-musl | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michael Jones <gentoo> |
Component: | Current packages | Assignee: | Gentoo musl team <musl> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | gentoo |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 430702 |
Description
Michael Jones
2015-06-09 22:28:11 UTC
The following patch is a glob of individual patches: https://gitweb.gentoo.org/proj/hardened-dev.git/tree/net-firewall/iptables/files/iptables-1.4.21-musl.patch?h=musl We need to isolate and upstream the following: 1) The missing <errno.h> and <sys/types.h> includes. 2) The defined(__GLIBC__) ... else ... assumption which leads to libc5 includes that are totally wrong. 3) The missing TCPOPT_* and IPPROTO_HOPOPTS decls. We need to see if these are spec-ed in POSIX, XOPEN or SUSv3/4. Fixed in upstream git (I think) but there has not been made a release since then. Actually, only 2) is fixed in current git. Sent some more patches upstream. net-firewall/iptables-1.6.0-r1 seems to build fine on musl. (In reply to Felix Janda from comment #4) > net-firewall/iptables-1.6.0-r1 seems to build fine on musl. Thanks. |