AshleyBrightfalls n00b
Joined: 07 Jan 2024 Posts: 10
|
Posted: Sun Jan 07, 2024 5:31 pm Post subject: [Решено] Ошибка при повторной установке mesa из portage |
|
|
Добрый день, после добавления USE флага `vulkan` и переустановке mesa каждый раз выпадает в ошибку на этом этапе, подскажите пожалуйста не является ли это багом и можно ли как-то испарить?
make.conf
Code: | WARNING_FLAGS="-Werror=odr -Werror=strict-aliasing"
COMMON_FLAGS="-march=ivybridge -O2 -flto -pipe ${WARNING_FLAGS}"
CFLAGS="${COMMON_FLAGS} -flto=thin"
CXXFLAGS="${COMMON_FLAGS} -flto=thin"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
CC="clang"
CPP="clang-cpp" # necessary for xorg-server and possibly other packages
CXX="clang++"
AR="llvm-ar"
NM="llvm-nm"
RANLIB="llvm-ranlib"
MAKEOPTS="-j4 -l4"
USE="X wayland -cdr -dvd -systemd bluetooth pulseaudio ffmpeg extra sddm elogind dbus dri drm udev sna uxa xvmc vulkan"
LC_MESSAGES=C.utf8
VIDEO_CARDS="intel"
ACCEPT_LICENSE="-* @FREE @BINARY-REDISTRIBUTABLE"
ABI_X86="64"
GENTOO_MIRRORS="https://mirrors.ptisp.pt/gentoo/"
GRUB_PLATFORMS="efi-64" |
Вывод терминала
Quote: | [1682/1749] clang-16 -Isrc/glx/libglx.a.p -Isrc/glx -I../mesa-23.1.9/src/glx -Iinclude -I../mesa-23.1.9/include -Isrc -I../mesa-23.1.9/src -Isrc/mapi -I../mesa-23.1.9/src/mapi -Isrc/mesa -I../mesa-23.1.9/src/mesa -I../mesa-23.1.9/src/gallium/include -Isrc/gallium/auxiliary -I../mesa-23.1.9/src/gallium/auxiliary -Isrc/mapi/glapi -I../mesa-23.1.9/src/mapi/glapi -Isrc/loader -I../mesa-23.1.9/src/loader -Isrc/mapi/glapi/gen -I/usr/include/libdrm -fvisibility=hidden -fcolor-diagnostics -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="23.1.9"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DHAVE_OPENGL=1 -DHAVE_OPENGL_ES_1=0 -DHAVE_OPENGL_ES_2=1 -DHAVE_CROCUS -DHAVE_I915 -DHAVE_IRIS -DHAVE_SWRAST -DVIDEO_CODEC_VC1DEC=1 -DVIDEO_CODEC_H264DEC=1 -DVIDEO_CODEC_H264ENC=1 -DVIDEO_CODEC_H265DEC=1 -DVIDEO_CODEC_H265ENC=1 -DHAVE_X11_PLATFORM -DHAVE_WAYLAND_PLATFORM -DHAVE_SURFACELESS_PLATFORM -DHAVE_DRM_PLATFORM -DHAVE_XCB_PLATFORM -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_DRM -DALLOW_KCMP -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -DHAVE_UINT128 -DHAVE_REALLOCARRAY -DHAVE_FMEMOPEN -D_GNU_SOURCE -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS -DUSE_X86_64_ASM -DMAJOR_IN_SYSMACROS -DHAS_SCHED_H -DHAS_SCHED_GETAFFINITY -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_SYS_SHM_H -DHAVE_CET_H -DHAVE_SYS_INOTIFY_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_POSIX_FALLOCATE -DHAVE_GNU_QSORT_R -DHAVE_STRUCT_TIMESPEC -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_ISSIGNALING -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DSUPPORT_INTEL_INTEGRATED_GPUS -DHAVE_ZLIB -DHAVE_ZSTD -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_LIBUDEV -DLLVM_AVAILABLE '-DMESA_LLVM_VERSION_STRING="16.0.6"' -DLLVM_IS_SHARED=1 -DDRAW_LLVM_AVAILABLE -DUSE_LIBELF -DUSE_LIBGLVND=1 -DMESA_EXECMEM -DWL_HIDE_DEPRECATED -DHAVE_DRI -DHAVE_DRI2 -DHAVE_DRI3 -DHAVE_DRI3_MODIFIERS -DHAVE_DRISW_KMS -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wmisleading-indentation -Wno-missing-field-initializers -fno-math-errno -fno-trapping-math -Qunused-arguments -fno-common -Wno-microsoft-enum-value -Wno-unused-function -Werror=format -Wformat-security -Werror=thread-safety -ffunction-sections -fdata-sections -Wno-unused-variable -Wno-unused-but-set-variable -march=ivybridge -O2 -flto -pipe -Werror=odr -Werror=strict-aliasing -flto=thin -fPIC -pthread '-DGL_LIB_NAME="libGLX_mesa.so.0"' -MD -MQ src/glx/libglx.a.p/meson-generated_.._.._mapi_glapi_gen_indirect.c.o -MF src/glx/libglx.a.p/meson-generated_.._.._mapi_glapi_gen_indirect.c.o.d -o src/glx/libglx.a.p/meson-generated_.._.._mapi_glapi_gen_indirect.c.o -c src/mapi/glapi/gen/indirect.c
ninja: build stopped: subcommand failed.
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /usr/bin/ninja -j 4 -l 4.0 -v
* ERROR: media-libs/mesa-23.1.9::gentoo failed (compile phase):
* compile failed
*
* Call stack:
* ebuild.sh, line 136: Called src_compile
* environment, line 4065: Called meson-multilib_src_compile
* environment, line 2682: Called multilib-minimal_src_compile
* environment, line 2901: Called multilib_foreach_abi 'multilib-minimal_abi_src_compile'
* environment, line 3168: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
* environment, line 2861: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
* environment, line 2859: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile'
* environment, line 828: Called multilib-minimal_abi_src_compile
* environment, line 2895: Called multilib_src_compile
* environment, line 3388: Called meson_src_compile
* environment, line 2750: Called die
* The specific snippet of code:
* "$@" || die "compile failed"
*
* If you need support, post the output of `emerge --info '=media-libs/mesa-23.1.9::gentoo'`,
* the complete build log and the output of `emerge -pqv '=media-libs/mesa-23.1.9::gentoo'`.
* The complete build log is located at '/var/tmp/portage/media-libs/mesa-23.1.9/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-libs/mesa-23.1.9/temp/environment'.
* Working directory: '/var/tmp/portage/media-libs/mesa-23.1.9/work/mesa-23.1.9-abi_x86_64.amd64'
* S: '/var/tmp/portage/media-libs/mesa-23.1.9/work/mesa-23.1.9'
>>> Failed to emerge media-libs/mesa-23.1.9, Log file:
>>> '/var/tmp/portage/media-libs/mesa-23.1.9/temp/build.log'
* Messages for package media-libs/mesa-23.1.9:
* ERROR: media-libs/mesa-23.1.9::gentoo failed (compile phase):
* compile failed
*
* Call stack:
* ebuild.sh, line 136: Called src_compile
* environment, line 4065: Called meson-multilib_src_compile
* environment, line 2682: Called multilib-minimal_src_compile
* environment, line 2901: Called multilib_foreach_abi 'multilib-minimal_abi_src_compile'
* environment, line 3168: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
* environment, line 2861: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
* environment, line 2859: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile'
* environment, line 828: Called multilib-minimal_abi_src_compile
* environment, line 2895: Called multilib_src_compile
* environment, line 3388: Called meson_src_compile
* environment, line 2750: Called die
* The specific snippet of code:
* "$@" || die "compile failed"
*
* If you need support, post the output of `emerge --info '=media-libs/mesa-23.1.9::gentoo'`,
* the complete build log and the output of `emerge -pqv '=media-libs/mesa-23.1.9::gentoo'`.
* The complete build log is located at '/var/tmp/portage/media-libs/mesa-23.1.9/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-libs/mesa-23.1.9/temp/environment'.
* Working directory: '/var/tmp/portage/media-libs/mesa-23.1.9/work/mesa-23.1.9-abi_x86_64.amd64'
* S: '/var/tmp/portage/media-libs/mesa-23.1.9/work/mesa-23.1.9'
|
Last edited by AshleyBrightfalls on Tue Jan 09, 2024 8:59 pm; edited 1 time in total |
|