Public bug reported:

Currently on ARM clutter is completely broken because it can find a
valid input backend when starting itself.

As a consequence, everyone that depends on clutter at runtime, will fail
as well. One example of that is clutter-gst, that breaks the build while
running the object introspection (basically because of
clutter_gst_init).

To reproduce the issue all you need to do is to run clutter_init, like the 
small example bellow:
===
#include <clutter/clutter.h>
#include <stdlib.h>

int main(int argc, char *argv[])
{
  ClutterColor stage_color = { 0x00, 0x00, 0x00, 0xff }; /* Black */

  clutter_init (&argc, &argv);

  /* Get the stage and set its size and color: */
  ClutterActor *stage = clutter_stage_get_default ();
  clutter_actor_set_size (stage, 200, 200);
  clutter_stage_set_color (CLUTTER_STAGE (stage), &stage_color);

  /* Show the stage: */
  clutter_actor_show (stage);

  /* Start the main loop, so we can respond to events: */
  clutter_main ();

  return  EXIT_SUCCESS;
}
===

If I compile this example and run on my X86 machine, it'll work just fine and a 
black box will appear at the screen. When running the same example at ARM 
(ARMHF image on Pandaboard) I get the following:
./main 
libEGL warning: DRI2: failed to authenticate

(main:8445): Clutter-ERROR **: Unknown input backend
Trace/breakpoint trap (core dumped)

** Affects: clutter-1.0 (Ubuntu)
     Importance: High
         Status: Confirmed

** Summary changed:

- Clutter is unable to find a valid input backend and abort the executing on ARM
+ Clutter is unable to find a valid input backend and abort the execution on ARM

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/960893

Title:
  Clutter is unable to find a valid input backend and abort the
  execution on ARM

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/clutter-1.0/+bug/960893/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to