Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ERROR: x11-libs/libdrm-2.4.122::gentoo failed (compile phase
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Bluetoaster
n00b
n00b


Joined: 12 Sep 2024
Posts: 9

PostPosted: Thu Sep 12, 2024 7:25 am    Post subject: ERROR: x11-libs/libdrm-2.4.122::gentoo failed (compile phase Reply with quote

I tried running "emerge --ask --verbose --update --deep --newuse @world" while I was installing Gentoo and I keep getting this error:

Code:

* ERROR: x11-libs/libdrm-2.4.122::gentoo failed (compile phase):
 *   ninja -v -j64 -l0 failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 3385:  Called meson-multilib_src_compile
 *   environment, line 2053:  Called multilib-minimal_src_compile
 *   environment, line 2247:  Called multilib_foreach_abi 'multilib-minimal_abi_src_compile'
 *   environment, line 2514:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 2207:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 2205:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile'
 *   environment, line  626:  Called multilib-minimal_abi_src_compile
 *   environment, line 2241:  Called multilib_src_compile
 *   environment, line 2734:  Called meson_src_compile
 *   environment, line 2120:  Called eninja
 *   environment, line 1499:  Called die
 * The specific snippet of code:
 *       "$@" || die -n "${*} failed"
 *
 * If you need support, post the output of `emerge --info '=x11-libs/libdrm-2.4.122::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=x11-libs/libdrm-2.4.122::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/x11-libs/libdrm-2.4.122/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/libdrm-2.4.122/temp/environment'.
 * Working directory: '/var/tmp/portage/x11-libs/libdrm-2.4.122/work/libdrm-2.4.122-abi_x86_64.amd64'
 * S: '/var/tmp/portage/x11-libs/libdrm-2.4.122/work/libdrm-2.4.122'

 * GNU info directory index is up-to-date.

 * IMPORTANT: 15 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

 * After world updates, it is important to remove obsolete packages with
 * emerge --depclean. Refer to `man emerge` for more information.


This is the output of "emerge --info '=x11-libs/libdrm-2.4.122::gentoo"

Code:

(chroot) ThinkStationP500 / # emerge --info '=x11-libs/libdrm-2.4.122::gentoo'
setlocale: unsupported locale setting
setlocale: unsupported locale setting
Portage 3.0.65 (python 3.12.3-final-0, default/linux/amd64/23.0/desktop, gcc-13, glibc-2.39-r6, 6.10.6-artix1-1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.10.6-artix1-1-x86_64-Intel-R-_Xeon-R-_CPU_E5-2699_v3_@_2.30GHz-with-glibc2.39
KiB Mem:   131794912 total, 114236596 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Thu, 12 Sep 2024 00:45:00 +0000
Head commit of repository gentoo: 5c77941f4535cf5bfc76f84c6d48bafb4465a6b9
sh bash 5.2_p26-r6
ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26-r6::gentoo
dev-build/autoconf:        2.71-r7::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.30.2::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.5.1::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           3.12.3-r1::gentoo
dev-lang/rust-bin:         1.79.0::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/openrc:           0.54.2::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.3.1_p20240614::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-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-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 3

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"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /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 sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="https://mirror.clarkson.edu/gentoo/"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j64"
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="/usr/bin/bash"
USE="X a52 aac acl acpi alsa amd64 branding bzip2 cairo cdda cet crypt cups dbus dri dts elogind encode exif flac gdbm gif gpm gtk iconv icu ipv6 jpeg kf6compat lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls ogg opengl openmp pam pango pcre pdf png policykit ppds qml qt5 readline sdl seccomp sound spell ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan wxwidgets x264 xattr xcb xft xml xv xvid zlib" 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 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 mtk3301 ntrip 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="postgres15" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="nvidia-drivers" 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, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

(chroot) ThinkStationP500 / #


I am also very new to Gentoo so please help.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31288
Location: here

PostPosted: Thu Sep 12, 2024 8:08 am    Post subject: Reply with quote

Welcome to gentoo forum!

You should post also /var/tmp/portage/x11-libs/libdrm-2.4.122/temp/build.log file with wgetpaste.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3918

PostPosted: Thu Sep 12, 2024 8:11 am    Post subject: Reply with quote

Plz post
Code:

The complete build log is located at '/var/tmp/portage/x11-libs/libdrm-2.4.122/temp/build.log'.

Also I see you are using
Code:

6.10.6-artix1-1

kernel.
Better use gentoo-sources or gentoo-kernel-bin instead.
_________________
:)
Back to top
View user's profile Send private message
Bluetoaster
n00b
n00b


Joined: 12 Sep 2024
Posts: 9

PostPosted: Thu Sep 12, 2024 8:23 am    Post subject: Reply with quote

oh sorry here
Code:

 * Package:    x11-libs/libdrm-2.4.122:0
 * Repository: gentoo
 * Maintainer: x11@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux udev
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
 * Checking whether python3_13 is suitable ...
 *   dev-lang/python:3.13 ...
 [ !! ]
 * Checking whether python3_12 is suitable ...
 *   dev-lang/python:3.12 ...
 [ ok ]
 *   python_check_deps ...
 *     dev-python/docutils[python_targets_python3_12(-)] ...
 [ ok ]
 [ ok ]
 * Using python3.12 to build (via PYTHON_COMPAT iteration)
/var/tmp/portage/x11-libs/libdrm-2.4.122/temp/environment: line 93: warning: setlocale: LC_NUMERIC: cannot change locale (en_US.UTF-8)
/var/tmp/portage/x11-libs/libdrm-2.4.122/temp/environment: line 96: warning: setlocale: LC_TIME: cannot change locale (en_US.UTF-8)
>>> Unpacking source...
>>> Unpacking libdrm-2.4.122.tar.xz to /var/tmp/portage/x11-libs/libdrm-2.4.122/work
>>> Source unpacked in /var/tmp/portage/x11-libs/libdrm-2.4.122/work
/var/tmp/portage/x11-libs/libdrm-2.4.122/temp/environment: line 93: warning: setlocale: LC_NUMERIC: cannot change locale (en_US.UTF-8)
/var/tmp/portage/x11-libs/libdrm-2.4.122/temp/environment: line 96: warning: setlocale: LC_TIME: cannot change locale (en_US.UTF-8)
>>> Preparing source in /var/tmp/portage/x11-libs/libdrm-2.4.122/work/libdrm-2.4.122 ...
>>> Source prepared.
/var/tmp/portage/x11-libs/libdrm-2.4.122/temp/environment: line 93: warning: setlocale: LC_NUMERIC: cannot change locale (en_US.UTF-8)
/var/tmp/portage/x11-libs/libdrm-2.4.122/temp/environment: line 96: warning: setlocale: LC_TIME: cannot change locale (en_US.UTF-8)
>>> Configuring source in /var/tmp/portage/x11-libs/libdrm-2.4.122/work/libdrm-2.4.122 ...
 * abi_x86_64.amd64: running multilib-minimal_abi_src_configure
locale: Cannot set LC_ALL to default locale: No such file or directory
meson setup -Db_lto=false --libdir lib64 --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /var/tmp/portage/x11-libs/libdrm-2.4.122/temp/python3.12/pkgconfig:/usr/share/pkgconfig --pkg-config-path /var/tmp/portage/x11-libs/libdrm-2.4.122/temp/python3.12/pkgconfig:/usr/share/pkgconfig --native-file /var/tmp/portage/x11-libs/libdrm-2.4.122/temp/meson.x86_64-pc-linux-gnu.amd64.ini -Db_pch=false -Dwerror=false -Dbuildtype=plain -Dudev=true -Dcairo-tests=disabled -Damdgpu=disabled -Dexynos=disabled -Dfreedreno=disabled -Dintel=disabled -Dnouveau=disabled -Domap=disabled -Dradeon=disabled -Dtegra=disabled -Dvc4=disabled -Detnaviv=disabled -Dvmwgfx=disabled -Dvalgrind=disabled -Dinstall-test-programs=false -Dtests=false /var/tmp/portage/x11-libs/libdrm-2.4.122/work/libdrm-2.4.122 /var/tmp/portage/x11-libs/libdrm-2.4.122/work/libdrm-2.4.122-abi_x86_64.amd64
The Meson build system
Version: 1.5.1
Source dir: /var/tmp/portage/x11-libs/libdrm-2.4.122/work/libdrm-2.4.122
Build dir: /var/tmp/portage/x11-libs/libdrm-2.4.122/work/libdrm-2.4.122-abi_x86_64.amd64
Build type: native build
Project name: libdrm
Project version: 2.4.122
C compiler for the host machine: x86_64-pc-linux-gnu-gcc (gcc 13.3.1 "x86_64-pc-linux-gnu-gcc (Gentoo 13.3.1_p20240614 p17) 13.3.1 20240614")
C linker for the host machine: x86_64-pc-linux-gnu-gcc ld.bfd 2.42
Host machine cpu family: x86_64
Host machine cpu: x86_64
Run-time dependency threads found: YES
Program symbols-check.py found: YES (/usr/bin/python3.12 /var/tmp/portage/x11-libs/libdrm-2.4.122/work/libdrm-2.4.122/symbols-check.py)
Program x86_64-pc-linux-gnu-nm found: YES
Program python3 found: YES (/var/tmp/portage/x11-libs/libdrm-2.4.122/temp/python3.12/bin/python3)
Found pkg-config: YES (/usr/bin/x86_64-pc-linux-gnu-pkg-config) 2.2.0
Run-time dependency atomic_ops found: YES 7.8.2
Checking if "Intel Atomics" : links: YES
Dependency pciaccess skipped: feature intel disabled
Checking for function "dlsym" : YES
Checking for function "clock_gettime" : YES
Check usable header "sys/select.h" : YES
Check usable header "alloca.h" : YES
Header "sys/sysmacros.h" has symbol "major" : YES
Header "sys/sysmacros.h" has symbol "minor" : YES
Header "sys/sysmacros.h" has symbol "makedev" : YES
Header "sys/mkdev.h" has symbol "major" : NO
Checking for function "open_memstream" : YES
Compiler for C supports arguments -Wsign-compare: YES
Compiler for C supports arguments -Werror=undef: YES
Compiler for C supports arguments -Werror=implicit-function-declaration: YES
Compiler for C supports arguments -Wpointer-arith: YES
Compiler for C supports arguments -Wwrite-strings: YES
Compiler for C supports arguments -Wstrict-prototypes: YES
Compiler for C supports arguments -Wmissing-prototypes: YES
Compiler for C supports arguments -Wmissing-declarations: YES
Compiler for C supports arguments -Wnested-externs: YES
Compiler for C supports arguments -Wpacked: YES
Compiler for C supports arguments -Wswitch-enum: YES
Compiler for C supports arguments -Wmissing-format-attribute: YES
Compiler for C supports arguments -Wstrict-aliasing=2: YES
Compiler for C supports arguments -Winit-self: YES
Compiler for C supports arguments -Winline: YES
Compiler for C supports arguments -Wshadow: YES
Compiler for C supports arguments -Wdeclaration-after-statement: YES
Compiler for C supports arguments -Wold-style-definition: YES
Compiler for C supports arguments -Wno-unused-parameter: YES
Compiler for C supports arguments -Wno-attributes: YES
Compiler for C supports arguments -Wno-long-long: YES
Compiler for C supports arguments -Wno-missing-field-initializers: YES
Found CMake: /usr/bin/cmake (3.30.2)
Run-time dependency cunit found: NO (tried pkgconfig and cmake)
Dependency cairo skipped: feature cairo-tests disabled
Dependency valgrind skipped: feature valgrind disabled
Program rst2man found: YES (/usr/bin/rst2man)
Compiler for C supports function attribute visibility:hidden: YES
Configuring config.h using configuration
Build targets in project: 8

libdrm 2.4.122

    Intel                : false
    Radeon               : false
    AMDGPU               : false
    Nouveau              : false
    vmwgfx               : false
    OMAP                 : false
    Freedreno            : false
    Freedreon-kgsl       : false
    Tegra                : false
    Etnaviv              : false
    EXYNOS               : false
    VC4                  : false

  User defined options
    Native files         : /var/tmp/portage/x11-libs/libdrm-2.4.122/temp/meson.x86_64-pc-linux-gnu.amd64.ini
    build.pkg_config_path: /var/tmp/portage/x11-libs/libdrm-2.4.122/temp/python3.12/pkgconfig:/usr/share/pkgconfig
    buildtype            : plain
    libdir               : lib64
    localstatedir        : /var/lib
    pkg_config_path      : /var/tmp/portage/x11-libs/libdrm-2.4.122/temp/python3.12/pkgconfig:/usr/share/pkgconfig
    prefix               : /usr
    sysconfdir           : /etc
    werror               : false
    wrap_mode            : nodownload
    b_lto                : false
    b_pch                : false
    amdgpu               : disabled
    cairo-tests          : disabled
    etnaviv              : disabled
    exynos               : disabled
    freedreno            : disabled
    install-test-programs: false
    intel                : disabled
    nouveau              : disabled
    omap                 : disabled
    radeon               : disabled
    tegra                : disabled
    tests                : false
    udev                 : true
    valgrind             : disabled
    vc4                  : disabled
    vmwgfx               : disabled

Found ninja-1.11.1 at /usr/bin/ninja
>>> Source configured.
/var/tmp/portage/x11-libs/libdrm-2.4.122/temp/environment: line 93: warning: setlocale: LC_NUMERIC: cannot change locale (en_US.UTF-8)
/var/tmp/portage/x11-libs/libdrm-2.4.122/temp/environment: line 96: warning: setlocale: LC_TIME: cannot change locale (en_US.UTF-8)
>>> Compiling source in /var/tmp/portage/x11-libs/libdrm-2.4.122/work/libdrm-2.4.122 ...
 * abi_x86_64.amd64: running multilib-minimal_abi_src_compile
ninja -v -j64 -l0
[1/13] /var/tmp/portage/x11-libs/libdrm-2.4.122/temp/python3.12/bin/python3 ../libdrm-2.4.122/gen_table_fourcc.py ../libdrm-2.4.122/include/drm/drm_fourcc.h generated_static_table_fourcc.h
[2/13] /usr/bin/rst2man ../libdrm-2.4.122/man/drm-kms.7.rst man/drm-kms.7
FAILED: man/drm-kms.7
/usr/bin/rst2man ../libdrm-2.4.122/man/drm-kms.7.rst man/drm-kms.7
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.12/rst2man", line 8, in <module>
    sys.exit(rst2man())
             ^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/docutils/core.py", line 760, in rst2man
    rst2something('manpage', 'Unix manual (troff)', 'user/manpage.html')
  File "/usr/lib/python3.12/site-packages/docutils/core.py", line 739, in rst2something
    locale.setlocale(locale.LC_ALL, '')
  File "/usr/lib/python3.12/locale.py", line 615, in setlocale
    return _setlocale(category, locale)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
locale.Error: unsupported locale setting
[3/13] /usr/bin/rst2man ../libdrm-2.4.122/man/drm.7.rst man/drm.7
FAILED: man/drm.7
/usr/bin/rst2man ../libdrm-2.4.122/man/drm.7.rst man/drm.7
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.12/rst2man", line 8, in <module>
    sys.exit(rst2man())
             ^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/docutils/core.py", line 760, in rst2man
    rst2something('manpage', 'Unix manual (troff)', 'user/manpage.html')
  File "/usr/lib/python3.12/site-packages/docutils/core.py", line 739, in rst2something
    locale.setlocale(locale.LC_ALL, '')
  File "/usr/lib/python3.12/locale.py", line 615, in setlocale
    return _setlocale(category, locale)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
locale.Error: unsupported locale setting
[4/13] /usr/bin/rst2man ../libdrm-2.4.122/man/drm-memory.7.rst man/drm-memory.7
FAILED: man/drm-memory.7
/usr/bin/rst2man ../libdrm-2.4.122/man/drm-memory.7.rst man/drm-memory.7
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.12/rst2man", line 8, in <module>
    sys.exit(rst2man())
             ^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/docutils/core.py", line 760, in rst2man
    rst2something('manpage', 'Unix manual (troff)', 'user/manpage.html')
  File "/usr/lib/python3.12/site-packages/docutils/core.py", line 739, in rst2something
    locale.setlocale(locale.LC_ALL, '')
  File "/usr/lib/python3.12/locale.py", line 615, in setlocale
    return _setlocale(category, locale)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
locale.Error: unsupported locale setting
[5/13] /usr/bin/rst2man ../libdrm-2.4.122/man/drmAvailable.3.rst man/drmAvailable.3
FAILED: man/drmAvailable.3
/usr/bin/rst2man ../libdrm-2.4.122/man/drmAvailable.3.rst man/drmAvailable.3
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.12/rst2man", line 8, in <module>
    sys.exit(rst2man())
             ^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/docutils/core.py", line 760, in rst2man
    rst2something('manpage', 'Unix manual (troff)', 'user/manpage.html')
  File "/usr/lib/python3.12/site-packages/docutils/core.py", line 739, in rst2something
    locale.setlocale(locale.LC_ALL, '')
  File "/usr/lib/python3.12/locale.py", line 615, in setlocale
    return _setlocale(category, locale)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
locale.Error: unsupported locale setting
[6/13] /usr/bin/rst2man ../libdrm-2.4.122/man/drmModeGetResources.3.rst man/drmModeGetResources.3
FAILED: man/drmModeGetResources.3
/usr/bin/rst2man ../libdrm-2.4.122/man/drmModeGetResources.3.rst man/drmModeGetResources.3
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.12/rst2man", line 8, in <module>
    sys.exit(rst2man())
             ^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/docutils/core.py", line 760, in rst2man
    rst2something('manpage', 'Unix manual (troff)', 'user/manpage.html')
  File "/usr/lib/python3.12/site-packages/docutils/core.py", line 739, in rst2something
    locale.setlocale(locale.LC_ALL, '')
  File "/usr/lib/python3.12/locale.py", line 615, in setlocale
    return _setlocale(category, locale)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
locale.Error: unsupported locale setting
[7/13] /usr/bin/rst2man ../libdrm-2.4.122/man/drmHandleEvent.3.rst man/drmHandleEvent.3
FAILED: man/drmHandleEvent.3
/usr/bin/rst2man ../libdrm-2.4.122/man/drmHandleEvent.3.rst man/drmHandleEvent.3
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.12/rst2man", line 8, in <module>
    sys.exit(rst2man())
             ^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/docutils/core.py", line 760, in rst2man
    rst2something('manpage', 'Unix manual (troff)', 'user/manpage.html')
  File "/usr/lib/python3.12/site-packages/docutils/core.py", line 739, in rst2something
    locale.setlocale(locale.LC_ALL, '')
  File "/usr/lib/python3.12/locale.py", line 615, in setlocale
    return _setlocale(category, locale)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
locale.Error: unsupported locale setting
[8/13] x86_64-pc-linux-gnu-gcc -Ilibdrm.so.2.4.0.p -I. -I../libdrm-2.4.122 -I../libdrm-2.4.122/include/drm -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include /var/tmp/portage/x11-libs/libdrm-2.4.122/work/libdrm-2.4.122-abi_x86_64.amd64/config.h -O2 -pipe -fPIC -Wsign-compare -Werror=undef -Werror=implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Winline -Wshadow -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Wno-missing-field-initializers -MD -MQ libdrm.so.2.4.0.p/xf86drmRandom.c.o -MF libdrm.so.2.4.0.p/xf86drmRandom.c.o.d -o libdrm.so.2.4.0.p/xf86drmRandom.c.o -c ../libdrm-2.4.122/xf86drmRandom.c
[9/13] x86_64-pc-linux-gnu-gcc -Ilibdrm.so.2.4.0.p -I. -I../libdrm-2.4.122 -I../libdrm-2.4.122/include/drm -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include /var/tmp/portage/x11-libs/libdrm-2.4.122/work/libdrm-2.4.122-abi_x86_64.amd64/config.h -O2 -pipe -fPIC -Wsign-compare -Werror=undef -Werror=implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Winline -Wshadow -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Wno-missing-field-initializers -MD -MQ libdrm.so.2.4.0.p/xf86drmHash.c.o -MF libdrm.so.2.4.0.p/xf86drmHash.c.o.d -o libdrm.so.2.4.0.p/xf86drmHash.c.o -c ../libdrm-2.4.122/xf86drmHash.c
[10/13] x86_64-pc-linux-gnu-gcc -Ilibdrm.so.2.4.0.p -I. -I../libdrm-2.4.122 -I../libdrm-2.4.122/include/drm -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include /var/tmp/portage/x11-libs/libdrm-2.4.122/work/libdrm-2.4.122-abi_x86_64.amd64/config.h -O2 -pipe -fPIC -Wsign-compare -Werror=undef -Werror=implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Winline -Wshadow -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Wno-missing-field-initializers -MD -MQ libdrm.so.2.4.0.p/xf86drmSL.c.o -MF libdrm.so.2.4.0.p/xf86drmSL.c.o.d -o libdrm.so.2.4.0.p/xf86drmSL.c.o -c ../libdrm-2.4.122/xf86drmSL.c
[11/13] x86_64-pc-linux-gnu-gcc -Ilibdrm.so.2.4.0.p -I. -I../libdrm-2.4.122 -I../libdrm-2.4.122/include/drm -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include /var/tmp/portage/x11-libs/libdrm-2.4.122/work/libdrm-2.4.122-abi_x86_64.amd64/config.h -O2 -pipe -fPIC -Wsign-compare -Werror=undef -Werror=implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Winline -Wshadow -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Wno-missing-field-initializers -MD -MQ libdrm.so.2.4.0.p/xf86drmMode.c.o -MF libdrm.so.2.4.0.p/xf86drmMode.c.o.d -o libdrm.so.2.4.0.p/xf86drmMode.c.o -c ../libdrm-2.4.122/xf86drmMode.c
[12/13] x86_64-pc-linux-gnu-gcc -Ilibdrm.so.2.4.0.p -I. -I../libdrm-2.4.122 -I../libdrm-2.4.122/include/drm -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include /var/tmp/portage/x11-libs/libdrm-2.4.122/work/libdrm-2.4.122-abi_x86_64.amd64/config.h -O2 -pipe -fPIC -Wsign-compare -Werror=undef -Werror=implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Winline -Wshadow -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Wno-missing-field-initializers -MD -MQ libdrm.so.2.4.0.p/xf86drm.c.o -MF libdrm.so.2.4.0.p/xf86drm.c.o.d -o libdrm.so.2.4.0.p/xf86drm.c.o -c ../libdrm-2.4.122/xf86drm.c
../libdrm-2.4.122/xf86drm.c: In function ‘drmGetFormatModifierNameFromVivante’:
../libdrm-2.4.122/xf86drm.c:619:5: warning: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  619 |     asprintf(&mod_vivante, "%s%s%s", color_tiling, tile_status, compression);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../libdrm-2.4.122/xf86drm.c: In function ‘drmGetFormatModifierNameFromAmlogic’:
../libdrm-2.4.122/xf86drm.c:555:5: warning: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  555 |     asprintf(&mod_amlogic, "FBC,LAYOUT=%s,OPTIONS=%s", layout_str, opts_str);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../libdrm-2.4.122/xf86drm.c: In function ‘drmGetFormatModifierNameFromNvidia’:
../libdrm-2.4.122/xf86drm.c:362:9: warning: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  362 |         asprintf(&mod_nvidia, "BLOCK_LINEAR_2D,HEIGHT=%"PRIu64",KIND=%"PRIu64","
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  363 |                  "GEN=%"PRIu64",SECTOR=%"PRIu64",COMPRESSION=%"PRIu64"", height,
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  364 |                  kind, gen, sector, compression);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
 * ERROR: x11-libs/libdrm-2.4.122::gentoo failed (compile phase):
 *   ninja -v -j64 -l0 failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 3385:  Called meson-multilib_src_compile
 *   environment, line 2053:  Called multilib-minimal_src_compile
 *   environment, line 2247:  Called multilib_foreach_abi 'multilib-minimal_abi_src_compile'
 *   environment, line 2514:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 2207:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 2205:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile'
 *   environment, line  626:  Called multilib-minimal_abi_src_compile
 *   environment, line 2241:  Called multilib_src_compile
 *   environment, line 2734:  Called meson_src_compile
 *   environment, line 2120:  Called eninja
 *   environment, line 1499:  Called die
 * The specific snippet of code:
 *       "$@" || die -n "${*} failed"
 *
 * If you need support, post the output of `emerge --info '=x11-libs/libdrm-2.4.122::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=x11-libs/libdrm-2.4.122::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/x11-libs/libdrm-2.4.122/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/libdrm-2.4.122/temp/environment'.
 * Working directory: '/var/tmp/portage/x11-libs/libdrm-2.4.122/work/libdrm-2.4.122-abi_x86_64.amd64'
 * S: '/var/tmp/portage/x11-libs/libdrm-2.4.122/work/libdrm-2.4.122'
/var/tmp/portage/x11-libs/libdrm-2.4.122/temp/environment: line 93: warning: setlocale: LC_NUMERIC: cannot change locale (en_US.UTF-8)
/var/tmp/portage/x11-libs/libdrm-2.4.122/temp/environment: line 96: warning: setlocale: LC_TIME: cannot change locale (en_US.UTF-8)
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3918

PostPosted: Thu Sep 12, 2024 8:28 am    Post subject: Reply with quote

This looks odd
Code:

VIDEO_CARDS="nvidia-drivers"

Plz post your make.conf file.
and
Code:

lspci -nnk

_________________
:)
Back to top
View user's profile Send private message
Bluetoaster
n00b
n00b


Joined: 12 Sep 2024
Posts: 9

PostPosted: Thu Sep 12, 2024 8:34 am    Post subject: Reply with quote

okay
this is the output of lspci -nnk

Code:

ThinkStationP500:[bluetoaster]:/mnt/gentoo/etc/portage$
lspci -nnk
00:00.0 Host bridge [0600]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 DMI2 [8086:2f00] (rev 02)
   Subsystem: Lenovo Device [17aa:102f]
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 PCI Express Root Port 1 [8086:2f02] (rev 02)
   Subsystem: Intel Corporation Device [8086:0000]
   Kernel driver in use: pcieport
00:01.1 PCI bridge [0604]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 PCI Express Root Port 1 [8086:2f03] (rev 02)
   Subsystem: Intel Corporation Device [8086:0000]
   Kernel driver in use: pcieport
00:02.0 PCI bridge [0604]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 PCI Express Root Port 2 [8086:2f04] (rev 02)
   Subsystem: Intel Corporation Device [8086:0000]
   Kernel driver in use: pcieport
00:03.0 PCI bridge [0604]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 PCI Express Root Port 3 [8086:2f08] (rev 02)
   Subsystem: Intel Corporation Device [8086:0000]
   Kernel driver in use: pcieport
00:05.0 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Address Map, VTd_Misc, System Management [8086:2f28] (rev 02)
00:05.1 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Hot Plug [8086:2f29] (rev 02)
00:05.2 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 RAS, Control Status and Global Errors [8086:2f2a] (rev 02)
00:05.4 PIC [0800]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 I/O APIC [8086:2f2c] (rev 02)
   Subsystem: Intel Corporation Device [8086:0000]
00:11.0 Unassigned class [ff00]: Intel Corporation C610/X99 series chipset SPSR [8086:8d7c] (rev 05)
   Subsystem: Lenovo Device [17aa:102f]
00:11.4 SATA controller [0106]: Intel Corporation C610/X99 series chipset sSATA Controller [AHCI mode] [8086:8d62] (rev 05)
   Subsystem: Lenovo Device [17aa:102f]
   Kernel driver in use: ahci
00:14.0 USB controller [0c03]: Intel Corporation C610/X99 series chipset USB xHCI Host Controller [8086:8d31] (rev 05)
   Subsystem: Lenovo Device [17aa:102f]
   Kernel driver in use: xhci_hcd
   Kernel modules: xhci_pci
00:16.0 Communication controller [0780]: Intel Corporation C610/X99 series chipset MEI Controller #1 [8086:8d3a] (rev 05)
   Subsystem: Lenovo Device [17aa:102f]
   Kernel driver in use: mei_me
   Kernel modules: mei_me
00:16.2 IDE interface [0101]: Intel Corporation C610/X99 series chipset IDE-r Controller [8086:8d3c] (rev 05)
   Subsystem: Lenovo Device [17aa:102f]
   Kernel driver in use: ata_generic
   Kernel modules: pata_acpi, ata_generic
00:16.3 Serial controller [0700]: Intel Corporation C610/X99 series chipset KT Controller [8086:8d3d] (rev 05)
   Subsystem: Lenovo Device [17aa:102f]
   Kernel driver in use: serial
00:19.0 Ethernet controller [0200]: Intel Corporation Ethernet Connection (2) I218-LM [8086:15a0] (rev 05)
   DeviceName:  GbE Controller
   Subsystem: Lenovo Device [17aa:102f]
   Kernel driver in use: e1000e
   Kernel modules: e1000e
00:1a.0 USB controller [0c03]: Intel Corporation C610/X99 series chipset USB Enhanced Host Controller #2 [8086:8d2d] (rev 05)
   Subsystem: Lenovo Device [17aa:102f]
   Kernel driver in use: ehci-pci
00:1b.0 Audio device [0403]: Intel Corporation C610/X99 series chipset HD Audio Controller [8086:8d20] (rev 05)
   Subsystem: Lenovo Device [17aa:102f]
   Kernel driver in use: snd_hda_intel
   Kernel modules: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation C610/X99 series chipset PCI Express Root Port #1 [8086:8d10] (rev d5)
   Subsystem: Lenovo Device [17aa:102f]
   Kernel driver in use: pcieport
00:1c.1 PCI bridge [0604]: Intel Corporation C610/X99 series chipset PCI Express Root Port #2 [8086:8d12] (rev d5)
   Subsystem: Lenovo Device [17aa:102f]
   Kernel driver in use: pcieport
00:1d.0 USB controller [0c03]: Intel Corporation C610/X99 series chipset USB Enhanced Host Controller #1 [8086:8d26] (rev 05)
   Subsystem: Lenovo Device [17aa:102f]
   Kernel driver in use: ehci-pci
00:1f.0 ISA bridge [0601]: Intel Corporation C610/X99 series chipset LPC Controller [8086:8d44] (rev 05)
   Subsystem: Lenovo Device [17aa:102f]
   Kernel driver in use: lpc_ich
   Kernel modules: lpc_ich
00:1f.2 SATA controller [0106]: Intel Corporation C610/X99 series chipset 6-Port SATA Controller [AHCI mode] [8086:8d02] (rev 05)
   Subsystem: Lenovo Device [17aa:102f]
   Kernel driver in use: ahci
00:1f.3 SMBus [0c05]: Intel Corporation C610/X99 series chipset SMBus Controller [8086:8d22] (rev 05)
   Subsystem: Lenovo Device [17aa:102f]
   Kernel driver in use: i801_smbus
   Kernel modules: i2c_i801
00:1f.6 Signal processing controller [1180]: Intel Corporation C610/X99 series chipset Thermal Subsystem [8086:8d24] (rev 05)
   Subsystem: Lenovo Device [17aa:102f]
   Kernel driver in use: intel_pch_thermal
   Kernel modules: intel_pch_thermal
01:00.0 Non-Volatile memory controller [0108]: Micron Technology Inc 2550 NVMe SSD (DRAM-less) [1344:5416] (rev 01)
   Subsystem: Micron Technology Inc Device [1344:1100]
   Kernel driver in use: nvme
   Kernel modules: nvme
04:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA104 [GeForce RTX 3060] [10de:2487] (rev a1)
   Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:397d]
   Kernel driver in use: nvidia
   Kernel modules: nouveau, nvidia_drm, nvidia
