Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 257618 - >x11-libs/gtk+-2.14 builds fail due to deprecated code
Summary: >x11-libs/gtk+-2.14 builds fail due to deprecated code
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All IRIX
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-04 14:56 UTC by Stuart Shelton
Modified: 2011-12-15 18:07 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stuart Shelton 2009-02-04 14:56:04 UTC
x11-libs/gtk+-2.14.7-r1 fails with:

creating testfilechooser
source='testfilechooserbutton.c' object='testfilechooserbutton.o' libtool=no \
        depfile='.deps/testfilechooserbutton.Po' tmpdepfile='.deps/testfilechooserbutton.TPo' \
        depmode=sgi /opt/portage/bin/bash ../depcomp \
        c99 -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../gdk -I../gdk -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/portage/usr/include/glib-2.0 -I/opt/portage/usr/lib/glib-2.0/include -I/opt/portage/usr/include/pango-1.0 -I/opt/portage/usr/include/cairo -I/opt/portage/usr/include/pixman-1 -I/opt/portage/usr/include/freetype2 -I/opt/portage/usr/include -I/opt/portage/usr/include/libpng12 -I/opt/portage/usr/include/atk-1.0       -I/opt/portage/usr/include -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -I/opt/portage/usr/include    -DGDK_PIXBUF_DISABLE_DEPRECATED -c99 -O2 -n32 -mips4 -r14000 -float_const -use_readonly_const -TARG:isa=mips4:platform=ip35:processor=r14000 -TENV:zeroinit_in_bss=ON -OPT:fast_io=ON:Olimit=8192:reorg_common=ON:swp=ON -LNO:auto_dist=ON:fusion_peeling_limit=8:gather_scatter=2 -diag_error 1035 -woff 1174,1183,1185,1552,3968,3970 -c `test -f 'testfilechooserbutton.c' || echo './'`testfilechooserbutton.c
cc-1196 c99: WARNING File = testfilechooserbutton.c, Line = 318
  The indicated function is declared implicitly.

    chooser = gtk_file_chooser_button_new_with_backend ("Select A File - testfilechooserbutton",
              ^

cc-1515 c99: ERROR File = testfilechooserbutton.c, Line = 318
  A value of type "int" cannot be assigned to an entity of type "GtkWidget *".

    chooser = gtk_file_chooser_button_new_with_backend ("Select A File - testfilechooserbutton",
            ^

cc-1515 c99: ERROR File = testfilechooserbutton.c, Line = 348
  A value of type "int" cannot be assigned to an entity of type "GtkWidget *".

    chooser = gtk_file_chooser_button_new_with_backend ("Select A Folder - testfilechooserbutton",
            ^

2 errors detected in the compilation of "testfilechooserbutton.c".
make[2]: *** [testfilechooserbutton.o] Error 2
make[2]: Leaving directory `/usr/opt/portage/var/tmp/portage/x11-libs/gtk+-2.14.7-r1/work/gtk+-2.14.7/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/opt/portage/var/tmp/portage/x11-libs/gtk+-2.14.7-r1/work/gtk+-2.14.7'
make: *** [all] Error 2
 * ERROR: x11-libs/gtk+-2.14.7-r1 failed:
 *   compile failed
 * 
 * Call stack:
 *               ebuild.sh:  49: <call src_compile>
 *             environment:2895:     emake || die "compile failed"


... however, gtk/gtkalias.h contains:

#ifndef GTK_DISABLE_DEPRECATED
extern __typeof (gtk_file_chooser_button_new_with_backend) IA__gtk_file_chooser_button_new_with_backend __attribute((visibility("hidden")));
#define gtk_file_chooser_button_new_with_backend IA__gtk_file_chooser_button_new_with_backend

#endif


... whilst the CFLAGS for this build include "-DGTK_DISABLE_DEPRECATED".

How did this ever work?? (I can't see, which suggests that I'm missing something...)

gtk+-2.12.12 does work successfully, but gtk+-2.14.4 and above fail.
Comment 1 Fabian Groffen gentoo-dev 2011-12-15 18:07:27 UTC
We are sorry to close this bug.  We lack the man-power and devotion to support mips-irix in the tree.