Привет, ЛОР! Мне конечно очень понравилась gentoo но я устал терпеть проблемы с компиляцией, на этот раз компилял networkmanager с зависимостями:
>>> Emerging (4 of 24) sys-libs/slang-2.3.2::gentoo
* slang-2.3.2.tar.bz2 BLAKE2B SHA512 size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking slang-2.3.2.tar.bz2 to /var/tmp/portage/sys-libs/slang-2.3.2/work
>>> Source unpacked in /var/tmp/portage/sys-libs/slang-2.3.2/work
>>> Preparing source in /var/tmp/portage/sys-libs/slang-2.3.2/work/slang-2.3.2 ...
* Applying slang-2.3.1-slsh-libs.patch ... [ ok ]
* Will copy sources from /var/tmp/portage/sys-libs/slang-2.3.2/work/slang-2.3.2
* abi_x86_64.amd64: copying to /var/tmp/portage/sys-libs/slang-2.3.2/work/slang-2.3.2-abi_x86_64.amd64
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-libs/slang-2.3.2/work/slang-2.3.2 ...
* abi_x86_64.amd64: running multilib-minimal_abi_src_configure
* econf: updating slang-2.3.2-abi_x86_64.amd64/autoconf/config.sub with /usr/share/gnuconfig/config.sub
* econf: updating slang-2.3.2-abi_x86_64.amd64/autoconf/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating slang-2.3.2/autoconf/config.sub with /usr/share/gnuconfig/config.sub
* econf: updating slang-2.3.2/autoconf/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --docdir=/usr/share/doc/slang-2.3.2 --htmldir=/usr/share/doc/slang-2.3.2/html --libdir=/usr/lib64 --with-readline=gnu --with-pcre --without-onig --without-png --with-z
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... /lib/cpp
configure: error: in `/var/tmp/portage/sys-libs/slang-2.3.2/work/slang-2.3.2-abi_x86_64.amd64':
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details
!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-libs/slang-2.3.2/work/slang-2.3.2-abi_x86_64.amd64/config.log
* ERROR: sys-libs/slang-2.3.2::gentoo failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 127: Called src_configure
* environment, line 1611: Called multilib-minimal_src_configure
* environment, line 1054: Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
* environment, line 1307: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
* environment, line 984: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
* environment, line 982: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
* environment, line 378: Called multilib-minimal_abi_src_configure
* environment, line 1048: Called multilib_src_configure
* environment, line 1525: Called econf '--with-readline=gnu' '--with-pcre' '--without-onig' '--without-png' '--with-z'
* phase-helpers.sh, line 711: Called __helpers_die 'econf failed'
* isolated-functions.sh, line 112: Called die
* The specific snippet of code:
* die "$@"
*
* If you need support, post the output of `emerge --info '=sys-libs/slang-2.3.2::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-libs/slang-2.3.2::gentoo'`.
* The complete build log is located at '/var/tmp/portage/sys-libs/slang-2.3.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-libs/slang-2.3.2/temp/environment'.
* Working directory: '/var/tmp/portage/sys-libs/slang-2.3.2/work/slang-2.3.2-abi_x86_64.amd64'
* S: '/var/tmp/portage/sys-libs/slang-2.3.2/work/slang-2.3.2'
>>> Failed to emerge sys-libs/slang-2.3.2, Log file:
>>> '/var/tmp/portage/sys-libs/slang-2.3.2/temp/build.log'
* Messages for package net-misc/networkmanager-1.32.6:
* Was unable to determine your kernel .config
* Please note that if CONFIG_SYSFS_DEPRECATED_V2 is set in your kernel .config, NetworkManager will not work correctly.
* See https://bugs.gentoo.org/333639 for more info.
* Messages for package acct-group/plugdev-0-r1:
* Adding group 'plugdev' to your system ...
* - Groupid: 272
* Messages for package sys-libs/slang-2.3.2:
* ERROR: sys-libs/slang-2.3.2::gentoo failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 127: Called src_configure
* environment, line 1611: Called multilib-minimal_src_configure
* environment, line 1054: Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
* environment, line 1307: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
* environment, line 984: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
* environment, line 982: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
* environment, line 378: Called multilib-minimal_abi_src_configure
* environment, line 1048: Called multilib_src_configure
* environment, line 1525: Called econf '--with-readline=gnu' '--with-pcre' '--without-onig' '--without-png' '--with-z'
* phase-helpers.sh, line 711: Called __helpers_die 'econf failed'
* isolated-functions.sh, line 112: Called die
* The specific snippet of code:
* die "$@"
*
* If you need support, post the output of `emerge --info '=sys-libs/slang-2.3.2::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-libs/slang-2.3.2::gentoo'`.
* The complete build log is located at '/var/tmp/portage/sys-libs/slang-2.3.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-libs/slang-2.3.2/temp/environment'.
* Working directory: '/var/tmp/portage/sys-libs/slang-2.3.2/work/slang-2.3.2-abi_x86_64.amd64'
* S: '/var/tmp/portage/sys-libs/slang-2.3.2/work/slang-2.3.2'
* GNU info directory index is up-to-date.
Лог сборки тут: https://pastebin.com/XDZdQEiC
И при чем такая же ошибка уже не первый раз: пытался поставить tmux, moc прочие утилиты и проги и точно такая же ошибка вылезает.