I have following locale: ~> locale LANG=de_DE LC_CTYPE=de_DE LC_NUMERIC=de_DE LC_TIME=de_DE LC_COLLATE=de_DE LC_MONETARY=de_DE LC_MESSAGES=de_DE LC_PAPER=de_DE LC_NAME=de_DE LC_ADDRESS=de_DE LC_TELEPHONE=de_DE LC_MEASUREMENT=de_DE LC_IDENTIFICATION=de_DE LC_ALL= With that, net-firewall/nftables fails to emerge with the error: Traceback (most recent call last): File "/usr/bin/a2x", line 931, in <module> source_options = get_source_options(sys.argv[-1]) File "/usr/bin/a2x", line 337, in get_source_options for line in f: File "/usr/lib64/python3.6/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 5796: ordinal not in range(128) Sadly this is a typical python error as many python programmer seems to ignore everything that does not match their world view. Portage 2.3.79 (python 3.6.9-final-0, default/linux/amd64/17.1/hardened, gcc-9.2.0, glibc-2.29-r7, 5.4.6-gentoo-x86_64 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-5.4.6-gentoo-x86_64-x86_64-Intel-R-_Core-TM-2_Duo_CPU_L7500_@_1.60GHz-with-gentoo-2.6 KiB Mem: 8090132 total, 2220156 free KiB Swap: 2096476 total, 2093284 free Timestamp of repository gentoo: Sat, 11 Jan 2020 08:30:01 +0000 Head commit of repository gentoo: 68b6383f7a407562679e77531cf8b5e3344ac961 Timestamp of repository Krontage: Sat, 04 Jan 2020 13:45:31 +0000 Head commit of repository Krontage: cf3fbc7efb8682c01045f96de8da401f063fa17f Timestamp of repository dlang: Fri, 10 Jan 2020 18:47:01 +0000 Head commit of repository dlang: ab0d665c3731fc3105ccdd1149b52477975ff937 Timestamp of repository flightsim: Tue, 26 Nov 2019 20:23:09 +0000 Head commit of repository flightsim: 77e6fd73453e32ec1404e21309dd48034e0d6e23 Timestamp of repository haskell: Sat, 11 Jan 2020 07:45:33 +0000 Head commit of repository haskell: 932f897ce6613c554f58a77a0f27abcae6605e2d Timestamp of repository laurentb: Fri, 10 Jan 2020 18:47:11 +0000 Head commit of repository laurentb: 059a6873c9435266073907d3e2a1199921cc1791 Timestamp of repository perl-experimental: Wed, 11 Dec 2019 19:13:31 +0000 Head commit of repository perl-experimental: fe10c6f858e9e93f165c4437c7d4d59829f37b2b Timestamp of repository quarks: Fri, 10 Jan 2020 00:46:40 +0000 Head commit of repository quarks: f002aa75b62ca53cccb6150744caadd4becfafe4 Timestamp of repository rion: Fri, 10 Jan 2020 18:47:18 +0000 Head commit of repository rion: 244ef7a29ca190c39752ce5d8b4055a6587602ec Timestamp of repository tamiko: Fri, 10 Jan 2020 18:47:27 +0000 Head commit of repository tamiko: 34f9cdde407ea9c31b068c1dbe490e0f09f258af sh dash 0.5.9.1-r3 ld GNU ld (Gentoo 2.32 p2) 2.32.0 distcc 3.3.3 x86_64-pc-linux-gnu [disabled] ccache version 3.7.6 [enabled] app-shells/bash: 4.4_p23-r1::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.30.1::gentoo dev-lang/python: 2.7.17::gentoo, 3.6.9::gentoo dev-util/ccache: 3.7.6::gentoo dev-util/cmake: 3.14.6::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.69-r4::gentoo sys-devel/automake: 1.11.6-r3::gentoo, 1.16.1-r1::gentoo sys-devel/binutils: 2.32-r1::gentoo sys-devel/gcc: 9.2.0-r2::gentoo sys-devel/gcc-config: 2.1::gentoo sys-devel/libtool: 2.4.6-r3::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 5.4::gentoo (virtual/os-headers) sys-libs/glibc: 2.29-r7::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: no sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 Krontage location: /var/db/repos/Krontage sync-type: git sync-uri: https://github.com/gentoo-mirror/Krontage.git masters: gentoo dlang location: /var/db/repos/dlang sync-type: git sync-uri: https://github.com/gentoo-mirror/dlang.git masters: gentoo flightsim location: /var/db/repos/flightsim sync-type: git sync-uri: https://github.com/gentoo-mirror/flightsim.git masters: gentoo haskell location: /var/db/repos/haskell sync-type: git sync-uri: https://github.com/gentoo-mirror/haskell.git masters: gentoo ket location: /home/ket-overlay masters: gentoo laurentb location: /var/db/repos/laurentb sync-type: git sync-uri: https://github.com/gentoo-mirror/laurentb.git masters: gentoo perl-experimental location: /var/db/repos/perl-experimental sync-type: git sync-uri: https://github.com/gentoo-mirror/perl-experimental.git masters: gentoo quarks location: /var/db/repos/quarks sync-type: git sync-uri: https://github.com/gentoo-mirror/quarks.git masters: gentoo rion location: /var/db/repos/rion sync-type: git sync-uri: https://github.com/gentoo-mirror/rion.git masters: gentoo tamiko location: /var/db/repos/tamiko sync-type: git sync-uri: https://github.com/gentoo-mirror/tamiko.git masters: gentoo ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/easy-rsa /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 /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" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildsyspkg ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict suidctl unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="ftp://ftp.fau.de/gentoo" LANG="de_DE" LC_ALL="C" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j2" 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 --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X acl alsa alsa-plugin amd64 bluetooth bzip2 caps crypt cxx glamor hardened iconv ipv6 jpeg libtirpc multilib ncurses nls nptl openmp oss pam pcre pcsc-lite pie png pulseaudio readline seccomp split-usr ssl ssp threads udev unicode vaapi vdpau xattr xtpax zlib zsh-completion" ABI_X86="64" ADA_TARGET="gnat_2018" 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev keyboard mouse wacom" KERNEL="linux" L10N="de de-1901 de-DE" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6 pypy3" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="dummy fbdev i965 intel vesa" 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: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Correction, it also fail with C locale.
Klaus can you please attach a full build log so I can try to see what is going on?
*** This bug has been marked as a duplicate of bug 705122 ***