After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 601966 - Problem compiling gtk+ 2.18.3
Problem compiling gtk+ 2.18.3
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Printing
2.18.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2009-11-15 13:47 UTC by Pierre
Modified: 2010-03-29 16:42 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Pierre 2009-11-15 13:47:04 UTC
[...]
Making all in papi
make[4]: Entering directory `/tmp/gtk+-2.18.3/modules/printbackends/papi'
/bin/sh ../../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -I../../../gtk -I../../../gtk -I../../../gdk -I../../../gdk -DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pango-1.0 -I/usr/local/include/cairo -I/usr/local/include/atk-1.0 -I/usr/local/include/freetype2 -I/usr/local/include      -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS  -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -I/usr/local/include    -DGDK_PIXBUF_DISABLE_DEPRECATED -s -O3 -march=i686 -Wall -MT gtkprintbackendpapi.lo -MD -MP -MF .deps/gtkprintbackendpapi.Tpo -c -o gtkprintbackendpapi.lo gtkprintbackendpapi.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -I../../../gtk -I../../../gtk -I../../../gdk -I../../../gdk -DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pango-1.0 -I/usr/local/include/cairo -I/usr/local/include/atk-1.0 -I/usr/local/include/freetype2 -I/usr/local/include -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -I/usr/local/include -DGDK_PIXBUF_DISABLE_DEPRECATED -s -O3 -march=i686 -Wall -MT gtkprintbackendpapi.lo -MD -MP -MF .deps/gtkprintbackendpapi.Tpo -c gtkprintbackendpapi.c  -fPIC -DPIC -o .libs/gtkprintbackendpapi.o
gtkprintbackendpapi.c: In function 'gtk_print_backend_papi_print_stream':
gtkprintbackendpapi.c:355: error: incompatible types when initializing type 'papi_status_t' using type 'void *'
gtkprintbackendpapi.c:351: warning: unused variable 'argv'
gtkprintbackendpapi.c:350: warning: unused variable 'in_fd'
gtkprintbackendpapi.c:349: warning: unused variable 'argc'
gtkprintbackendpapi.c:345: warning: unused variable 'print_error'
gtkprintbackendpapi.c: In function 'papi_get_printer_list':
gtkprintbackendpapi.c:582: warning: unused variable 'attrs'
gtkprintbackendpapi.c:581: warning: unused variable 'url'
gtkprintbackendpapi.c:581: warning: unused variable 'name'
gtkprintbackendpapi.c:560: warning: unused variable 'current_printer_list'
gtkprintbackendpapi.c:558: warning: unused variable 'printer'
gtkprintbackendpapi.c:555: warning: unused variable 'status2'
gtkprintbackendpapi.c:549: warning: unused variable 'attributes'
gtkprintbackendpapi.c: In function 'update_printer_status':
gtkprintbackendpapi.c:647: warning: unused variable 'status_changed'
gtkprintbackendpapi.c: In function 'papi_printer_get_options':
gtkprintbackendpapi.c:667: warning: unused variable 'i'
gtkprintbackendpapi.c: In function 'papi_printer_prepare_for_print':
gtkprintbackendpapi.c:746: warning: assignment discards qualifiers from pointer target type
gtkprintbackendpapi.c: In function 'merge_ppd_data':
gtkprintbackendpapi.c:772: warning: implicit declaration of function 'get_ppd_attrs'
gtkprintbackendpapi.c: In function 'papi_display_printer_status':
gtkprintbackendpapi.c:800: warning: unused variable 'count'
gtkprintbackendpapi.c:795: warning: unused variable 'ppdfile'
gtkprintbackendpapi.c:795: warning: unused variable 'printer_uri'
make[4]: *** [gtkprintbackendpapi.lo] Error 1
make[4]: Leaving directory `/tmp/gtk+-2.18.3/modules/printbackends/papi'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/gtk+-2.18.3/modules/printbackends'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/gtk+-2.18.3/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/gtk+-2.18.3'
make: *** [all] Error 2
Comment 1 Javier Jardón (IRC: jjardon) 2009-11-15 14:04:44 UTC
Hello Pierre,

Can you tell us what options do you use to compile gtk+?
Thank you
Comment 2 Pierre 2010-01-19 02:23:31 UTC
I finally succeed to compile gtk+, it seems that the enable cups backend option was broken
Comment 3 Javier Jardón (IRC: jjardon) 2010-01-19 02:37:48 UTC
Great, open a new bug if you have problems again

Regards
Comment 4 Pierre 2010-03-29 16:42:41 UTC
I had the same problem with gtk+ 2.20.0

It seems that it is the papi backend which is broken