04:00.1 Audio device [0403]: NVIDIA Corporation GA104 High Definition Audio Controller [10de:228b] (rev a1)
   Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:397d]
   Kernel driver in use: snd_hda_intel
   Kernel modules: snd_hda_intel
05:00.0 Network controller [0280]: Intel Corporation Wi-Fi 6 AX200 [8086:2723] (rev 1a)
   Subsystem: Intel Corporation Wi-Fi 6 AX200NGW [8086:0084]
   Kernel driver in use: iwlwifi
   Kernel modules: iwlwifi
06:00.0 PCI bridge [0604]: Integrated Technology Express, Inc. IT8893E PCIe to PCI Bridge [1283:8893] (rev 41)
   Subsystem: Lenovo Device [17aa:102f]
ff:0b.0 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 R3 QPI Link 0 & 1 Monitoring [8086:2f81] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 R3 QPI Link 0 & 1 Monitoring [8086:2f81]
ff:0b.1 Performance counters [1101]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 R3 QPI Link 0 & 1 Monitoring [8086:2f36] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 R3 QPI Link 0 & 1 Monitoring [8086:2f36]
   Kernel driver in use: hswep_uncore
ff:0b.2 Performance counters [1101]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 R3 QPI Link 0 & 1 Monitoring [8086:2f37] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 R3 QPI Link 0 & 1 Monitoring [8086:2f37]
   Kernel driver in use: hswep_uncore
