Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 317839 - [gnome-overlay] app-text/evince-2.28.2 fails to compile with x11-libs/gtk+-2.20
Summary: [gnome-overlay] app-text/evince-2.28.2 fails to compile with x11-libs/gtk+-2.20
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gtk+-2.20
  Show dependency tree
 
Reported: 2010-04-29 22:41 UTC by V. Parshin
Modified: 2010-06-13 19:39 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,418.83 KB, text/plain)
2010-04-29 22:42 UTC, V. Parshin
Details
fix gtk+ accessor macros (evince-2.28.2-fix-deprecated-accessors.patch,12.37 KB, patch)
2010-05-10 22:26 UTC, David King
Details | Diff
ebuild patch to apply acessor patch (evince-2.28.2.ebuild.patch,522 bytes, patch)
2010-05-10 22:28 UTC, David King
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description V. Parshin 2010-04-29 22:41:19 UTC
I suspect that this error is caused by gtk 2.20 from overlay because I have compiled evince before.

ev-application.o: In function `ev_application_open_window':
ev-application.c:(.text+0x89b): undefined reference to `GTK_WIDGET_REALIZED'
ev-application.o: In function `ev_application_open_uri_at_dest':
ev-application.c:(.text+0xa87): undefined reference to `GTK_WIDGET_REALIZED'
ev-navigation-action-widget.o: In function `ev_navigation_action_widget_set_menu':
ev-navigation-action-widget.c:(.text+0x38): undefined reference to `GTK_WIDGET_VISIBLE'
ev-navigation-action-widget.o: In function `ev_navigation_action_widget_toggled':
ev-navigation-action-widget.c:(.text+0x3c7): undefined reference to `GTK_WIDGET_VISIBLE'
ev-window.o: In function `ev_window_sidebar_visibility_changed_cb':
ev-window.c:(.text+0x6f97): undefined reference to `GTK_WIDGET_VISIBLE'
ev-window.c:(.text+0x6fc1): undefined reference to `GTK_WIDGET_VISIBLE'
ev-window.o: In function `ev_window_key_press_event':
ev-window.c:(.text+0x703d): undefined reference to `GTK_WIDGET_IS_SENSITIVE'
ev-window.c:(.text+0x710a): undefined reference to `GTK_WIDGET_VISIBLE'
ev-window.o: In function `find_bar_visibility_changed_cb':
ev-window.c:(.text+0xb16c): undefined reference to `GTK_WIDGET_VISIBLE'
ev-sidebar.o: In function `ev_sidebar_menu_position_under':
ev-sidebar.c:(.text+0x1294): undefined reference to `GTK_WIDGET_NO_WINDOW'
ev-sidebar-attachments.o: In function `ev_sidebar_attachments_button_press':
ev-sidebar-attachments.c:(.text+0x12a9): undefined reference to `GTK_WIDGET_HAS_FOCUS'
ev-sidebar-links.o: In function `update_page_callback':
ev-sidebar-links.c:(.text+0x436): undefined reference to `GTK_WIDGET_MAPPED'
ev-sidebar-thumbnails.o: In function `adjustment_changed_cb':
ev-sidebar-thumbnails.c:(.text+0x5ea): undefined reference to `GTK_WIDGET_MAPPED'
ev-sidebar-thumbnails.c:(.text+0x613): undefined reference to `GTK_WIDGET_REALIZED'
ev-sidebar-thumbnails.c:(.text+0x8f7): undefined reference to `GTK_WIDGET_REALIZED'
../cut-n-paste/toolbar-editor/.libs/libtoolbareditor.a(libtoolbareditor_la-egg-editable-toolbar.o): In function `toolbar_visibility_refresh':
egg-editable-toolbar.c:(.text+0x2333): undefined reference to `GTK_WIDGET_VISIBLE'
egg-editable-toolbar.c:(.text+0x26be): undefined reference to `GTK_WIDGET_VISIBLE'
../cut-n-paste/gimpcellrenderertoggle/.libs/libgimpcellrenderertoggle.a(libgimpcellrenderertoggle_la-gimpcellrenderertoggle.o): In function `gimp_cell_renderer_toggle_render':
gimpcellrenderertoggle.c:(.text+0x7fd): undefined reference to `GTK_WIDGET_HAS_FOCUS'
../libmisc/.libs/libevmisc.a(libevmisc_la-ev-page-action.o): In function `ev_page_action_grab_focus':
ev-page-action.c:(.text+0x78): undefined reference to `GTK_WIDGET_MAPPED'
../libview/.libs/libevview.so: undefined reference to `GTK_WIDGET_STATE'
collect2: ld returned 1 exit status
make[3]: *** [evince] Error 1
make[3]: Leaving directory `/var/tmp/portage/app-text/evince-2.28.2/work/evince-2.28.2/shell'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/app-text/evince-2.28.2/work/evince-2.28.2/shell'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-text/evince-2.28.2/work/evince-2.28.2'
make: *** [all] Error 2


Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.34-rc2 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.34-rc2-i686-Intel-R-_Pentium-R-_M_processor_1.20GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 29 Apr 2010 18:45:03 +0000
app-shells/bash:     4.1_p5
dev-lang/python:     2.6.5-r1
dev-util/cmake:      2.8.1-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.65
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-pipe -march=pentium-m -O2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-pipe -march=pentium-m -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org/distfiles"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X aac acl berkdb bluetooth bzip2 cdda cli consolekit cracklib crypt cups cxx dri dvd eds exif ffmpeg flac fortran gdbm gnome-keyring gphoto2 gpm iconv ipv6 jpeg lame lcms mad mmx modules mp3 mpeg mudflap nautilus ncurses networkmanager nls nptl nptlonly openmp pam pcre pdf perl png policykit pppd pulseaudio python readline reflection session spl sse sse2 ssl svg sysfs tcpd theora tiff udev unicode vorbis x86 xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

app-text/evince-2.28.2 was built with the following:
USE="gnome-keyring nautilus tiff -dbus -debug -djvu -doc -dvi -gnome -t1lib"
Comment 1 V. Parshin 2010-04-29 22:42:28 UTC
Created attachment 229751 [details]
build.log
Comment 2 Thorsten Vollmer 2010-04-29 23:20:30 UTC
(In reply to comment #0)
> I suspect that this error is caused by gtk 2.20 from overlay

Yes, this kind of failure is caused by deprecated symbols in GTK+. Does it help if you add "--disable-maintainer-mode" to G2CONF?
$ G2CONF="--disable-maintainer-mode" emerge app-text/evince
Comment 3 V. Parshin 2010-04-29 23:48:23 UTC
Yes, that did the trick for me. So "--disable-maintainer-mode" should be added to G2CONF in the ebuild.
Comment 4 Thorsten Vollmer 2010-04-30 00:03:28 UTC
Thanks for testing. This bug could block bug 309237.
Comment 5 David King 2010-05-10 22:26:58 UTC
Created attachment 231015 [details, diff]
fix gtk+ accessor macros
Comment 6 David King 2010-05-10 22:28:07 UTC
Created attachment 231017 [details, diff]
ebuild patch to apply acessor patch
Comment 7 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-05-16 10:10:15 UTC
patches to fix code should go upstream. In this case we will only make sur DISABLED_DEPRECATED defines will be removed from compilation lines.
Comment 8 Pacho Ramos gentoo-dev 2010-06-13 19:39:08 UTC
2.30 is in the tree and it compiles ok