Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Portage crashes terminal, unable to compile @world set
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
picarica
Guru
Guru


Joined: 11 Aug 2018
Posts: 334

PostPosted: Fri Jan 31, 2025 10:34 am    Post subject: Portage crashes terminal, unable to compile @world set Reply with quote

so i have this weird issue, where i do a basic world upgrade
Code:

$ sudo emerge --sync;sudo emerge -a --verbose --update --deep --newuse --keep-going --with-bdeps=y @world && sudo emerge @smart-live-rebuild

and i left my computer come back and my terminal crashed/closed and nothing was merged scusefully.
i chcekd emerge.log and the only thing there is this
Code:

1738223414: Started emerge on: Jan 30, 2025 08:50:14
1738223414:  *** emerge --newuse --update --ask --deep --keep-going --with-bdeps=y --regex-search-auto=y --verbose @world
1738237092:  >>> emerge (1 of 45) sci-libs/composable-kernel-6.1.1 to /
1738237092:  === (1 of 45) Cleaning (sci-libs/composable-kernel-6.1.1::/var/db/repos/gentoo/sci-libs/composable-kernel/composable-kernel-6.1.1.ebuild)
1738237092:  === (1 of 45) Compiling/Merging (sci-libs/composable-kernel-6.1.1::/var/db/repos/gentoo/sci-libs/composable-kernel/composable-kernel-6.1.1.ebuild)
1738258090:  >>> emerge (1 of 42) sci-libs/hipBLASLt-6.1.1-r1 to /
1738258090:  === (1 of 42) Cleaning (sci-libs/hipBLASLt-6.1.1-r1::/var/db/repos/gentoo/sci-libs/hipBLASLt/hipBLASLt-6.1.1-r1.ebuild)
1738258090:  === (1 of 42) Compiling/Merging (sci-libs/hipBLASLt-6.1.1-r1::/var/db/repos/gentoo/sci-libs/hipBLASLt/hipBLASLt-6.1.1-r1.ebuild)
~                                                                                                                                                                   

arethere more debugging tools i could use to get more info? i have no diea what is going on

this is my make.conf
Code:

# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="-march=x86-64 -mtune=generic -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
#USE="nettle  -openssl zip heif vaapi libdrm sv-av1 -qt5 qt6 quick ensurepip sambaclient libass srt x265 X pdf ffmpeg extra mad wavpack -flac sound-server egl gles2 -accessiblity wxwidgets winbind samba apparmor -nanovdb -ruby mtp cycles-bin-kernels -openvdb svg tiff -gstreamer oidn icons -webengine webp pdfimport rar xinerama cups lm-sensors compress initramfs jemalloc brotli theora mount gnutls symlink opus vpx non-root -minimal modemmanager -sdk -thunderbolt sddm networkmanager gtk3 pulseaudio grub gtk glex2 display-manager lock xorg qml wayland minizip systemd llvm -lvm -zstd -elogind -handbooks kwallet -firewall -flatpak -crash-handler -crypt bluetooth -crash-handler -firewall -sdk -semantic-desktop -vlc -wifi -wext -handbook -designer -libnotify -sendmail  -thin -eds -gtk-doc -nls -gnome-online-accounts -colord -nautilus -gnome  -osl -cdr -fem -vtk -slideshow -cdr -exif -colord -nss"

USE="hip rocm opencl dri symlink harfbuzz keyring vdpau libdrm vaapi winbind mount NetworkManager pipewire-alsa quick bundled-libs accessibility dav1d libaom avif av1 sound-server libass srt -jack ffmpeg extra twolame mpg123 opus usbredir mtp fdk gd rar theora zip -rdp samba ssh dolphin lvm grub dbus dist-kernel networkmanager kwallet plymouth display-manager -crypt -cryptsetup cups systemd device-mapper modules dist-kernel -discover -firewall -flatpak -handbook -dvd -vlc -wifi -bluetooth -wext -nanovdb -openvdb dracut kms -kernel_linux"

MAKEOPTS="-j12"
#EMERGE_DEFAULT_OPTS="--jobs 12"
ACCEPT_LICENSE="*"

VIDEO_CARDS="amdgpu radeonsi radeon"
# NOTE: This stage was built with the bindist Use flag enabled

ACCEPT_LICENSE="*"
# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C
LINGUAS="ie sk en"
L10N="sk en en-GB"


GENTOO_MIRRORS="http://tux.rainside.sk/gentoo/ ftp://tux.rainside.sk/gentoo/ https://mirror.wheel.sk/gentoo http://mirror.wheel.sk/gentoo"
GRUB_PLATFORMS="efi-64"
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3913
Location: Rasi, Finland

