Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139598 - libgnomeui-2.14.1 fail to build against gtk+2.10.0
Summary: libgnomeui-2.14.1 fail to build against gtk+2.10.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 145136 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-07 13:36 UTC by Rafal Glazar
Modified: 2006-10-23 07:16 UTC (History)
4 users (show)

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 Rafal Glazar 2006-07-07 13:36:35 UTC
I dont know if I should post this bug because GTK+ 2.10 is hard masked but while compiling libgnomeui against GTK+ 2.10.0 I've got this error

 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -DORBIT2=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/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/lib/glib-2.0/include -I/usr/include/libgnome-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -D_FILE_OFFSET_BITS=64 -D_BSD_SOURCE -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DG_DISABLE_DEPRECATED -O2 -pipe -march=athlon-xp -fomit-frame-pointer -MT gtkfilesystemgnomevfs.lo -MD -MP -MF .deps/gtkfilesystemgnomevfs.Tpo -c gtkfilesystemgnomevfs.c  -fPIC -DPIC -o .libs/gtkfilesystemgnomevfs.o
gtkfilesystemgnomevfs.c: In function 'gtk_file_system_gnome_vfs_iface_init':
gtkfilesystemgnomevfs.c:387: warning: assignment from incompatible pointer type
gtkfilesystemgnomevfs.c:388: warning: assignment from incompatible pointer type
gtkfilesystemgnomevfs.c:392: warning: assignment from incompatible pointer type
gtkfilesystemgnomevfs.c:394: error: 'GtkFileSystemIface' has no member named 'volume_render_icon'
gtkfilesystemgnomevfs.c:402: error: 'GtkFileSystemIface' has no member named 'render_icon'
make[2]: *** [gtkfilesystemgnomevfs.lo] Błąd 1
make[2]: Opuszczenie katalogu `/var/tmp/portage/libgnomeui-2.14.1/work/libgnomeui-2.14.1/file-chooser'
make[1]: *** [all-recursive] Błąd 1
make[1]: Opuszczenie katalogu `/var/tmp/portage/libgnomeui-2.14.1/work/libgnomeui-2.14.1'
make: *** [all] Błąd 2

!!! ERROR: gnome-base/libgnomeui-2.14.1 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  ebuild.sh, line 1248:   Called gnome2_src_compile
  gnome2.eclass, line 64:   Called die

!!! compile failure
!!! If you need support, post the topmost build error, and the call stack if relevant.

My emerge info:
Portage 2.1-r1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17 i686)
=================================================================
System uname: 2.6.17 i686 AMD Duron(tm)
Gentoo Base System version 1.6.15
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=athlon-xp"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="pl_PL"
LC_ALL="pl_PL"
LINGUAS="pl"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X acl alsa apache2 apm audiofile avi berkdb bitmap-fonts bzip2 cairo cdr cli crypt cups curl dbus dlloader dri dvd dvdr eds emboss encode esd exif expat ffmpeg foomaticdb fortran gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 hal idn imlib ipv6 isdnlog java jpeg jpeg2k kde kdehiddenvisibility lcms libg++ libwww mad mikmod mmx mng motif mp3 mpeg mysql ncurses nls nptl nsplugin ogg opengl oss pam pcre pdflib perl php png pppd python qt qt3 qt4 quicktime readline reflection sdl seamonkey session slang spell spl sse ssl tcpd tiff truetype truetype-fonts type1-fonts udev usb vorbis win32codecs xcomposite xml xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_pl userland_GNU video_cards_nv video_cards_vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2006-07-09 09:14:07 UTC
http://gentooexperimental.org/~genstef/dist/libgnomeui-file-chooser-2.14.1-2.15.1.patch.bz2

I made a patch to update only the file-chooser directory from 2.14.1 to 2.15.1. This solves it for me. Does this patch work for you?
Comment 2 Christian Hoffmann (RETIRED) gentoo-dev 2006-07-09 09:34:05 UTC
(In reply to comment #1)
> http://gentooexperimental.org/~genstef/dist/libgnomeui-file-chooser-2.14.1-2.15.1.patch.bz2
> 
> I made a patch to update only the file-chooser directory from 2.14.1 to 2.15.1.
> This solves it for me. Does this patch work for you?
> 

I had the same problem and the patch fixes it -- thanks!
(BTW: 2.12.0 didn't compile either, but I guess libgnomeui-2.14.1(-r1?) becomes stable before GTK+ 2.10)
Comment 3 Daniel Gryniewicz (RETIRED) gentoo-dev 2006-07-09 18:40:17 UTC
Long before, since gtk+-2.10 won't go stable until gnome 2.16, which isn't even out yet.

Another alternative is to run 2.15, from the gnome overlay at http://overlays.gentoo.org/proj/gnome/
Comment 4 Stefan Schweizer (RETIRED) gentoo-dev 2006-07-12 11:53:32 UTC
I added a masked libgnomeui 2.15 from the gnome overlay to the tree. YOu need to unmask it when you are using gtk+-2.10
Comment 5 Rumen Yotov 2006-07-22 23:18:24 UTC
Hi,
Congrats, unmasking libgnomeui-2.15 worked for me too.
Thanks.Rumen
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-08-25 23:24:10 UTC
*** Bug 145136 has been marked as a duplicate of this bug. ***
Comment 7 kevin 2006-10-23 07:16:35 UTC
This is marked as fixed - but the patch doesn't seem to be in portage (or doesn't work). Manually applying the patch linked in the comments helps.

Any chance to get this in portage? It would be nice for the I-just-use-the-system-and-don't-patch-on-my-own people ;)
Cheers
    Kevin