View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004155 | unreal | installing | public | 2013-01-02 23:32 | 2013-04-02 17:31 |
Reporter | katsklaw | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | i386 | OS | OpenBSD | OS Version | 5.2 |
Product Version | 3.2.10 | ||||
Fixed in Version | 3.2.10.1 | ||||
Summary | 0004155: make fails on OpenBSD 5.2 | ||||
Description | $ make > makelog In file included from /usr/include/sys/poll.h:54, from s_bsd.c:78: /usr/include/ctype.h:61: error: expected expression before ']' token /usr/include/ctype.h:62: error: expected expression before ']' token /usr/include/ctype.h:63: error: expected expression before ']' token /usr/include/ctype.h:64: error: expected expression before ']' token /usr/include/ctype.h:65: error: expected expression before ']' token /usr/include/ctype.h:65: error: expected ')' before '&&' token /usr/include/ctype.h:66: error: expected expression before ']' token /usr/include/ctype.h:66: error: expected ')' before '&&' token /usr/include/ctype.h:67: error: expected expression before ']' token /usr/include/ctype.h:68: error: expected identifier or '(' before '!' token /usr/include/ctype.h:69: error: expected expression before ']' token /usr/include/ctype.h:70: error: expected expression before ']' token /usr/include/ctype.h:70: error: expected ')' before '&&' token /usr/include/ctype.h:71: error: expected expression before ']' token /usr/include/ctype.h:71: error: expected ')' before '||' token /usr/include/ctype.h:72: error: expected expression before ']' token /usr/include/ctype.h:81: error: expected ')' before '>=' token /usr/include/ctype.h:91: error: expected ')' before 'c' /usr/include/ctype.h:91: error: expected expression before ']' token /usr/include/ctype.h:96: error: expected ')' before 'c' /usr/include/ctype.h:96: error: expected expression before ']' token /usr/include/ctype.h:101: error: expected ')' before 'c' /usr/include/ctype.h:101: error: expected expression before ']' token /usr/include/ctype.h:106: error: expected ')' before 'c' /usr/include/ctype.h:106: error: expected expression before ']' token /usr/include/ctype.h:111: error: expected ')' before 'c' /usr/include/ctype.h:111: error: expected expression before ']' token /usr/include/ctype.h:111: error: expected ')' before '&&' token /usr/include/ctype.h:116: error: expected ')' before 'c' /usr/include/ctype.h:116: error: expected expression before ']' token /usr/include/ctype.h:116: error: expected ')' before '&&' token /usr/include/ctype.h:121: error: expected ')' before 'c' /usr/include/ctype.h:121: error: expected expression before ']' token /usr/include/ctype.h:126: error: expected identifier or '(' before '!' token /usr/include/ctype.h:131: error: expected ')' before 'c' /usr/include/ctype.h:131: error: expected expression before ']' token /usr/include/ctype.h:136: error: expected ')' before 'c' /usr/include/ctype.h:136: error: expected expression before ']' token /usr/include/ctype.h:136: error: expected ')' before '&&' token /usr/include/ctype.h:141: error: expected ')' before 'c' /usr/include/ctype.h:141: error: expected expression before ']' token /usr/include/ctype.h:141: error: expected ')' before '||' token /usr/include/ctype.h:146: error: expected ')' before 'c' /usr/include/ctype.h:146: error: expected expression before ']' token /usr/include/ctype.h:153: error: expected ')' before 'c' /usr/include/ctype.h:153: error: expected expression before ']' token /usr/include/ctype.h:169: error: expected ')' before '>=' token $ | ||||
Steps To Reproduce | run make after ./Config | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
3rd party modules | |||||
|
For the record, FreeBSD 8.3 is not affected. |
|
FreeBSD 9.0 is also unaffected. |
|
NetBSD6 is also unaffected so I'm tending to think it's a bug in OBSD it's self. |
|
I will try to get a workaround for this, OpenBSD has some kind of crufty headers, so it's definitely a bug there, but we should work around it none-the-less. |
|
This is more a demonstration of bitrot than anything else. The poll(2) support in Unreal 3.2 is mostly a fixed up version of the poll(2) support in DreamForge, which made a bunch of assumptions about headers that were relevant in the 1990s. OpenBSD has broken headers, which are incompatible with those assumptions, so I have done the logical thing and pulled in system includes earlier, so that our crap doesn't pollute their crap and vice-versa. Attached patch fixes it for 3.2, I will do a different fix for 3.4 (namely separating out the system includes). |
|
Thanks, I'll check it out later and apply. katsklaw/original reporter: could you check if it works for you? |
|
applied patch and built successful on openbsd 5.2 (amd64) using gmake |
|
Thanks for the feedback! I've applied the patch, so it's now in 3.2.x I see a commit 2 months ago in 3.4 as well, so I presume the issue has been handled and have marked it as resolved. 3.2: http://hg.unrealircd.com/hg/unreal/rev/1672141ba571 3.4: http://hg.unrealircd.com/hg/unreal/rev/168720c37832 |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-01-02 23:32 | katsklaw | New Issue | |
2013-01-03 03:19 | katsklaw | Note Added: 0017293 | |
2013-01-04 18:23 | Jobe | Note Added: 0017295 | |
2013-01-05 00:00 | syzop | Assigned To | => nenolod |
2013-01-05 00:00 | syzop | Status | new => assigned |
2013-01-05 07:26 | katsklaw | Note Added: 0017297 | |
2013-01-07 01:31 |
|
Note Added: 0017301 | |
2013-01-14 09:17 |
|
File Added: unreal-3.2.10-broken-poll-headers.patch | |
2013-01-14 09:18 |
|
Note Added: 0017357 | |
2013-01-14 09:18 |
|
Status | assigned => has patch |
2013-01-14 14:44 | syzop | Note Added: 0017372 | |
2013-04-02 15:22 | sentinel256 | Note Added: 0017467 | |
2013-04-02 17:30 | syzop | Note Added: 0017468 | |
2013-04-02 17:30 | syzop | Status | has patch => resolved |
2013-04-02 17:30 | syzop | Fixed in Version | => 3.2.10.1 |
2013-04-02 17:30 | syzop | Resolution | open => fixed |
2013-04-02 17:31 | syzop | Note Edited: 0017468 |