Created attachment 542772 [details] build.log > checking whether the preprocessor supports include_next... yes > checking whether system header files limit the line length... no > checking whether <wchar.h> uses 'inline' correctly... no > configure: error: <wchar.h> cannot be used with this compiler (x86_64-pc-linux-gnu-gcc -O2 -pipe -march=sandybridge -mtune=sandybridge -Wall ). > This is a known interoperability problem of glibc <= 2.5 with gcc >= 4.3 in > C99 mode. You have four options: > - Add the flag -fgnu89-inline to CC and reconfigure, or > - Fix your include files, using parts of > <https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=b037a293a48718af30d706c2e18c929d0e69a621>, or > - Use a gcc version older than 4.3, or > - Don't use the flags -std=c99 or -std=gnu99. > Configuration aborted. > Seems to be caused by FEATURES=distcc. The host where I am building net-ftp/lftp is running glibc-2.27-r5 (reboot pending). The distcc remote systems are already at glibc-2.27-r6. Portage 2.3.44 (python 3.6.6-final-0, default/linux/amd64/17.0, gcc-7.3.0, glibc-2.27-r6, 4.9.116-gentoo x86_64) ================================================================= System uname: Linux-4.9.116-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2620_0_@_2.00GHz-with-gentoo-2.6 KiB Mem: 2051420 total, 411464 free KiB Swap: 2097148 total, 2097048 free Timestamp of repository gentoo: Tue, 07 Aug 2018 23:24:24 +0000 Head commit of repository gentoo: 32eaf867f7f1babd26d915e2e813b218896e8382 sh bash 4.4_p23 ld GNU ld (Gentoo 2.30 p3) 2.30.0 distcc 3.2rc1 x86_64-pc-linux-gnu [enabled] app-shells/bash: 4.4_p23::gentoo dev-lang/perl: 5.26.2::gentoo dev-lang/python: 2.7.15::gentoo, 3.6.6::gentoo, 3.7.0::gentoo dev-util/cmake: 3.12.0::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/openrc: 0.38.2::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.69-r4::gentoo sys-devel/automake: 1.16.1-r1::gentoo sys-devel/binutils: 2.30-r3::gentoo, 2.31.1::gentoo sys-devel/gcc: 7.3.0-r3::gentoo sys-devel/gcc-config: 1.9.1::gentoo sys-devel/libtool: 2.4.6-r5::gentoo sys-devel/make: 4.2.1-r3::gentoo sys-kernel/linux-headers: 4.17::gentoo (virtual/os-headers) sys-libs/glibc: 2.27-r6::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo.git priority: -1000 sync-git-verify-commit-signature: true ABI="amd64" ABI_X86="64" ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" ACCEPT_PROPERTIES="*" ACCEPT_RESTRICT="*" ARCH="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=sandybridge -mtune=sandybridge" CFLAGS_amd64="-m64" CFLAGS_x32="-mx32" CFLAGS_x86="-m32" CHOST="x86_64-pc-linux-gnu" CHOST_amd64="x86_64-pc-linux-gnu" CHOST_x32="x86_64-pc-linux-gnux32" CHOST_x86="i686-pc-linux-gnu" CLEAN_DELAY="5" COLLISION_IGNORE="/lib/modules/* *.py[co] *$py.class */dropin.cache" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.2/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CXXFLAGS="-O2 -pipe -march=sandybridge -mtune=sandybridge" DCC_EMAILLOG_WHOM_TO_BLAME="" DEFAULT_ABI="amd64" DISTCC_ENABLE_DISCREPANCY_EMAIL="" DISTCC_FALLBACK="1" DISTCC_SAVE_TEMPS="0" DISTCC_SSH="" DISTCC_TCP_CORK="" DISTCC_VERBOSE="0" DISTDIR="/var/cache/portage/distfiles" EDITOR="/usr/bin/mcedit" ELIBC="glibc" EMERGE_DEFAULT_OPTS=" --verbose --with-bdeps=y --misspell-suggestions=n" EMERGE_WARNING_DELAY="10" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" EPREFIX="" EROOT="/" ESYSROOT="/" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs cgroup config-protect-if-modified distcc distcc-pump distlocks downgrade-backup ebuild-locks fixlafiles lmirror merge-sync mirror multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms split-elog split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GCC_SPECS="" GRUB_PLATFORMS="pc" HOME="/root" INFOPATH="/usr/share/gcc-data/x86_64-pc-linux-gnu/7.3.0/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.30/info:/usr/share/info" INPUT_DEVICES="libinput keyboard mouse" INSTALL_MASK="" IUSE_IMPLICIT="abi_x86_64 prefix prefix-chain prefix-guest" KERNEL="linux" L10N="en en-US de de-DE" LANG="en_US.UTF-8" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LC_MESSAGES="C" LC_NUMERIC="de_DE.UTF-8" LC_PAPER="de_DE.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LDFLAGS_amd64="-m elf_x86_64" LDFLAGS_x32="-m elf32_x86_64" LDFLAGS_x86="-m elf_i386" LESS="-R -M --shift 5" LESSCOLOR="yes" LESSCOLORIZER="pygmentize" LESSOPEN="|lesspipe %s" LIBDIR_amd64="lib64" LIBDIR_x32="libx32" LIBDIR_x86="lib32" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en de" LOGNAME="root" MAIL="/var/mail/root" MAKEOPTS="--jobs 9" MANPATH="/usr/share/gcc-data/x86_64-pc-linux-gnu/7.3.0/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.30/man:/usr/lib64/php5.6/man/:/usr/lib64/php7.2/man/:/usr/local/share/man:/usr/share/man" MULTILIB_ABIS="amd64 x86" MULTILIB_STRICT_DENY="64-bit.*shared object" MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib" MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage|udev|systemd|clang|python-exec|llvm)" NOCOLOR="true" PAGER="/usr/bin/less" PATH="/usr/x86_64-pc-linux-gnu/gcc-bin/7.3.0:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin" PKGDIR="/var/cache/portage/packages" PWD="/root" PYTHONDONTWRITEBYTECODE="1" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6 python3_7" ROOT="/" ROOTPATH="/usr/x86_64-pc-linux-gnu/gcc-bin/7.3.0:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin" RPMDIR="/usr/portage/rpm" RUBY_TARGETS="ruby23" SHELL="/bin/bash" SHLVL="2" SSH_AUTH_SOCK="/tmp/ssh-sVxRqFy7Y1/agent.32539" SSH_CLIENT="... 57807 22" SSH_CONNECTION="... 57807 ... 22" SSH_TTY="/dev/pts/0" SYMLINK_LIB="yes" SYSROOT="/" TERM="screen" TMUX="/tmp/tmux-0/default,32553,0" TMUX_PANE="%0" TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1" UNCACHED_ERR_FD="" UNINSTALL_IGNORE="/lib/modules/* /var/run /var/lock" USE="acl amd64 berkdb bzip2 cli crypt cxx dri fortran gdbm gnutls iconv idn ipv6 libtirpc mmx modules multilib ncurses nls nptl openmp pam pcre readline seccomp sse sse2 sse3 sse4 ssl tcpd threads udev unicode xattr zlib" ABI_X86="64" USERLAND="GNU" USER="root" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="geoip"
(In reply to Thomas Deutschmann from comment #0) > Seems to be caused by FEATURES=distcc. > > The host where I am building net-ftp/lftp is running glibc-2.27-r5 (reboot > pending). The distcc remote systems are already at glibc-2.27-r6. So, fix your toolchain, then?
(In reply to Jeroen Roovers from comment #1) > (In reply to Thomas Deutschmann from comment #0) > > Seems to be caused by FEATURES=distcc. > > > > The host where I am building net-ftp/lftp is running glibc-2.27-r5 (reboot > > pending). The distcc remote systems are already at glibc-2.27-r6. > > So, fix your toolchain, then? I have now rebooted the host so new glibc is active and error is still there.
It might be helpful to see config.log.
Created attachment 542800 [details] config.log
See updated tracker bug: This is caused by FEATURES=distcc-pump. Using distcc without pump feature works.
FEATURES=distcc-pump has been removed from portage.