View previous topic :: View next topic |
Author |
Message |
hg01 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 06 Jul 2024 Posts: 1 Location: Frankreich
|
Posted: Sat Jul 06, 2024 5:44 pm Post subject: Failde to emerge after profile update 23.0 |
|
|
Hello,
to update my system (Openrc) - on a very old computer - from default/linux/x86/17.0/desktop (exp) to profile 23.0, I misread the instructions and I chose 23.0/i686/desktop (stable) instead of 23.0/i686/split-usr (stable).
Then I successfully reinstalled binutils, gcc, glibc, ran env-update && source /etc/profile and re-emerged libtool, but unable to update -- emptytree @world.
The next day, the computer boots normally (xfce), I continue: only baselayout can be updated successfully.
Since emerge no longer works.
I switched to the correct profile (split-usr), ran env-update && source /etc/profile, tried to compile binutils again, emerge fails and complains:
Code: | Would you like to merge these packages? [Yes/No]
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) sys-devel/binutils-2.42-r1::gentoo
/usr/lib/portage/python3.11/phase-functions.sh: line 295: rm: command not found
/usr/lib/portage/python3.11/phase-functions.sh: line 297: rm: command not found
/usr/lib/portage/python3.11/phase-functions.sh: line 301: rm: command not found
/usr/lib/portage/python3.11/phase-functions.sh: line 305: rm: command not found
/usr/lib/portage/python3.11/phase-functions.sh: line 310: rm: command not found
/usr/lib/portage/python3.11/phase-functions.sh: line 312: rm: command not found
/usr/lib/portage/python3.11/phase-functions.sh: line 313: rm: command not found
/usr/lib/portage/python3.11/phase-functions.sh: line 322: rm: command not found
* binutils-2.42.tar.xz BLAKE2B SHA512 size ;-) ... [ ok ]
* binutils-2.42-patches-3.tar.xz BLAKE2B SHA512 size ;-) ... [ ok ]
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
|
Here is the complete emerge --info:
Code: |
/home/schule # emerge --info '=sys-devel/binutils-2.42-r1::gentoo'
Portage 3.0.63 (python 3.11.9-final-0, default/linux/x86/23.0/i686/split-usr, gcc-13, glibc-2.39-r9, 4.19.129-gentoo i686)
=================================================================
System Settings
=================================================================
System uname: Linux-4.19.129-gentoo-i686-Intel-R-_Pentium-R-_M_processor_1700MHz-with-glibc2.39
KiB Mem: 2064060 total, 537108 free
KiB Swap: 1574332 total, 1434212 free
Timestamp of repository gentoo: Wed, 03 Jul 2024 09:30:00 +0000
Head commit of repository gentoo: 9fd06ea20b0b0696a879c25e4f59158b322bacc6
sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.42 p3) 2.42.0
distcc 3.4 i686-pc-linux-gnu [disabled]
ccache version 4.9.1 [disabled]
app-misc/pax-utils: 1.3.7::gentoo
app-shells/bash: 5.1_p16-r6::gentoo
dev-build/autoconf: 2.13-r8::gentoo, 2.71-r7::gentoo
dev-build/automake: 1.16.5-r2::gentoo
dev-build/cmake: 3.28.5::gentoo
dev-build/libtool: 2.4.7-r4::gentoo
dev-build/make: 4.4.1-r1::gentoo
dev-build/meson: 1.4.0-r1::gentoo
dev-lang/perl: 5.38.2-r3::gentoo
dev-lang/python: 3.11.9::gentoo, 3.12.3::gentoo
dev-lang/rust-bin: 1.77.1::gentoo
dev-util/ccache: 4.9.1-r1::gentoo
sys-apps/baselayout: 2.15::gentoo
sys-apps/openrc: 0.54::gentoo
sys-apps/sandbox: 2.38::gentoo
sys-devel/binutils: 2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/gcc: 13.2.1_p20240210::gentoo
sys-devel/gcc-config: 2.11::gentoo
sys-devel/llvm: 17.0.6::gentoo
sys-kernel/linux-headers: 6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc: 2.39-r9::gentoo
Repositories:
gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
volatile: True
sync-rsync-verify-jobs: 1
sync-rsync-verify-max-age: 3
sync-rsync-extra-opts:
sync-rsync-verify-metamanifest: yes
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
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="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
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"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted 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 -march=i686 -pipe"
GENTOO_MIRRORS="https://ftp.halifax.rwth-aachen.de/gentoo/ rsync://ftp.halifax.rwth-aachen.de/gentoo/ http://[2001:41c8:20:5e6::150]/gentoo/ http://mirror.netcologne.de/gentoo/ rsync://mirrors.dotsrc.org/gentoo/"
INSTALL_MASK="/usr/share/locale -/usr/share/locale/foo"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,--as-needed"
LEX="flex"
LINGUAS="fr de"
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"
SHELL="/bin/bash"
USE="X acl alsa apache2 bluetooth bzip2 crypt cups dbus dri dvd elogind evdev extras gdbm glitz gnome gtk iconv icu ipv6 libtirpc matroska mmx mng mp3 mysql ncurses networkmanager nls nptl nptlonly opengl openmp pam pcre pdf pic png policykit pulseaudio readline seccomp split-usr sql sse sse2 ssl svg test-rust udev unicode vorbis win32codecs x86 xattr xcomposite xorg xvid zlib" ABI_X86="32" ADA_TARGET="gcc_12" ALSA_CARDS="intel8x0" 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="words sheets stage" 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 multiboot" INPUT_DEVICES="evdev synaptics libinput" KERNEL="linux" L10N="fr de" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="AMDGPU X86" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby31 ruby32" SANE_BACKENDS="hp" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, MAKEOPTS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
=================================================================
Package Settings
=================================================================
sys-devel/binutils-2.42-r1::gentoo was built with the following:
USE="nls plugins zstd (-cet) -debuginfod -doc -gold -gprofng -hardened -multitarget -pgo -static-libs -test -vanilla"
CFLAGS="-march=pentium3 -O2 -pipe"
CXXFLAGS="-march=pentium3 -O2 -pipe"
FEATURES="parallel-fetch unmerge-logs usersandbox strict binpkg-docompress multilib-strict protect-owned unmerge-orphans sandbox preserve-libs network-sandbox ebuild-locks assume-digests pid-sandbox sfperms merge-sync merge-wait binpkg-dostrip config-protect-if-modified ipc-sandbox xattr userpriv usersync pkgdir-index-trusted unknown-features-warn distlocks fixlafiles news userfetch buildpkg-live qa-unresolved-soname-deps binpkg-logs"
LDFLAGS="-Wl,--as-needed -Wl,--undefined-version"
|
And it's the same if I want to emerge any other package.
A path problem? Emerge can't find the path to rm, chmod ... commands?
At first even the ls command didn't work, I created a file /etc/env.d/99local-tmp:
Code: |
/home/schule # cat /etc/env.d/99local-tmp
PATH="/bin:/sbin"
|
Now the echo £PATH command says:
Code: |
/home/schule # echo $PATH
/usr/lib/ccache/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/opt/bin:/usr/lib/llvm/17/bin:/etc/eselect/wine/bin:/bin:/sbin
|
I know, it's not very clean, but it works for bash commands
Sorry, I'm not a specialist, I certainly didn't do the right thing, but Gentoo has been running on my computer since 2010 (admittedly more and more slowly) and until now, I have always found on your forum the answers to the some problems I had.
Thanks to anyone who could help me! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hu Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
Joined: 06 Mar 2007 Posts: 22324
|
Posted: Mon Jul 15, 2024 8:57 pm Post subject: |
|
|
Welcome to the forums. I have seen a few other threads where people made this exact mistake, and they were able to recover from it. I do not recall the exact steps they followed, but I think it was very similar to what you did. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|