ff:0c.0 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Unicast Registers [8086:2fe0] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Unicast Registers [8086:2fe0]
ff:0c.1 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Unicast Registers [8086:2fe1] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Unicast Registers [8086:2fe1]
ff:0c.2 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Unicast Registers [8086:2fe2] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Unicast Registers [8086:2fe2]
ff:0c.3 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Unicast Registers [8086:2fe3] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Unicast Registers [8086:2fe3]
ff:0c.4 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Unicast Registers [8086:2fe4] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Unicast Registers [8086:2fe4]
ff:0c.5 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Unicast Registers [8086:2fe5] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Unicast Registers [8086:2fe5]
ff:0c.6 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Unicast Registers [8086:2fe6] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Unicast Registers [8086:2fe6]
ff:0c.7 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Unicast Registers [8086:2fe7] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Unicast Registers [8086:2fe7]
ff:0d.0 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Unicast Registers [8086:2fe8] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Unicast Registers [8086:2fe8]
ff:0d.1 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Unicast Registers [8086:2fe9] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Unicast Registers [8086:2fe9]
ff:0d.2 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Unicast Registers [8086:2fea] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Unicast Registers [8086:2fea]
ff:0d.3 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Unicast Registers [8086:2feb] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Unicast Registers [8086:2feb]
ff:0d.4 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Unicast Registers [8086:2fec] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Unicast Registers [8086:2fec]
ff:0d.5 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Unicast Registers [8086:2fed] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Unicast Registers [8086:2fed]
ff:0d.6 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Unicast Registers [8086:2fee] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Unicast Registers [8086:2fee]
ff:0d.7 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Unicast Registers [8086:2fef] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Unicast Registers [8086:2fef]
ff:0e.0 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Unicast Registers [8086:2ff0] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Unicast Registers [8086:2ff0]
ff:0e.1 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Unicast Registers [8086:2ff1] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Unicast Registers [8086:2ff1]
ff:0f.0 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Buffered Ring Agent [8086:2ff8] (rev 02)
ff:0f.1 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Buffered Ring Agent [8086:2ff9] (rev 02)
ff:0f.2 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Buffered Ring Agent [8086:2ffa] (rev 02)
ff:0f.3 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Buffered Ring Agent [8086:2ffb] (rev 02)
ff:0f.4 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 System Address Decoder & Broadcast Registers [8086:2ffc] (rev 02)
   Subsystem: Intel Corporation Device [8086:2fe0]
