Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

can't update gentoo cause of kidletime

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
fyobs_204
n00b
n00b
Posts: 3
Joined: Thu Jan 29, 2026 12:15 pm

can't update gentoo cause of kidletime

  • Quote

Post by fyobs_204 » Thu Jan 29, 2026 12:35 pm

im new to this distribution so bear with me but kidletime seems to be blocking updates on my machine

running emerge -avuDN @world returns this:

Code: Select all

 * ERROR: kde-frameworks/kidletime-6.22.0::gentoo failed (compile phase):
 *   ninja -v -l0 -j8 failed
 * 
 * Call stack:
 *     ebuild.sh, line  143:  Called src_compile
 *   environment, line 2006:  Called cmake_src_compile
 *   environment, line 1038:  Called cmake_build
 *   environment, line  950:  Called eninja
 *   environment, line 1566:  Called die
 * The specific snippet of code:
 *       "$@" || die -n "${*} failed"
 * 
 * If you need support, post the output of `emerge --info '=kde-frameworks/kidletime-6.22.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=kde-frameworks/kidletime-6.22.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/kde-frameworks/kidletime-6.22.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-frameworks/kidletime-6.22.0/temp/environment'.
 * Working directory: '/var/tmp/portage/kde-frameworks/kidletime-6.22.0/work/kidletime-6.22.0_build'
 * S: '/var/tmp/portage/kde-frameworks/kidletime-6.22.0/work/kidletime-6.22.0'

>>> Failed to emerge kde-frameworks/kidletime-6.22.0, Log file:

>>>  '/var/tmp/portage/kde-frameworks/kidletime-6.22.0/temp/build.log'

 * Messages for package kde-frameworks/kidletime-6.22.0:

 * ERROR: kde-frameworks/kidletime-6.22.0::gentoo failed (compile phase):
 *   ninja -v -l0 -j8 failed
 * Call stack:
 *     ebuild.sh, line  143:  Called src_compile
 *   environment, line 2006:  Called cmake_src_compile
 *   environment, line 1038:  Called cmake_build
 *   environment, line  950:  Called eninja
 *   environment, line 1566:  Called die
 * The specific snippet of code:
 *       "$@" || die -n "${*} failed"
 * If you need support, post the output of `emerge --info '=kde-frameworks/kidletime-6.22.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=kde-frameworks/kidletime-6.22.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/kde-frameworks/kidletime-6.22.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-frameworks/kidletime-6.22.0/temp/environment'.
 * Working directory: '/var/tmp/portage/kde-frameworks/kidletime-6.22.0/work/kidletime-6.22.0_build'
 * S: '/var/tmp/portage/kde-frameworks/kidletime-6.22.0/work/kidletime-6.22.0'
Here is the build.log
build.log
Top
GDH-gentoo
Advocate
Advocate
User avatar
Posts: 2110
Joined: Sat Jul 20, 2019 7:02 pm
Location: South America

  • Quote

Post by GDH-gentoo » Thu Jan 29, 2026 12:52 pm

Welcome to the forums.
fyobs_204 wrote:Here is the build.log
build.log

Code: Select all

>>> Configuring source in /var/tmp/portage/kde-frameworks/kidletime-6.22.0/work/kidletime-6.22.0 ...
...
-- The C compiler identification is Clang 21.1.8
-- The CXX compiler identification is GNU 15.2.1
...
-- Check for working C compiler: /usr/lib/llvm/21/bin/clang - skipped
...
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ - skipped
Your setup is making the build system use GCC for C++ source files, and Clang for C source files (which seems not to recognize option -mno-direct-extern-access passed to it). Output of emerge --info, please?
NeddySeagoon wrote:I'm not a witch, I'm a retired electronics engineer :)
Ionen wrote:As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though :)
Top
fyobs_204
n00b
n00b
Posts: 3
Joined: Thu Jan 29, 2026 12:15 pm

  • Quote

Post by fyobs_204 » Thu Jan 29, 2026 1:08 pm

Code: Select all

