View previous topic :: View next topic |
Author |
Message |
cien n00b
Joined: 05 Dec 2024 Posts: 3
|
Posted: Thu Dec 05, 2024 2:58 pm Post subject: [Solved]something wrong with media/libs-mesa |
|
|
I installed gentoo on vmware and couldn't compile media-libs/mesa properly
Code: | cien@gentoo ~ $ emerge --info '=media-libs/mesa-2.7-r1::gentoo'
Portage 3.0.66.1 (python 3.12.7-final-0, default/linux/amd64/23.0/desktop, gcc-14, glibc-2.40-r5, 6.6.62-gentoo-dist x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-6.6.62-gentoo-dist-x86_64-Intel-R-_Core-TM-_i5-8250U_CPU_@_1.60GHz-with-glibc2.40
KiB Mem: 683428 total, 72348 free
KiB Swap: 0 total, 0 free
Timestamp of repository gentoo: Wed, 04 Dec 2024 09:48:39 +0000
Head commit of repository gentoo: 098691c919dcc21332d3ff13aeeab9e65e695055
sh bash 5.2_p37
ld GNU ld (Gentoo 2.43 p3) 2.43.1
app-misc/pax-utils: 1.3.8::gentoo
app-shells/bash: 5.2_p37::gentoo
dev-build/autoconf: 2.72-r1::gentoo
dev-build/automake: 1.16.5-r2::gentoo
dev-build/cmake: 3.30.5::gentoo
dev-build/libtool: 2.4.7-r4::gentoo
dev-build/make: 4.4.1-r100::gentoo
dev-build/meson: 1.5.2::gentoo
dev-lang/perl: 5.40.0::gentoo
dev-lang/python: 3.12.7_p1::gentoo, 3.13.0::gentoo
dev-lang/rust-bin: 1.81.0-r100::gentoo
sys-apps/baselayout: 2.17::gentoo
sys-apps/openrc: 0.54.2::gentoo
sys-apps/sandbox: 2.39::gentoo
sys-devel/binutils: 2.43-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/clang: 18.1.8::gentoo
sys-devel/gcc: 14.2.1_p20241116::gentoo
sys-devel/gcc-config: 2.11::gentoo
sys-devel/llvm: 18.1.8-r1::gentoo
sys-kernel/linux-headers: 6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc: 2.40-r5::gentoo
Repositories:
gentoo
location: /var/db/repos/gentoo
sync-type: git
sync-uri: http://mirrors.ustc.edu.cn/gentoo.git
priority: -1000
volatile: False
Binary Repositories:
gentoobinhost
priority: 1
sync-uri: https://mirrors.bfsu.edu.cn/gentoo/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/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/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance binpkg-request-signature buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles getbinpkg 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://mirrors.tuna.tsinghua.edu.cn/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet crypt cups dbus dri dts dvd dvdr elogind encode exif flac gdbm gif gpm gtk gui 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 qt6 readline sdl seccomp sound spell ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan wayland 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 navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32" VIDEO_CARDS="vmware" 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, MAKEOPTS, 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
|
Code: | gentoo /var/tmp/portage/media-libs/mesa-24.1.7-r1/temp # vim build.log
{standard input}: Assembler messages:
{standard input}:23221: Warning: end of file not at end of a line; newline inserted
{standard input}:23828: Error: expecting operand after ','; got nothing
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
x86_64-pc-linux-gnu-gcc: fatal error: Killed signal terminated program cc1
compilation terminated.
ninja: build stopped: subcommand failed.
^[[31;01m*^[[0m ERROR: media-libs/mesa-24.1.7-r1::gentoo failed (compile phase):
^[[31;01m*^[[0m ninja -v -j2 -l2 failed
^[[31;01m*^[[0m
^[[31;01m*^[[0m Call stack:
^[[31;01m*^[[0m ebuild.sh, line 136: Called src_compile
^[[31;01m*^[[0m environment, line 4879: Called meson-multilib_src_compile
^[[31;01m*^[[0m environment, line 3197: Called multilib-minimal_src_compile
^[[31;01m*^[[0m environment, line 3391: Called multilib_foreach_abi 'multilib-minimal_abi_src_compile'
^[[31;01m*^[[0m environment, line 3658: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
^[[31;01m*^[[0m environment, line 3351: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
^[[31;01m*^[[0m environment, line 3351: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
^[[31;01m*^[[0m environment, line 3349: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile'
^[[31;01m*^[[0m environment, line 820: Called multilib-minimal_abi_src_compile
^[[31;01m*^[[0m environment, line 3385: Called multilib_src_compile
^[[31;01m*^[[0m environment, line 3878: Called meson_src_compile
^[[31;01m*^[[0m environment, line 3264: Called eninja
^[[31;01m*^[[0m environment, line 2142: Called die
^[[31;01m*^[[0m The specific snippet of code:
^[[31;01m*^[[0m "$@" || die -n "${*} failed"
^[[31;01m*^[[0m
^[[31;01m*^[[0m If you need support, post the output of `emerge --info '=media-libs/mesa-24.1.7-r1::gentoo'`,
^[[31;01m*^[[0m the complete build log and the output of `emerge -pqv '=media-libs/mesa-24.1.7-r1::gentoo'`.
^[[31;01m*^[[0m The complete build log is located at '/var/tmp/portage/media-libs/mesa-24.1.7-r1/temp/build.log'.
^[[31;01m*^[[0m The ebuild environment file is located at '/var/tmp/portage/media-libs/mesa-24.1.7-r1/temp/environment'.
^[[31;01m*^[[0m Working directory: '/var/tmp/portage/media-libs/mesa-24.1.7-r1/work/mesa-24.1.7-abi_x86_64.amd64'
^[[31;01m*^[[0m Working directory: '/var/tmp/portage/media-libs/mesa-24.1.7-r1/work/mesa-24.1.7-abi_x86_64.amd64'
^[[31;01m*^[[0m S: '/var/tmp/portage/media-libs/mesa-24.1.7-r1/work/mesa-24.1.7'
|
And I had the same problem with mesa-24.2.6-r2. I tried to do the following, but it didn't work.
Code: | gentoo /etc/portage # cd package.mask/
gentoo /etc/portage/package.mask # cat gentoo
>=media-libs/mesa-24.2.3-r1::gentoo
gentoo /etc/portage/package.mask #
|
I'm new to gentoo.Could someone tell me how to solve it?I will provide more information if needed.
[Administrator edit: added [code] tags to preserve output layout. -Hu]
Last edited by cien on Fri Dec 06, 2024 3:09 am; edited 1 time in total |
|
Back to top |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1969
|
Posted: Thu Dec 05, 2024 3:11 pm Post subject: |
|
|
cien wrote: | Code: | cien@gentoo ~ $ emerge --info '=media-libs/mesa-2.7-r1::gentoo'
KiB Mem: 683428 total, 72348 free |
|
70MiB is not enough RAM to compile anything. 667MiB is not very much overall RAM either. |
|
Back to top |
|
|
cien n00b
Joined: 05 Dec 2024 Posts: 3
|
Posted: Fri Dec 06, 2024 3:08 am Post subject: |
|
|
grknight wrote: | cien wrote: | Code: | cien@gentoo ~ $ emerge --info '=media-libs/mesa-2.7-r1::gentoo'
KiB Mem: 683428 total, 72348 free |
|
70MiB is not enough RAM to compile anything. 667MiB is not very much overall RAM either. |
Thank you very much. I did not pay attention to the amount of RAM I set for the virtual machine, after resetting the amount of RAM, it can compile normally. |
|
Back to top |
|
|
|
|
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
|
|