ff:0f.5 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 System Address Decoder & Broadcast Registers [8086:2ffd] (rev 02)
   Subsystem: Intel Corporation Device [8086:2fe0]
ff:0f.6 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 System Address Decoder & Broadcast Registers [8086:2ffe] (rev 02)
   Subsystem: Intel Corporation Device [8086:2fe0]
ff:10.0 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 PCIe Ring Interface [8086:2f1d] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 PCIe Ring Interface [8086:2f1d]
ff:10.1 Performance counters [1101]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 PCIe Ring Interface [8086:2f34] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 PCIe Ring Interface [8086:2f34]
   Kernel driver in use: hswep_uncore
ff:10.5 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Scratchpad & Semaphore Registers [8086:2f1e] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Scratchpad & Semaphore Registers [8086:2f1e]
ff:10.6 Performance counters [1101]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Scratchpad & Semaphore Registers [8086:2f7d] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Scratchpad & Semaphore Registers [8086:2f7d]
ff:10.7 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Scratchpad & Semaphore Registers [8086:2f1f] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Scratchpad & Semaphore Registers [8086:2f1f]
ff:12.0 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Home Agent 0 [8086:2fa0] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Home Agent 0 [8086:2fa0]
ff:12.1 Performance counters [1101]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Home Agent 0 [8086:2f30] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Home Agent 0 [8086:2f30]
   Kernel driver in use: hswep_uncore