PostPosted: Fri Jan 31, 2025 12:28 pm    Post subject: Reply with quote

What if you run the emerge -command inside of a terminal multiplexer (like tmux) or in virtual console?
What terminal emulator you use?
_________________
..: Zucca :..

My gentoo installs:
init=/sbin/openrc-init
-systemd -logind -elogind seatd

Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 1868
Location: Germany

PostPosted: Fri Jan 31, 2025 1:22 pm    Post subject: Reply with quote

And sometimes sudo can be the troublemaker.

Is it clear where the whole command chain breaks?
Could it be
Code:
sudo emerge -a --verbose --update --deep --newuse --keep-going --with-bdeps=y @world
or
Code:
sudo emerge @smart-live-rebuild
?
_________________
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Back to top
View user's profile Send private message
leonik375
n00b
n00b


Joined: 19 Jul 2016
Posts: 12

PostPosted: Fri Jan 31, 2025 3:29 pm    Post subject: Reply with quote

Can it be 'out of memory' problem?
Just in case
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2678

PostPosted: Fri Jan 31, 2025 4:28 pm    Post subject: Re: Portage crashes terminal, unable to compile @world set Reply with quote

picarica wrote:
Code:

1738258090:  === (1 of 42) Compiling/Merging (sci-libs/hipBLASLt-6.1.1-r1::/var/db/repos/gentoo/sci-libs/hipBLASLt/hipBLASLt-6.1.1-r1.ebuild)
~                                                                                                                                                                   

arethere more debugging tools i could use to get more info? i have no diea what is going on


Look into yout PORTAGE_TEMPDIR/<category>/<package>/temp/build.log

If the system has not crashed, grep for OOM's in your logs.

Also post your emerge --info. You should actually almost always do that. Answer the questions of posters before me, they are all relevant.

Best Regards,
Georgi
Back to top
View user's profile Send private message
picarica
Guru
Guru


Joined: 11 Aug 2018
Posts: 334

PostPosted: Fri Jan 31, 2025 5:15 pm    Post subject: Reply with quote

Quote:
What if you run the emerge -command inside of a terminal multiplexer (like tmux) or in virtual console?
What terminal emulator you use?

will try that tomorrow, and i am using terminator, i eve tried having two tabs open in terminator and only where the emerge was happening closed, the other tab (btop opened) was still open, so terminator itself didnt crash

Quote:
And sometimes sudo can be the troublemaker.

Is it clear where the whole command chain breaks?
Could it be

will try as root and in screen -R tomorrow or tmux, but i think it doesnt reach @smar-live-rebuild


Quote:
Can it be 'out of memory' problem?
Just in case

i am running on 32GB of RAM with another 16GB of SWAP so would hope note, i can merge qtwebengine fine.

Quote:
Look into yout PORTAGE_TEMPDIR/<category>/<package>/temp/build.log

If the system has not crashed, grep for OOM's in your logs.

Also post your emerge --info. You should actually almost always do that. Answer the questions of posters before me, they are all relevant.


this iwas most intresting i think i looked into
Code:
/var/tmp/portage/sci-libs/hipBLASLt-6.1.1-r1/temp/build.log

# and found
....
-- <<< Gentoo configuration >>>
Build type      RelWithDebInfo
Install path    /usr
Compiler flags:
C               
C++              -D__HIP_HCC_COMPAT_MODE__=1
Linker flags:
Executable      -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs
Module          -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs
Shared          -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs

