... and it also completly ignores C*FLAGS. [ 82%] Building CXX object src/mongo/CMakeFiles/mongo.dir/shell/linenoise.cpp.o cd /var/tmp/portage/dev-db/tokumx-2.0.1/work/mongo/build/src/mongo && /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-g++ -DMONGO_EXPOSE_MACROS -DMONGO_HAVE_EXECINFO_BACKTRACE -DMONGO_HAVE_HEADER_LIMITS_H -DMONGO_HAVE_HEADER_LINUX_MAGIC_H=1 -DMONGO_HAVE_HEADER_SYS_MOUNT_H=1 -DMONGO_HAVE_HEADER_SYS_PARAM_H=1 -DMONGO_HAVE_HEADER_SYS_RESOURCE_H=1 -DMONGO_HAVE_HEADER_SYS_STATFS_H=1 -DMONGO_HAVE_HEADER_SYS_VFS_H=1 -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_HEADER_XFS_XFS_H=1 -DSUPPORT_UTF8 -D_FILE_OFFSET_BITS=64 -D_HAVEPCAP -I/var/tmp/portage/dev-db/tokumx-2.0.1/work/mongo/src/third_party/s2 -I/var/tmp/portage/dev-db/tokumx-2.0.1/work/mongo/build/src/third_party/./ft-index/buildheader -I/var/tmp/portage/dev-db/tokumx-2.0.1/work/mongo/build/src/third_party/./ft-index/portability -I/var/tmp/portage/dev-db/tokumx-2.0.1/work/mongo/src/third_party/ft-index/include -I/var/tmp/portage/dev-db/tokumx-2.0.1/work/mongo/src/third_party/ft-index/portability -I/var/tmp/portage/dev-db/tokumx-2.0.1/work/mongo/src/third_party/ft-index/util -I/var/tmp/portage/dev-db/tokumx-2.0.1/work/mongo/src/third_party/backup -I/var/tmp/portage/dev-db/tokumx-2.0.1/work/mongo/src/third_party/v8/include -I/var/tmp/portage/dev-db/tokumx-2.0.1/work/mongo/src/mongo/.. -I/var/tmp/portage/dev-db/tokumx-2.0.1/work/mongo/src/mongo/. -I/var/tmp/portage/dev-db/tokumx-2.0.1/work/mongo/build/src/mongo/.. -fPIC -fno-strict-aliasing -ggdb -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -Wnon-virtual-dtor -Woverloaded-virtual -Wno-unused-local-typedefs -fno-builtin-memcmp -O3 -o CMakeFiles/mongo.dir/shell/linenoise.cpp.o -c /var/tmp/portage/dev-db/tokumx-2.0.1/work/mongo/src/mongo/shell/linenoise.cpp In file included from /var/tmp/portage/dev-db/tokumx-2.0.1/work/mongo/src/mongo/shell/linenoise.cpp:116:0: /var/tmp/portage/dev-db/tokumx-2.0.1/work/mongo/src/mongo/shell/linenoise_utf8.h: In member function ‘void linenoise_utf8::UtfStringMixin<char_type>::swap(linenoise_utf8::UtfStringMixin<char_type>&)’: /var/tmp/portage/dev-db/tokumx-2.0.1/work/mongo/src/mongo/shell/linenoise_utf8.h:145:9: error: ‘swap’ is not a member of ‘std’ std::swap( _len, other._len ); ^ /var/tmp/portage/dev-db/tokumx-2.0.1/work/mongo/src/mongo/shell/linenoise_utf8.h:145:9: note: suggested alternative: In file included from /var/tmp/portage/dev-db/tokumx-2.0.1/work/mongo/src/mongo/shell/linenoise_utf8.h:18:0, from /var/tmp/portage/dev-db/tokumx-2.0.1/work/mongo/src/mongo/shell/linenoise.cpp:116: /usr/include/boost/smart_ptr/scoped_array.hpp:125:31: note: ‘boost::swap’ template<class T> inline void swap(scoped_array<T> & a, scoped_array<T> & b) BOOST_NOEXCEPT ^ In file included from /var/tmp/portage/dev-db/tokumx-2.0.1/work/mongo/src/mongo/shell/linenoise.cpp:116:0: /var/tmp/portage/dev-db/tokumx-2.0.1/work/mongo/src/mongo/shell/linenoise_utf8.h:146:9: error: ‘swap’ is not a member of ‘std’ std::swap( _cap, other._cap ); ^ /var/tmp/portage/dev-db/tokumx-2.0.1/work/mongo/src/mongo/shell/linenoise_utf8.h:146:9: note: suggested alternative: In file included from /var/tmp/portage/dev-db/tokumx-2.0.1/work/mongo/src/mongo/shell/linenoise_utf8.h:18:0, from /var/tmp/portage/dev-db/tokumx-2.0.1/work/mongo/src/mongo/shell/linenoise.cpp:116: /usr/include/boost/smart_ptr/scoped_array.hpp:125:31: note: ‘boost::swap’ template<class T> inline void swap(scoped_array<T> & a, scoped_array<T> & b) BOOST_NOEXCEPT ^ In file included from /var/tmp/portage/dev-db/tokumx-2.0.1/work/mongo/src/mongo/shell/linenoise.cpp:116:0: /var/tmp/portage/dev-db/tokumx-2.0.1/work/mongo/src/mongo/shell/linenoise_utf8.h:147:9: error: ‘swap’ is not a member of ‘std’ std::swap( _chars, other._chars ); ^ /var/tmp/portage/dev-db/tokumx-2.0.1/work/mongo/src/mongo/shell/linenoise_utf8.h:147:9: note: suggested alternative: In file included from /var/tmp/portage/dev-db/tokumx-2.0.1/work/mongo/src/mongo/shell/linenoise_utf8.h:18:0, from /var/tmp/portage/dev-db/tokumx-2.0.1/work/mongo/src/mongo/shell/linenoise.cpp:116: /usr/include/boost/smart_ptr/scoped_array.hpp:125:31: note: ‘boost::swap’ template<class T> inline void swap(scoped_array<T> & a, scoped_array<T> & b) BOOST_NOEXCEPT ^ src/mongo/CMakeFiles/mongo.dir/build.make:182: recipe for target 'src/mongo/CMakeFiles/mongo.dir/shell/linenoise.cpp.o' failed make[2]: *** [src/mongo/CMakeFiles/mongo.dir/shell/linenoise.cpp.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/dev-db/tokumx-2.0.1/work/mongo/build' CMakeFiles/Makefile2:2560: recipe for target 'src/mongo/CMakeFiles/mongo.dir/all' failed make[1]: *** [src/mongo/CMakeFiles/mongo.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... Reproducible: Always # emerge --info Portage 2.2.26 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.9.3, glibc-2.22-r1, 4.2.6-gentoo x86_64) ================================================================= System uname: Linux-4.2.6-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.2 Timestamp of repository gentoo: Sun, 29 Nov 2015 06:30:01 +0000 sh bash 4.3_p42 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 ccache version 3.2.4 [enabled] app-shells/bash: 4.3_p42::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/perl: 5.22.0::gentoo dev-lang/python: 2.7.10-r3::gentoo, 3.4.3-r2::gentoo dev-util/ccache: 3.2.4::gentoo dev-util/cmake: 3.4.0-r1::gentoo dev-util/pkgconfig: 0.29::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.18.3::gentoo sys-apps/sandbox: 2.9::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r1::gentoo sys-devel/automake: 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc: 4.9.3::gentoo sys-devel/gcc-config: 1.8::gentoo sys-devel/libtool: 2.4.6-r1::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers) sys-libs/glibc: 2.22-r1::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://192.168.138.254/gentoo-portage priority: -1000 sync-rsync-extra-opts: -O ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=native -pipe -fpeel-loops -fuse-linker-plugin -fuse-ld=gold -fvar-tracking-assignments -gdwarf-4" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /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 -fpeel-loops -fuse-linker-plugin -fuse-ld=gold -fvar-tracking-assignments -gdwarf-4" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -march=native -pipe -fpeel-loops -fuse-linker-plugin -fuse-ld=gold -fvar-tracking-assignments -gdwarf-4" FEATURES="assume-digests binpkg-logs ccache cgroup collision-protect compressdebug config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -march=native -pipe -fpeel-loops -fuse-linker-plugin -fuse-ld=gold -fvar-tracking-assignments -gdwarf-4" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="-O" 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" USE="X a52 aac acl acpi aio alsa amd64 apm async bash-completion bittorrent branding bzip2 cairo caps cdda cdr chroot cli consolekit crypt cups cxx dbus declarative dmx dri dvd dvdr emboss encode exif fam firefox ftp gif glamor glibc-omitfp gpl gpm graphite gstreamer iconv idn iproute2 ipv6 ithreads jpeg kde kipi laptop lcms libnotify lightning logrotate mad mmap mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses network-cron nls nptl nsplugin nspluginwrapper objc ogg opengl openmp openssl optimization optimized-qmake pam pango pcre pdf phonon plasma png policykit ppds python3 qt3support qt4 readline samba sdl seccomp semantic-desktop session sharedmem smp spell sse sse2 ssl startup-notification svg threads threadsafe tiff tools truetype udev udisks unicode unwind upower urandom usb vim vim-pager vim-syntax vorbis wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid zip zlib" 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="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 cgid dav dbd deflate dir env expires ext_filter filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id usertrack vhost_alias" APACHE2_MPMS="worker" 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="mmx mmxext sse sse2 sse3 ssse3" DRACUT_MODULES="caps lvm mdraid" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="pl en es es_ES" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" USERLAND="GNU" VIDEO_CARDS="nvidia fbdev 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: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON
Created attachment 418182 [details] compressed build.log
This is a Boost 57 incompatibility. A patch has been added to the 2.0.2 ebuild that will address this. With that newer Boost now stable, it means I deleting old ebuilds now as they are no longer usable.