ff:12.4 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Home Agent 1 [8086:2f60] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Home Agent 1 [8086:2f60]
ff:12.5 Performance counters [1101]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Home Agent 1 [8086:2f38] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Home Agent 1 [8086:2f38]
   Kernel driver in use: hswep_uncore
ff:13.0 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Integrated Memory Controller 0 Target Address, Thermal & RAS Registers [8086:2fa8] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Integrated Memory Controller 0 Target Address, Thermal & RAS Registers [8086:2fa8]
ff:13.1 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Integrated Memory Controller 0 Target Address, Thermal & RAS Registers [8086:2f71] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Integrated Memory Controller 0 Target Address, Thermal & RAS Registers [8086:2f71]
ff:13.2 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Integrated Memory Controller 0 Channel Target Address Decoder [8086:2faa] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Integrated Memory Controller 0 Channel Target Address Decoder [8086:2faa]
ff:13.3 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Integrated Memory Controller 0 Channel Target Address Decoder [8086:2fab] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Integrated Memory Controller 0 Channel Target Address Decoder [8086:2fab]
ff:13.6 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 DDRIO Channel 0/1 Broadcast [8086:2fae] (rev 02)
ff:13.7 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 DDRIO Global Broadcast [8086:2faf] (rev 02)
ff:14.0 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Integrated Memory Controller 0 Channel 0 Thermal Control [8086:2fb0] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Integrated Memory Controller 0 Channel 0 Thermal Control [8086:2fb0]
   Kernel driver in use: hswep_uncore
ff:14.1 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Integrated Memory Controller 0 Channel 1 Thermal Control [8086:2fb1] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Integrated Memory Controller 0 Channel 1 Thermal Control [8086:2fb1]
   Kernel driver in use: hswep_uncore
ff:14.2 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Integrated Memory Controller 0 Channel 0 ERROR Registers [8086:2fb2] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Integrated Memory Controller 0 Channel 0 ERROR Registers [8086:2fb2]
ff:14.3 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Integrated Memory Controller 0 Channel 1 ERROR Registers [8086:2fb3] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Integrated Memory Controller 0 Channel 1 ERROR Registers [8086:2fb3]
ff:14.4 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 DDRIO (VMSE) 0 & 1 [8086:2fbc] (rev 02)
ff:14.5 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 DDRIO (VMSE) 0 & 1 [8086:2fbd] (rev 02)
ff:14.6 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 DDRIO (VMSE) 0 & 1 [8086:2fbe] (rev 02)
ff:14.7 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 DDRIO (VMSE) 0 & 1 [8086:2fbf] (rev 02)
ff:16.0 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Integrated Memory Controller 1 Target Address, Thermal & RAS Registers [8086:2f68] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Integrated Memory Controller 1 Target Address, Thermal & RAS Registers [8086:2f68]
ff:16.1 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Integrated Memory Controller 1 Target Address, Thermal & RAS Registers [8086:2f79] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Integrated Memory Controller 1 Target Address, Thermal & RAS Registers [8086:2f79]
ff:16.2 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Integrated Memory Controller 1 Channel Target Address Decoder [8086:2f6a] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Integrated Memory Controller 1 Channel Target Address Decoder [8086:2f6a]
ff:16.3 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Integrated Memory Controller 1 Channel Target Address Decoder [8086:2f6b] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Integrated Memory Controller 1 Channel Target Address Decoder [8086:2f6b]
ff:16.6 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 DDRIO Channel 2/3 Broadcast [8086:2f6e] (rev 02)
ff:16.7 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 DDRIO Global Broadcast [8086:2f6f] (rev 02)
ff:17.0 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Integrated Memory Controller 1 Channel 0 Thermal Control [8086:2fd0] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Integrated Memory Controller 1 Channel 0 Thermal Control [8086:2fd0]
   Kernel driver in use: hswep_uncore
ff:17.1 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Integrated Memory Controller 1 Channel 1 Thermal Control [8086:2fd1] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Integrated Memory Controller 1 Channel 1 Thermal Control [8086:2fd1]
   Kernel driver in use: hswep_uncore
ff:17.2 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Integrated Memory Controller 1 Channel 0 ERROR Registers [8086:2fd2] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Integrated Memory Controller 1 Channel 0 ERROR Registers [8086:2fd2]
ff:17.3 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Integrated Memory Controller 1 Channel 1 ERROR Registers [8086:2fd3] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Integrated Memory Controller 1 Channel 1 ERROR Registers [8086:2fd3]
ff:17.4 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 DDRIO (VMSE) 2 & 3 [8086:2fb8] (rev 02)
ff:17.5 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 DDRIO (VMSE) 2 & 3 [8086:2fb9] (rev 02)
ff:17.6 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 DDRIO (VMSE) 2 & 3 [8086:2fba] (rev 02)
ff:17.7 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 DDRIO (VMSE) 2 & 3 [8086:2fbb] (rev 02)
ff:1e.0 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Power Control Unit [8086:2f98] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Power Control Unit [8086:2f98]
ff:1e.1 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Power Control Unit [8086:2f99] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Power Control Unit [8086:2f99]
ff:1e.2 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Power Control Unit [8086:2f9a] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Power Control Unit [8086:2f9a]
ff:1e.3 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Power Control Unit [8086:2fc0] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Power Control Unit [8086:2fc0]
ff:1e.4 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Power Control Unit [8086:2f9c] (rev 02)
   Subsystem: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 Power Control Unit [8086:2f9c]
ff:1f.0 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 VCU [8086:2f88] (rev 02)
ff:1f.2 System peripheral [0880]: Intel Corporation Xeon E7 v3/Xeon E5 v3/Core i7 VCU [8086:2f8a] (rev 02)


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="-O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
MAKEOPTS="-j64"
# NOTE: This stage was built with the bindist USE flag enabled
VIDEO_CARDS="nvidia-drivers"

ACCEPT_LICENSE="*"
USE="X a52 aac acl acpi alsa amd64 -bluetooth branding bzip2 cairo cdda -cdr cet crypt cups dbus dri dts -dvd -dvdr elogind encode exif>
# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C.utf8

GENTOO_MIRRORS="https://mirror.clarkson.edu/gentoo/"
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3918

PostPosted: Thu Sep 12, 2024 8:40 am    Post subject: Reply with quote

Ok plz edit to
Code:

VIDEO_CARDS="nvidia"


and run
Code:

emerge -uDUav @world

and retry.
_________________
:)
Back to top
View user's profile Send private message
Bluetoaster
n00b
n00b


Joined: 12 Sep 2024
Posts: 9

