Created attachment 763335 [details] build.log ag@AprilGrimoire /home/ag emerge --info '=media-libs/libsdl2-2.0.20::gentoo' 16:17:28 Portage 3.0.30 (python 3.10.1-final-0, default/linux/amd64/17.1/desktop/gnome, gcc-11.1.0, glibc-2.34-r6, 5.13.0-gentoo-r1-x86_64 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-5.13.0-gentoo-r1-x86_64-x86_64-Intel-R-_Core-TM-_i7-8700K_CPU_@_3.70GHz-with-glibc2.34 KiB Mem: 16317352 total, 1519916 free KiB Swap: 33554428 total, 33146148 free Timestamp of repository gentoo: Sat, 22 Jan 2022 01:15:01 +0000 Head commit of repository gentoo: e3925fc4a9e57825892127f4bd1be0d36b9e7303 sh bash 5.1_p8 ld GNU ld (Gentoo 2.36.1 p3) 2.36.1 app-misc/pax-utils: 1.3.3::gentoo app-shells/bash: 5.1_p8::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.34.0::gentoo dev-lang/python: 2.7.18_p11::gentoo, 3.6.14::gentoo, 3.8.12_p1-r1::gentoo, 3.9.9-r1::gentoo, 3.10.1-r3::gentoo dev-lang/rust: 1.53.0::gentoo dev-util/cmake: 3.20.5::gentoo dev-util/meson: 0.61.1::gentoo sys-apps/baselayout: 2.8::gentoo sys-apps/openrc: 0.43.3::gentoo sys-apps/sandbox: 2.29::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.16.3-r1::gentoo sys-devel/binutils: 2.36.1-r1::gentoo, 2.37_p1-r1::gentoo sys-devel/binutils-config: 5.4::gentoo sys-devel/clang: 12.0.0-r1::gentoo sys-devel/gcc: 8.5.0::gentoo, 11.1.0-r1::gentoo sys-devel/gcc-config: 2.5-r1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/lld: 12.0.0::gentoo sys-devel/llvm: 12.0.0::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.16::gentoo (virtual/os-headers) sys-libs/glibc: 2.34-r6::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://mirrors.bfsu.edu.cn/gentoo-portage priority: -1000 sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: sync-rsync-verify-metamanifest: yes bircoph location: /var/lib/layman/bircoph masters: gentoo priority: 50 gentoo-zh location: /var/lib/layman/gentoo-zh masters: gentoo priority: 50 gridcoin location: /var/lib/layman/gridcoin masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/cxoffice/etc/cxoffice.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/sddm/scripts/Xsetup" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.0/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cli-php8.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY 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" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news nostrip parallel-fetch pid-sandbox 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.ustc.edu.cn/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j9" PKGDIR="/usr/portage/packages" 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/zsh" USE="X a52 aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cdr cli colord crypt cups dbus dri dts dvd dvdr eds elogind encode evo exif flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gui ibus iconv icu introspection ipv6 jpeg jumbo-build lcms libglvnd libnotify libsecret libtirpc mad mng mp3 mp4 mpeg multilib nautilus ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt5 readline sdl seccomp spell split-usr ssl startup-notification svg sysprof tiff tracker truetype udev udisks unicode upower usb vorbis wayland wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64 32" ADA_TARGET="gnat_2020" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache 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="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python2_7 python3_8 python3_9 python3_10" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat 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, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS ag@AprilGrimoire /home/ag emerge -pqv '=media-libs/libsdl2-2.0.20::gentoo' 16:17:29 [ebuild U ] media-libs/libsdl2-2.0.20 [2.0.14-r2] USE="X alsa dbus gles2 haptic ibus joystick opengl pulseaudio sound threads udev video wayland (-aqua) (-custom-cflags) -doc% -fcitx4 -gles1 -jack -kms -libsamplerate -nas -oss -pipewire% -sndio -static-libs -vulkan -xinerama -xscreensaver" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="mmx sse sse2 -3dnow" VIDEO_CARDS="(-vc4)" !!! The following installed packages are masked: - dev-util/nvidia-cuda-sdk-10.2.89-r1::gentoo (masked by: package.mask) /usr/portage/profiles/package.mask: # David Seifert <soap@gentoo.org> (2021-12-20) # Requires GCC 8, security vulnerabilities, switch to CUDA 11, # consider using clang+NVPTX backend for sm_30 cards. # Removal in 90 days, bug #721808, #760708. - virtual/libcrypt-1-r1::gentoo (masked by: package.mask) /usr/portage/profiles/base/package.mask: # Sam James <sam@gentoo.org> (2021-11-22) # Mask the older libcrypt virtual (which accepted glibc[crypt]) to ease # dependency resolution. In a fair number of cases, this has helped # upgrades go through cleanly. # Read the news item if you need help! # (This mask is undone in musl profiles where the transition is not yet being # made.) # bug #699422. - sys-apps/hwids-20210613-r1::gentoo (masked by: package.mask) /usr/portage/profiles/package.mask: # Mike Gilbert <floppym@gentoo.org> (2021-12-24) # Replaced by sys-apps/hwdata. Removal on 2022-01-23. For more information, see the MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook.
What does `emerge -pvO dev-libs/wayland` say? Error is a bit different than what I get if I try 1.19 (perhaps yours is older if that's what it is) but seems it needs to depend on >=dev-libs/wayland-1.20 `emerge -1 dev-libs/wayland` will probably fix it for you
(In reply to Ionen Wolkens from comment #1) > What does `emerge -pvO dev-libs/wayland` say? > > Error is a bit different than what I get if I try 1.19 (perhaps yours is > older if that's what it is) but seems it needs to depend on > >=dev-libs/wayland-1.20 > > `emerge -1 dev-libs/wayland` will probably fix it for you I'm sorry that I refreshed the bugzilla page and the output of emerge -pqv is gone forever. Now I only remember that origionally I had an older version of wayland installed. Luckily, updating wayland does solved the problem.
(In reply to AprilGrimoire from comment #2) > I'm sorry that I refreshed the bugzilla page and the output of emerge -pqv > is gone forever. Now I only remember that origionally I had an older version > of wayland installed. > > Luckily, updating wayland does solved the problem. Alright, I was able to get a failure with wayland-1.19 so it's good enough to update the version in dependencies either way.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c5c430d0a56eb5eab6a27d86df50b46b488f6c7 commit 4c5c430d0a56eb5eab6a27d86df50b46b488f6c7 Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2022-01-23 09:26:27 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2022-01-23 09:33:33 +0000 media-libs/libsdl2: depend on >=wayland-1.20 + scanner Fails with <1.20 and if wayland-scanner is missing it wouldn't fail but silently build libsdl2 without wayland support (revbump to ensure everything is in order and prevent downgrades). Closes: https://bugs.gentoo.org/831884 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> media-libs/libsdl2/{libsdl2-2.0.20.ebuild => libsdl2-2.0.20-r1.ebuild} | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)