When i try to do a emerge x11-libs/libxklavier-3.6 i get an error when building it, the 3.5 version installation runs without any issue. Reproducible: Always Steps to Reproduce: emerge =x11-libs/libxklavier-3.6 Actual Results: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -DDATA_DIR=\"/usr/share/libxklavier\" -I. -I/usr/include -I.. -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DLIBXKBFILE_PRESENT=1 -DENABLE_XKB_SUPPORT=1 -DENABLE_XMODMAP_SUPPORT=1 -march=nocona -O2 -pipe -fomit-frame-pointer -MT xklavier_config_iso.lo -MD -MP -MF .deps/xklavier_config_iso.Tpo -c xklavier_config_iso.c -fPIC -DPIC -o .libs/xklavier_config_iso.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -DDATA_DIR=\"/usr/share/libxklavier\" -I. -I/usr/include -I.. -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DLIBXKBFILE_PRESENT=1 -DENABLE_XKB_SUPPORT=1 -DENABLE_XMODMAP_SUPPORT=1 -march=nocona -O2 -pipe -fomit-frame-pointer -MT xklavier_xkb.lo -MD -MP -MF .deps/xklavier_xkb.Tpo -c xklavier_xkb.c -fPIC -DPIC -o .libs/xklavier_xkb.o xklavier_config_iso.c: In function âxkl_config_registry_foreach_iso_codeâ: xklavier_config_iso.c:208: error: âGHashTableIterâ undeclared (first use in this function) xklavier_config_iso.c:208: error: (Each undeclared identifier is reported only once xklavier_config_iso.c:208: error: for each function it appears in.) xklavier_config_iso.c:208: error: expected â;â before âiterâ xklavier_config_iso.c:256: warning: implicit declaration of function âg_hash_table_iter_initâ xklavier_config_iso.c:256: error: âiterâ undeclared (first use in this function) xklavier_config_iso.c:258: warning: implicit declaration of function âg_hash_table_iter_nextâ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -DDATA_DIR=\"/usr/share/libxklavier\" -I. -I/usr/include -I.. -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DLIBXKBFILE_PRESENT=1 -DENABLE_XKB_SUPPORT=1 -DENABLE_XMODMAP_SUPPORT=1 -march=nocona -O2 -pipe -fomit-frame-pointer -MT xklavier.lo -MD -MP -MF .deps/xklavier.Tpo -c xklavier.c -o xklavier.o >/dev/null 2>&1 make[2]: *** [xklavier_config_iso.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -DDATA_DIR=\"/usr/share/libxklavier\" -I. -I/usr/include -I.. -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DLIBXKBFILE_PRESENT=1 -DENABLE_XKB_SUPPORT=1 -DENABLE_XMODMAP_SUPPORT=1 -march=nocona -O2 -pipe -fomit-frame-pointer -MT xklavier_xkb.lo -MD -MP -MF .deps/xklavier_xkb.Tpo -c xklavier_xkb.c -o xklavier_xkb.o >/dev/null 2>&1 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -DDATA_DIR=\"/usr/share/libxklavier\" -I. -I/usr/include -I.. -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DLIBXKBFILE_PRESENT=1 -DENABLE_XKB_SUPPORT=1 -DENABLE_XMODMAP_SUPPORT=1 -march=nocona -O2 -pipe -fomit-frame-pointer -MT xklavier_evt.lo -MD -MP -MF .deps/xklavier_evt.Tpo -c xklavier_evt.c -o xklavier_evt.o >/dev/null 2>&1 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -DDATA_DIR=\"/usr/share/libxklavier\" -I. -I/usr/include -I.. -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DLIBXKBFILE_PRESENT=1 -DENABLE_XKB_SUPPORT=1 -DENABLE_XMODMAP_SUPPORT=1 -march=nocona -O2 -pipe -fomit-frame-pointer -MT xklavier_config.lo -MD -MP -MF .deps/xklavier_config.Tpo -c xklavier_config.c -o xklavier_config.o >/dev/null 2>&1 make[2]: Leaving directory `/var/tmp/portage/x11-libs/libxklavier-3.6/work/libxklavier-3.6/libxklavier' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/x11-libs/libxklavier-3.6/work/libxklavier-3.6' make: *** [all] Error 2 * * ERROR: x11-libs/libxklavier-3.6 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2102: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/x11-libs/libxklavier-3.6/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-libs/libxklavier-3.6/temp/environment'. * * Messages for package x11-libs/libxklavier-3.6: * * ERROR: x11-libs/libxklavier-3.6 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2102: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/x11-libs/libxklavier-3.6/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-libs/libxklavier-3.6/temp/environment'. * Expected Results: Sucessfully compiled and installed Portage 2.2_rc1 (default-linux/amd64/2007.0/desktop, gcc-4.2.3, glibc-2.7-r1, 2.6.25-gentoo-r4 x86_64) ================================================================= System uname: Linux-2.6.25-gentoo-r4-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-glibc2.2.5 Timestamp of tree: Mon, 07 Jul 2008 19:15:02 +0000 app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.3-r4, 2.5.1-r5 dev-python/pycrypto: 2.0.1-r5 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.24 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.localhost.net.ar/ http://www.las.ic.unicamp.br/pub/gentoo/" LANG="en_US.UTF-8" LDFLAGS="" LINGUAS="es" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" 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" SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage" USE="3dnow X a52 aac aalib acl acpi alsa amd64 amr apm arts asf bash-completion berkdb bluetooth cairo cddb cdr cli cracklib crypt cups dbus dri dts dv dvb dvd dvdr dvdread eds emboss encode esd evo fam fbcon firefox flac fortran gdbm gif glew gpm gstreamer gtk gtk+ hal iconv imlib imlib2 indeo ipod ipv6 isdnlog jpeg kerberos laptop ldap lm_sensors mad midi mikmod mime mmx mp3 mpd mpeg mudflap ncurses nforce2 nls nptl nptlonly nsplugin nvidia ogg opengl openmp oss pam pcmcia pcre pdf perl pmu png pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl ssse3 svg tcpd tiff truetype type1 unicode usb v4l v4l2 vcd vorbis wav wifi xanim xine xinerama xml xorg xv xvid xvmc zlib" 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 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 keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es" USERLAND="GNU" VIDEO_CARDS="nvidia i810" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Could you please attach the full build.log as suggested by portage? Thanks
Created attachment 159885 [details] Here is the build.log Please let me know if you need anything else. Thank you very much for doing this excellent os :)!
Could you try rebuilding dev-libs/glib and then libxklavier? Thanks
(In reply to comment #3) > Could you try rebuilding dev-libs/glib and then libxklavier? > > Thanks > I did it and i got the same result. emerge =dev-libs/glib-2.14.6 But there is a new version of glib available: andres@lappy ~ $ sudo emerge -pv dev-libs/glib These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] dev-libs/glib-2.16.3-r1 [2.14.6] USE="fam%* -debug -doc -hardened (-selinux) -xattr%" 4,435 kB Total: 1 package (1 upgrade), Size of downloads: 4,435 kB Do you want me to upgrade to this one and try again with libxklavier? Regards.
Definitely! :) You should always update your system using "emerge -DuNa world". Thanks
(In reply to comment #5) > Definitely! :) > > You should always update your system using "emerge -DuNa world". > > Thanks > Ok, this will take some time: Total: 335 packages (316 upgrades, 1 downgrade, 11 new, 5 in new slots, 2 reinstalls), Size of downloads: 988,545 kB So is probably that my system has very old libraries. I will come back with my results, i didn't have libxklavier installed on my system before, it was installed as dependency when i was trying to install KDE4 on my PC, which runs pretty good by the way. Thank you for your prompt reply. Regards.
libklavier maintainer Sergey Udaltsov confirmed that the glib dep in 3.6 is wrong. Newer versions will correctly check for glib 2.16. Ebuild for 3.6 has been updated without a revbump. If you still have issues, don't hesitate to reopen this bug with a new build.log. Thanks for reporting