Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 292145 - [x11 overlay] x11-libs/cairo-9999 fails to compile -- too many arguments to function '_cairo_pattern_acquire_surfaces'
Summary: [x11 overlay] x11-libs/cairo-9999 fails to compile -- too many arguments to f...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-06 16:33 UTC by Eduard Bachmakov
Modified: 2009-11-13 18:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (bla,3.76 KB, text/plain)
2009-11-06 16:35 UTC, Eduard Bachmakov
Details
cairo-9999 (1.9.5 at this time) (build.log,28.62 KB, text/plain)
2009-11-10 17:17 UTC, Eduard Bachmakov
Details
cairo-git (1.9.5 at this time) (upstream.log,2.78 KB, text/plain)
2009-11-10 17:19 UTC, Eduard Bachmakov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eduard Bachmakov 2009-11-06 16:33:30 UTC
(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
Comment 1 Eduard Bachmakov 2009-11-06 16:35:30 UTC
Created attachment 209442 [details]
emerge --info
Comment 2 Eduard Bachmakov 2009-11-06 22:01:04 UTC
It compiles fine with USE=-xcb, however I need this flag to compile x11-wm/awesome.
Comment 3 Rémi Cardona (RETIRED) gentoo-dev 2009-11-09 08:17:20 UTC
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
Comment 4 Eduard Bachmakov 2009-11-10 17:09:10 UTC
My local copy compiles fine. I'll attach the buildlogs...
Comment 5 Eduard Bachmakov 2009-11-10 17:17:59 UTC
Created attachment 209840 [details]
cairo-9999 (1.9.5 at this time)
Comment 6 Eduard Bachmakov 2009-11-10 17:19:29 UTC
Created attachment 209842 [details]
cairo-git (1.9.5 at this time)
Comment 7 Rémi Cardona (RETIRED) gentoo-dev 2009-11-13 18:38:59 UTC
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