Обновление и ошибка cmake [SOLVED]

Пришла пора обновить систему и я начал.
На dev-util/cmake-3.7.2 спотыкается с ошибкой на первой же строке.

cmake -C /var/tmp/portage/dev-util/cmake-3.7.2/work/cmake-3.7.2_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFI
X=/usr -DCMAKE_USE_SYSTEM_LIBRARIES=ON -DCMAKE_USE_SYSTEM_LIBRARY_JSONCPP=no -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_DOC_DIR=/share/doc/cmak
e-3.7.2 -DCMAKE_MAN_DIR=/share/man -DCMAKE_DATA_DIR=/share/cmake -DSPHINX_MAN=no -DSPHINX_HTML=no -DBUILD_CursesDialog=yes -DCMAKE_BUILD
_TYPE=Gentoo -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/dev-util/cmake-3.7.2/work/cmake-3.7.2_build/gentoo_rules.cmake -DCMAKE_TO
OLCHAIN_FILE=/var/tmp/portage/dev-util/cmake-3.7.2/work/cmake-3.7.2_build/gentoo_toolchain.cmake /var/tmp/portage/dev-util/cmake-3.7.2/
work/cmake-3.7.2
cmake: /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by cmake)
cmake: /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by cmake)
* ERROR: dev-util/cmake-3.7.2::gentoo failed (configure phase):

make.conf такой:

CFLAGS="-march=westmere -mmmx -msse -msse2 -msse3 -mssse3 -mcx16 -msahf -mpopcnt -msse4.2 -msse4.1 -mfxsr -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
CPU_FLAGS_X86="mmx sse sse2 sse3 mmxext"
MAKEOPTS="-j9 -l2"
FEATURES="parallel-fetch"
ACCEPT_KEYWORDS="~amd64"
CCACHE_DIR="/tmp/ccache/"
CCACHE_SIZE="2G"
CHOST="x86_64-pc-linux-gnu"

L10N="ru"
LINGUAS="ru ru_RU"
ABI_X86="64"
INPUT_DEVICES="evdev mouse"
VIDEO_CARDS="nvidia"
ACCEPT_LICENSE="*"

PYTHON_TARGETS="python2_7 python3_4" 
PYTHON_ABIS="3.4 3.5 3.6"
PYTHON_SINGLE_TARGET="python3_4" 

Машина:
Linux fil 4.9.0 #1 SMP PREEMPT Mon Dec 12 08:11:44 KRAT 2016 x86_64 Intel(R) Core(TM) i3 CPU 530 @ 2.93GHz GenuineIntel GNU/Linux

Есть у кого мысли?
Заранее спасибо.

Всем спасибо.
А дело было так: Накатил с обновлением но без оптимизации clang и llvm и все завелось.
Сейчас пересобиру с оптимизацией.

Сначала выдай не то, что тебе

Сначала выдай не то, что тебе кажется правильным, а то, что емерж просит в конце лога.

П.С. Имея такую супер-нестабильную систему как-то даже неприлично задавать такие вопросы... :)

А это все

>>> Emerging (1 of 1) dev-util/cmake-3.7.2::gentoo
 * cmake-3.7.2.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                       [ ok ]