PostPosted: Thu Sep 12, 2024 8:48 am    Post subject: Reply with quote

I just got another error
Code:

Would you like to merge these packages? [Yes/No]

>>> Verifying ebuild manifests

>>> Running pre-merge checks for dev-qt/qtcore-5.15.14

>>> Running pre-merge checks for sys-apps/util-linux-2.39.4-r1

>>> Running pre-merge checks for sys-devel/gettext-0.22.4

>>> Running pre-merge checks for media-libs/mesa-24.1.6
 * Ignoring USE=vulkan     since VIDEO_CARDS does not contain d3d12, freedreno, intel, lavapipe, nouveau, nvk, panfrost, radeonsi, v3d, or virgl

>>> Running pre-merge checks for sys-libs/gpm-1.20.7-r6
 * Determining the location of the kernel source code
 * Unable to find kernel sources at /usr/src/linux
 * Please make sure that /usr/src/linux points at your running kernel,
 * (or the kernel you wish to build against).
 * Alternatively, set the KERNEL_DIR environment variable to the kernel sources location
 * Unable to calculate Linux Kernel version for build, attempting to use running version
 * Checking for suitable kernel configuration options ...                                                                        [ ok ]

>>> Emerging (1 of 67) x11-libs/libdrm-2.4.122::gentoo
 * libdrm-2.4.122.tar.xz BLAKE2B SHA512 size ;-) ...                                                                             [ ok ]
 * Checking whether python3_13 is suitable ...
 *   dev-lang/python:3.13 ...                                                                                                    [ !! ]
 * Checking whether python3_12 is suitable ...
 *   dev-lang/python:3.12 ...                                                                                                    [ ok ]
 *   python_check_deps ...
 *     dev-python/docutils[python_targets_python3_12(-)] ...                                                                     [ ok ]
 * Using python3.12 to build (via PYTHON_COMPAT iteration)
/var/tmp/portage/x11-libs/libdrm-2.4.122/temp/environment: line 93: warning: setlocale: LC_NUMERIC: cannot change locale (en_US.UTF-8)
/var/tmp/portage/x11-libs/libdrm-2.4.122/temp/environment: line 96: warning: setlocale: LC_TIME: cannot change locale (en_US.UTF-8)
>>> Unpacking source...
>>> Unpacking libdrm-2.4.122.tar.xz to /var/tmp/portage/x11-libs/libdrm-2.4.122/work
>>> Source unpacked in /var/tmp/portage/x11-libs/libdrm-2.4.122/work
/var/tmp/portage/x11-libs/libdrm-2.4.122/temp/environment: line 93: warning: setlocale: LC_NUMERIC: cannot change locale (en_US.UTF-8)
/var/tmp/portage/x11-libs/libdrm-2.4.122/temp/environment: line 96: warning: setlocale: LC_TIME: cannot change locale (en_US.UTF-8)
>>> Preparing source in /var/tmp/portage/x11-libs/libdrm-2.4.122/work/libdrm-2.4.122 ...
>>> Source prepared.
/var/tmp/portage/x11-libs/libdrm-2.4.122/temp/environment: line 93: warning: setlocale: LC_NUMERIC: cannot change locale (en_US.UTF-8)
/var/tmp/portage/x11-libs/libdrm-2.4.122/temp/environment: line 96: warning: setlocale: LC_TIME: cannot change locale (en_US.UTF-8)
>>> Configuring source in /var/tmp/portage/x11-libs/libdrm-2.4.122/work/libdrm-2.4.122 ...
 * abi_x86_64.amd64: running multilib-minimal_abi_src_configure
locale: Cannot set LC_ALL to default locale: No such file or directory
meson setup -Db_lto=false --libdir lib64 --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /var/tmp/portage/x11-libs/libdrm-2.4.122/temp/python3.12/pkgconfig:/usr/share/pkgconfig --pkg-config-path /var/tmp/portage/x11-libs/libdrm-2.4.122/temp/python3.12/pkgconfig:/usr/share/pkgconfig --native-file /var/tmp/portage/x11-libs/libdrm-2.4.122/temp/meson.x86_64-pc-linux-gnu.amd64.ini -Db_pch=false -Dwerror=false -Dbuildtype=plain -Dudev=true -Dcairo-tests=disabled -Damdgpu=disabled -Dexynos=disabled -Dfreedreno=disabled -Dintel=disabled -Dnouveau=disabled -Domap=disabled -Dradeon=disabled -Dtegra=disabled -Dvc4=disabled -Detnaviv=disabled -Dvmwgfx=disabled -Dvalgrind=disabled -Dinstall-test-programs=false -Dtests=false /var/tmp/portage/x11-libs/libdrm-2.4.122/work/libdrm-2.4.122 /var/tmp/portage/x11-libs/libdrm-2.4.122/work/libdrm-2.4.122-abi_x86_64.amd64
The Meson build system
Version: 1.5.1
Source dir: /var/tmp/portage/x11-libs/libdrm-2.4.122/work/libdrm-2.4.122
Build dir: /var/tmp/portage/x11-libs/libdrm-2.4.122/work/libdrm-2.4.122-abi_x86_64.amd64
Build type: native build
Project name: libdrm
Project version: 2.4.122
C compiler for the host machine: x86_64-pc-linux-gnu-gcc (gcc 13.3.1 "x86_64-pc-linux-gnu-gcc (Gentoo 13.3.1_p20240614 p17) 13.3.1 20240614")
C linker for the host machine: x86_64-pc-linux-gnu-gcc ld.bfd 2.42
Host machine cpu family: x86_64
Host machine cpu: x86_64
Run-time dependency threads found: YES
Program symbols-check.py found: YES (/usr/bin/python3.12 /var/tmp/portage/x11-libs/libdrm-2.4.122/work/libdrm-2.4.122/symbols-check.py)
Program x86_64-pc-linux-gnu-nm found: YES
Program python3 found: YES (/var/tmp/portage/x11-libs/libdrm-2.4.122/temp/python3.12/bin/python3)
Found pkg-config: YES (/usr/bin/x86_64-pc-linux-gnu-pkg-config) 2.2.0
Run-time dependency atomic_ops found: YES 7.8.2
Checking if "Intel Atomics" : links: YES
Dependency pciaccess skipped: feature intel disabled
Checking for function "dlsym" : YES
Checking for function "clock_gettime" : YES
Check usable header "sys/select.h" : YES
Check usable header "alloca.h" : YES
Header "sys/sysmacros.h" has symbol "major" : YES
Header "sys/sysmacros.h" has symbol "minor" : YES
Header "sys/sysmacros.h" has symbol "makedev" : YES
Header "sys/mkdev.h" has symbol "major" : NO
Checking for function "open_memstream" : YES
Compiler for C supports arguments -Wsign-compare: YES
Compiler for C supports arguments -Werror=undef: YES
Compiler for C supports arguments -Werror=implicit-function-declaration: YES
Compiler for C supports arguments -Wpointer-arith: YES
Compiler for C supports arguments -Wwrite-strings: YES
Compiler for C supports arguments -Wstrict-prototypes: YES
Compiler for C supports arguments -Wmissing-prototypes: YES
Compiler for C supports arguments -Wmissing-declarations: YES
Compiler for C supports arguments -Wnested-externs: YES
Compiler for C supports arguments -Wpacked: YES
Compiler for C supports arguments -Wswitch-enum: YES
Compiler for C supports arguments -Wmissing-format-attribute: YES
Compiler for C supports arguments -Wstrict-aliasing=2: YES
Compiler for C supports arguments -Winit-self: YES
Compiler for C supports arguments -Winline: YES
Compiler for C supports arguments -Wshadow: YES
Compiler for C supports arguments -Wdeclaration-after-statement: YES
Compiler for C supports arguments -Wold-style-definition: YES
Compiler for C supports arguments -Wno-unused-parameter: YES
Compiler for C supports arguments -Wno-attributes: YES
Compiler for C supports arguments -Wno-long-long: YES
Compiler for C supports arguments -Wno-missing-field-initializers: YES
Found CMake: /usr/bin/cmake (3.30.2)
Run-time dependency cunit found: NO (tried pkgconfig and cmake)
Dependency cairo skipped: feature cairo-tests disabled
Dependency valgrind skipped: feature valgrind disabled
Program rst2man found: YES (/usr/bin/rst2man)
Compiler for C supports function attribute visibility:hidden: YES
Configuring config.h using configuration
Build targets in project: 8

