Bug 50330 - [Regression]Weston can't be build successfully
Summary: [Regression]Weston can't be build successfully
Status: VERIFIED FIXED
Alias: None
Product: Wayland
Classification: Unclassified
Component: weston (show other bugs)
Version: unspecified
Hardware: Other All
: high normal
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-24 20:21 UTC by ZhaoShengyan
Modified: 2012-05-28 22:21 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description ZhaoShengyan 2012-05-24 20:21:38 UTC
System Environment:
--------------------------
Arch:       i386
Libdrm:     (master) 2.4.34-2-g481234f2909c0506962a2f42da862da6a9b13fd8
Wayland:    (master)086b4e2c1a129b55986a67ec0d8be35b29707a95
Mesa:       (master)0f6a3a7de3b56a383061635016cdb10f0229bf02
Xserver:   
(master)xorg-server-1.12.0-189-g9bc53d8cb04af2be3feeebb1b10774c2d599a76b
Xf86_video_intel: (master)2.19.0-79-gfb9da4cb9e12ca733c31879b8b37906f361a8c35
Cairo:      (master)dbc0efad7e565558a3abf7f69d7675efddc4688d
Cairo_gl:   (master)aed94a5bc650f579368b4b814a8729570c32147e
Xkbcommon:  (master)8ca8f05aab86423c2495cd917489becfecca4632
Weston:     (master)5fb70bf301ec2ff6a05cff1d880cb9640f599929
Kernel_unstable:(drm-intel-next-queued)c8d4bb54c11c66610aaf8829acff6aa0506c7c29
Bug detailed description:
-----------------------------
Weston can't be build successfully, error logs are as follows:

make[5]: Entering directory `/GFX/build/component/Weston/weston/src/xwayland'
  CC     xserver_launcher_la-window-manager.lo
In file included from xwayland.h:26:0,
                 from window-manager.c:35:
/opt/X11R7/include/cairo/cairo-xcb.h:107:3: error: #error Cairo was not compiled with support for the xcb backend
window-manager.c: In function 'weston_wm_handle_map_request':
window-manager.c:529:3: warning: implicit declaration of function 'cairo_xcb_surface_create_with_xrender_format' [-Wimplicit-function-declaration]
window-manager.c:528:24: warning: assignment makes pointer from integer without a cast [enabled by default]
window-manager.c: In function 'weston_wm_window_draw_decoration':
window-manager.c:570:2: warning: implicit declaration of function 'cairo_xcb_surface_set_size' [-Wimplicit-function-declaration]
make[5]: *** [xserver_launcher_la-window-manager.lo] Error 1
make[5]: Leaving directory `/GFX/build/component/Weston/weston/src/xwayland'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/GFX/build/component/Weston/weston/src/xwayland'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/GFX/build/component/Weston/weston/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/GFX/build/component/Weston/weston/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/GFX/build/component/Weston/weston'
make: *** [all] Error 2

Reproduce steps:
----------------------------
1. build weston
Comment 1 Darxus 2012-05-24 20:58:50 UTC
I'm not seeing that problem, that weston commit built successfully for me:

465319ce828f922edce46b6e7628da543b20d5e4 cairo/
652fe8d9dd2393127b11741ba63cb95a83ad454f dri2proto/
481234f2909c0506962a2f42da862da6a9b13fd8 drm/
29d5b553b30755a25300c30b67d39b37c9a76466 glproto/
e752e92dbdcf01b1cd46a3853f582ff765d19e90 inputproto/
391a1f6de6315fc0196d407d800597488315cccb kbproto/
9f2d95e61896f41adb8087fb805eb37899cce55f libpciaccess/
0bbc0d5e605e2a4a3eb00a229b651d4546e8aef4 libX11/
8ca8f05aab86423c2495cd917489becfecca4632 libxkbcommon/
0890e4003aacfa7113ab3f4e3ad7c5636f8e922a macros/
35f302d97e5b6f5fc4964e70f7adae706c5b7162 mesa/
30816e3068bccf7c78c78f916b54971d24873bdc pixman/
f10d1a91ea2e98a3c402b8bc2cb5d9b52c667db4 wayland/
5fb70bf301ec2ff6a05cff1d880cb9640f599929 weston/
a6651a8d812d224a9e74205bdefb7081f743af11 xproto/

Your output said:  

/opt/X11R7/include/cairo/cairo-xcb.h:107:3: error: #error Cairo was not
compiled with support for the xcb backend

Did you miss the --enable-xcb build flag on cairo, or are you missing the environment variables to point to the right build of cairo?

In the same section of the build output I get:

make[5]: Entering directory `/home/darxus/source.test.master/weston/src/xwayland'
  CC     xserver_launcher_la-window-manager.lo
  CC     xserver_launcher_la-selection.lo
  CC     xserver_launcher_la-launcher.lo
  CC     xserver_launcher_la-xserver-protocol.lo

And I re-verified that output was from the same commit:
5fb70bf301ec2ff6a05cff1d880cb9640f599929 weston
Comment 2 ZhaoShengyan 2012-05-28 22:20:49 UTC
This issue has been settled at:
Arch:       i386
Libdrm:     (master) 2.4.34-2-g481234f2909c0506962a2f42da862da6a9b13fd8
Wayland:    (master)d422a733b4c20a65748c8d9e811f672a2d744218
Mesa:       (master)6404095fbab74a6194081374bd56786d07c5d561
Xserver:   
(master)xorg-server-1.12.0-193-g594b4a4f0601066d09e49a84c5af8c2eb6f07240
Xf86_video_intel: (master)2.19.0-91-g7fdd8bd6d2ba7bf113d4109e6bb6f750f909565f
Cairo:      (master)f3ae8302072dbcee38be4e0a9397e5aaa4084ecf
Xkbcommon:  (master)8ca8f05aab86423c2495cd917489becfecca4632
Weston:     (master)92a57db6f2fb54d70e5da00aaabc6af752ee07a2
Kernel_unstable:(drm-intel-next-queued)eeafaaca763408c099d2ade3a69e0716f296a97b

and xcb should be >=1.6

Marked as RESOLVED and FIXED.
Comment 3 ZhaoShengyan 2012-05-28 22:21:47 UTC
Marked as VERIFIED and FIXED


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.