-- Configuring done (26.7s)
-- Generating done (0.0s)
-- Build files have been written to: /var/tmp/portage/sci-libs/hipBLASLt-6.1.1-r1/work/hipBLASLt-rocm-6.1.1_build
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sci-libs/hipBLASLt-6.1.1-r1/work/hipBLASLt-rocm-6.1.1 ...
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/sci-libs/hipBLASLt-6.1.1-r1/work/hipBLASLt-rocm-6.1.1"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/sci-libs/hipBLASLt-6.1.1-r1/work/hipBLASLt-rocm-6.1.1_build"
ninja -v -j12 -l0
[1/34] cd /var/tmp/portage/sci-libs/hipBLASLt-6.1.1-r1/work/hipBLASLt-rocm-6.1.1_build/virtualenv/lib/python3.12/site-packages/Tensile/Ops && /usr/bin/cmake -E rm -rf /var/tmp/portage/sci-libs/hipBLASLt-6.1.1-r1/work/hipBLASLt-rocm-6.1.1_build/library/build_tmp/ops && /usr/bin/cmake -E make_directory /var/tmp/portage/sci-libs/hipBLASLt-6.1.1-r1/work/hipBLASLt-rocm-6.1.1_build/library/build_tmp/ops && /usr/bin/cmake -E make_directory /var/tmp/portage/sci-libs/hipBLASLt-6.1.1-r1/work/hipBLASLt-rocm-6.1.1_build/Tensile/library && bash /var/tmp/portage/sci-libs/hipBLASLt-6.1.1-r1/work/hipBLASLt-rocm-6.1.1_build/virtualenv/lib/python3.12/site-packages/Tensile/Source/..//Ops/gen_assembly.sh "gfx90a;gfx940;gfx941;gfx942" /var/tmp/portage/sci-libs/hipBLASLt-6.1.1-r1/work/hipBLASLt-rocm-6.1.1_build/library/build_tmp/ops /var/tmp/portage/sci-libs/hipBLASLt-6.1.1-r1/work/hipBLASLt-rocm-6.1.1_build/virtualenv && /usr/bin/cmake -E copy /var/tmp/portage/sci-libs/hipBLASLt-6.1.1-r1/work/hipBLASLt-rocm-6.1.1_build/library/build_tmp/ops/hipblasltExtOpLibrary.dat /var/tmp/portage/sci-libs/hipBLASLt-6.1.1-r1/work/hipBLASLt-rocm-6.1.1_build/library/build_tmp/ops/extop_*.co /var/tmp/portage/sci-libs/hipBLASLt-6.1.1-r1/work/hipBLASLt-rocm-6.1.1_build/Tensile/library
Creating code object for arch gfx90a
Creating code object for arch gfx940
Creating code object for arch gfx941
Creating code object for arch gfx942
# thats it nothing after that


more intresting was build.log of compsoable kernel

i put it here it seems like it fails after hours of compilation for a reason i dont understand maybe this is the cause?

also sorry i forgot here is --info

Code:
emerge --info
Portage 3.0.66.1 (python 3.12.8-final-0, default/linux/amd64/23.0/desktop/plasma/systemd, gcc-14, glibc-2.40-r8, 6.6.69-cachyos-6.6.69-x86_64 x86_64)
=================================================================
System uname: Linux-6.6.69-cachyos-6.6.69-x86_64-x86_64-AMD_Ryzen_5_5600X_6-Core_Processor-with-glibc2.40
KiB Mem:    32784796 total,  24484464 free
KiB Swap:   15624188 total,  15607548 free
Head commit of repository gentoo: cc597403231578f46143811e76287cb785275707

Timestamp of repository CachyOS-kernels: Tue, 28 Jan 2025 07:37:11 +0000
Head commit of repository CachyOS-kernels: dba5abab311c7c632b001f31993753c7cda77132

Timestamp of repository FireBurn: Wed, 29 Jan 2025 23:33:19 +0000
Head commit of repository FireBurn: d74bf88a04165bef9f59209293220b57299e534e

Timestamp of repository binaryden: Wed, 29 Jan 2025 23:33:23 +0000
Head commit of repository binaryden: 1f403cb3d528f1e17b8c00f2cbd481fb7cc737b2

Timestamp of repository gentoo-bootstrap: Tue, 28 Jan 2025 07:37:00 +0000
Head commit of repository gentoo-bootstrap: b805f9295d8679ab308b26d7df563489f42548b6

Timestamp of repository guru: Wed, 29 Jan 2025 23:33:23 +0000
Head commit of repository guru: da47029dd4aaa8c1c6d13112554130319ca08e74

Timestamp of repository lanodanOverlay: Tue, 28 Jan 2025 07:36:46 +0000
Head commit of repository lanodanOverlay: 8a09c1b732496be394852ae6277a820281b7d42c

Head commit of repository picarica-overlay: e421ee640d206768366fc6b1d89f20ba9ceef19a

Timestamp of repository src_prepare-overlay: Wed, 15 Jan 2025 14:48:28 +0000
Head commit of repository src_prepare-overlay: 444efe63229d50268016d062952f9ffcd7c9a545

Timestamp of repository steam-overlay: Wed, 29 Jan 2025 23:33:21 +0000
Head commit of repository steam-overlay: 215a03000825d2d3b300d99915d5b4288ee879fb

Timestamp of repository thegreatmcpain: Wed, 29 Jan 2025 23:33:25 +0000
Head commit of repository thegreatmcpain: 7050408e55d120fef24cd33e65aa9c5c1883b24c

