Skip Menu |

This queue is for tickets about the Prima-Cairo CPAN distribution.

Report information
The Basics
Id: 119760
Status: resolved
Priority: 0/
Queue: Prima-Cairo

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.05
Fixed in: (no value)



Subject: Compilation error (with Prima 1.50?)
My smoker systems started to report compilation failures: ... cc -c -I/tmpfs/.cpan-build-cpansand/2017010809/Prima-1.50-0/include -I/tmpfs/.cpan-build-cpansand/2017010809/Prima-1.50-0/include/generic -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/x86_64-linux-gnu -Iinclude -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -DVERSION=\"1.05\" -DXS_VERSION=\"1.05\" -fPIC "-I/opt/perl-5.25.8t/lib/5.25.8/x86_64-linux-thread-multi/CORE" -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 Cairo.c Cairo.xs: In function 'apc_cairo_surface_create': Cairo.xs:64:116: error: 'UnixGuts' has no member named 'argb_pic_format' result = cairo_xlib_surface_create_with_xrender_format(DISP, sys->gdrawable, ScreenOfDisplay(DISP,SCREEN), pguts->argb_pic_format, p.x, p.y); ^ Cairo.xs:74:116: error: 'UnixGuts' has no member named 'argb_pic_format' result = cairo_xlib_surface_create_with_xrender_format(DISP, sys->gdrawable, ScreenOfDisplay(DISP,SCREEN), pguts->argb_pic_format, var->w, var->h); ^ Makefile:342: recipe for target 'Cairo.o' failed make: *** [Cairo.o] Error 1 ... Statistical analysis suggests that the problem is caused by Prima 1.50 (negative theta is "bad"): **************************************************************** Regression 'mod:Prima' **************************************************************** Name Theta StdErr T-stat [0='const'] 1.0000 0.0000 25813630692765220.00 [1='eq_1.49'] 0.0000 0.0000 0.00 [2='eq_1.50'] -1.0000 0.0000 -24612331158153424.00 R^2= 1.000, N= 33, K= 3 ****************************************************************
Thank you, that's my bad - I've fixed the bug long time ago, but forgot to roll out v1.06. Just did that, hopefully it will compile ok.