trying to build empathy fails with error in summary, output of emerge --info empathy is: Portage 2.2.7 (default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.7.3, glibc-2.15-r3, 3.10.7-gentoo-r1 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.10.7-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_L9400_@_1.86GHz-with-gentoo-2.2 KiB Mem: 1018804 total, 189764 free KiB Swap: 1572856 total, 1571964 free Timestamp of tree: Sat, 26 Oct 2013 16:00:01 +0000 ld GNU ld (GNU Binutils) 2.23.1 app-shells/bash: 4.2_p45 dev-lang/python: 2.7.5-r3, 3.2.5-r3 dev-util/cmake: 2.8.10.2-r2 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.11.8 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.6, 1.12.6, 1.13.4 sys-devel/binutils: 2.23.1 sys-devel/gcc: 4.7.3-r1 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.9 (virtual/os-headers) sys-libs/glibc: 2.15-r3 Repositories: gentoo ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo ftp://mirror.isoc.org.il/gentoo/ http://mirror.isoc.org.il/pub/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-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="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli colord cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv introspection ipv6 jpeg lcms ldap libnotify libsecret mad mmx mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support readline sdl session socialweb spell sse sse2 ssl ssse3 startup-notification svg systemd tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xml xv xvid zlib" ABI_X86="64" 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" 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 author" 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON ================================================================= Package Settings ================================================================= net-im/empathy-3.8.4 was built with the following: USE="geoloc gnome gnome-online-accounts map spell v4l -debug -test" output of emerge -pqv empathy is: * IMPORTANT: config file '/etc/portage/package.use' needs updating. [ebuild R ] net-im/empathy-3.8.4 USE="geoloc gnome gnome-online-accounts map spell v4l -debug {-test}" * See the CONFIGURATION FILES section of the emerge * man page to learn how to update config files. on advice from eroen in #gentoo irc channel i switched default python from version 3.2 to 2.7 with: eselect python set 1 and empathy compiled ok
Build.log: http://bpaste.net/show/121249/
Please attach your build.log here instead of relying on external resources. Also, what are your locale settings?
I can confirm this bug. Seems to be specific for empathy-3.8.{3,4}. My locale is: LANG= LC_CTYPE="POSIX" LC_NUMERIC="POSIX" LC_TIME="POSIX" LC_COLLATE="POSIX" LC_MONETARY="POSIX" LC_MESSAGES="POSIX" LC_PAPER="POSIX" LC_NAME="POSIX" LC_ADDRESS="POSIX" LC_TELEPHONE="POSIX" LC_MEASUREMENT="POSIX" LC_IDENTIFICATION="POSIX" LC_ALL=
Created attachment 362278 [details] Build log Build log showing the bug.
emerge --info Portage 2.2.7 (default/linux/x86/13.0/desktop, gcc-4.8.1, glibc-2.17, 3.11.6-gentoo i686) ================================================================= System uname: Linux-3.11.6-gentoo-i686-Pentium_III_-Katmai-with-gentoo-2.2 KiB Mem: 3114324 total, 1603416 free KiB Swap: 14433272 total, 14432704 free Timestamp of tree: Sun, 27 Oct 2013 06:00:01 +0000 ld GNU ld (GNU Binutils) 2.23.2 app-shells/bash: 4.2_p45 dev-java/java-config: 2.2.0 dev-lang/python: 2.7.5-r4, 3.2.5-r3, 3.3.2-r2 dev-util/cmake: 2.8.12 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.12.3 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.6, 1.13.4, 1.14 sys-devel/binutils: 2.23.2 sys-devel/gcc: 4.8.1-r1 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.11 (virtual/os-headers) sys-libs/glibc: 2.17 Repositories: gentoo ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -march=i686 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -march=i686 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-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="" USE="X a52 aac acl acpi alsa berkdb bzip2 cairo cdda cli consolekit cracklib crypt cxx dbus dconf dri dts dvd dvdr eds emboss exif fam ffmpeg firefox flac fortran gdbm gif gmp gnome gpm gstreamer gtk iconv icu ipv6 jpeg lcms libkms libnotify mad minizip mmx mng modules mp3 mp4 mpeg mudflap ncurses nls nptl ogg opengl openmp pam pango pcre pdf pic png policykit ppds pulseaudio python qt3support qt4 readline sdl session sqlite ssl startup-notification svg systemd tcpd theora tiff truetype udev udisks unicode upower usb vala vorbis wxwidgets x264 x86 xa xcb xml xv xvid zlib" ABI_X86="32" 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" 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 author" 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" GRUB_PLATFORMS="pc qemu" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="cirrus vesa qxl" 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, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
I would report to upstream this locale POSIX related errors :/ -> bugzilla.gnome.org
I think I already saw reports like this either upstream or on gentoo bugzilla, though I can't remember what was the package affected. I think searching for the exception message should raise some answer.
As I commented upstream, this only happens if python is eselected to python3. But this does suggest we are additionally missing some python eclass calls to the shebang tweaking dance to not rely on user eselected python version? But I'm not exactly up-to-date on the latest python eclass magic... That said, theoretically python3 should be just fine for empathy, just not if locale isn't utf-8 right now (with python2, a utf-8 writer is specifically requested)
(In reply to Gilles Dartiguelongue from comment #7) > I think I already saw reports like this either upstream or on gentoo > bugzilla, though I can't remember what was the package affected. I think > searching for the exception message should raise some answer. I think python was involved, but I thought all current stable versions were "fixed" for this kind of problems :/
Still a problem in net-im/empathy-3.8.6
Still a problem with 3.10.2 here. And the normal workaround of switching to python 2.7 doesn't seem to be working for me either, but it may be because I haven't set up localectl? make[2]: Entering directory `/var/tmp/portage/net-im/empathy-3.10.2/work/empathy-3.10.2/extensions' /usr/bin/python2.7 ../tools/xincludator.py all.xml > _gen/all.xml /usr/bin/python2.7 ../tools/xincludator.py misc.xml > _gen/misc.xml /usr/bin/python2.7 ../tools/glib-client-gen.py \ --group=misc \ --subclass=TpProxy \ --subclass-assert=TP_IS_PROXY \ --iface-quark-prefix=EMP_IFACE_QUARK \ --tp-proxy-api=0.10.0 \ _gen/misc.xml Emp_Cli _gen/cli-misc /usr/bin/python2.7 ../tools/glib-ginterface-gen.py \ --filename=_gen/svc-misc \ --signal-marshal-prefix=_emp_ext \ --include='<telepathy-glib/telepathy-glib.h>' \ --not-implemented-func='tp_dbus_g_method_return_not_implemented' \ --allow-unstable \ _gen/misc.xml Emp_Svc_ /usr/bin/python2.7 ../tools/glib-client-marshaller-gen.py _gen/all.xml \ _emp_ext > _gen/register-dbus-glib-marshallers-body.h /usr/bin/python2.7 ../tools/c-constants-gen.py \ Emp \ _gen/all.xml _gen/enums /usr/bin/python2.7 ../tools/glib-gtypes-generator.py \ _gen/all.xml _gen/gtypes Emp /usr/bin/python2.7 ../tools/glib-gtypes-generator.py \ _gen/all.xml _gen/gtypes Emp /usr/bin/python2.7 ../tools/glib-interfaces-gen.py \ Emp _gen/interfaces-body.h _gen/interfaces.h _gen/all.xml /usr/bin/python2.7 ../tools/glib-interfaces-gen.py \ Emp _gen/interfaces-body.h _gen/interfaces.h _gen/all.xml Traceback (most recent call last): File "../tools/glib-gtypes-generator.py", line 304, in <module> GTypesGenerator(dom, argv[1], argv[2])() File "../tools/glib-gtypes-generator.py", line 295, in __call__ file_set_contents(self.output + '.h', u('').join(self.header).encode('utf-8')) File "/var/tmp/portage/net-im/empathy-3.10.2/work/empathy-3.10.2/tools/libtpcodegen.py", line 57, in file_set_contents os.rename(filename + '.tmp', filename) OSError: [Errno 2] No such file or directory make[2]: *** [_gen/gtypes.h] Error 1 utilite ~ # localectl System Locale: n/a VC Keymap: n/a X11 Layout: n/a Portage 2.2.7 (default/linux/arm/13.0/desktop/gnome/systemd, gcc-4.7.3, glibc-2.17, 3.0.35-cm-fx6-4 armv7l) ================================================================= System uname: Linux-3.0.35-cm-fx6-4-armv7l-ARMv7_Processor_rev_10_-v7l-with-gentoo-2.2 KiB Mem: 1995104 total, 149256 free KiB Swap: 4194300 total, 4194300 free Timestamp of tree: Mon, 03 Feb 2014 00:30:01 +0000 ld GNU ld (GNU Binutils) 2.23.2 app-shells/bash: 4.2_p45 dev-lang/python: 2.7.5-r3, 3.3.3 dev-util/cmake: 2.8.11.2 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.12.4 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.6, 1.13.4 sys-devel/binutils: 2.23.2 sys-devel/gcc: 4.6.3, 4.7.3-r1 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.9 (virtual/os-headers) sys-libs/glibc: 2.17 Repositories: gentoo utilite ACCEPT_KEYWORDS="arm" ACCEPT_LICENSE="* -@EULA" CBUILD="armv7a-softfp-linux-gnueabi" CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp" CHOST="armv7a-softfp-linux-gnueabi" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="-j4 --load-average=12" FCFLAGS="-O2" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j4 -l12" PKGDIR="/usr/portage/packages" PORTAGE_BUNZIP2_COMMAND="pbunzip2 --ignore-trailing-garbage=1" PORTAGE_BZIP2_COMMAND="pbzip2" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-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/overlays/utilite" USE="X a52 aac acl acpi alsa apng arm berkdb bluetooth branding bzip2 cairo cdda cdr cli colord cracklib crypt cups cxx dbus dri dts dvdr eds egl emboss encode evo exif fam firefox flac fortran gbm gdbm gif gles1 gles2 gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv introspection ipv6 jpeg lame lcms libnotify libsecret mad mng modules mp3 mp4 mpeg nautilus ncurses nls nptl ogg opengl openmp openvg opus pam pango pcre pdf png policykit ppds pulseaudio qt3support qt4 readline sdl session socialweb spell ssl startup-notification svg systemd tcpd theora tiff truetype udev udisks unicode upower usb vorbis wxwidgets xcb xml xv xvid zlib" 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 author" 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 ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev" 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, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
confirmed here that it will not compile unless you set python-2_7 even if you have a locale other than POSIX
*** Bug 507558 has been marked as a duplicate of this bug. ***
Still a problem with 3.10.3 and 3.12.1
Created attachment 379184 [details, diff] diff for empathy-3.10.3 source Using this patch against the empathy-3.10.3 sources I've been able to build even with python3.3 selected. However, I'm not sure if this is just a workaround or the real fix.
Looks like a workaround to me :/, but I am not sure why python stuff is not handling that unicode character
*** Bug 515894 has been marked as a duplicate of this bug. ***
/usr/bin/python2.7 ../tools/glib-gtypes-generator.py \ _gen/all.xml _gen/gtypes Emp /usr/bin/python2.7 ../tools/glib-gtypes-generator.py \ _gen/all.xml _gen/gtypes Emp That tipped me off. And indeed, building with MAKEOPTS='-j1' (instead of -j4 on my i5 rig) fixes it for me.
Looking back at various comments here and in duped bug #515894, I think we have two different issues. One is the Unicode one (which I don't have), the other one is the OSError one (which I believe is a parallel make issue)
An easy solution here would be to export PYTHONIOENCODING=UTF-8 before xincludator.py is called. https://docs.python.org/3/using/cmdline.html#envvar-PYTHONIOENCODING
+*empathy-3.12.5 (02 Sep 2014) + + 02 Sep 2014; Pacho Ramos <pacho@gentoo.org> +empathy-3.12.5.ebuild, + -empathy-3.10.3.ebuild, -empathy-3.12.3.ebuild: + Version bump, drop old, UTF8 is needed for python stuff during building + (#489774 by Mike Gilbert, tontisimo and others). +