After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 672536 - 1.9.16 fails to build on OSX
1.9.16 fails to build on OSX
Status: RESOLVED FIXED
Product: clutter
Classification: Platform
Component: general
1.9.x
Other Mac OS
: Normal critical
: ---
Assigned To: clutter-maint
clutter-maint
Depends on:
Blocks:
 
 
Reported: 2012-03-21 10:46 UTC by Roland Peffer
Modified: 2012-05-29 10:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
osx: Fix compilation warnings (2.75 KB, patch)
2012-03-21 14:02 UTC, Emmanuele Bassi (:ebassi)
none Details | Review
osx: Fix remaining compilation issues (3.01 KB, patch)
2012-03-22 16:31 UTC, Emmanuele Bassi (:ebassi)
none Details | Review

Description Roland Peffer 2012-03-21 10:46:27 UTC
See make output:

make
make  all-recursive
Making all in clutter
make  all-am
  CC     clutter-backend-osx.lo
  CC     clutter-stage-osx.lo
./osx/clutter-stage-osx.c: In function 'clutter_stage_osx_show':
./osx/clutter-stage-osx.c:399: warning: 'NSWindow' may not respond to '-mouse:inRect:'
./osx/clutter-stage-osx.c:399: warning: (Messages without a matching method signature
./osx/clutter-stage-osx.c:399: warning: will be assumed to return 'id' and accept
./osx/clutter-stage-osx.c:399: warning: '...' as arguments.)
./osx/clutter-stage-osx.c:410: warning: 'NSOpenGLView' may not respond to '-trackingRect'
./osx/clutter-stage-osx.c:411: warning: passing argument 8 of 'enterExitEventWithType:location:modifierFlags:timestamp:windowNumber:context:eventNumber:trackingNumber:userData:' makes integer from pointer without a cast
  CC     clutter-event-loop-osx.lo
  CC     clutter-event-osx.lo
  CC     clutter-device-manager-osx.lo
  CC     clutter-action.lo
  CC     clutter-actor-box.lo
  CC     clutter-actor-meta.lo
  CC     clutter-actor.lo
./clutter-actor.c: In function 'clutter_actor_paint':
./clutter-actor.c:3297: error: 'actor_paint_counter' undeclared (first use in this function)
./clutter-actor.c:3297: error: (Each undeclared identifier is reported only once
./clutter-actor.c:3297: error: for each function it appears in.)
./clutter-actor.c:3301: error: 'actor_pick_counter' undeclared (first use in this function)
make[3]: *** [clutter-actor.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Comment 1 Emmanuele Bassi (:ebassi) 2012-03-21 13:46:57 UTC
it's not a blocker, though it's a critical issue.
Comment 2 Emmanuele Bassi (:ebassi) 2012-03-21 14:02:11 UTC
Created attachment 210237 [details] [review]
osx: Fix compilation warnings

Testing appreciated.
Comment 3 Roland Peffer 2012-03-22 14:07:10 UTC
Review of attachment 210237 [details] [review]:

The patch does not solve the compilation problems.
Further I guess clutter_actor.c needs a patch as well.

make output:

make  all-recursive
Making all in clutter
  GEN    stamp-marshal
  GEN    clutter-marshal.c
  GEN    stamp-enum-types
  GEN    clutter-enum-types.c
make  all-am
  CC     clutter-backend-osx.lo
  CC     clutter-stage-osx.lo
./osx/clutter-stage-osx.c: In function '-[ClutterGLView dealloc]':
./osx/clutter-stage-osx.c:178: error: 'trackingRect' undeclared (first use in this function)
./osx/clutter-stage-osx.c:178: error: (Each undeclared identifier is reported only once
./osx/clutter-stage-osx.c:178: error: for each function it appears in.)
./osx/clutter-stage-osx.c: In function '-[ClutterGLView clutterStage]':
./osx/clutter-stage-osx.c:194: warning: return from incompatible pointer type
./osx/clutter-stage-osx.c: In function 'clutter_stage_osx_show':
./osx/clutter-stage-osx.c:444: warning: 'NSOpenGLView' may not respond to '-trackingRect'
./osx/clutter-stage-osx.c:444: warning: (Messages without a matching method signature
./osx/clutter-stage-osx.c:444: warning: will be assumed to return 'id' and accept
./osx/clutter-stage-osx.c:444: warning: '...' as arguments.)
./osx/clutter-stage-osx.c:445: warning: passing argument 8 of 'enterExitEventWithType:location:modifierFlags:timestamp:windowNumber:context:eventNumber:trackingNumber:userData:' makes integer from pointer without a cast
make[3]: *** [clutter-stage-osx.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Comment 4 Emmanuele Bassi (:ebassi) 2012-03-22 16:31:40 UTC
Created attachment 210354 [details] [review]
osx: Fix remaining compilation issues
Comment 5 Emmanuele Bassi (:ebassi) 2012-03-22 16:34:53 UTC
the issue in clutter-actor.c was already fixed in master prior to attaching this patch
Comment 6 Emmanuele Bassi (:ebassi) 2012-05-29 10:14:12 UTC
compiling is fixed, but there are some run-time issues because of the lack of CoglContext. this is being tracked on the mailing list:

http://lists.clutter-project.org/pipermail/clutter-devel-list/2012-May/000374.html