View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0002576 | Spring engine | Linux | public | 2011-07-26 05:44 | 2011-07-26 17:56 | ||||
Reporter | Svenstaro | ||||||||
Assigned To | abma | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | resolved | Resolution | no change required | ||||||
Product Version | 0.82.7.1 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0002576: Building java bindings fails | ||||||||
Description | I'm building this in a clean chroot on Arch Linux and get lots of these: /build/src/spring_0.82.7.1/AI/Interfaces/Java/src-generated/main/java/com/springrts/ai/oo/OOAIFactory.java:216: <identifier> expected _ret = ai.(); ^ and lots of these: /build/src/spring_0.82.7.1/AI/Interfaces/Java/src-generated/main/java/com/springrts/ai/oo/AbstractOOAI.java:37: <identifier> expected public int () { ^ Building without java works fine. Neither jre6, jre7 or openjdk6 work. | ||||||||
Additional Information | Arch Linux GCC 4.6 openjdk6 6.b22_1.10.3-1 jdk 6u26-1 jdk 7b147-1 | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
abma (administrator) 2011-07-26 16:42 |
are you using awk 4.0? (awk --version) if so: please disable compiling java-ais with: cmake . -DAI_TYPES=NATIVE this is already fixed in the current development version of spring |
Svenstaro (reporter) 2011-07-26 17:13 Last edited: 2011-07-26 17:13 |
That is essentially the same as building without java, though, isn't it? I already said that that worked fine. As this is an official package, I'm probably making some people unhappy by disabling java AIs. Any chance for a stable maintenance release very soon? |
abma (administrator) 2011-07-26 17:21 Last edited: 2011-07-26 17:21 |
sorry! i didn't know you where a package maintainer. we are still trying to catch a sync-error... so there is no real releasedate :-/ https://github.com/spring/spring/commit/ef615de94828e693115838110c7fae8b0ab464ad https://github.com/spring/spring/commit/b814e397fb15c7991faa9230473625d85188221e should fix the awk-problems. but afaik you'll still get some gcc compile errors. these should be fixed by https://github.com/spring/spring/tree/0.82.7.1-gcc-4.6 i'm unsure if its worth to try to backport these commits: newer linux distributions with gcc-4.6 are known to produce sync errors... (but it looked like it isn't gcc, imo its a different system-lib like boost or so...) |
Svenstaro (reporter) 2011-07-26 17:45 |
Well that kind of worked. I ended up writing my own patch because those commits are much more recent than my current build. I think this can be closed now. The proper solution would be to make a stable release soon, though. Hopefully you guys can find out what causes the sync errors. |
abma (administrator) 2011-07-26 17:56 |
yes, true! thx for reporting! |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2011-07-26 05:44 | Svenstaro | New Issue | |
2011-07-26 05:44 | Svenstaro | Graphics Card | => unknown |
2011-07-26 16:42 | abma | Note Added: 0007073 | |
2011-07-26 16:42 | abma | Status | new => feedback |
2011-07-26 17:13 | Svenstaro | Note Added: 0007074 | |
2011-07-26 17:13 | Svenstaro | Note Edited: 0007074 | |
2011-07-26 17:21 | abma | Note Added: 0007075 | |
2011-07-26 17:21 | abma | Status | feedback => new |
2011-07-26 17:21 | abma | Note Edited: 0007075 | |
2011-07-26 17:45 | Svenstaro | Note Added: 0007076 | |
2011-07-26 17:56 | abma | Note Added: 0007077 | |
2011-07-26 17:56 | abma | Status | new => resolved |
2011-07-26 17:56 | abma | Resolution | open => no change required |
2011-07-26 17:56 | abma | Assigned To | => abma |