(See summary) Compiled at MAKEOPTS=-j1 Output: [...] CC cairo-xlib-screen.o CC cairo-xlib-surface.o cairo-xlib-surface.c: In function '_cairo_xlib_surface_create_internal': cairo-xlib-surface.c:2896: warning: cannot optimize loop, the loop counter may overflow cairo-xlib-surface.c: In function 'cairo_xlib_surface_create': cairo-xlib-surface.c:3038: warning: cannot optimize loop, the loop counter may overflow CC cairo-xlib-visual.o CC cairo-xcb-surface.o cairo-xcb-surface.c: In function '_get_image_surface': cairo-xcb-surface.c:473: warning: large integer implicitly truncated to unsigned type cairo-xcb-surface.c:532: warning: large integer implicitly truncated to unsigned type cairo-xcb-surface.c: In function '_render_operator': cairo-xcb-surface.c:1242: warning: enumeration value 'CAIRO_OPERATOR_MULTIPLY' not handled in switch cairo-xcb-surface.c:1242: warning: enumeration value 'CAIRO_OPERATOR_SCREEN' not handled in switch cairo-xcb-surface.c:1242: warning: enumeration value 'CAIRO_OPERATOR_OVERLAY' not handled in switch cairo-xcb-surface.c:1242: warning: enumeration value 'CAIRO_OPERATOR_DARKEN' not handled in switch cairo-xcb-surface.c:1242: warning: enumeration value 'CAIRO_OPERATOR_LIGHTEN' not handled in switch cairo-xcb-surface.c:1242: warning: enumeration value 'CAIRO_OPERATOR_COLOR_DODGE' not handled in switch cairo-xcb-surface.c:1242: warning: enumeration value 'CAIRO_OPERATOR_COLOR_BURN' not handled in switch cairo-xcb-surface.c:1242: warning: enumeration value 'CAIRO_OPERATOR_HARD_LIGHT' not handled in switch cairo-xcb-surface.c:1242: warning: enumeration value 'CAIRO_OPERATOR_SOFT_LIGHT' not handled in switch cairo-xcb-surface.c:1242: warning: enumeration value 'CAIRO_OPERATOR_DIFFERENCE' not handled in switch cairo-xcb-surface.c:1242: warning: enumeration value 'CAIRO_OPERATOR_EXCLUSION' not handled in switch cairo-xcb-surface.c:1242: warning: enumeration value 'CAIRO_OPERATOR_HSL_HUE' not handled in switch cairo-xcb-surface.c:1242: warning: enumeration value 'CAIRO_OPERATOR_HSL_SATURATION' not handled in switch cairo-xcb-surface.c:1242: warning: enumeration value 'CAIRO_OPERATOR_HSL_COLOR' not handled in switch cairo-xcb-surface.c:1242: warning: enumeration value 'CAIRO_OPERATOR_HSL_LUMINOSITY' not handled in switch cairo-xcb-surface.c: In function '_cairo_xcb_surface_composite': cairo-xcb-surface.c:1318: warning: passing argument 11 of '_cairo_pattern_acquire_surfaces' makes pointer from integer without a cast cairo-xcb-surface.c:1318: warning: passing argument 13 of '_cairo_pattern_acquire_surfaces' from incompatible pointer type cairo-xcb-surface.c:1318: error: too many arguments to function '_cairo_pattern_acquire_surfaces' cairo-xcb-surface.c: In function '_cairo_xcb_surface_composite_trapezoids': cairo-xcb-surface.c:1680: warning: passing argument 8 of '_cairo_pattern_acquire_surface' makes pointer from integer without a cast cairo-xcb-surface.c:1680: warning: passing argument 9 of '_cairo_pattern_acquire_surface' from incompatible pointer type cairo-xcb-surface.c:1680: error: too many arguments to function '_cairo_pattern_acquire_surface' cairo-xcb-surface.c: At top level: cairo-xcb-surface.c:1926: warning: initialization from incompatible pointer type cairo-xcb-surface.c: In function '_cairo_xcb_surface_show_glyphs': cairo-xcb-surface.c:2773: warning: passing argument 9 of '_cairo_pattern_acquire_surface' from incompatible pointer type cairo-xcb-surface.c:2773: error: too many arguments to function '_cairo_pattern_acquire_surface' cairo-xcb-surface.c:2791: warning: passing argument 8 of '_cairo_pattern_acquire_surface' makes pointer from integer without a cast cairo-xcb-surface.c:2791: warning: passing argument 9 of '_cairo_pattern_acquire_surface' from incompatible pointer type cairo-xcb-surface.c:2791: error: too many arguments to function '_cairo_pattern_acquire_surface' make[3]: *** [cairo-xcb-surface.lo] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
Created attachment 209442 [details] emerge --info
It compiles fine with USE=-xcb, however I need this flag to compile x11-wm/awesome.
Please try to reproduce the bug with a hand-made clone of the repo in your $HOME directory or somewhere else. If you can reproduce the bug, please contact upstream directly. If not, please reopen this bug and provide a full build.log. Thanks
My local copy compiles fine. I'll attach the buildlogs...
Created attachment 209840 [details] cairo-9999 (1.9.5 at this time)
Created attachment 209842 [details] cairo-git (1.9.5 at this time)
When building manually, could you try making sure the output of configure is the same? (ie, all the enabled options are the same) I'm pretty sure the ebuild and a default run of ./configure don't enable the same code. Thanks