>>> Unpacking source...
>>> Unpacking cmake-3.7.2.tar.gz to /var/tmp/portage/dev-util/cmake-3.7.2/work
>>> Source unpacked in /var/tmp/portage/dev-util/cmake-3.7.2/work
>>> Preparing source in /var/tmp/portage/dev-util/cmake-3.7.2/work/cmake-3.7.2 ...
 * Applying cmake-3.4.0_rc1-darwin-bundle.patch ...                                                                              [ ok ]
 * Applying cmake-3.0.0-prefix-dirs.patch ...                                                                                    [ ok ]
 * Applying cmake-3.1.0-darwin-isysroot.patch ...                                                                                [ ok ]
 * Applying cmake-2.8.12.1-FindImageMagick.patch ...                                                                             [ ok ]
 * Applying cmake-3.0.0-FindBLAS.patch ...                                                                                       [ ok ]
 * Applying cmake-3.0.0-FindBoost-python.patch ...                                                                               [ ok ]
 * Applying cmake-3.0.2-FindLAPACK.patch ...                                                                                     [ ok ]
 * Applying cmake-3.5.2-FindQt4.patch ...                                                                                        [ ok ]
 * Applying cmake-2.8.10.2-FindPythonLibs.patch ...                                                                              [ ok ]
 * Applying cmake-3.1.0-FindPythonInterp.patch ...                                                                               [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-util/cmake-3.7.2/work/cmake-3.7.2 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/dev-util/cmake-3.7.2/work/cmake-3.7.2_build"
cmake -C /var/tmp/portage/dev-util/cmake-3.7.2/work/cmake-3.7.2_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFI
X=/usr -DCMAKE_USE_SYSTEM_LIBRARIES=ON -DCMAKE_USE_SYSTEM_LIBRARY_JSONCPP=no -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_DOC_DIR=/share/doc/cmak
e-3.7.2 -DCMAKE_MAN_DIR=/share/man -DCMAKE_DATA_DIR=/share/cmake -DSPHINX_MAN=no -DSPHINX_HTML=no -DBUILD_CursesDialog=yes -DCMAKE_BUILD
_TYPE=Gentoo -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/dev-util/cmake-3.7.2/work/cmake-3.7.2_build/gentoo_rules.cmake -DCMAKE_TO
OLCHAIN_FILE=/var/tmp/portage/dev-util/cmake-3.7.2/work/cmake-3.7.2_build/gentoo_toolchain.cmake  /var/tmp/portage/dev-util/cmake-3.7.2/
work/cmake-3.7.2
cmake: /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by cmake)
cmake: /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by cmake)
 * ERROR: dev-util/cmake-3.7.2::gentoo failed (configure phase):
 *   cmake failed
 *
 * Call stack:
 *     ebuild.sh, line  115:  Called src_configure
 *   environment, line 3470:  Called cmake-utils_src_configure
 *   environment, line  914:  Called _cmake_execute_optionally 'src_configure'
 *   environment, line  371:  Called enable_cmake-utils_src_configure
 *   environment, line 1557:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 *
 * If you need support, post the output of `emerge --info '=dev-util/cmake-3.7.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-util/cmake-3.7.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-util/cmake-3.7.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/cmake-3.7.2/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-util/cmake-3.7.2/work/cmake-3.7.2_build'
 * S: '/var/tmp/portage/dev-util/cmake-3.7.2/work/cmake-3.7.2'

>>> Failed to emerge dev-util/cmake-3.7.2, Log file:

>>>  '/var/tmp/portage/dev-util/cmake-3.7.2/temp/build.log'

 * Messages for package dev-util/cmake-3.7.2:

 * ERROR: dev-util/cmake-3.7.2::gentoo failed (configure phase):
 *   cmake failed
 *
 * Call stack:
 *     ebuild.sh, line  115:  Called src_configure
 *   environment, line 3470:  Called cmake-utils_src_configure
 *   environment, line  914:  Called _cmake_execute_optionally 'src_configure'
 *   environment, line  371:  Called enable_cmake-utils_src_configure
 *   environment, line 1557:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 *
 * If you need support, post the output of `emerge --info '=dev-util/cmake-3.7.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-util/cmake-3.7.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-util/cmake-3.7.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/cmake-3.7.2/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-util/cmake-3.7.2/work/cmake-3.7.2_build'
 * S: '/var/tmp/portage/dev-util/cmake-3.7.2/work/cmake-3.7.2'

real	0m41,572s
user	0m0,122s
sys	0m41,686s

Делай, что должен и сбудется, чему суждено!
Linux 4.9.0 #2 SMP x86_64 Intel(R) Core(TM) i3 CPU 530 @ 2.93GHz
Mem: 4 Gb, VGA compatible controller: NVIDIA Corporation G92 [GeForce 9800 GT]

* If you need support, post

