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

Bug 352400

Summary: mail-client/evolution-2.32.1-r1 - e-datetime-format.c:337:2: error: implicit declaration of function ?GTK_IS_COMBO_BOX_ENTRY?
Product: Gentoo Linux Reporter: tman <cornicx>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal CC: brebs, matrix47
Priority: High Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 353071, 355389    
Attachments: /var/log/portage/mail-client:evolution-2.32.1-r1:20110122-094613.log

Description tman 2011-01-22 10:19:03 UTC
mail-client/evolution-2.32.1-r1 failed on compiling

Reproducible: Always

Steps to Reproduce:

Actual Results:  
  CC     libeutil_la-e-account-utils.lo
  CC     libeutil_la-e-activity.lo
  CC     libeutil_la-e-alert.lo
  CC     libeutil_la-e-alert-activity.lo
  CC     libeutil_la-e-alert-dialog.lo
  CC     libeutil_la-e-binding.lo
  CC     libeutil_la-e-bit-array.lo
  CC     libeutil_la-e-categories-config.lo
  CC     libeutil_la-e-charset.lo
  CC     libeutil_la-e-config.lo
  CC     libeutil_la-e-datetime-format.lo
  CC     libeutil_la-e-dialog-utils.lo
e-datetime-format.c: In function ‘fill_combo_formats’:
e-datetime-format.c:337:2: error: implicit declaration of function ‘GTK_IS_COMBO_BOX_ENTRY’
e-datetime-format.c:337:2: warning: nested extern declaration of ‘GTK_IS_COMBO_BOX_ENTRY’
e-datetime-format.c:360:4: error: implicit declaration of function ‘gtk_combo_box_append_text’
e-datetime-format.c:360:4: warning: nested extern declaration of ‘gtk_combo_box_append_text’
e-datetime-format.c: In function ‘format_combo_changed_cb’:
e-datetime-format.c:423:3: error: implicit declaration of function ‘gtk_combo_box_get_active_text’
e-datetime-format.c:423:3: warning: nested extern declaration of ‘gtk_combo_box_get_active_text’
e-datetime-format.c:423:8: warning: assignment makes pointer from integer without a cast
e-datetime-format.c: In function ‘e_datetime_format_add_setup_widget’:
e-datetime-format.c:504:2: error: implicit declaration of function ‘gtk_combo_box_entry_new_text’
e-datetime-format.c:504:2: warning: nested extern declaration of ‘gtk_combo_box_entry_new_text’
e-datetime-format.c:504:8: warning: assignment makes pointer from integer without a cast
make[3]: *** [libeutil_la-e-datetime-format.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/mail-client/evolution-2.32.1-r1/work/evolution-2.32.1/e-util'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/mail-client/evolution-2.32.1-r1/work/evolution-2.32.1/e-util'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mail-client/evolution-2.32.1-r1/work/evolution-2.32.1'
make: *** [all] Error 2
emake failed
 * ERROR: mail-client/evolution-2.32.1-r1 failed:


Expected Results:  
--- Unmatch removal atom(s) in /usr/portage/local/layman/mgorny/profiles/package.mask: -=net-im/ekg2-9999
Portage 2.1.9.35 (default/linux/amd64/10.0/desktop, gcc-4.5.2, glibc-2.12.2-r0, 2.6.37-gentoo x86_64)
=================================================================
System uname: Linux-2.6.37-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P9700_@_2.80GHz-with-gentoo-2.0.1
Timestamp of tree: Sat, 22 Jan 2011 08:30:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r1, 2.7.1, 3.1.3
dev-util/cmake:      2.8.3-r1
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/X11/Sessions/awesome /etc/X11/Sessions/dwm /etc/X11/xorg.conf /etc/apache2/httpd.conf /etc/conf.d/hwclock /etc/conf.d/keymaps /etc/fstab /etc/make.conf /etc/xdg/openbox/autostart.sh /etc/xdg/openbox/menu.xml /etc/xdg/openbox/rc.xml /etc/xdg/openbox/start /usr/share/openvpn/easy-rsa /usr/share/xsessions/openbox.desktop /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs buildpkg distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en vi"
MAKEOPTS="-j3"
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/layman/bleeding-edge /usr/portage/local/layman/emacs /usr/portage/local/layman/gamerlay /usr/portage/local/layman/gnome /usr/portage/local/layman/gnome-live /usr/portage/local/layman/lorelei /usr/portage/local/layman/lxde /usr/portage/local/layman/mellon /usr/portage/local/layman/mpd /usr/portage/local/layman/nikai /usr/portage/local/layman/wirelay /usr/portage/local/layman/techwolf /usr/portage/local/layman/qting-edge /usr/portage/local/layman/roslin /usr/portage/local/layman/scarabeus /usr/portage/local/layman/science /usr/portage/local/layman/xfce-dev /usr/portage/local/layman/poly-c /usr/portage/local/layman/mgorny /usr/portage/local/local-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib accessibility acl acpi adns afs aim alsa amd64 ao apache2 ass atm audio audiofile bash-completion beagle berkdb bidi bluetooth bzip2 cairo caps cdda cdio cdparanoia cdr cgi cjk clamdtop cli clisp consolekit cracklib crypt cscope css csv cups curl curlwrappers cvs cxx dbus dc1394 dga dhcp dhcpcd dia dirac directfb dmx dri dts dv dvd dvdr dvi emacs enca encode enscript exceptions exif expat extras faac faad fam fastcgi fbcon ffmpeg firefox flac flash fortran ftp fuse gcj gd gdbm geoip ggi gif gimp git glib gmp gnome gnome-keyring gnutls gphoto2 gpm graphviz gs gstreamer gtk gzip hal hash hddtemp highlight httpd iconv icq icu idn ieee1394 imagemagick imap imlib ipv6 ithreads jabber jack java java6 javascript jbig jingle joystick jpeg jpeg2k kerberos lame lapack latex lcms ldap libcaca libwww live logrotate lua lzo mad maildir matroska mbrola md5sum memlimit mercurial mhash midi mikmod milter mime mjpeg mmap mmx mmxext mng mono motif mp3 mp4 mpeg mplayer msn mudflap mule multilib musepack mysql nas nautilus ncurses netboot network networkmanager nfs nls nptl nptlonly nsplugin nvidia ogg ogg123 openal openexr opengl openmp oss pam pcap pcmcia pcre pdf perl php pic pidgin png policykit posix postgres ppds ps pulseaudio python qt3support qt4 quicktime radio rar raw rdesktop readline reflection rss rtsp ruby samba sasl savedconfig schroedinger sdl sdl-image session sip slang slp smp soap sockets sox spamassassin speex spell spl sqlite sse sse2 ssl ssse3 stream stun subversion svg swat sysfs syslog system-sqlite sysvipc tcl tcpd theora threads tidy tiff timidity tk tokenizer truetype udev unicode urandom usb userlocales v4l v4l2 vcd vhosts video vim-syntax vlm vnc vorbis wav wavpack webkit wifi wma wmf wxwidgets x264 xattr xcb xcomposite xft xinerama xinetd xml xmlrpc xorg xpm xscreensaver xsl xulrunner xv xvid xvmc yahoo zip zlib zsh-completion" ALSA_CARDS="hda_intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation php5 proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en vi" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18 jruby" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa fbdev vga nouveau" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 tman 2011-01-22 10:19:26 UTC
Created attachment 260492 [details]
/var/log/portage/mail-client:evolution-2.32.1-r1:20110122-094613.log
Comment 2 Rafał Mużyło 2011-01-22 15:07:55 UTC
As I told you before, fix that package.mask entry.

As for the problem, IIRC, it lies in gnome overlay
- in latest 2.x GtkComboBoxEntry is deprecated.
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-01-25 08:06:19 UTC
what version of gtk+ do you have installed ?
Comment 4 Rafał Mużyło 2011-01-25 11:10:51 UTC
By "latest", I meant 2.23, that's in gnome overlay.
Comment 5 Nirbheek Chauhan (RETIRED) gentoo-dev 2011-02-18 06:27:15 UTC
gtk+-2.24 is in-tree now. Evolution should probably stop passing GTK_DISABLE_DEPRECATED or something. A heckuva lot of API was deprecated with gtk+-2.24.
Comment 6 Paul Bredbury 2011-02-22 04:36:25 UTC
Both evolution-data-server and evolution need:

# To compile with gtk+-2.24.1
sed -i -e "s:-DGTK_DISABLE_DEPRECATED::" configure
Comment 7 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-02-23 17:49:30 UTC
+  23 Feb 2011; Gilles Dartiguelongue <eva@gentoo.org>
+  evolution-2.32.2-r1.ebuild:
+  Drop lib deprecation preprocessor defines again, bug #352400.
+
Gotta hate these defines, really :)