Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 304495

Summary: x11-libs/wxGTK-2.6.4.0-r5 fails to build
Product: Gentoo Linux Reporter: DEMAINE Benoît-Pierre, aka DoubleHP <dhp_gentoo>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: 10.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: /var/log/portage/x11-libs:wxGTK-2.6.4.0-r5:20100211-034909.log
/tmp/emerge--info

Description DEMAINE Benoît-Pierre, aka DoubleHP 2010-02-11 04:00:55 UTC
uranus ~ # emerge -vp net-p2p/bittorrent
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild  NS   ] x11-libs/wxGTK-2.6.4.0-r5 [2.8.10.1-r5] USE="X doc gnome odbc opengl sdl unicode -debug -pch" 0 kB
[ebuild  NS   ] dev-python/wxpython-2.6.4.0-r2 [2.8.10.1] USE="opengl unicode" 0 kB
[ebuild  N    ] net-p2p/bittorrent-5.0.9-r1  USE="gtk" 0 kB
[...]
/var/tmp/portage/x11-libs/wxGTK-2.6.4.0-r5/work/wxPython-src-2.6.4.0/build_ansi/bk-deps x86_64-pc-linux-gnu-g++ -c -o coredll_pen.o  -D__WXGTK__          -I/var/tmp/portage/x11-libs/wxGTK-2.6.4.0-r5/work/wxPython-src-2.6.4.0/src/regex  -DWXUSINGDLL -DWXMAKINGDLL_CORE -DwxUSE_BASE=0 -fPIC -DPIC -DNO_GCC_PRAGMA -DGTK_NO_CHECK_CASTS -Ilib/wx/include/gtk2-ansi-release-2.6 -I/var/tmp/portage/x11-libs/wxGTK-2.6.4.0-r5/work/wxPython-src-2.6.4.0/include -D_REENTRANT -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_IODBC_ -O2 -fno-strict-aliasing -O2 -march=athlon64 -pipe -fno-strict-aliasing -pthread -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_REENTRANT -I/usr/include/libgnomeprintui-2.2 -I/usr/include/libgnomeprint-2.2 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/gtk-2.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/directfb -I/usr/include/libpng12 -Wall -Wundef -Wno-ctor-dtor-privacy /var/tmp/portage/x11-libs/wxGTK-2.6.4.0-r5/work/wxPython-src-2.6.4.0/src/gtk/pen.cpp
In file included from /var/tmp/portage/x11-libs/wxGTK-2.6.4.0-r5/work/wxPython-src-2.6.4.0/src/gtk/gsockgtk.cpp:21:
/var/tmp/portage/x11-libs/wxGTK-2.6.4.0-r5/work/wxPython-src-2.6.4.0/include/wx/gsocket.h:40: error: using typedef-name 'GSocket' after 'class'
/usr/include/glib-2.0/gio/giotypes.h:120: error: 'GSocket' has a previous declaration here
In file included from /var/tmp/portage/x11-libs/wxGTK-2.6.4.0-r5/work/wxPython-src-2.6.4.0/include/wx/gsocket.h:180,
                 from /var/tmp/portage/x11-libs/wxGTK-2.6.4.0-r5/work/wxPython-src-2.6.4.0/src/gtk/gsockgtk.cpp:21:
/var/tmp/portage/x11-libs/wxGTK-2.6.4.0-r5/work/wxPython-src-2.6.4.0/include/wx/unix/gsockunx.h:40: error: using typedef-name 'GSocket' after 'class'
/usr/include/glib-2.0/gio/giotypes.h:120: error: 'GSocket' has a previous declaration here
/var/tmp/portage/x11-libs/wxGTK-2.6.4.0-r5/work/wxPython-src-2.6.4.0/src/gtk/gsockgtk.cpp: In function 'void _GSocket_GDK_Input(void*, gint, GdkInputCondition)':
/var/tmp/portage/x11-libs/wxGTK-2.6.4.0-r5/work/wxPython-src-2.6.4.0/src/gtk/gsockgtk.cpp:33: error: 'struct _GSocket' has no member named 'Detected_Read'

This bug is not a dup of bug #303971 : http://bugs.gentoo.org/show_bug.cgi?id=303971#c3 states that -r5 has a fix included. And, the fix *obviously* did not work for me. 

I did eix-sync 6h ago, so, even if the ebuild was modified on mirors without rev update, I should have the correction.
Comment 1 DEMAINE Benoît-Pierre, aka DoubleHP 2010-02-11 04:02:50 UTC
Created attachment 219187 [details]
/var/log/portage/x11-libs:wxGTK-2.6.4.0-r5:20100211-034909.log
Comment 2 DEMAINE Benoît-Pierre, aka DoubleHP 2010-02-11 04:02:59 UTC
Created attachment 219189 [details]
/tmp/emerge--info
Comment 3 Rafał Mużyło 2010-02-11 12:39:25 UTC
ACCEPT_KEYWORDS="amd64"
KEYWORDS=~amd64 for all glib 2.22
so, obviously...

and it was r5 for 2.8, for 2.6 it's r6 - see ChangeLog.