View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0003798 | Spring engine | General | public | 2013-05-21 00:39 | 2013-05-25 19:04 | ||||
Reporter | abma | ||||||||
Assigned To | abma | ||||||||
Priority | normal | Severity | block | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 94.1.1+git | ||||||||
Target Version | 95.0 | Fixed in Version | |||||||
Summary | 0003798: current spring develop doesn't compile on mac | ||||||||
Description | https://github.com/spring/spring/commit/0240393dcaa543e29ddf80ddd350db4950b0aff9 -> http://buildbot.springrts.com/builders/quick-macosx/builds/2182/steps/buildConfig/logs/stdio | ||||||||
Additional Information | /buildbot/springrts/quick-macosx/build/rts/Game/Game.cpp:247: error: ISO C++ forbids declaration of 'function' with no type /buildbot/springrts/quick-macosx/build/rts/Game/Game.cpp:247: error: invalid use of '::' /buildbot/springrts/quick-macosx/build/rts/Game/Game.cpp:247: error: expected ';' before '<' token /buildbot/springrts/quick-macosx/build/rts/Game/Game.cpp: In static member function 'static void JobDispatcher::Update()': /buildbot/springrts/quick-macosx/build/rts/Game/Game.cpp:265: error: 'struct JobDispatcher::Job' has no member named 'f' /buildbot/springrts/quick-macosx/build/rts/Game/Game.cpp: In constructor 'doOnce292::doOnce292()': /buildbot/springrts/quick-macosx/build/rts/Game/Game.cpp:282: error: 'struct JobDispatcher::Job' has no member named 'f' /buildbot/springrts/quick-macosx/build/rts/Game/Game.cpp:282: error: expected primary-expression before '[' token /buildbot/springrts/quick-macosx/build/rts/Game/Game.cpp:282: error: expected primary-expression before ']' token /buildbot/springrts/quick-macosx/build/rts/Game/Game.cpp:282: error: expected unqualified-id before 'bool' /buildbot/springrts/quick-macosx/build/rts/Game/Game.cpp:282: error: expected `;' before 'bool' /buildbot/springrts/quick-macosx/build/rts/Game/Game.cpp: In constructor 'doOnce302::doOnce302()': /buildbot/springrts/quick-macosx/build/rts/Game/Game.cpp:294: error: 'struct JobDispatcher::Job' has no member named 'f' /buildbot/springrts/quick-macosx/build/rts/Game/Game.cpp:294: error: expected primary-expression before '[' token /buildbot/springrts/quick-macosx/build/rts/Game/Game.cpp:294: error: expected primary-expression before ']' token /buildbot/springrts/quick-macosx/build/rts/Game/Game.cpp:294: error: expected unqualified-id before 'bool' /buildbot/springrts/quick-macosx/build/rts/Game/Game.cpp:294: error: expected `;' before 'bool' make[2]: *** [rts/builds/multithreaded/CMakeFiles/engine-multithreaded.dir/__/__/Game/Game.cpp.o] Error 1 | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
jK (developer) 2013-05-21 19:01 |
what xcode version does the buildbot use? |
abma (administrator) 2013-05-21 19:58 Last edited: 2013-05-21 20:00 |
i have no clue. afaik the buildbot uses mac "ports": http://www.macports.org/ daftalx has to answer (pmed him). maybe easiest & fastest is to print the version of gcc with cmake. |
abma (administrator) 2013-05-22 00:03 |
daftalx responded regarding x-code: "I'm at 4.2.1 (the server runs good old snow leopard, bit more stable and less CPU-thrusting than later versions)." |
daftalx (reporter) 2013-05-22 00:12 |
Not (just) related to XCode, but the entire OS (10.6) ships with (and is stuck at) gcc 4.2.1, which doesn't support c++11 stuff. I'll install a "recent" version of gcc and report back. |
jK (developer) 2013-05-22 00:16 Last edited: 2013-05-22 00:16 |
oh when I read 4.2.1 I thought xcode 4.2, never thought someone runs such an old gcc >_< |
daftalx (reporter) 2013-05-22 00:35 |
All boxes still under Mac OS 10.6 do... and I haven't had the need (yet) for a later version (I have bigger workstations for that) |
daftalx (reporter) 2013-05-24 08:21 |
We're now at gcc 4.7.2. Problem solved. |
jK (developer) 2013-05-24 13:17 |
big thx :D |
abma (administrator) 2013-05-24 13:24 |
@daftalx: creating the app package fails: http://buildbot.springrts.com/builders/full-macosx/builds/1347/steps/create%20Mac%20.app%20bundle/logs/stdio chmod: lib/gcc47/libgomp.1.dylib: No such file or directory not sure why this fails, is this file a symbolic link pointing to a file which doesn't exist? https://github.com/spring/spring/blob/develop/buildbot/slave/osx/create_Mac_bundle.sh#L74 |
daftalx (reporter) 2013-05-25 17:05 |
script updated => pull requested... |
abma (administrator) 2013-05-25 19:04 |
thanks! i'm optimistic, that it'll work... |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2013-05-21 00:39 | abma | New Issue | |
2013-05-21 19:01 | jK | Note Added: 0010724 | |
2013-05-21 19:58 | abma | Note Added: 0010726 | |
2013-05-21 20:00 | abma | Note Edited: 0010726 | View Revisions |
2013-05-22 00:03 | abma | Note Added: 0010736 | |
2013-05-22 00:12 | daftalx | Note Added: 0010737 | |
2013-05-22 00:16 | jK | Note Added: 0010738 | |
2013-05-22 00:16 | jK | Note Edited: 0010738 | View Revisions |
2013-05-22 00:35 | daftalx | Note Added: 0010740 | |
2013-05-24 08:21 | daftalx | Note Added: 0010755 | |
2013-05-24 13:17 | jK | Note Added: 0010756 | |
2013-05-24 13:24 | abma | Note Added: 0010757 | |
2013-05-25 17:05 | daftalx | Note Added: 0010762 | |
2013-05-25 19:04 | abma | Note Added: 0010764 | |
2013-05-25 19:04 | abma | Status | new => resolved |
2013-05-25 19:04 | abma | Resolution | open => fixed |
2013-05-25 19:04 | abma | Assigned To | => abma |