libdrm 2.4.122

    Intel                : false
    Radeon               : false
    AMDGPU               : false
    Nouveau              : false
    vmwgfx               : false
    OMAP                 : false
    Freedreno            : false
    Freedreon-kgsl       : false
    Tegra                : false
    Etnaviv              : false
    EXYNOS               : false
    VC4                  : false

  User defined options
    Native files         : /var/tmp/portage/x11-libs/libdrm-2.4.122/temp/meson.x86_64-pc-linux-gnu.amd64.ini
    build.pkg_config_path: /var/tmp/portage/x11-libs/libdrm-2.4.122/temp/python3.12/pkgconfig:/usr/share/pkgconfig
    buildtype            : plain
    libdir               : lib64
    localstatedir        : /var/lib
    pkg_config_path      : /var/tmp/portage/x11-libs/libdrm-2.4.122/temp/python3.12/pkgconfig:/usr/share/pkgconfig
    prefix               : /usr
    sysconfdir           : /etc
    werror               : false
    wrap_mode            : nodownload
    b_lto                : false
    b_pch                : false
    amdgpu               : disabled
    cairo-tests          : disabled
    etnaviv              : disabled
    exynos               : disabled
    freedreno            : disabled
    install-test-programs: false
    intel                : disabled
    nouveau              : disabled
    omap                 : disabled
    radeon               : disabled
    tegra                : disabled
    tests                : false
    udev                 : true
    valgrind             : disabled
    vc4                  : disabled
    vmwgfx               : disabled

Found ninja-1.11.1 at /usr/bin/ninja
>>> Source configured.
/var/tmp/portage/x11-libs/libdrm-2.4.122/temp/environment: line 93: warning: setlocale: LC_NUMERIC: cannot change locale (en_US.UTF-8)
/var/tmp/portage/x11-libs/libdrm-2.4.122/temp/environment: line 96: warning: setlocale: LC_TIME: cannot change locale (en_US.UTF-8)
>>> Compiling source in /var/tmp/portage/x11-libs/libdrm-2.4.122/work/libdrm-2.4.122 ...
 * abi_x86_64.amd64: running multilib-minimal_abi_src_compile
ninja -v -j64 -l0
[1/13] /var/tmp/portage/x11-libs/libdrm-2.4.122/temp/python3.12/bin/python3 ../libdrm-2.4.122/gen_table_fourcc.py ../libdrm-2.4.122/include/drm/drm_fourcc.h generated_static_table_fourcc.h
[2/13] /usr/bin/rst2man ../libdrm-2.4.122/man/drm-kms.7.rst man/drm-kms.7
FAILED: man/drm-kms.7
/usr/bin/rst2man ../libdrm-2.4.122/man/drm-kms.7.rst man/drm-kms.7
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.12/rst2man", line 8, in <module>
    sys.exit(rst2man())
             ^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/docutils/core.py", line 760, in rst2man
    rst2something('manpage', 'Unix manual (troff)', 'user/manpage.html')
  File "/usr/lib/python3.12/site-packages/docutils/core.py", line 739, in rst2something
    locale.setlocale(locale.LC_ALL, '')
  File "/usr/lib/python3.12/locale.py", line 615, in setlocale
    return _setlocale(category, locale)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
locale.Error: unsupported locale setting
[3/13] /usr/bin/rst2man ../libdrm-2.4.122/man/drm.7.rst man/drm.7
FAILED: man/drm.7
/usr/bin/rst2man ../libdrm-2.4.122/man/drm.7.rst man/drm.7
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.12/rst2man", line 8, in <module>
    sys.exit(rst2man())
             ^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/docutils/core.py", line 760, in rst2man
    rst2something('manpage', 'Unix manual (troff)', 'user/manpage.html')
  File "/usr/lib/python3.12/site-packages/docutils/core.py", line 739, in rst2something
    locale.setlocale(locale.LC_ALL, '')
  File "/usr/lib/python3.12/locale.py", line 615, in setlocale
    return _setlocale(category, locale)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
locale.Error: unsupported locale setting
[4/13] /usr/bin/rst2man ../libdrm-2.4.122/man/drm-memory.7.rst man/drm-memory.7
FAILED: man/drm-memory.7
/usr/bin/rst2man ../libdrm-2.4.122/man/drm-memory.7.rst man/drm-memory.7
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.12/rst2man", line 8, in <module>
    sys.exit(rst2man())
             ^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/docutils/core.py", line 760, in rst2man
    rst2something('manpage', 'Unix manual (troff)', 'user/manpage.html')
  File "/usr/lib/python3.12/site-packages/docutils/core.py", line 739, in rst2something
    locale.setlocale(locale.LC_ALL, '')
  File "/usr/lib/python3.12/locale.py", line 615, in setlocale
    return _setlocale(category, locale)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
locale.Error: unsupported locale setting
[5/13] /usr/bin/rst2man ../libdrm-2.4.122/man/drmAvailable.3.rst man/drmAvailable.3
FAILED: man/drmAvailable.3
/usr/bin/rst2man ../libdrm-2.4.122/man/drmAvailable.3.rst man/drmAvailable.3
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.12/rst2man", line 8, in <module>
    sys.exit(rst2man())
             ^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/docutils/core.py", line 760, in rst2man
    rst2something('manpage', 'Unix manual (troff)', 'user/manpage.html')
  File "/usr/lib/python3.12/site-packages/docutils/core.py", line 739, in rst2something
    locale.setlocale(locale.LC_ALL, '')
  File "/usr/lib/python3.12/locale.py", line 615, in setlocale
    return _setlocale(category, locale)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
locale.Error: unsupported locale setting
[6/13] /usr/bin/rst2man ../libdrm-2.4.122/man/drmHandleEvent.3.rst man/drmHandleEvent.3
FAILED: man/drmHandleEvent.3
/usr/bin/rst2man ../libdrm-2.4.122/man/drmHandleEvent.3.rst man/drmHandleEvent.3
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.12/rst2man", line 8, in <module>
    sys.exit(rst2man())
             ^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/docutils/core.py", line 760, in rst2man
    rst2something('manpage', 'Unix manual (troff)', 'user/manpage.html')
  File "/usr/lib/python3.12/site-packages/docutils/core.py", line 739, in rst2something
    locale.setlocale(locale.LC_ALL, '')
  File "/usr/lib/python3.12/locale.py", line 615, in setlocale
    return _setlocale(category, locale)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
locale.Error: unsupported locale setting
[7/13] /usr/bin/rst2man ../libdrm-2.4.122/man/drmModeGetResources.3.rst man/drmModeGetResources.3
FAILED: man/drmModeGetResources.3
/usr/bin/rst2man ../libdrm-2.4.122/man/drmModeGetResources.3.rst man/drmModeGetResources.3
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.12/rst2man", line 8, in <module>
    sys.exit(rst2man())
             ^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/docutils/core.py", line 760, in rst2man
    rst2something('manpage', 'Unix manual (troff)', 'user/manpage.html')
  File "/usr/lib/python3.12/site-packages/docutils/core.py", line 739, in rst2something
    locale.setlocale(locale.LC_ALL, '')
  File "/usr/lib/python3.12/locale.py", line 615, in setlocale
    return _setlocale(category, locale)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
