Summary: | lang/gcc49: unistd.h is busted (also lang/gcc5) | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Conrad Meyer <cem> |
Component: | Individual Port(s) | Assignee: | Gerald Pfeifer <gerald> |
Status: | Closed FIXED | ||
Severity: | Affects Many People | CC: | cem, jilles, matteo, pfg |
Priority: | --- | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Conrad Meyer
2015-09-20 19:41:06 UTC
Pretty broken! This error is because gcc's fixincludes script has copied (and "fixed") some include files which are incompatible with the user's system (they're running an old -current that doesn't have __sentinel in <sys/cdefs.h>). The workaround is to upgrade the system to a newer -current. I notice that lang/gcc doesn't have an include-fixed directory at all (good), so perhaps a minor change is needed to avoid it in lang/gcc49 as well. I think neutralizing fixincludes completely somehow may be worth consideration, though. Some background information about fixincludes is at http://ewontfix.com/12/ Matteo has reported this independently and Paolo addressed it by renaming __sentinel to __null_sentinel, so current -CURRENT should be fine. |