Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
installkernel not found during emerge
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
artvs
n00b
n00b


Joined: 01 Apr 2024
Posts: 19

PostPosted: Mon Apr 01, 2024 8:50 pm    Post subject: installkernel not found during emerge Reply with quote

I've been trying to repair my old system by installing bin kernel from LiveCD

Code:

emerge --ask sys-kernel/gentoo-kernel-bin


and got following error (row 702: installkernel: command not found )

Code:


/var/tmp/portage/sys-kernel/gentoo-kernel-bin-6.1.81/temp/environment: строка 702: installkernel: команда не найдена                                  [ !! ]
 * Installing the kernel failed
 *
 * The kernel files were copied to disk successfully but the kernel
 * was not deployed successfully.  Once you resolve the problems,
 * please run the equivalent of the following command to try again:
 *
 *     emerge --config sys-kernel/gentoo-kernel-bin:6.1.81
 * ERROR: sys-kernel/gentoo-kernel-bin-6.1.81::gentoo failed (postinst phase):
 *   Kernel install failed, please fix the problems and run emerge --config sys-kernel/gentoo-kernel-bin:6.1.81
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called pkg_postinst
 *   environment, line 1952:  Called kernel-install_pkg_postinst
 *   environment, line 1449:  Called kernel-install_install_all '6.1.81-gentoo-dist'
 *   environment, line 1434:  Called die
 * The specific snippet of code:
 *           die "Kernel install failed, please fix the problems and run emerge --config ${CATEGORY}/${PN}:${SLOT}";



installkernel is here, because

Code:

livecd /usr/bin #
(chroot) livecd / # installkernel
Usage: installkernel <version> <image> <System.map> <directory>
(chroot) livecd / #



702 row in environment is about calling installkernel with params.

there is emerge --info
Code:

(chroot) livecd / # emerge --info '=sys-kernel/gentoo-kernel-bin-6.1.81::gentoo'
Portage 3.0.61 (python 3.11.8-final-0, !../var/db/repos/gentoo/profiles/default/linux/amd64/23.0, gcc-13, glibc-2.38-r10, 6.6.21-gentoo-x86_64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.6.21-gentoo-x86_64-x86_64-Intel-R-_Xeon-R-_CPU_E31240_@_3.30GHz-with-glibc2.38
KiB Mem:    16378544 total,  12107312 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sun, 31 Mar 2024 16:00:00 +0000
Head commit of repository gentoo: 2cfe0e3557ed857b63bec7d9e1969cc8a96068e6
sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.41 p5) 2.41.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-build/autoconf:        2.71-r6::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.28.3::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.3.2::gentoo
dev-lang/perl:             5.38.2-r2::gentoo
dev-lang/python:           3.11.8_p1::gentoo, 3.12.2_p1::gentoo
dev-lang/rust:             1.75.0-r1::gentoo
sys-apps/baselayout:       2.14-r2::gentoo
sys-apps/openrc:           0.53.1::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.41-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/gcc:             13.2.1_p20240210::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r10::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 3

Installed sets: @web-server
ABI="amd64"
ABI_X86="64"
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
ADA_TARGET="gcc_12"
APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias"
ARCH="amd64"
AUTOCLEAN="yes"
BINPKG_COMPRESS="zstd"
BINPKG_FORMAT="gpkg"
BINPKG_GPG_SIGNING_BASE_COMMAND="/usr/bin/flock /run/lock/portage-binpkg-gpg.lock /usr/bin/gpg --sign --armor [PORTAGE_CONFIG]"
BINPKG_GPG_SIGNING_DIGEST="SHA512"
BINPKG_GPG_VERIFY_BASE_COMMAND="/usr/bin/gpg --verify --batch --no-tty --no-auto-check-trustdb --status-fd 2 [PORTAGE_CONFIG] [SIGNATURE]"
BINPKG_GPG_VERIFY_GPG_HOME="/etc/portage/gnupg"
BOOTSTRAP_USE="unicode internal-glib pkg-config split-usr xml python_targets_python3_11 python_single_target_python3_11 multilib zstd cet"
BROOT=""
CALLIGRA_FEATURES="karbon sheets words"
CBUILD="x86_64-pc-linux-gnu"
CCACHE_DIR="/var/tmp/ccache"
CCACHE_SIZE="4G"
CFLAGS="-mtune=generic -O2 -march=native -pipe"
CFLAGS_amd64="-m64"
CFLAGS_x32="-mx32"
CFLAGS_x86="-m32 -mfpmath=sse"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x32="x86_64-pc-linux-gnux32"
CHOST_x86="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
COLLISION_IGNORE="/boot/dtbs/* /lib/modules/*"
COMMON_FLAGS="-O2 -pipe"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.1/ext-active/ /etc/php/apache2-php8.2/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CPU_FLAGS_X86="mmx mmxext sse sse2"
CXXFLAGS="-mtune=generic -O2 -march=native -pipe"
DEFAULT_ABI="amd64"
DISTDIR="/usr/portage/distfiles"
EDITOR="/bin/nano"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="-va"
EMERGE_WARNING_DELAY="10"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME"
EPREFIX=""
EROOT="/"
ESYSROOT="/"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync metadata-transfer multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FETCHCOMMAND="wget -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
FETCHCOMMAND_RSYNC="rsync -LtvP "${URI}" "${DISTDIR}/${FILE}""
FETCHCOMMAND_SFTP="bash -c "x=\${2#sftp://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; eval \"declare -a ssh_opts=(\${3})\" ; exec sftp \${port:+-P \${port}} \"\${ssh_opts[@]}\" \"\${host}:/\${x#*/}\" \"\$1\"" sftp "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
FETCHCOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; exec rsync --rsh=\"ssh \${port:+-p\${port}} \${3}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
FFLAGS="-O2 -pipe"
GCC_SPECS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
GPG_VERIFY_GROUP_DROP="nogroup"
GPG_VERIFY_USER_DROP="nobody"
GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox"
GRUB_PLATFORMS="pc"
HOME="/root"
INFOPATH="/usr/share/gcc-data/x86_64-pc-linux-gnu/13/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.41/info:/usr/share/autoconf-2.71/info:/usr/share/automake-1.16.5/info:/usr/share/info"
INPUT_DEVICES="evdev keyboard"
IUSE_IMPLICIT="abi_x86_64 prefix prefix-guest prefix-stack"
KERNEL="linux"
LANG="C.UTF8"
LANGUAGE="ru_RU.utf8"
LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text"
LC_ALL="ru_RU.utf8"
LC_MESSAGES="C.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LDFLAGS_amd64="-m elf_x86_64"
LDFLAGS_x32="-m elf32_x86_64"
LDFLAGS_x86="-m elf_i386"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe %s"
LEX="flex"
LIBDIR_amd64="lib64"
LIBDIR_x32="libx32"
LIBDIR_x86="lib"
LINGUAS="en ru"
LOGNAME="root"
--CUT--

LUA_SINGLE_TARGET="lua5-1"
LUA_TARGETS="lua5-1"
MAIL="/var/mail/root"
MAKEOPTS="--jobs 8 --load-average 9"
MANPAGER="manpager"
MANPATH="/usr/share/gcc-data/x86_64-pc-linux-gnu/13/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.41/man:/usr/lib64/php8.1/man/:/usr/lib64/php8.2/man/:/usr/local/share/man:/usr/share/man:/usr/lib/rust/man"
MOTD_SHOWN="pam"
MULTILIB_ABIS="amd64 x86"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|binutils|eclipse-3|debug|portage|udev|systemd|clang|python-exec|llvm)"
OFFICE_IMPLEMENTATION="libreoffice"
PAGER="/usr/bin/less"
PATH="/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/bin:/usr/sbin:/bin:/sbin"
PHP_INI_VERSION="production"
PHP_TARGETS="php8-1"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="alpha amd64 amd64-linux arm arm-linux arm64 arm64-linux arm64-macos hppa ia64 loong m68k mips ppc ppc-macos ppc64 ppc64-linux riscv riscv-linux s390 sparc x64-macos x64-solaris x86 x86-linux x86-macos"
PORTAGE_BIN_PATH="/usr/lib/portage/python3.11"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="warn error log"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_GPG_SIGNING_COMMAND="gpg --sign --digest-algo SHA256 --clearsign --yes --default-key "${PORTAGE_GPG_KEY}" --homedir "${PORTAGE_GPG_DIR}" "${FILE}""
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_INTERNAL_CALLER="1"
PORTAGE_LOGDIR_CLEAN="find "${PORTAGE_LOGDIR}" -type f ! -name "summary.log*" -mtime +7 -delete"
PORTAGE_OVERRIDE_EPREFIX=""
PORTAGE_PYM_PATH="/usr/lib/python3.11/site-packages"
PORTAGE_PYTHONPATH="/usr/lib/python3.11/site-packages"
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_RSYNC_RETRIES="-1"
PORTAGE_SYNC_STALE="30"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_TRUST_HELPER="/usr/bin/getuto"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTAGE_XATTR_EXCLUDE="btrfs.* security.evm security.ima        security.selinux system.nfs4_acl user.apache_handler    user.Beagle.* user.dublincore.* user.mime_encoding user.xdg.*"
POSTGRES_TARGETS="postgres15"
PROFILE_ONLY_VARIABLES="ARCH ELIBC IUSE_IMPLICIT KERNEL USE_EXPAND_IMPLICIT USE_EXPAND_UNPREFIXED USE_EXPAND_VALUES_ARCH USE_EXPAND_VALUES_ELIBC USE_EXPAND_VALUES_KERNEL"
PS1="(chroot) \[\033]0;\u@\h:\w\007\]\[\033[01;31m\]\h\[\033[01;34m\] \w \$\[\033[00m\] "
PWD="/"
PYTHONDONTWRITEBYTECODE="1"
PYTHON_SINGLE_TARGET="python3_11"
PYTHON_TARGETS="python3_11"
RESUMECOMMAND="wget -c -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
RESUMECOMMAND_RSYNC="rsync -LtvP "${URI}" "${DISTDIR}/${FILE}""
RESUMECOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; exec rsync --rsh=\"ssh \${port:+-p\${port}} \${3}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
ROOT="/"
ROOTPATH="/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/bin"
RPMDIR="/var/cache/rpm"
RUBY_TARGETS="ruby31"
SHELL="/bin/bash"
SHLVL="2"
SSH_CLIENT="185.135.233.64 38470 22"
SSH_CONNECTION="185.135.233.64 38470 31.28.14.207 22"
SSH_TTY="/dev/pts/0"
SYMLINK_LIB="no"
SYSROOT="/"
TERM="xterm"
TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1"
UNINSTALL_IGNORE="/boot/dtbs/* /lib/modules/* /var/run /var/lock /bin /lib /lib32 /lib64 /libx32 /sbin /usr/sbin /usr/lib/modules/*"
USE="acl amd64 apm bzip2 cet crypt dist-kernel gdbm hardened hddtemp iconv icu idn ipv6 libtirpc lm_sensors lzma mmx multilib mysql ncurses nls nptl nptlonly openmp pam pcre policykit prelude readline seccomp smp sse sse2 sse3 ssl test-rust unicode utf8 xattr zlib zstd" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio 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="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
USER="root"
USERLAND="GNU"
USE_EXPAND="ABI_MIPS ABI_S390 ABI_X86 ADA_TARGET ALSA_CARDS AMDGPU_TARGETS APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES CAMERAS COLLECTD_PLUGINS CPU_FLAGS_ARM CPU_FLAGS_PPC CPU_FLAGS_X86 CURL_SSL ELIBC FFTOOLS GPSD_PROTOCOLS GRUB_PLATFORMS INPUT_DEVICES KERNEL L10N LCD_DEVICES LIBREOFFICE_EXTENSIONS LLVM_SLOT LLVM_TARGETS LUA_SINGLE_TARGET LUA_TARGETS MONKEYD_PLUGINS NGINX_MODULES_HTTP NGINX_MODULES_MAIL NGINX_MODULES_STREAM OFFICE_IMPLEMENTATION OPENMPI_FABRICS OPENMPI_OFED_FEATURES OPENMPI_RM PHP_TARGETS POSTGRES_TARGETS PYTHON_SINGLE_TARGET PYTHON_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS UWSGI_PLUGINS VIDEO_CARDS VOICEMAIL_STORAGE XTABLES_ADDONS"
USE_EXPAND_HIDDEN="ABI_MIPS ABI_S390 CPU_FLAGS_ARM CPU_FLAGS_PPC ELIBC KERNEL"
USE_EXPAND_IMPLICIT="ARCH ELIBC KERNEL"
USE_EXPAND_UNPREFIXED="ARCH"
USE_EXPAND_VALUES_ARCH="alpha amd64 amd64-linux arm arm64 arm64-macos hppa ia64 loong m68k mips ppc ppc64 ppc64-linux ppc-macos riscv s390 sparc x64-macos x64-solaris x86 x86-linux"
USE_EXPAND_VALUES_ELIBC="bionic Darwin glibc mingw musl SunOS"
USE_EXPAND_VALUES_KERNEL="Darwin linux SunOS"
USE_ORDER="env:pkg:conf:defaults:pkginternal:features:repo:env.d"
VIDEO_CARDS="vesa"
XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
ac_cv_c_undeclared_builtin_options="none needed"
enable_year2038="no"
gl_cv_compiler_check_decl_option="-Werror=implicit-function-declaration"
gl_cv_func_getcwd_path_max="yes"