* If you need support, post the output of `emerge --info '=dev-util/cmake-3.7.2::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-util/cmake-3.7.2::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-util/cmake-3.7.2/temp/build.log'.

Если не уверен, что тебе это точно нужно - убери PYTHON_ABIS="3.4 3.5 3.6" и нестабильные питоны. :)

И покажи gcc-config -l

...

Попробуйте обновить GCC. И дайте, пожалуйста, развернутое инфо о своей системе.
...
Странно, флаг '~amd64' стоит, а GCC старый... или сколько их в системе?

gcc-4.9.3 в единственном числе

развернутое инфо о своей системе.
...

А что конкретно помимо make.conf?

Делай, что должен и сбудется, чему суждено!
Linux 4.9.0 #2 SMP x86_64 Intel(R) Core(TM) i3 CPU 530 @ 2.93GHz
Mem: 4 Gb, VGA compatible controller: NVIDIA Corporation G92 [GeForce 9800 GT]

delvin

delvin написал(а):
развернутое инфо о своей системе.
...

А что конкретно помимо make.conf?

emerge --info

emerge --info

emerge --info '=dev-util/cmake-3.7.2::gentoo'

Portage 2.3.3 (python 3.4.5-final-0, default/linux/amd64/13.0, gcc-4.9.3, glibc-2.23-r3, 4.9.0 x86_64)
=================================================================
System Settings
=================================================================
System uname:

KiB Mem: 3969972 total, 1150548 free
KiB Swap: 4000148 total, 3901428 free
Timestamp of repository gentoo: Sun, 22 Jan 2017 00:45:01 +0000
sh bash 4.4_p11
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
ccache version 3.2.4 [disabled]
app-shells/bash: 4.4_p11::gentoo
dev-java/java-config: 2.2.0-r3::gentoo
dev-lang/perl: 5.20.2::gentoo
dev-lang/python: 2.7.12::gentoo, 3.4.5::gentoo, 3.5.2::gentoo, 3.6.0::gentoo
dev-util/ccache: 3.2.4::gentoo
dev-util/cmake: 3.7.1::gentoo
dev-util/pkgconfig: 0.28-r2::gentoo
sys-apps/baselayout: 2.2::gentoo
sys-apps/openrc: 0.22::gentoo
sys-apps/sandbox: 2.10-r1::gentoo
sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo
sys-devel/automake: 1.10.3-r1::gentoo, 1.11.6-r1::gentoo, 1.12.6::gentoo, 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.7.3::gentoo
sys-devel/libtool: 2.4.6::gentoo
sys-devel/make: 4.1-r1::gentoo
sys-kernel/linux-headers: 4.9::gentoo (virtual/os-headers)
sys-libs/glibc: 2.23-r3::gentoo
Repositories:

gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000

usr-portage
location: /usr/local/portage
masters: gentoo
priority: 0

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/entropy /usr/lib64/libreoffice/program/sofficerc /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/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -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 xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://de-mirror.org/gentoo/ ftp://de-mirror.org/gentoo/ rsync://de-mirror.org/gentoo/ ftp://ftp.halifax.rwth-aachen.de/gentoo/ http://gentoo.bloodhost.ru/ ftp://gentoo.bloodhost.ru/ rsync://gentoo.bloodhost.ru/gentoo-distfiles ftp://xeon.gentoo.ru/mirrors/gentoo/distfiles/ ftp://mirror.yandex.ru/gentoo-distfiles/ http://mirror.yandex.ru/gentoo-distfiles/"
LANG="ru_RU.UTF-8"
LC_ALL="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9 -l2"
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 amd64 berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm gif iconv ipv6 jpeg mmx mmxext modules multilib ncurses nls nptl openmp pam pcre png qt3support readline seccomp session sse sse2 ssl tcpd unicode xattr xcb zlib" ABI_X86="64 32" 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="mmx sse sse2 sse3 mmxext" 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 mouse" KERNEL="linux" L10N="ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru ru_RU" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" 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: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

Примерно так.

Делай, что должен и сбудется, чему суждено!
Linux 4.9.0 #2 SMP x86_64 Intel(R) Core(TM) i3 CPU 530 @ 2.93GHz
Mem: 4 Gb, VGA compatible controller: NVIDIA Corporation G92 [GeForce 9800 GT]

Настройки просмотра комментариев

Выберите нужный метод показа комментариев и нажмите "Сохранить установки".