Unable to emerge sci-calculators/galculator-2.0: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_UI_DIR=\""/usr/share/galculator/ui"\" -DPACKAGE_PIXMAPS_DIR=\""/usr/share/pixmaps"\" -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE -DGSEAL_ENABLE -pthread -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -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/libpng15 -I/usr/include/libdrm -O2 -pipe -Wall -c -o galculator-main.o `test -f 'main.c' || echo './'`main.c main.c: In function 'key_snooper': main.c:93:25: error: 'GDK_KP_2' undeclared (first use in this function) main.c:93:25: note: each undeclared identifier is reported only once for each function it appears in main.c:93:56: error: 'GDK_KP_Down' undeclared (first use in this function) main.c:94:21: error: 'GDK_KP_4' undeclared (first use in this function) main.c:94:52: error: 'GDK_KP_Left' undeclared (first use in this function) main.c:95:21: error: 'GDK_KP_6' undeclared (first use in this function) main.c:95:52: error: 'GDK_KP_Right' undeclared (first use in this function) main.c:96:21: error: 'GDK_KP_8' undeclared (first use in this function) main.c:96:52: error: 'GDK_KP_Up' undeclared (first use in this function) main.c:97:21: error: 'GDK_KP_0' undeclared (first use in this function) main.c:97:52: error: 'GDK_KP_Insert' undeclared (first use in this function) make[2]: *** [galculator-main.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/sci-calculators/galculator-2.0/work/galculator-2.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/sci-calculators/galculator-2.0/work/galculator-2.0' make: *** [all] Error 2 Reproducible: Always Steps to Reproduce: 1. emerge -av =sci-calculators/galculator-2.0 Actual Results: * ERROR: sci-calculators/galculator-2.0 failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sci-calculators/galculator-2.0'`, * the complete build log and the output of `emerge -pqv '=sci-calculators/galculator-2.0'`. * The complete build log is located at '/var/tmp/portage/sci-calculators/galculator-2.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-calculators/galculator-2.0/temp/environment'. * Working directory: '/var/tmp/portage/sci-calculators/galculator-2.0/work/galculator-2.0' * S: '/var/tmp/portage/sci-calculators/galculator-2.0/work/galculator-2.0' Portage 2.1.11.31 (default/linux/amd64/10.0, gcc-4.5.4, glibc-2.16.0, 3.5.7-gentoo x86_64) ================================================================= System uname: Linux-3.5.7-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T5800_@_2.00GHz-with-gentoo-2.2 Timestamp of tree: Wed, 14 Nov 2012 07:30:01 +0000 ld GNU ld (GNU Binutils) 2.23 distcc 3.1 x86_64-pc-linux-gnu [enabled] app-shells/bash: 4.2_p39 dev-lang/python: 2.7.3-r2, 3.2.3-r1 dev-util/cmake: 2.8.9-r1 dev-util/pkgconfig: 0.27.1 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.11.5 sys-apps/sandbox: 2.6 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.6, 1.12.4 sys-devel/binutils: 2.23 sys-devel/gcc: 4.5.4, 4.6.3 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.6 (virtual/os-headers) sys-libs/glibc: 2.16.0 Repositories: gentoo dustin ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--jobs=2" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distcc distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j9" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/dustin" SYNC="rsync://atria.pyrocufflink.jazz/gentoo-portage" USE="acl alsa amd64 bash-completion berkdb bzip2 cli cracklib crypt cxx dri flac fortran gdbm gnome-keyring iconv ipv6 jpeg kerberos libnotify mmx modules mudflap multilib ncurses nls nptl ogg opengl openmp pam pcre png pppd readline session sse sse2 ssl startup-notification svg tcpd theora unicode vorbis zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" 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, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Created attachment 329682 [details] build.log
I see it's passing DISABLE_DEPRECATION stuff: + 17 Nov 2012; Pacho Ramos <pacho@gentoo.org> galculator-2.0.ebuild: + Disable DEPRECATION warnings + Try resyncing and, if still failing, attach new build log and tell us what gtk+ versions do you have installed
Unfortunately, this is still failing. Here are the versions of gtk+ that are installed: [IP-] [ ] x11-libs/gtk+-2.24.13-r1:2 [IP-] [ ] x11-libs/gtk+-3.2.4-r1:3
Created attachment 329884 [details] build.log (after updated ebuild)
(In reply to comment #3) > Unfortunately, this is still failing. Here are the versions of gtk+ that are > installed: > > [IP-] [ ] x11-libs/gtk+-2.24.13-r1:2 > [IP-] [ ] x11-libs/gtk+-3.2.4-r1:3 Why aren't you running stable 3.4.4 gtk+ version? Do you have all your system updated?
I have >=3.4 masked because the XFCE themes aren't compatible (any may not be for some time). Everything else is up-to-date. I looked for some indication of where the GDK_KP_ symbols come from to see if they are new in 3.4 or something, but I couldn't find anything definitive. If they are 3.4 only, then perhaps this ebuild should explicitly require >=x11-libs/gtk+-3.4 instead of just x11-libs/gtk+:3.
This is present in gtk since 2.24 as far as my history digging shows. It is possible this failed due to "DISABLED_DEPRECATED" defines but that was disables later on november 17 by pacho. I think this solved it for now. If not feel free to reopen.