Portage 3.0.72 (python 3.13.11-final-0, default/linux/amd64/23.0/desktop/plasma, gcc-15, glibc-2.41-r6, 6.18.7-tkg-bore-llvm x86_64)
=================================================================
System uname: Linux-6.18.7-tkg-bore-llvm-x86_64-Intel-R-_Core-TM-_i7-7700HQ_CPU_@_2.80GHz-with-glibc2.41
KiB Mem:    16264308 total,  13202308 free
KiB Swap:   16777212 total,  16777212 free
Timestamp of repository gentoo: Thu, 29 Jan 2026 10:30:00 +0000
Head commit of repository gentoo: 0d0425c66aa3ecbb5ac3bb00e6661a095f8459ed
Timestamp of repository guru: Thu, 29 Jan 2026 10:31:04 +0000
Head commit of repository guru: f25fe730ce5f580a5d43832dfa3f8304e0c1e3e6

Head commit of repository xarblu-overlay: 75e6b926f649658b79bbdfcd3039b5b6975005aa

sh bash 5.3_p9
ld GNU ld (Gentoo 2.45.1 p1) 2.45.1
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.3_p9::gentoo
dev-build/autoconf:        2.72-r6::gentoo
dev-build/automake:        1.18.1::gentoo
dev-build/cmake:           4.1.4::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r102::gentoo
dev-build/meson:           1.9.1::gentoo
dev-lang/perl:             5.42.0-r1::gentoo
dev-lang/python:           3.13.11::gentoo, 3.14.0_p1::gentoo
dev-lang/rust-bin:         1.91.0::gentoo
llvm-core/clang:           21.1.8::gentoo
llvm-core/lld:             21.1.8::gentoo
llvm-core/llvm:            21.1.8::gentoo
sys-apps/baselayout:       2.18::gentoo
sys-apps/openrc:           0.62.10::gentoo
sys-apps/sandbox:          2.46::gentoo
sys-devel/binutils:        2.45.1::gentoo
sys-devel/binutils-config: 5.6::gentoo
sys-devel/gcc:             15.2.1_p20251122::gentoo
sys-devel/gcc-config:      2.12.2::gentoo
sys-kernel/linux-headers:  6.18::gentoo (virtual/os-headers)
sys-libs/glibc:            2.41-r6::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    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

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

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

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CC="clang"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
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"
CXXFLAGS="-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="-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 strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LD="ld.lld"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j8"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS="bzip2"
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 a52 aac acl acpi activities alsa amd64 avif bluetooth branding bzip2 cairo cdda cdr cet crypt cups dbus declarative dist-kernel dri dts dvdr elogind encode exif flac gdbm gif gpm gtk gui iconv icu ipv6 jpeg jpegxl kde kvm kwallet lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls ogg opengl openmp pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qml qt6 readline screencast sdl seccomp semantic-desktop sound sound-server spell spice ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb usbredir vorbis vulkan wayland webp widgets wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_15" 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 navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="X86" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-3" POSTGRES_TARGETS="postgres17" PYTHON_SINGLE_TARGET="python3_13" PYTHON_TARGETS="python3_13" RUBY_TARGETS="ruby32 ruby33" VIDEO_CARDS="nvidia i915 intel" 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, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

Top
GDH-gentoo
Advocate
Advocate
User avatar
Posts: 2110
Joined: Sat Jul 20, 2019 7:02 pm
Location: South America

  • Quote

Post by GDH-gentoo » Thu Jan 29, 2026 1:26 pm

fyobs_204 wrote:

Code: Select all

Portage 3.0.72 (python 3.13.11-final-0, default/linux/amd64/23.0/desktop/plasma, gcc-15, glibc-2.41-r6, 6.18.7-tkg-bore-llvm x86_64)
...
CC="clang"
...
Unset: ... CXX, ...
You are on profile default/linux/amd64/23.0/desktop/plasma, which means that the GNU toolchain will be used for building packages by default. So CC has probably been set by you in /etc/portage/make.conf. Try removing that and reattempting the @world update.

I suppose you did that because you want Clang for compiling the kernel you've got there. There are better ways to do that than make.conf.
NeddySeagoon wrote:I'm not a witch, I'm a retired electronics engineer :)
Ionen wrote:As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though :)
Top
fyobs_204
n00b
n00b
Posts: 3
Joined: Thu Jan 29, 2026 12:15 pm

  • Quote

Post by fyobs_204 » Thu Jan 29, 2026 2:08 pm

Thank you so much it finally continued!!! :D
Top
Post Reply

5 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy