Bug 66716 - Include mismatch between 64bit & 32bit wayland-client-protocol.h
Summary: Include mismatch between 64bit & 32bit wayland-client-protocol.h
Status: RESOLVED NOTABUG
Alias: None
Product: Wayland
Classification: Unclassified
Component: wayland (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-08 22:56 UTC by Mike Lothian
Modified: 2013-07-08 23:26 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Build log (66.43 KB, text/plain)
2013-07-08 23:26 UTC, Mike Lothian
Details

Description Mike Lothian 2013-07-08 22:56:34 UTC
It seems that wayland-client-protocol.h is generated slightly different between 64 & 32bit builds:

--- wayland-9999-amd64/src/wayland-client-protocol.h    2013-07-09 00:49:42.302960448 +0100
+++ wayland-9999-x86/src/wayland-client-protocol.h      2013-07-09 00:49:38.050960576 +0100
@@ -124,7 +124,7 @@
         */
        void (*error)(void *data,
                      struct wl_display *wl_display,
-                     void *object_id,
+                     struct wl_object *object_id,
                      uint32_t code,
                      const char *message);
        /**

Any idea what's changed since 1.1.0 to cause this?
Comment 1 Kristian Høgsberg 2013-07-08 23:09:51 UTC
That's a change in wayland master, but not a difference between 32 and 64 bit.  I suspect you're comparing an older install of one set of headers on 32 bit to a newer set on 64 bit, or the other way around. This changed in wayland commit d94a8722cb29d8b897672be66ff3c9ff79eab6fe.
Comment 2 Mike Lothian 2013-07-08 23:16:52 UTC
Strange when I forced the install it worked great second time around - what's actually generating / pulling in this include. I notice it's not in the repository 

I'm using portage and it should be the same in both as both are being compiled together
Comment 3 Mike Lothian 2013-07-08 23:26:00 UTC
Created attachment 82203 [details]
Build log

Could it be because I'm not building the 32bit wayland-scanner and relying instead on the 64bit version?


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.