locale.Error: unsupported locale setting
[8/13] x86_64-pc-linux-gnu-gcc -Ilibdrm.so.2.4.0.p -I. -I../libdrm-2.4.122 -I../libdrm-2.4.122/include/drm -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include /var/tmp/portage/x11-libs/libdrm-2.4.122/work/libdrm-2.4.122-abi_x86_64.amd64/config.h -O2 -pipe -fPIC -Wsign-compare -Werror=undef -Werror=implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Winline -Wshadow -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Wno-missing-field-initializers -MD -MQ libdrm.so.2.4.0.p/xf86drmRandom.c.o -MF libdrm.so.2.4.0.p/xf86drmRandom.c.o.d -o libdrm.so.2.4.0.p/xf86drmRandom.c.o -c ../libdrm-2.4.122/xf86drmRandom.c
[9/13] x86_64-pc-linux-gnu-gcc -Ilibdrm.so.2.4.0.p -I. -I../libdrm-2.4.122 -I../libdrm-2.4.122/include/drm -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include /var/tmp/portage/x11-libs/libdrm-2.4.122/work/libdrm-2.4.122-abi_x86_64.amd64/config.h -O2 -pipe -fPIC -Wsign-compare -Werror=undef -Werror=implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Winline -Wshadow -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Wno-missing-field-initializers -MD -MQ libdrm.so.2.4.0.p/xf86drmHash.c.o -MF libdrm.so.2.4.0.p/xf86drmHash.c.o.d -o libdrm.so.2.4.0.p/xf86drmHash.c.o -c ../libdrm-2.4.122/xf86drmHash.c
[10/13] x86_64-pc-linux-gnu-gcc -Ilibdrm.so.2.4.0.p -I. -I../libdrm-2.4.122 -I../libdrm-2.4.122/include/drm -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include /var/tmp/portage/x11-libs/libdrm-2.4.122/work/libdrm-2.4.122-abi_x86_64.amd64/config.h -O2 -pipe -fPIC -Wsign-compare -Werror=undef -Werror=implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Winline -Wshadow -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Wno-missing-field-initializers -MD -MQ libdrm.so.2.4.0.p/xf86drmSL.c.o -MF libdrm.so.2.4.0.p/xf86drmSL.c.o.d -o libdrm.so.2.4.0.p/xf86drmSL.c.o -c ../libdrm-2.4.122/xf86drmSL.c
[11/13] x86_64-pc-linux-gnu-gcc -Ilibdrm.so.2.4.0.p -I. -I../libdrm-2.4.122 -I../libdrm-2.4.122/include/drm -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include /var/tmp/portage/x11-libs/libdrm-2.4.122/work/libdrm-2.4.122-abi_x86_64.amd64/config.h -O2 -pipe -fPIC -Wsign-compare -Werror=undef -Werror=implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Winline -Wshadow -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Wno-missing-field-initializers -MD -MQ libdrm.so.2.4.0.p/xf86drmMode.c.o -MF libdrm.so.2.4.0.p/xf86drmMode.c.o.d -o libdrm.so.2.4.0.p/xf86drmMode.c.o -c ../libdrm-2.4.122/xf86drmMode.c
[12/13] x86_64-pc-linux-gnu-gcc -Ilibdrm.so.2.4.0.p -I. -I../libdrm-2.4.122 -I../libdrm-2.4.122/include/drm -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include /var/tmp/portage/x11-libs/libdrm-2.4.122/work/libdrm-2.4.122-abi_x86_64.amd64/config.h -O2 -pipe -fPIC -Wsign-compare -Werror=undef -Werror=implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Winline -Wshadow -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Wno-missing-field-initializers -MD -MQ libdrm.so.2.4.0.p/xf86drm.c.o -MF libdrm.so.2.4.0.p/xf86drm.c.o.d -o libdrm.so.2.4.0.p/xf86drm.c.o -c ../libdrm-2.4.122/xf86drm.c
../libdrm-2.4.122/xf86drm.c: In function ‘drmGetFormatModifierNameFromVivante’:
../libdrm-2.4.122/xf86drm.c:619:5: warning: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  619 |     asprintf(&mod_vivante, "%s%s%s", color_tiling, tile_status, compression);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../libdrm-2.4.122/xf86drm.c: In function ‘drmGetFormatModifierNameFromAmlogic’:
../libdrm-2.4.122/xf86drm.c:555:5: warning: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  555 |     asprintf(&mod_amlogic, "FBC,LAYOUT=%s,OPTIONS=%s", layout_str, opts_str);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../libdrm-2.4.122/xf86drm.c: In function ‘drmGetFormatModifierNameFromNvidia’:
../libdrm-2.4.122/xf86drm.c:362:9: warning: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  362 |         asprintf(&mod_nvidia, "BLOCK_LINEAR_2D,HEIGHT=%"PRIu64",KIND=%"PRIu64","
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  363 |                  "GEN=%"PRIu64",SECTOR=%"PRIu64",COMPRESSION=%"PRIu64"", height,
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  364 |                  kind, gen, sector, compression);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
 * ERROR: x11-libs/libdrm-2.4.122::gentoo failed (compile phase):
 *   ninja -v -j64 -l0 failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 3385:  Called meson-multilib_src_compile
 *   environment, line 2053:  Called multilib-minimal_src_compile
 *   environment, line 2247:  Called multilib_foreach_abi 'multilib-minimal_abi_src_compile'
 *   environment, line 2514:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 2207:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 2205:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile'
 *   environment, line  626:  Called multilib-minimal_abi_src_compile
 *   environment, line 2241:  Called multilib_src_compile
 *   environment, line 2734:  Called meson_src_compile
 *   environment, line 2120:  Called eninja
 *   environment, line 1499:  Called die
 * The specific snippet of code:
 *       "$@" || die -n "${*} failed"
 *
 * If you need support, post the output of `emerge --info '=x11-libs/libdrm-2.4.122::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=x11-libs/libdrm-2.4.122::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/x11-libs/libdrm-2.4.122/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/libdrm-2.4.122/temp/environment'.
 * Working directory: '/var/tmp/portage/x11-libs/libdrm-2.4.122/work/libdrm-2.4.122-abi_x86_64.amd64'
 * S: '/var/tmp/portage/x11-libs/libdrm-2.4.122/work/libdrm-2.4.122'
/var/tmp/portage/x11-libs/libdrm-2.4.122/temp/environment: line 93: warning: setlocale: LC_NUMERIC: cannot change locale (en_US.UTF-8)
/var/tmp/portage/x11-libs/libdrm-2.4.122/temp/environment: line 96: warning: setlocale: LC_TIME: cannot change locale (en_US.UTF-8)

>>> Failed to emerge x11-libs/libdrm-2.4.122, Log file:

>>>  '/var/tmp/portage/x11-libs/libdrm-2.4.122/temp/build.log'

 * Messages for package media-libs/mesa-24.1.6:

 * Ignoring USE=vulkan     since VIDEO_CARDS does not contain d3d12, freedreno, intel, lavapipe, nouveau, nvk, panfrost, radeonsi, v3d, or virgl

 * Messages for package sys-libs/gpm-1.20.7-r6:

 * Unable to find kernel sources at /usr/src/linux
 * Unable to calculate Linux Kernel version for build, attempting to use running version

 * Messages for package x11-libs/libdrm-2.4.122:

 * ERROR: x11-libs/libdrm-2.4.122::gentoo failed (compile phase):
 *   ninja -v -j64 -l0 failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 3385:  Called meson-multilib_src_compile
 *   environment, line 2053:  Called multilib-minimal_src_compile
 *   environment, line 2247:  Called multilib_foreach_abi 'multilib-minimal_abi_src_compile'
 *   environment, line 2514:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 2207:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 2205:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile'
 *   environment, line  626:  Called multilib-minimal_abi_src_compile
 *   environment, line 2241:  Called multilib_src_compile
 *   environment, line 2734:  Called meson_src_compile
 *   environment, line 2120:  Called eninja
 *   environment, line 1499:  Called die
 * The specific snippet of code:
 *       "$@" || die -n "${*} failed"
 *
 * If you need support, post the output of `emerge --info '=x11-libs/libdrm-2.4.122::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=x11-libs/libdrm-2.4.122::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/x11-libs/libdrm-2.4.122/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/libdrm-2.4.122/temp/environment'.
 * Working directory: '/var/tmp/portage/x11-libs/libdrm-2.4.122/work/libdrm-2.4.122-abi_x86_64.amd64'
 * S: '/var/tmp/portage/x11-libs/libdrm-2.4.122/work/libdrm-2.4.122'
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3918

PostPosted: Thu Sep 12, 2024 8:57 am    Post subject: Reply with quote

Try
Code:

emerge -1av mesa nvidia-drivers

Also plz check if you have set your LOCALE correctly.
_________________
:)
Back to top
View user's profile Send private message
Ionen
Developer
Developer


Joined: 06 Dec 2018
Posts: 2872

PostPosted: Thu Sep 12, 2024 9:14 am    Post subject: Reply with quote

Code:
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.12/rst2man", line 8, in <module>
    sys.exit(rst2man())
             ^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/docutils/core.py", line 760, in rst2man
    rst2something('manpage', 'Unix manual (troff)', 'user/manpage.html')
  File "/usr/lib/python3.12/site-packages/docutils/core.py", line 739, in rst2something
    locale.setlocale(locale.LC_ALL, '')
  File "/usr/lib/python3.12/locale.py", line 615, in setlocale
    return _setlocale(category, locale)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
locale.Error: unsupported locale setting
Code:
/var/tmp/portage/x11-libs/libdrm-2.4.122/temp/environment: line 93: warning: setlocale: LC_NUMERIC: cannot change locale (en_US.UTF-8)
/var/tmp/portage/x11-libs/libdrm-2.4.122/temp/environment: line 96: warning: setlocale: LC_TIME: cannot change locale (en_US.UTF-8)
The only way I found to reproduce this is by losing my generated locales including C.UTF-8. Just a guess but did you go on a cleaning spree and deleted /usr/lib/locale/locale-archive because it was orphaned or something?

If you run the command locale, does it print several "locale: No such file or directory" messages?

Try running locale-gen to re-generate it anyhow, albeit if you went on a orphan cleaning spree, you may have more issues, being orphaned does not mean it's safe to delete. If this is what you did, and this is a new install, may want to start from scratch. Not to say this may not have happened for other reasons I'm just not thinking of right now.
Back to top
View user's profile Send private message
Bluetoaster
n00b
n00b


Joined: 12 Sep 2024
Posts: 9

PostPosted: Thu Sep 12, 2024 10:01 am    Post subject: Reply with quote

Thank you
I regenerated locals and it compiled successfully now
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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