sh bash 5.2_p37
ld GNU ld (Gentoo 2.43 p3) 2.43.1
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.30.6::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.6.1::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.0-r1::gentoo
dev-lang/python:           3.10.16_p1::gentoo, 3.12.8_p1::gentoo, 3.13.1_p1::gentoo
dev-lang/rust-bin:         1.82.0-r101::gentoo, 1.83.0::gentoo
llvm-core/clang:           17.0.6::gentoo, 18.1.8-r6::gentoo, 19.1.6::gentoo
llvm-core/lld:             17.0.6::gentoo, 18.1.8::gentoo, 19.1.6::gentoo
llvm-core/llvm:            17.0.6-r3::gentoo, 18.1.8-r6::gentoo, 19.1.6::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-apps/systemd:          256.10::gentoo
sys-devel/binutils:        2.43-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             12.4.1_p20241219::gentoo, 13.3.1_p20241220::gentoo, 14.2.1_p20241221::gentoo
sys-devel/gcc-config:      2.12.1::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r8::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://gitweb.gentoo.org/repo/gentoo.git
    priority: -1000
    volatile: False

CachyOS-kernels
    location: /var/db/repos/CachyOS-kernels
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/CachyOS-kernels.git
    masters: gentoo
    volatile: False

FireBurn
    location: /var/db/repos/FireBurn
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/FireBurn.git
    masters: gentoo
    volatile: False

binaryden
    location: /var/db/repos/binaryden
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/binaryden.git
    masters: gentoo
    volatile: False

gentoo-bootstrap
    location: /var/db/repos/gentoo-bootstrap
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo-bootstrap.git
    masters: gentoo
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

lanodanOverlay
    location: /var/db/repos/lanodanOverlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/lanodanOverlay.git
    masters: gentoo guru gentoo-bootstrap
    volatile: False

picarica-overlay
    location: /var/db/repos/picarica-overlay
    sync-type: git
    sync-uri: https://gitlab.com/picarica/picarica-overlay
    masters: gentoo
    volatile: False

src_prepare-overlay
    location: /var/db/repos/src_prepare-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/src_prepare-overlay.git
    masters: gentoo
    volatile: False

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    volatile: False

thegreatmcpain
    location: /var/db/repos/thegreatmcpain
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/thegreatmcpain.git
    masters: gentoo
    volatile: False

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe"
DISTDIR="/var/cache/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="-march=x86-64 -mtune=generic -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance 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="-march=x86-64 -mtune=generic -O2 -pipe"
GENTOO_MIRRORS="http://tux.rainside.sk/gentoo/ ftp://tux.rainside.sk/gentoo/ https://mirror.wheel.sk/gentoo http://mirror.wheel.sk/gentoo"
LANG="en_IE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="ie sk en"
MAKEOPTS="-j12"
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"
SHELL="/bin/bash"
USE="NetworkManager X a52 aac accessibility acl acpi activities alsa amd64 av1 avif branding bundled-libs bzip2 cairo cdda cdr cet cups dav1d dbus declarative device-mapper display-manager dist-kernel dolphin dracut dri dts dvdr encode exif extra fdk ffmpeg flac gd gdbm gif gpm grub gtk gui harfbuzz hip iconv icu ipv6 jpeg kde keyring kf6compat kms kwallet lcms libaom libass libdrm libnotify libtirpc lvm mad mng modules mount mp3 mp4 mpeg mpg123 mtp multilib ncurses networkmanager nls ogg opencl opengl openmp opus pam pango pcre pdf pipewire pipewire-alsa plasma plymouth png policykit ppds pulseaudio qml qt5 qt6 quick rar readline rocm samba screencast sdl seccomp semantic-desktop sound sound-server spell srt ssh ssl startup-notification svg symlink systemd test-rust theora tiff truetype twolame udev udisks unicode upower usb usbredir vaapi vdpau vorbis vulkan wayland widgets winbind wxwidgets x264 xattr xcb xft xml xv xvid zip zlib" ABI_X86="64" ADA_TARGET="gcc_13" 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 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="sk en en-GB" 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-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32" VIDEO_CARDS="amdgpu radeonsi 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, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, 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

Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2678

PostPosted: Fri Jan 31, 2025 5:45 pm    Post subject: Reply with quote

picarica wrote:


more intresting was build.log of compsoable kernel

i put it here it seems like it fails after hours of compilation for a reason i dont understand maybe this is the cause?



It fails on a huge command and although you have more than 2GB per thread, this is a scientific package and it may have been an OOM kill. Just for perspective you can find the command here.

Your terminal might have crashed on its own or was the victim of the OOM killer. Is there something in the sys log?

