Summary: | net-misc/lksctp-tools wrong inclusion order can trigger build failures | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Paul Preney <paul> |
Component: | Current packages | Assignee: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | base-system, lu_zero |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | This file demonstrates the bug if the DEMONSTRATE_BUG is defined. |
Description
Paul Preney
2012-12-10 03:41:11 UTC
I should also add that /usr/include/netinet/sctp.h has this larger block of code (lines 44 to 51): /* Socket option layer for SCTP */ #ifndef SOL_SCTP #define SOL_SCTP 132 #endif #ifndef IPPROTO_SCTP #define IPPROTO_SCTP 132 #endif I see no reason for such (IMHO very bad code for a header file) when netinet/in.h defines IPPROTO_SCTP. (Similarly, what is the purpose of the conditional #define of SOL_SCTP?) FYI, I have also filed a bug report with the lksctp-tools project asking them to remove the offending lines. (I am waiting for moderation to permit my report through so I cannot provide a link yet.) Please report this upstream. |