=================================================================
                        Package Settings
=================================================================

sys-kernel/gentoo-kernel-bin-6.1.81::gentoo was built with the following:
USE="initramfs -test" ABI_X86="(64)"
FEATURES="assume-digests binpkg-dostrip usersync pid-sandbox config-protect-if-modified binpkg-logs buildpkg-live ebuild-locks ccache strict unmerge-logs unknown-features-warn binpkg-docompress binpkg-multi-instance metadata-transfer protect-owned sfperms multilib-strict userfetch splitdebug preserve-libs usersandbox fixlafiles distlocks unmerge-orphans news xattr parallel-fetch pkgdir-index-trusted network-sandbox ipc-sandbox sandbox qa-unresolved-soname-deps userpriv merge-sync"



emerge -pqv
Code:

(chroot) livecd / # emerge -pqv '=sys-kernel/gentoo-kernel-bin-6.1.81::gentoo'

 * IMPORTANT: 2 config files in '/etc/portage' need updating.
 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.
[ebuild   R   ] sys-kernel/gentoo-kernel-bin-6.1.81  USE="initramfs -test"



Have no idea how to download log and environment files.

How to fix this problem?

Thanks in advance.

P.S. emerge --ask sys-kernel/gentoo-kernel also was not successful
Back to top
View user's profile Send private message
artvs
n00b
n00b


Joined: 01 Apr 2024
Posts: 19

PostPosted: Wed Apr 03, 2024 7:20 am    Post subject: Reply with quote

Additional error

Code:

 emaint --auto sync

>>> Syncing repository 'gentoo' into '/usr/portage'...
 * Using keys from /usr/share/openpgp-keys/gentoo-release.asc
!!! Manifest verification impossible due to keyring problem:
OpenPGP key import failed:
gpg: symbol lookup error: /usr/lib64/libicuuc.so.74: undefined symbol: _ZSt15__once_callable, version GLIBCXX_3.4.11
Back to top
View user's profile Send private message
artvs
n00b
n00b


Joined: 01 Apr 2024
Posts: 19

PostPosted: Wed Apr 03, 2024 7:47 am    Post subject: Reply with quote

It seems that problem was in profiles selection

There is list of profiles
Code:

