Forums

Skip to content

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

Trouble merging nvidia-drivers. [Solved]

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
Kaidezee
n00b
n00b
User avatar
Posts: 29
Joined: Wed Dec 25, 2024 6:04 pm
Location: 25.3 N 91.7 E

Trouble merging nvidia-drivers. [Solved]

  • Quote

Post by Kaidezee » Sun Jun 01, 2025 12:21 pm

Er.. it doesn't compile. I am trying to upgrade to 6.15 kernel with this config (I didn't test it yet since graphics drivers don't compile :( ): https://0x0.st/8YqN.txt

Build log (/var/tmp/portage/x11-drivers/nvidia-drivers-570.153.02/temp/build.log): https://0x0.st/8Yq1.log

Code: Select all

 $ emerge --info '=x11-drivers/nvidia-drivers-570.153.02::gentoo'
Portage 3.0.68 (python 3.13.3-final-0, default/linux/amd64/23.0/hardened, gcc-15, glibc-2.41-r2, 6.12.26-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.12.26-gentoo-x86_64-Intel-R-_Core-TM-_i7-9700F_CPU_@_3.00GHz-with-glibc2.41
KiB Mem:    16326600 total,   1151600 free
KiB Swap:   16777212 total,  15870160 free
Timestamp of repository gentoo: Tue, 27 May 2025 14:30:00 +0000
Head commit of repository gentoo: cf5640282fbf1b11decaf28d0563cbbbc0b6f487
Timestamp of repository guru: Mon, 26 May 2025 09:54:19 +0000
Head commit of repository guru: 4af622b18f60db47e003032000b16dc6290e5a28

Head commit of repository librewolf: 9913c5eaf1fe80a4476667673d55acac130f2aac

Timestamp of repository steam-overlay: Fri, 16 May 2025 10:24:14 +0000
Head commit of repository steam-overlay: d277759a1f8f39e271f6c46511ee7be01af005c7

Timestamp of repository torbrowser: Fri, 23 May 2025 19:09:32 +0000
Head commit of repository torbrowser: 073cb422b7e8bdaf46ba3aac0e56750e65c7463b

sh bash 5.2_p37-r3
ld GNU ld (Gentoo 2.44 p4) 2.44.0
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37-r3::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.17-r2::gentoo
dev-build/cmake:           3.31.7-r1::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.8.1::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.2::gentoo
dev-lang/python:           3.12.10_p1::gentoo, 3.13.3_p1::gentoo, 3.14.0_beta2::gentoo
dev-lang/rust-bin:         1.86.0-r1::gentoo, 1.87.0::gentoo
llvm-core/clang:           19.1.7::gentoo, 20.1.5::gentoo
llvm-core/lld:             19.1.7::gentoo, 20.1.5::gentoo
llvm-core/llvm:            19.1.7::gentoo, 20.1.5::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/openrc:           0.62.2::gentoo
sys-apps/sandbox:          2.46::gentoo
sys-devel/binutils:        2.44-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             15.1.0::gentoo
sys-devel/gcc-config:      2.12.1::gentoo
sys-kernel/linux-headers:  6.14::gentoo (virtual/os-headers)
sys-libs/glibc:            2.41-r2::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-metamanifest: yes
    sync-rsync-verify-max-age: 3
    sync-rsync-extra-opts: -4
    sync-rsync-verify-jobs: 1

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

librewolf
    location: /var/db/repos/librewolf
    sync-type: git
    sync-uri: https://codeberg.org/librewolf/gentoo.git
    masters: gentoo
    volatile: False

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

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

Binary Repositories:

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

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE @FREE AGPL-3.0 free-noncomm ValveSteamLicense Steam linux-fw-redistributable Broadcom NVIDIA-r2"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
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 export-pms-vars 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="https://mirror.rackspace.com/gentoo/"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j4"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="-4"
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 bluetooth branding bzip2 cairo cdda cdr cet crypt cups dbus declarative dri dts dvd dvdr elogind encode exif flac gdbm gif gpm gtk gui hardened iconv icu ipv6 jpeg kde lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nvenc ogg opengl openmp pam pango pcre pdf pic pie pipewire plasma png policykit ppds qml qt5 qt6 readline screencast sdl seccomp semantic-desktop sound spell ssl ssp startup-notification svg test-rust tiff truetype udev udisks unicode upower usb vdpau vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xft xml xtpax xv xvid zlib" ABI_X86="64 32" ADA_TARGET="gcc_14" 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 sse3 sse4_1 sse4_2 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" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" 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-2" POSTGRES_TARGETS="postgres17" PYTHON_SINGLE_TARGET="python3_13" PYTHON_TARGETS="python3_12 python3_13" RUBY_TARGETS="ruby32" VIDEO_CARDS="nvidia" 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, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

Code: Select all

 $ emerge -pqv '=x11-drivers/nvidia-drivers-570.153.02::gentoo'
[ebuild     U ] x11-drivers/nvidia-drivers-570.153.02 [570.144] USE="X kernel-open modules static-libs strip tools wayland -dist-kernel -modules-compress -modules-sign -persistenced -powerd" ABI_X86="32 (64)"
Last edited by Kaidezee on Sun Jun 01, 2025 3:16 pm, edited 1 time in total.
Top
saellaven
l33t
l33t
Posts: 677
Joined: Sun Jul 23, 2006 4:24 am

  • Quote

Post by saellaven » Sun Jun 01, 2025 2:59 pm

Disable CONFIG_OBJTOOL_WERROR in your kernel config
Ryzen 3700X, Asus Prime X570-Pro, 64 GB DDR4 3200, GeForce GTX 1660 Super
openrc-0.17, ~vanilla-sources, ~nvidia-drivers, ~gcc
Top
Kaidezee
n00b
n00b
User avatar
Posts: 29
Joined: Wed Dec 25, 2024 6:04 pm
Location: 25.3 N 91.7 E

  • Quote

Post by Kaidezee » Sun Jun 01, 2025 3:14 pm

That works, I suppose. Thank you :). But why are those warnings being generated in the first place?
Last edited by Kaidezee on Sun Jun 01, 2025 3:14 pm, edited 1 time in total.
Top
Ionen
Developer
Developer
User avatar
Posts: 3014
Joined: Thu Dec 06, 2018 2:23 pm

  • Quote

Post by Ionen » Sun Jun 01, 2025 3:14 pm

Should be "fixed" by https://gitweb.gentoo.org/repo/gentoo.g ... 794094b300 but I do recommend to avoid *WERROR options nonetheless, they're primarily aimed at developers

The nvidia blob (USE=-kernel-open) been causing these warnings for a while when IBT is enabled in the kernel, it's nothing new and as far as I know haven't been causing problems beside being noisy with the warnings.
Top
Post Reply

4 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

 

 

magic