Checking for header sys/utsname.h : yes Checking uname sysname type : Traceback (most recent call last): File "/var/tmp/portage/sys-libs/tdb-1.3.11/work/tdb-1.3.11/buildtools/bin/waf", line 76, in <module> Scripting.prepare(t, cwd, VERSION, wafdir) File "/var/tmp/portage/sys-libs/tdb-1.3.11/work/tdb-1.3.11/third_party/waf/wafadmin/Scripting.py", line 145, in prepa re prepare_impl(t, cwd, ver, wafdir) File "/var/tmp/portage/sys-libs/tdb-1.3.11/work/tdb-1.3.11/third_party/waf/wafadmin/Scripting.py", line 135, in prepa re_impl main() File "/var/tmp/portage/sys-libs/tdb-1.3.11/work/tdb-1.3.11/third_party/waf/wafadmin/Scripting.py", line 188, in main fun(ctx) File "/var/tmp/portage/sys-libs/tdb-1.3.11/work/tdb-1.3.11/third_party/waf/wafadmin/Scripting.py", line 241, in confi gure conf.sub_config(['']) File "/var/tmp/portage/sys-libs/tdb-1.3.11/work/tdb-1.3.11/third_party/waf/wafadmin/Configure.py", line 237, in sub_config self.recurse(k, name='configure') File "/var/tmp/portage/sys-libs/tdb-1.3.11/work/tdb-1.3.11/third_party/waf/wafadmin/Utils.py", line 656, in recurse f(self) File "/var/tmp/portage/sys-libs/tdb-1.3.11/work/tdb-1.3.11-abi_x86_32.x86/wscript", line 75, in configure conf.RECURSE('lib/replace') File "./buildtools/wafsamba/samba_utils.py", line 451, in RECURSE return ctx.sub_config(relpath) File "/var/tmp/portage/sys-libs/tdb-1.3.11/work/tdb-1.3.11/third_party/waf/wafadmin/Configure.py", line 237, in sub_config self.recurse(k, name='configure') File "/var/tmp/portage/sys-libs/tdb-1.3.11/work/tdb-1.3.11/third_party/waf/wafadmin/Utils.py", line 656, in recurse f(self) File "/var/tmp/portage/sys-libs/tdb-1.3.11/work/tdb-1.3.11/third_party/waf/wafadmin/Utils.py", line 743, in wrap ret = fun(k) File "/var/tmp/portage/sys-libs/tdb-1.3.11/work/tdb-1.3.11-abi_x86_32.x86/lib/replace/wscript", line 28, in configure conf.RECURSE('buildtools/wafsamba') File "./buildtools/wafsamba/samba_utils.py", line 451, in RECURSE return ctx.sub_config(relpath) File "/var/tmp/portage/sys-libs/tdb-1.3.11/work/tdb-1.3.11/third_party/waf/wafadmin/Configure.py", line 237, in sub_config self.recurse(k, name='configure') File "/var/tmp/portage/sys-libs/tdb-1.3.11/work/tdb-1.3.11/third_party/waf/wafadmin/Utils.py", line 656, in recurse f(self) File "/var/tmp/portage/sys-libs/tdb-1.3.11/work/tdb-1.3.11/third_party/waf/wafadmin/Utils.py", line 743, in wrap ret = fun(k) File "/var/tmp/portage/sys-libs/tdb-1.3.11/work/tdb-1.3.11-abi_x86_32.x86/lib/replace/../../buildtools/wafsamba/wscript", line 308, in configure conf.CHECK_UNAME() File "./buildtools/wafsamba/samba_conftests.py", line 449, in CHECK_UNAME msg="Checking uname %s type" % v): File "./buildtools/wafsamba/samba_autoconf.py", line 446, in CHECK_CODE conf.COMPOUND_END(conf.env[define]) File "./buildtools/wafsamba/samba_autoconf.py", line 69, in COMPOUND_END p(result) File "/var/tmp/portage/sys-libs/tdb-1.3.11/work/tdb-1.3.11/third_party/waf/wafadmin/Configure.py", line 299, in check_message_2 self.log.write(sr) TypeError: expected a string or other character buffer object Portage 2.3.0 (python 2.7.12-final-0, default/linux/amd64/13.0/desktop, gcc-5.3.0, glibc-2.23-r2, 4.7.2-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.7.2-gentoo-x86_64-Intel-R-_Core-TM-_i7-3740QM_CPU_@_2.70GHz-with-gentoo-2.3 KiB Mem: 32832884 total, 3195356 free KiB Swap: 20971512 total, 20971512 free Timestamp of repository gentoo: Mon, 12 Sep 2016 19:30:01 +0000 sh bash 4.3_p46 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 distcc 3.2rc1 x86_64-pc-linux-gnu [enabled] app-shells/bash: 4.3_p46::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.24.0-r1::gentoo dev-lang/python: 2.7.12::gentoo, 3.4.5::gentoo dev-util/cmake: 3.6.2::gentoo dev-util/pkgconfig: 0.29.1::gentoo sys-apps/baselayout: 2.3::gentoo sys-apps/openrc: 0.21.7::gentoo sys-apps/sandbox: 2.10-r2::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r2::gentoo sys-devel/automake: 1.11.6-r2::gentoo, 1.12.6-r1::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo sys-devel/binutils: 2.25.1-r1::gentoo, 2.26.1::gentoo sys-devel/gcc: 5.3.0::gentoo, 5.4.0::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r2::gentoo sys-devel/make: 4.2.1::gentoo sys-kernel/linux-headers: 4.7::gentoo (virtual/os-headers) sys-libs/glibc: 2.23-r2::gentoo (...) ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CC="x86_64-pc-linux-gnu-gcc-5.4.0" CFLAGS="-O2 -pipe -fomit-frame-pointer -g -march=core2 -mcx16 -msahf -maes -mpclmul -mpopcnt -mavx --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=256 -mtune=core2" 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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXX="x86_64-pc-linux-gnu-g++-5.4.0" CXXFLAGS="-O2 -pipe -fomit-frame-pointer -g -march=core2 -mcx16 -msahf -maes -mpclmul -mpopcnt -mavx --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=256 -mtune=core2" DISTDIR="/var/tmp/distfiles" EMERGE_DEFAULT_OPTS="-j12 --load-average=7" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs clean-logs compress-build-logs compressdebug config-protect-if-modified distcc distcc-pump distlocks ebuild-locks fail-clean fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms split-elog splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=both -Wl,--sort-common" MAKEOPTS="-j12 -l7" 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 a52 aac acl acpi aes alsa amd64 avahi avx berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cryptsetup cups cxx dbus device-mapper dmenu dri dts dvd dvdr emacs emboss encode exif fam firefox flac fontconfig fortran gdbm gif glamor gles2 gpm gssapi gtk iconv icu ipv6 jpeg kerberos lcms ldap libkms libnotify lvm lzma mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ntlm ogg opengl openldap openmp pam pango pcre pdf png policykit popcnt ppds qt3support qt4 readline samba sasl sctp sdl seccomp session spell sqlite sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification svg systemd tcpd tiff truetype udev udisks unicode upower usb vim-syntax vorbis wxwidgets x264 xattr xcb xcomposite xinerama xml xv xvid zeroconf zlib zsh-completion" ABI_X86="32 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" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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" GRUB_PLATFORMS="efi-64" 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" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="intel nouveau" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON ================================================================= Package Settings ================================================================= sys-libs/tdb-1.3.10::gentoo was built with the following: USE="python" ABI_X86="32 64 -x32" PYTHON_TARGETS="python2_7"
The same affects sys-libs/ldb.
Are you using distcc?
(In reply to Víctor Ostorga from comment #2) > Are you using distcc? Yes, though probably I have tested it without it before submitting a bug if I haven't added it (also see FEATURES).