Best Regards,
Georgi
Back to top
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 1868
Location: Germany

PostPosted: Fri Jan 31, 2025 6:42 pm    Post subject: Reply with quote

Code:
MAKEOPTS="-j12"

Either lower it globally or per pacakge if you notice it crashes at a specific one.

Quote:
Jobs should also be limited by RAM. Recent gcc versions can take 1.5 GB to 2 GB of RAM per job. For systems with 8 logical CPUs and only 4 GB RAM, MAKEOPTS should be lowered to -j2 so that the system can run the basics and also compile without hitting swap very often slowing things down.

https://wiki.gentoo.org/wiki/MAKEOPTS

You said you can build qtwebengine just fine, but over time packages (sadly) grow and old settings can not work anymore.
_________________
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Back to top
View user's profile Send private message
tckosvic
Apprentice
Apprentice


Joined: 18 Apr 2023
Posts: 157

PostPosted: Fri Jan 31, 2025 8:11 pm    Post subject: Reply with quote

Try the commands one at a time instead of chaining them.
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2678

PostPosted: Fri Jan 31, 2025 8:18 pm    Post subject: Reply with quote

tckosvic wrote:
Try the commands one at a time instead of chaining them.


Nice observation. It made me go back and review the command run. I'd add to avoid --keep-going too. I think OP should check the previous emerge session as AFAIR --keep-going starts a new one on failure.

Best Regards,
Georgi
Back to top
View user's profile Send private message
ingenarel
n00b
n00b


Joined: 16 Jan 2025
Posts: 12

PostPosted: Sat Feb 01, 2025 1:18 am    Post subject: Reply with quote

i usually chain the two commands a lot, but for me, i just do
Code:
sudo emerge --ask --deep --verbose --update --newuse @world && sudo smart-live-rebuild

and this never personally broke for me
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2678

PostPosted: Sat Feb 01, 2025 4:49 pm    Post subject: Reply with quote

ingenarel wrote:


This is a support forum and a user is requesting help. Please refrain from making unnecessary posts not directly related to users requests for help. This is considered off topic in this forum. If you want to discuss something or express your opinion, Gentoo Chat is the appropriate forum.

Best Regards,
Georgi
Back to top
View user's profile Send private message
mrbassie
l33t
l33t


Joined: 31 May 2013
Posts: 833
Location: Go past the sign for cope, right at the sign for seethe. If you see the target you've missed it.

PostPosted: Sat Feb 01, 2025 6:23 pm    Post subject: Reply with quote

Code:
@smart-live-rebuild


What does this do? It's neither in the man page nor the wiki.
_________________
I spent a christmas in Vienna twenty something years ago. It was a beautiful city. Everyone was so friendly.
Back to top
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 1868
Location: Germany

PostPosted: Sat Feb 01, 2025 8:16 pm    Post subject: Reply with quote

mrbassie wrote:
Code:
@smart-live-rebuild


What does this do? It's neither in the man page nor the wiki.

A quick search lead me to this: https://github.com/projg2/smart-live-rebuild/ The readme there explains it very well.
_________________
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3913
Location: Rasi, Finland

PostPosted: Sat Feb 01, 2025 8:19 pm    Post subject: Reply with quote

I think that set is automatically constructed from packages that fill the the requirement of @installed && FEATURES=live.

man portage *snip*:
             sets.conf
                     A package set configuration file. Settings here override settings
                     from  /var/db/repos/gentoo/sets.conf  and /usr/share/portage/con‐
                     fig/sets.  The format is described extensively in the Package Set
                     Configuration section of the  html  documentation  which  is  in‐
                     stalled with portage when the "doc" USE flag is enabled.

                     Example:
                     [world]
                     class = portage.sets.base.DummyPackageSet
                     packages = @profile @selected @system

                     [usersets]
                     class = portage.sets.files.StaticFileSet
                     multiset = true
                     directory =  %(PORTAGE_CONFIGROOT)setc/portage/sets
                     world-candidate = True

                     [module-rebuild]
                     class = portage.sets.dbapi.OwnerSet
                     files = /lib/modules


EDIT: The set is added by app-portage/smart-live-rebuild.
_________________
..: Zucca :..

My gentoo installs:
init=/sbin/openrc-init
-systemd -logind -elogind seatd

Quote:
I am NaN! I am a man!


Last edited by Zucca on Sat Feb 01, 2025 8:40 pm; edited 1 time in total
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2678

PostPosted: Sat Feb 01, 2025 8:28 pm    Post subject: Reply with quote

It is not a set but a command and it is not related to OP's problem in any way.
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