[РЕШЕНО] Не собирается mesa и vte
# emerge --info
Portage 3.0.11 (python 3.8.1-final-0, default/linux/amd64/17.1/desktop, gcc-10.1.0, glibc-2.32-r2, 5.9.12-gentoo x86_64)
=================================================================
System uname:
KiB Mem: 3989480 total, 46488 free
KiB Swap: 10485756 total, 3227972 free
Timestamp of repository gentoo: Tue, 08 Dec 2020 08:15:01 +0000
Head commit of repository gentoo: 9344e5fcf3684e161deb8d9cfa82fa91f72dde9d
sh bash 5.0_p11
ld GNU ld (Gentoo 2.34 p1) 2.34.0
app-shells/bash: 5.0_p11::gentoo
dev-java/java-config: 2.3.1::gentoo
dev-lang/perl: 5.30.3-r1::gentoo
dev-lang/python: 2.7.18-r4::gentoo, 3.6.9::gentoo, 3.7.7-r2::gentoo, 3.8.1::gentoo, 3.9.0::gentoo
dev-util/cmake: 3.19.1::gentoo
dev-util/pkgconfig: 0.29.2::gentoo
sys-apps/baselayout: 2.7::gentoo
sys-apps/sandbox: 2.18::gentoo
sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake: 1.15.1-r2::gentoo, 1.16.2::gentoo
sys-devel/binutils: 2.34::gentoo
sys-devel/gcc: 10.1.0::gentoo
sys-devel/gcc-config: 2.3.1::gentoo
sys-devel/libtool: 2.4.6-r5::gentoo
sys-devel/make: 4.3::gentoo
sys-kernel/linux-headers: 5.9::gentoo (virtual/os-headers)
sys-libs/glibc: 2.32-r2::gentoo
Repositories:
gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.ru.gentoo.org/gentoo-portage
priority: -1000
sync-rsync-verify-metamanifest: yes
sync-rsync-extra-opts:
sync-rsync-verify-max-age: 24
sync-rsync-verify-jobs: 1
...
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
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/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirror.yandex.ru http://mirror.yandex.ru ftp://gentoo.bloodhost.ru/ http://gentoo.bloodhost.ru/"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru ru_RU en"
MAKEOPTS="-j5"
PKGDIR="/var/cache/binpkgs"
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 avx berkdb branding bzip2 cairo cdda cdr cjk cli crypt cups dbus dri dts dvd dvdr elogind emboss encode exif flac fortran gdbm gif gpm gtk gui iconv icu ipv6 jpeg lcms libglvnd libnotify libtirpc mad mmx mmxext mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit popcnt ppds qt5 readline sdl seccomp spell split-usr sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification svg systemd tcpd tiff truetype udev udisks unicode upower usb v4l vorbis wxwidgets x264 xattr xcb xinerama xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx cjk v4l mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3 systemd xinerama" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" L10N="ru ru-RU" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python2_7 python3_8" RUBY_TARGETS="ruby25 ruby26" USERLAND="GNU" VIDEO_CARDS="nouveau" XFCE_PLUGINS="clock power trash" 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, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
# emerge -av1 mesa
...
ninja: build stopped: subcommand failed.
* ERROR: media-libs/mesa-20.3.0::gentoo failed (compile phase):
* ninja -v -j5 -l0 -C /var/tmp/portage/media-libs/mesa-20.3.0/work/mesa-20.3.0-abi_x86_32.x86 failed
*
* Call stack:
* ebuild.sh, line 125: Called src_compile
* environment, line 4129: Called multilib-minimal_src_compile
* environment, line 2790: Called multilib_foreach_abi 'multilib-minimal_abi_src_compile'
* environment, line 3060: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
* environment, line 2725: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
* environment, line 2723: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile'
* environment, line 937: Called multilib-minimal_abi_src_compile
* environment, line 2784: Called multilib_src_compile
* environment, line 3272: Called meson_src_compile
* environment, line 2612: Called eninja '-C' '/var/tmp/portage/media-libs/mesa-20.3.0/work/mesa-20.3.0-abi_x86_32.x86'
* environment, line 1770: Called die
* The specific snippet of code:
* "$@" || die "${nonfatal_args[@]}" "${*} failed"
*
* If you need support, post the output of `emerge --info '=media-libs/mesa-20.3.0::gentoo'`,
* the complete build log and the output of `emerge -pqv '=media-libs/mesa-20.3.0::gentoo'`.
* The complete build log is located at '/var/tmp/portage/media-libs/mesa-20.3.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-libs/mesa-20.3.0/temp/environment'.
* Working directory: '/var/tmp/portage/media-libs/mesa-20.3.0/work/mesa-20.3.0-abi_x86_32.x86'
* S: '/var/tmp/portage/media-libs/mesa-20.3.0/work/mesa-20.3.0'
>>> Failed to emerge media-libs/mesa-20.3.0, Log file:
>>> '/var/tmp/portage/media-libs/mesa-20.3.0/temp/build.log'
* Messages for package media-libs/mesa-20.3.0:
* ERROR: media-libs/mesa-20.3.0::gentoo failed (compile phase):
* ninja -v -j5 -l0 -C /var/tmp/portage/media-libs/mesa-20.3.0/work/mesa-20.3.0-abi_x86_32.x86 failed
*
* Call stack:
* ebuild.sh, line 125: Called src_compile
* environment, line 4129: Called multilib-minimal_src_compile
* environment, line 2790: Called multilib_foreach_abi 'multilib-minimal_abi_src_compile'
* environment, line 3060: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
* environment, line 2725: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
* environment, line 2723: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile'
* environment, line 937: Called multilib-minimal_abi_src_compile
* environment, line 2784: Called multilib_src_compile
* environment, line 3272: Called meson_src_compile
* environment, line 2612: Called eninja '-C' '/var/tmp/portage/media-libs/mesa-20.3.0/work/mesa-20.3.0-abi_x86_32.x86'
* environment, line 1770: Called die
* The specific snippet of code:
* "$@" || die "${nonfatal_args[@]}" "${*} failed"
*
* If you need support, post the output of `emerge --info '=media-libs/mesa-20.3.0::gentoo'`,
* the complete build log and the output of `emerge -pqv '=media-libs/mesa-20.3.0::gentoo'`.
* The complete build log is located at '/var/tmp/portage/media-libs/mesa-20.3.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-libs/mesa-20.3.0/temp/environment'.
* Working directory: '/var/tmp/portage/media-libs/mesa-20.3.0/work/mesa-20.3.0-abi_x86_32.x86'
* S: '/var/tmp/portage/media-libs/mesa-20.3.0/work/mesa-20.3.0'
Примерно то же самое когда пытаюсь выполнить:
# emerge -a @preserved-rebuild These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] x11-libs/vte-0.60.3
Решение:
mesa-2.3.0 собрался на gcc 9.3.0 и binutils:2.34 (кроме того, что мне тут ответили, нашёл подтверждение этого совета на другом форуме)
x11-libs/vte-0.60.3 пересобрался после запуска:
# emerge -avuD1 x11-libs/vte --exclude="sys-libs/glibc app-arch/bzip2 sys-libs/libseccomp dev-libs/gobject-introspection-common app-portage/elt-patches dev-libs/gobject-introspection dev-libs/vala-common sys-libs/zlib dev-lang/perl dev-libs/openssl virtual/perl-Data-Dumper media-libs/tiff dev-libs/libgcrypt dev-libs/nettle dev-lang/tcl app-crypt/rhash app-crypt/gpgme app-portage/portage-utils sys-apps/util-linux dev-util/cmake sys-apps/help2man dev-lang/python media-libs/mesa app-admin/perl-cleaner app-text/poppler dev-util/gtk-update-icon-cache app-text/mupdf sys-apps/hwids app-accessibility/at-spi2-core net-print/cups x11-themes/adwaita-icon-theme app-text/ghostscript-gpl net-print/cups-filters"
Установилось(обновилось) 22 пакета, в том числе установился новый vala и llvm-11.0.1
- Для комментирования войдите или зарегистрируйтесь
Нестабильный портаж и
Не буду обсуждать нестабильную
месу
ради минорного обновления, но нестабильный портаж и системный GCC - это ССЗБ!Покажи
Покажи
# emerge -uDNU --with-bdeps=y
Ну вот видишь, сколько ещё
Ну вот видишь, сколько ещё чинить надо! :)
По делу: очень рекомендую весь тулчейн сделать стабильным!
Процесс борьбы с зависимостями практически индивидуален, длителен и интерактивен... рекомендую начать с
а там по ситуации. Внимательно читай сообщения системы и думай - устранение зависимостей обычно нетривиальная задача.