2025-07-28 05:54 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0003798Spring engineGeneralpublic2013-05-25 19:04
Reporterabma 
Assigned Toabma 
PrioritynormalSeverityblockReproducibilityalways
StatusresolvedResolutionfixed 
Product Version94.1.1+git 
Target Version95.0Fixed in Version 
Summary0003798: current spring develop doesn't compile on mac
Descriptionhttps://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
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0010724

jK (developer)

what xcode version does the buildbot use?

~0010726

abma (administrator)

Last edited: 2013-05-21 20:00

View 2 revisions

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.

~0010736

abma (administrator)

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)."

~0010737

daftalx (reporter)

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.

~0010738

jK (developer)

Last edited: 2013-05-22 00:16

View 2 revisions

oh when I read 4.2.1 I thought xcode 4.2, never thought someone runs such an old gcc >_<

~0010740

daftalx (reporter)

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)

~0010755

daftalx (reporter)

We're now at gcc 4.7.2. Problem solved.

~0010756

jK (developer)

big thx :D

~0010757

abma (administrator)

@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

~0010762

daftalx (reporter)

script updated => pull requested...

~0010764

abma (administrator)

thanks!

i'm optimistic, that it'll work...
+Notes

-Issue History
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
+Issue History