eselect profile list
Available profile symlink targets:
  [1]   default/linux/amd64/17.1 (exp)
  [2]   default/linux/amd64/17.1/selinux (exp)
  [3]   default/linux/amd64/17.1/hardened (exp)
  [4]   default/linux/amd64/17.1/hardened/selinux (exp)
  [5]   default/linux/amd64/17.1/desktop (exp)
  [6]   default/linux/amd64/17.1/desktop/gnome (exp)
  [7]   default/linux/amd64/17.1/desktop/gnome/systemd/merged-usr (exp)
  [8]   default/linux/amd64/17.1/desktop/plasma (exp)
  [9]   default/linux/amd64/17.1/desktop/plasma/systemd/merged-usr (exp)
  [10]  default/linux/amd64/17.1/desktop/systemd/merged-usr (exp)
  [11]  default/linux/amd64/17.1/developer (exp)
  [12]  default/linux/amd64/17.1/no-multilib (exp)
  [13]  default/linux/amd64/17.1/no-multilib/hardened (exp)
  [14]  default/linux/amd64/17.1/no-multilib/hardened/selinux (exp)
  [15]  default/linux/amd64/17.1/no-multilib/systemd/merged-usr (exp)
  [16]  default/linux/amd64/17.1/no-multilib/systemd/selinux/merged-usr (exp)
  [17]  default/linux/amd64/17.1/systemd/merged-usr (exp)
  [18]  default/linux/amd64/17.1/systemd/selinux/merged-usr (exp)
  [19]  default/linux/amd64/17.1/clang (exp)
  [20]  default/linux/amd64/17.1/systemd/clang/merged-usr (exp)
  [21]  default/linux/amd64/23.0 (stable) *
  [22]  default/linux/amd64/23.0/systemd (stable)
  [23]  default/linux/amd64/23.0/desktop (stable)
  [24]  default/linux/amd64/23.0/desktop/systemd (stable)
  [25]  default/linux/amd64/23.0/desktop/gnome (stable)
  [26]  default/linux/amd64/23.0/desktop/gnome/systemd (stable)
  [27]  default/linux/amd64/23.0/desktop/plasma (stable)
  [28]  default/linux/amd64/23.0/desktop/plasma/systemd (stable)
  [29]  default/linux/amd64/23.0/no-multilib (stable)
  [30]  default/linux/amd64/23.0/no-multilib/systemd (stable)
  [31]  default/linux/amd64/23.0/no-multilib/hardened (stable)
  [32]  default/linux/amd64/23.0/no-multilib/hardened/systemd (stable)
  [33]  default/linux/amd64/23.0/no-multilib/hardened/selinux (stable)
  [34]  default/linux/amd64/23.0/no-multilib/hardened/selinux/systemd (stable)
  [35]  default/linux/amd64/23.0/no-multilib/prefix (exp)
  [36]  default/linux/amd64/23.0/no-multilib/prefix/kernel-2.6.32+ (exp)
  [37]  default/linux/amd64/23.0/no-multilib/prefix/kernel-2.6.16+ (exp)
  [38]  default/linux/amd64/23.0/no-multilib/prefix/kernel-3.2+ (exp)
  [39]  default/linux/amd64/23.0/llvm (stable)
  [40]  default/linux/amd64/23.0/llvm/systemd (stable)
  [41]  default/linux/amd64/23.0/hardened (stable)
  [42]  default/linux/amd64/23.0/hardened/systemd (stable)
  [43]  default/linux/amd64/23.0/hardened/selinux (stable)
  [44]  default/linux/amd64/23.0/hardened/selinux/systemd (stable)
  [45]  default/linux/amd64/23.0/split-usr (stable)
  [46]  default/linux/amd64/23.0/split-usr/desktop (stable)
  [47]  default/linux/amd64/23.0/split-usr/desktop/gnome (stable)
  [48]  default/linux/amd64/23.0/split-usr/desktop/plasma (stable)
  [49]  default/linux/amd64/23.0/split-usr/no-multilib (stable)
  [50]  default/linux/amd64/23.0/split-usr/no-multilib/selinux (stable)
  [51]  default/linux/amd64/23.0/split-usr/no-multilib/hardened (stable)
  [52]  default/linux/amd64/23.0/split-usr/no-multilib/hardened/selinux (stable)
  [53]  default/linux/amd64/23.0/split-usr/no-multilib/prefix (exp)
  [54]  default/linux/amd64/23.0/split-usr/no-multilib/prefix/kernel-2.6.32+ (ex                                                                             p)
  [55]  default/linux/amd64/23.0/split-usr/no-multilib/prefix/kernel-2.6.16+ (ex                                                                             p)
  [56]  default/linux/amd64/23.0/split-usr/no-multilib/prefix/kernel-3.2+ (exp)
  [57]  default/linux/amd64/23.0/split-usr/llvm (stable)
  [58]  default/linux/amd64/23.0/split-usr/hardened (stable)
  [59]  default/linux/amd64/23.0/split-usr/hardened/selinux (stable)
  [60]  default/linux/amd64/17.0/x32 (exp)
  [61]  default/linux/amd64/17.0/x32/systemd/merged-usr (exp)
  [62]  default/linux/amd64/23.0/x32 (dev)
  [63]  default/linux/amd64/23.0/x32/systemd (exp)
  [64]  default/linux/amd64/23.0/split-usr/x32 (exp)
  [65]  default/linux/amd64/17.0/musl (exp)
  [66]  default/linux/amd64/17.0/musl/clang (exp)
  [67]  default/linux/amd64/17.0/musl/hardened (exp)
  [68]  default/linux/amd64/17.0/musl/hardened/selinux (exp)
  [69]  default/linux/amd64/23.0/musl (dev)
  [70]  default/linux/amd64/23.0/musl/llvm (exp)
  [71]  default/linux/amd64/23.0/musl/hardened (exp)
  [72]  default/linux/amd64/23.0/musl/hardened/selinux (exp)
  [73]  default/linux/amd64/23.0/split-usr/musl (dev)
  [74]  default/linux/amd64/23.0/split-usr/musl/llvm (exp)
  [75]  default/linux/amd64/23.0/split-usr/musl/hardened (exp)
  [76]  default/linux/amd64/23.0/split-usr/musl/hardened/selinux (exp)



My previous profile was default/linux/amd64/17.1 (stable)

default/linux/amd64/17.1 (exp)

I chose profile [21] default/linux/amd64/23.0 and it seems that was my mistake.

Should I use [45] default/linux/amd64/23.0/split-usr (stable) instead?

Also how to clean this list up?

Thanks.
Back to top
View user's profile Send private message
artvs
n00b
n00b


Joined: 01 Apr 2024
Posts: 19

PostPosted: Wed Apr 03, 2024 8:22 am    Post subject: Reply with quote

eselect profile set 45 ()

then

emerge --ask --oneshot sys-devel/binutils

all ok

. etc/profile

emerge --ask --oneshot sys-devel/gcc

got errors

Code:

env --unset=LD_LIBRARY_PATH \
msgfmt -o de.mo /var/tmp/portage/sys-devel/gcc-13.2.1_p20240210/work/gcc-13-20240210/libstdc++-v3/po/de.po
msgfmt: symbol lookup error: /usr/lib64/libicuuc.so.74: undefined symbol: _ZSt15__once_callable, version GLIBCXX_3.4.11
make[5]: *** [Makefile:564: de.mo] Ошибка 127
make[5]: выход из каталога «/var/tmp/portage/sys-devel/gcc-13.2.1_p20240210/work/build/x86_64-pc-linux-gnu/libstdc++-v3/po»
make[5]: *** Ожидание завершения заданий…
make[5]: вход в каталог «/var/tmp/portage/sys-devel/gcc-13.2.1_p20240210/work/build/x86_64-pc-linux-gnu/libstdc++-v3/po»
env --unset=LD_LIBRARY_PATH \
msgfmt -o fr.mo /var/tmp/portage/sys-devel/gcc-13.2.1_p20240210/work/gcc-13-20240210/libstdc++-v3/po/fr.po
msgfmt: symbol lookup error: /usr/lib64/libicuuc.so.74: undefined symbol: _ZSt15__once_callable, version GLIBCXX_3.4.11
make[5]: *** [Makefile:564: fr.mo] Ошибка 127
make[5]: выход из каталога «/var/tmp/portage/sys-devel/gcc-13.2.1_p20240210/work/build/x86_64-pc-linux-gnu/libstdc++-v3/po»
make[4]: *** [Makefile:576: all-recursive] Ошибка 1
make[3]: *** [Makefile:501: all] Ошибка 2
make[2]: *** [Makefile:17045: all-stage1-target-libstdc++-v3] Ошибка 2
make[1]: *** [Makefile:24550: stage1-bubble] Ошибка 2
make: *** [Makefile:24882: bootstrap-lean] Ошибка 2
 * ERROR: sys-devel/gcc-13.2.1_p20240210::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=sys-devel/gcc-13.2.1_p20240210::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-devel/gcc-13.2.1_p20240210::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-devel/gcc-13.2.1_p20240210/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-13.2.1_p20240210/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-devel/gcc-13.2.1_p20240210/work/build'
 * S: '/var/tmp/portage/sys-devel/gcc-13.2.1_p20240210/work/gcc-13-20240210'
 *
 * Please include /var/tmp/portage/sys-devel/gcc-13.2.1_p20240210/work/gcc-build-logs.tar.xz in your bug report.
 *



emerge -- info

Code:

 emerge --info '=sys-devel/gcc-13.2.1_p20240210::gentoo'
Portage 3.0.61 (python 3.11.8-final-0, default/linux/amd64/23.0/split-usr, gcc-13, glibc-2.38-r10, 6.6.21-gentoo-x86_64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.6.21-gentoo-x86_64-x86_64-Intel-R-_Xeon-R-_CPU_E31240_@_3.30GHz-with-glibc2.38
KiB Mem:    16378720 total,   2124432 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sun, 31 Mar 2024 16:00:00 +0000
Head commit of repository gentoo: 2cfe0e3557ed857b63bec7d9e1969cc8a96068e6
sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.41 p5) 2.41.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-build/autoconf:        2.71-r6::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.28.3::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.3.2::gentoo
dev-lang/perl:             5.38.2-r2::gentoo
dev-lang/python:           3.11.8_p1::gentoo, 3.12.2_p1::gentoo
dev-lang/rust:             1.75.0-r1::gentoo
sys-apps/baselayout:       2.14-r2::gentoo
sys-apps/openrc:           0.53.1::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.41-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/gcc:             13.2.1_p20240210::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r10::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-max-age: 3
    sync-rsync-extra-opts:
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes

Installed sets: @web-server
ABI="amd64"
ABI_X86="64"
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
ADA_TARGET="gcc_12"
APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias"
ARCH="amd64"
AUTOCLEAN="yes"
BINPKG_COMPRESS="zstd"
BINPKG_FORMAT="gpkg"
BINPKG_GPG_SIGNING_BASE_COMMAND="/usr/bin/flock /run/lock/portage-binpkg-gpg.lock /usr/bin/gpg --sign --armor [PORTAGE_CONFIG]"
BINPKG_GPG_SIGNING_DIGEST="SHA512"
BINPKG_GPG_VERIFY_BASE_COMMAND="/usr/bin/gpg --verify --batch --no-tty --no-auto-check-trustdb --status-fd 2 [PORTAGE_CONFIG] [SIGNATURE]"
BINPKG_GPG_VERIFY_GPG_HOME="/etc/portage/gnupg"
BOOTSTRAP_USE="unicode internal-glib pkg-config split-usr xml python_targets_python3_11 python_single_target_python3_11 multilib zstd cet"
BROOT=""
CALLIGRA_FEATURES="karbon sheets words"
CBUILD="x86_64-pc-linux-gnu"
CCACHE_DIR="/var/tmp/ccache"
CCACHE_SIZE="4G"
CFLAGS="-mtune=generic -O2 -march=native -pipe"
CFLAGS_amd64="-m64"
CFLAGS_x32="-mx32"
CFLAGS_x86="-m32 -mfpmath=sse"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x32="x86_64-pc-linux-gnux32"
CHOST_x86="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
COLLISION_IGNORE="/boot/dtbs/* /lib/modules/*"
COMMON_FLAGS="-O2 -pipe"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.1/ext-active/ /etc/php/apache2-php8.2/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CPU_FLAGS_X86="mmx mmxext sse sse2"
CXXFLAGS="-mtune=generic -O2 -march=native -pipe"
DEFAULT_ABI="amd64"
DISTDIR="/usr/portage/distfiles"
EDITOR="/bin/nano"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="-va"
EMERGE_WARNING_DELAY="10"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME"
EPREFIX=""
EROOT="/"
ESYSROOT="/"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync metadata-transfer multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FETCHCOMMAND="wget -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
FETCHCOMMAND_RSYNC="rsync -LtvP "${URI}" "${DISTDIR}/${FILE}""
FETCHCOMMAND_SFTP="bash -c "x=\${2#sftp://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; eval \"declare -a ssh_opts=(\${3})\" ; exec sftp \${port:+-P \${port}} \"\${ssh_opts[@]}\" \"\${host}:/\${x#*/}\" \"\$1\"" sftp "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
FETCHCOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; exec rsync --rsh=\"ssh \${port:+-p\${port}} \${3}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
FFLAGS="-O2 -pipe"
GCC_SPECS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
GPG_VERIFY_GROUP_DROP="nogroup"
GPG_VERIFY_USER_DROP="nobody"
GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox"
GRUB_PLATFORMS="pc"
HOME="/root"
INFOPATH="/usr/share/gcc-data/x86_64-pc-linux-gnu/13/info: /usr/share/binutils-data/x86_64-pc-linux-gnu/2.41/info:/usr/share/autoconf-2.71/info:/usr/share/automake-1.16.5/info:/usr/share/info"
INPUT_DEVICES="evdev keyboard"
IUSE_IMPLICIT="abi_x86_64 prefix prefix-guest prefix-stack"
KERNEL="linux"
LANG="C.UTF8"
LANGUAGE="ru_RU.utf8"
LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text"
LC_ALL="ru_RU.utf8"
LC_MESSAGES="C.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LDFLAGS_amd64="-m elf_x86_64"
LDFLAGS_x32="-m elf32_x86_64"
LDFLAGS_x86="-m elf_i386"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe %s"
LEX="flex"
LIBDIR_amd64="lib64"
LIBDIR_x32="libx32"
LIBDIR_x86="lib"
LINGUAS="en ru"
LOGNAME="root"
--CUT LS_COLORS--
LUA_SINGLE_TARGET="lua5-1"
LUA_TARGETS="lua5-1"
MAIL="/var/mail/root"
MAKEOPTS="--jobs 8 --load-average 9"
MANPAGER="manpager"
MANPATH="/usr/share/gcc-data/x86_64-pc-linux-gnu/13/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.41/man:/usr/lib64/php8.1/man/:/usr/lib64/php8.2/man/:/usr/local/share/man:/usr/share/man:/usr/lib/rust/man"
MOTD_SHOWN="pam"
MULTILIB_ABIS="amd64 x86"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|binutils|eclipse-3|debug|portage|udev|systemd|clang|python-exec|llvm)"
OFFICE_IMPLEMENTATION="libreoffice"
PAGER="/usr/bin/less"
PATH="/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/bin"
PHP_INI_VERSION="production"
PHP_TARGETS="php8-1"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="alpha amd64 amd64-linux arm arm-linux arm64 arm64-linux arm64-macos hppa ia64 loong m68k mips ppc ppc-macos ppc64 ppc64-linux riscv riscv-linux s390 sparc x64-macos x64-solaris x86 x86-linux x86-macos"
PORTAGE_BIN_PATH="/usr/lib/portage/python3.11"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="warn error log"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_GPG_SIGNING_COMMAND="gpg --sign --digest-algo SHA256 --clearsign --yes --default-key "${PORTAGE_GPG_KEY}" --homedir "${PORTAGE_GPG_DIR}" "${FILE}""
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_INTERNAL_CALLER="1"
PORTAGE_LOGDIR_CLEAN="find "${PORTAGE_LOGDIR}" -type f ! -name "summary.log*" -mtime +7 -delete"
PORTAGE_OVERRIDE_EPREFIX=""
PORTAGE_PYM_PATH="/usr/lib/python3.11/site-packages"
PORTAGE_PYTHONPATH="/usr/lib/python3.11/site-packages"
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_RSYNC_RETRIES="-1"
PORTAGE_SYNC_STALE="30"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_TRUST_HELPER="/usr/bin/getuto"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTAGE_XATTR_EXCLUDE="btrfs.* security.evm security.ima        security.selinux system.nfs4_acl user.apache_handler    user.Beagle.* user.dublincore.* user.mime_encoding user.xdg.*"
POSTGRES_TARGETS="postgres15"
PROFILE_23_USRTYPE="split-usr"
PROFILE_ONLY_VARIABLES="ARCH ELIBC IUSE_IMPLICIT KERNEL USE_EXPAND_IMPLICIT USE_EXPAND_UNPREFIXED USE_EXPAND_VALUES_ARCH USE_EXPAND_VALUES_ELIBC USE_EXPAND_VALUES_KERNEL"
PWD="/"
PYTHONDONTWRITEBYTECODE="1"
PYTHON_SINGLE_TARGET="python3_11"
PYTHON_TARGETS="python3_11"
RESUMECOMMAND="wget -c -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
RESUMECOMMAND_RSYNC="rsync -LtvP "${URI}" "${DISTDIR}/${FILE}""
RESUMECOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; exec rsync --rsh=\"ssh \${port:+-p\${port}} \${3}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
ROOT="/"
ROOTPATH="/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/bin"
RPMDIR="/var/cache/rpm"
RUBY_TARGETS="ruby31"
SHELL="/bin/bash"
SHLVL="4"
SSH_CLIENT="185.135.233.64 54566 22"
SSH_CONNECTION="185.135.233.64 54566 31.28.14.207 22"
SSH_TTY="/dev/pts/4"
STY="5038.emerge_system"
SYMLINK_LIB="no"
SYSROOT="/"
TERM="screen"
--CUT TERMCAPS --

TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1"
UNINSTALL_IGNORE="/boot/dtbs/* /lib/modules/* /var/run /var/lock /bin /lib /lib32 /lib64 /libx32 /sbin /usr/sbin /usr/lib/modules/*"
USE="acl amd64 apm bzip2 cet crypt dist-kernel gdbm hardened hddtemp iconv icu idn ipv6 libtirpc lm_sensors lzma mmx multilib mysql ncurses nls nptl nptlonly openmp pam pcre policykit prelude readline seccomp smp split-usr sse sse2 sse3 ssl test-rust unicode utf8 xattr zlib zstd" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio 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="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
USER="root"
USERLAND="GNU"
USE_EXPAND="ABI_MIPS ABI_S390 ABI_X86 ADA_TARGET ALSA_CARDS AMDGPU_TARGETS APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES CAMERAS COLLECTD_PLUGINS CPU_FLAGS_ARM CPU_FLAGS_PPC CPU_FLAGS_X86 CURL_SSL ELIBC FFTOOLS GPSD_PROTOCOLS GRUB_PLATFORMS INPUT_DEVICES KERNEL L10N LCD_DEVICES LIBREOFFICE_EXTENSIONS LLVM_SLOT LLVM_TARGETS LUA_SINGLE_TARGET LUA_TARGETS MONKEYD_PLUGINS NGINX_MODULES_HTTP NGINX_MODULES_MAIL NGINX_MODULES_STREAM OFFICE_IMPLEMENTATION OPENMPI_FABRICS OPENMPI_OFED_FEATURES OPENMPI_RM PHP_TARGETS POSTGRES_TARGETS PYTHON_SINGLE_TARGET PYTHON_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS UWSGI_PLUGINS VIDEO_CARDS VOICEMAIL_STORAGE XTABLES_ADDONS"
USE_EXPAND_HIDDEN="ABI_MIPS ABI_S390 CPU_FLAGS_ARM CPU_FLAGS_PPC ELIBC KERNEL"
USE_EXPAND_IMPLICIT="ARCH ELIBC KERNEL"
USE_EXPAND_UNPREFIXED="ARCH"
USE_EXPAND_VALUES_ARCH="alpha amd64 amd64-linux arm arm64 arm64-macos hppa ia64 loong m68k mips ppc ppc64 ppc64-linux ppc-macos riscv s390 sparc x64-macos x64-solaris x86 x86-linux"
USE_EXPAND_VALUES_ELIBC="bionic Darwin glibc mingw musl SunOS"
USE_EXPAND_VALUES_KERNEL="Darwin linux SunOS"
USE_ORDER="env:pkg:conf:defaults:pkginternal:features:repo:env.d"
VIDEO_CARDS="vesa"
WINDOW="0"
XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
ac_cv_c_undeclared_builtin_options="none needed"
enable_year2038="no"
gl_cv_compiler_check_decl_option="-Werror=implicit-function-declaration"
gl_cv_func_getcwd_path_max="yes"

=================================================================
                        Package Settings
=================================================================

sys-devel/gcc-13.2.1_p20240210::gentoo was built with the following:
USE="cet (cxx) (default-stack-clash-protection) (default-znow) fortran hardened (multilib) nls openmp (pie) sanitize ssp zstd -ada (-custom-cflags) -d -debug -doc (-fixed-point) -go -graphite (-ieee-long-double) -jit (-libssp) -lto -modula2 -objc -objc++ -objc-gc (-pch) -pgo -systemtap -test -valgrind -vanilla -vtv" ABI_X86="(64)"
CFLAGS="-mtune=generic -march=native -pipe -O2"
CXXFLAGS="-mtune=generic -march=native -pipe -O2"
FEATURES="ccache buildpkg-live merge-sync sfperms network-sandbox splitdebug binpkg-logs xattr unmerge-logs config-protect-if-modified fixlafiles unknown-features-warn binpkg-multi-instance metadata-transfer distlocks pid-sandbox userpriv qa-unresolved-soname-deps assume-digests binpkg-dostrip usersync ebuild-locks strict usersandbox news protect-owned preserve-libs ipc-sandbox parallel-fetch unmerge-orphans binpkg-docompress userfetch multilib-strict sandbox pkgdir-index-trusted"



emerge - pqv

Code:

 emerge -pqv '=sys-devel/gcc-13.2.1_p20240210::gentoo'

 * IMPORTANT: 2 config files in '/etc/portage' need updating.
 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.
[ebuild   R   ] sys-devel/gcc-13.2.1_p20240210  USE="cet (cxx) (default-stack-clash-protection) (default-znow) fortran hardened (multilib) nls openmp (pie) sanitize ssp zstd -ada (-custom-cflags) -d -debug -doc (-fixed-point) -go -graphite (-ieee-long-double) -jit (-libssp) -lto -modula2 -objc -objc++ -objc-gc (-pch) -pgo -systemtap -test -valgrind -vanilla -vtv"

Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1663

PostPosted: Wed Apr 03, 2024 12:27 pm    Post subject: Reply with quote

Get rid of the obvious error first: emerge --oneshot /usr/lib64/libicuuc.so.74
Back to top
View user's profile Send private message
artvs
n00b
n00b


Joined: 01 Apr 2024
Posts: 19

PostPosted: Wed Apr 03, 2024 2:13 pm    Post subject: Reply with quote

grknight wrote:
Get rid of the obvious error first: emerge --oneshot /usr/lib64/libicuuc.so.74


Thanks, grknight

Now I started with
Code:

revdep-rebuild --library 'libstdc++.so.6' -- --exclude gcc


as it recommended here: https://wiki.gentoo.org/wiki/Upgrading_GCC

and emerge --ask sys-kernel/gentoo-kernel-bin now is finished without errors.

This moment emerge @preserved-rebuild is executed.

But it report something like 'don't forget to call libtool --finish'

Unfortunately, I didn't have time to read the whole command :(
Back to top
View user's profile Send private message
artvs
n00b
n00b


Joined: 01 Apr 2024
Posts: 19

PostPosted: Wed Apr 03, 2024 3:25 pm    Post subject: Reply with quote

@preserved-rebuild want to run @preserved-rebuild again and again.

What to do?

Code:

!!! existing preserved libs:
>>> package: sys-libs/ncurses-6.4_p20230401
 *  - /usr/lib64/libncurses.so.6
 *  - /usr/lib64/libncurses.so.6.4
 *      used by /usr/bin/ccmake (dev-build/cmake-3.28.3)
 *      used by /usr/bin/snmpps (net-analyzer/net-snmp-5.9.3-r3)
 *  - /usr/lib64/libncursesw.so.6
 *  - /usr/lib64/libncursesw.so.6.4
 *      used by /bin/nano (app-editors/nano-7.2-r1)
 *      used by /sbin/cfdisk (sys-apps/util-linux-2.39.3-r5)
 *      used by /usr/bin/alsamixer (media-sound/alsa-utils-1.2.10-r1)
 *      used by /usr/bin/dialog (dev-util/dialog-1.3.20240101)
 *      used by /usr/bin/irqtop (sys-apps/util-linux-2.39.3-r5)
 *      used by /usr/bin/pg (sys-apps/util-linux-2.39.3-r5)
 *      used by /usr/bin/pinentry-curses (app-crypt/pinentry-1.2.1-r4)
 *      used by /usr/bin/watch (sys-process/procps-3.3.17-r2)
 *      used by /usr/lib/python3.11/lib-dynload/_curses.cpython-311-x86_64-linux-gnu.so (dev-lang/python-3.11.8_p1)
 *      used by /usr/lib/python3.12/lib-dynload/_curses.cpython-312-x86_64-linux-gnu.so (dev-lang/python-3.12.2_p1)
 *      used by /usr/lib64/libdialog.so.15.0.0 (dev-util/dialog-1.3.20240101)
 *  - /usr/lib64/libtinfo.so.6
 *  - /usr/lib64/libtinfo.so.6.4
 *      used by /bin/bash (app-shells/bash-5.1_p16-r6)
 *      used by /lib64/libeinfo.so.1 (sys-apps/openrc-0.53.1)
 *      used by /usr/bin/ccmake (dev-build/cmake-3.28.3)
 *      used by /usr/bin/info (sys-apps/texinfo-7.1-r1)
 *      used by /usr/bin/mysql (dev-db/mysql-8.0.32-r2)
 *      used by /usr/bin/pstree (sys-process/psmisc-23.6)
 *      used by /usr/bin/snmpps (net-analyzer/net-snmp-5.9.3-r3)
 *  - /usr/lib64/libtinfow.so.6
 *  - /usr/lib64/libtinfow.so.6.4
 *      used by /bin/dmesg (sys-apps/util-linux-2.39.3-r5)
 *      used by /bin/more (sys-apps/util-linux-2.39.3-r5)
 *      used by /bin/nano (app-editors/nano-7.2-r1)
 *      used by /sbin/cfdisk (sys-apps/util-linux-2.39.3-r5)
 *      used by /sbin/fdisk (sys-apps/util-linux-2.39.3-r5)
 *      used by /sbin/sfdisk (sys-apps/util-linux-2.39.3-r5)
 *      used by /usr/bin/alsamixer (media-sound/alsa-utils-1.2.10-r1)
 *      used by /usr/bin/cal (sys-apps/util-linux-2.39.3-r5)
 *      used by /usr/bin/dialog (dev-util/dialog-1.3.20240101)
 *      used by /usr/bin/hexdump (sys-apps/util-linux-2.39.3-r5)
 *      used by /usr/bin/irqtop (sys-apps/util-linux-2.39.3-r5)
 *      used by /usr/bin/less (sys-apps/less-643-r1)
 *      used by /usr/bin/pg (sys-apps/util-linux-2.39.3-r5)
 *      used by /usr/bin/pinentry-curses (app-crypt/pinentry-1.2.1-r4)
 *      used by /usr/bin/screen-4.9.1 (app-misc/screen-4.9.1)
 *      used by /usr/bin/setterm (sys-apps/util-linux-2.39.3-r5)
 *      used by /usr/bin/ul (sys-apps/util-linux-2.39.3-r5)
 *      used by /usr/bin/watch (sys-process/procps-3.3.17-r2)
 *      used by /usr/lib/python3.12/lib-dynload/_curses.cpython-312-x86_64-linux-gnu.so (dev-lang/python-3.12.2_p1)
 *      used by /usr/lib64/libdialog.so.15.0.0 (dev-util/dialog-1.3.20240101)
 *      used by /usr/lib64/libreadline.so.8.1 (sys-libs/readline-8.1_p2-r2)
Use emerge @preserved-rebuild to rebuild packages using these libraries
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1663

PostPosted: Wed Apr 03, 2024 4:10 pm    Post subject: Reply with quote

artvs wrote:
@preserved-rebuild want to run @preserved-rebuild again and again.

What to do?

Is your system fully up-to-date and depcleaned? @preserved-rebuild should be the last operation done if needed at all (often it won't be needed).
Back to top
View user's profile Send private message
artvs
n00b
n00b


Joined: 01 Apr 2024
Posts: 19

PostPosted: Wed Apr 03, 2024 5:11 pm    Post subject: Reply with quote

grknight wrote:
artvs wrote:
@preserved-rebuild want to run @preserved-rebuild again and again.

What to do?

Is your system fully up-to-date and depcleaned? @preserved-rebuild should be the last operation done if needed at all (often it won't be needed).


Good question. I hope so, but not sure.

I have very old system. Broken after emerge.

Here's what I've already tried to do.

1. Load from LiveCD (17.1 profile, 6.6.1)
2. Prepare chroot environment and chrooted to it.
3. Download stage3-amd64 archive and unpak it.
4. emerge-webrsync
5. emerge --sync
6. eselect profile list --There was wrong choice, now I select default/linux/amd64/23.0/split-usr instead of default/linux/amd64/23.0
8. adjust make.conf to new layout
7. emerge --ask --verbose --update --deep --newuse @world

create a bunch of users during this process (ldap, crontab, nginx and so on) because of errors.

8. follow these instructions https://www.gentoo.org/support/news-items/2024-03-22-new-23-profiles.html


emerge --emptytree --newuse @world

and got errors after emerge --ask sys-kernel/gentoo-kernel


9. Follow these instructions https://wiki.gentoo.org/wiki/Upgrading_GCC

10. Now I m here.

eselect kernel list
Available kernel symlink targets:
[1] linux-6.1.81-gentoo-dist *
[2] linux-6.6.21-gentoo
eselect kernel set 2
genkernel all

It just finished with no space left on device error :(
Back to top
View user's profile Send private message
artvs
n00b
n00b


Joined: 01 Apr 2024
Posts: 19

PostPosted: Wed Apr 03, 2024 6:00 pm    Post subject: Reply with quote

Yes. I have compiled new kernel...!!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum