View previous topic :: View next topic |
Author |
Message |
xizonghu n00b

Joined: 03 Jun 2025 Posts: 2
|
Posted: Tue Jun 03, 2025 10:03 am Post subject: [Resolved]Failed to emerge kde-plasma/spectacle-6.3.5 |
|
|
hi, all
i update gentoo normally, but there is a failed issue. And how can i resolve it. thanks.
Code: |
FAILED: src/CMakeFiles/spectacle.dir/Platforms/VideoPlatformWayland.cpp.o
/usr/bin/x86_64-pc-linux-gnu-g++ -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60500 -DKGUIADDONS_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60700 -DQT_GUI_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_PRINTSUPPORT_LIB -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICKCONTROLS2_LIB -DQT_QUICKTEMPLATES2_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DQT_WAYLANDCLIENT_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/var/tmp/portage/kde-plasma/spectacle-6.3.5/work/spectacle-6.3.5_build/src -I/var/tmp/portage/kde-plasma/spectacle-6.3.5/work/spectacle-6.3.5/src -I/var/tmp/portage/kde-plasma/spectacle-6.3.5/work/spectacle-6.3.5_build/src/spectacle_autogen/include -I/var/tmp/portage/kde-plasma/spectacle-6.3.5/work/spectacle-6.3.5/src/Gui -I/var/tmp/portage/kde-plasma/spectacle-6.3.5/work/spectacle-6.3.5/src/Gui/Annotations -I/var/tmp/portage/kde-plasma/spectacle-6.3.5/work/spectacle-6.3.5/src/Platforms -isystem /usr/include/qt6/QtQml/6.8.3 -isystem /usr/include/qt6/QtQml/6.8.3/QtQml -isystem /usr/include/qt6/QtCore/6.8.3 -isystem /usr/include/qt6/QtCore/6.8.3/QtCore -isystem /usr/include/qt6/QtCore -isystem /usr/include/qt6 -isystem /usr/lib64/qt6/mkspecs/linux-g++ -isystem /usr/include/qt6/QtQml -isystem /usr/include/qt6/QtQmlIntegration -isystem /usr/include/qt6/QtNetwork -isystem /usr/include/opencv4 -isystem /usr/include/qt6/QtGui/6.8.3 -isystem /usr/include/qt6/QtGui/6.8.3/QtGui -isystem /usr/include/qt6/QtGui -isystem /usr/include/qt6/QtConcurrent -isystem /usr/include/qt6/QtDBus -isystem /usr/include/qt6/QtPrintSupport -isystem /usr/include/qt6/QtWidgets -isystem /usr/include/qt6/QtQuick -isystem /usr/include/qt6/QtQmlMeta -isystem /usr/include/qt6/QtQmlModels -isystem /usr/include/qt6/QtQmlWorkerScript -isystem /usr/include/qt6/QtOpenGL -isystem /usr/include/qt6/QtQuickControls2 -isystem /usr/include/qt6/QtQuickTemplates2 -isystem /usr/include/qt6/QtWaylandClient -isystem /usr/include/KF6/KCoreAddons -isystem /usr/include/KF6/KDBusAddons -isystem /usr/include/KF6/KWidgetsAddons -isystem /usr/include/KF6/KNotifications -isystem /usr/include/KF6/KConfig -isystem /usr/include/KF6/KConfigCore -isystem /usr/include/KF6/KI18n -isystem /usr/include/KF6/KIOWidgets -isystem /usr/include/KF6/KIOGui -isystem /usr/include/KF6/KIOCore -isystem /usr/include/KF6/KIO -isystem /usr/include/KF6/KService -isystem /usr/include/KF6/KJobWidgets -isystem /usr/include/KF6/Solid -isystem /usr/include/KF6/KCompletion -isystem /usr/include/KF6/KWindowSystem -isystem /usr/include/KF6/KGlobalAccel -isystem /usr/include/KF6/KXmlGui -isystem /usr/include/qt6/QtXml -isystem /usr/include/KF6/KConfigWidgets -isystem /usr/include/KF6/KConfigGui -isystem /usr/include/KF6/KColorScheme -isystem /usr/include/KF6/KGuiAddons -isystem /usr/include/KF6 -isystem /usr/include/KF6/Kirigami/Platform -isystem /usr/include/KF6/KStatusNotifierItem -isystem /usr/include/KF6/PrisonScanner -isystem /usr/include/KF6/Prison -isystem /usr/include/qt6/QtMultimedia -isystem /usr/include/KF6/KCrash -isystem /usr/include/pipewire-0.3 -isystem /usr/include/spa-0.2 -isystem /usr/include/KPipeWire -DQT_NO_DEBUG -O2 -pipe -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -fdiagnostics-color=always -std=c++20 -fvisibility=hidden -fvisibility-inlines-hidden -fexceptions -fPIC -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -MD -MT src/CMakeFiles/spectacle.dir/Platforms/VideoPlatformWayland.cpp.o -MF src/CMakeFiles/spectacle.dir/Platforms/VideoPlatformWayland.cpp.o.d -o src/CMakeFiles/spectacle.dir/Platforms/VideoPlatformWayland.cpp.o -c /var/tmp/portage/kde-plasma/spectacle-6.3.5/work/spectacle-6.3.5/src/Platforms/VideoPlatformWayland.cpp
/var/tmp/portage/kde-plasma/spectacle-6.3.5/work/spectacle-6.3.5/src/Platforms/VideoPlatformWayland.cpp: In member function ‘VideoPlatform::Format VideoPlatformWayland::formatForEncoder(Encoder) const’:
/var/tmp/portage/kde-plasma/spectacle-6.3.5/work/spectacle-6.3.5/src/Platforms/VideoPlatformWayland.cpp:72:19: error: ‘WebP’ is not a member of ‘Encoder’ {aka ‘PipeWireBaseEncodedStream::Encoder’}
72 | case Encoder::WebP: return WebP;
| ^~~~
/var/tmp/portage/kde-plasma/spectacle-6.3.5/work/spectacle-6.3.5/src/Platforms/VideoPlatformWayland.cpp:73:19: error: ‘Gif’ is not a member of ‘Encoder’ {aka ‘PipeWireBaseEncodedStream::Encoder’}
73 | case Encoder::Gif: return Gif;
| ^~~
/var/tmp/portage/kde-plasma/spectacle-6.3.5/work/spectacle-6.3.5/src/Platforms/VideoPlatformWayland.cpp: In member function ‘PipeWireBaseEncodedStream::Encoder VideoPlatformWayland::encoderForFormat(VideoPlatform::Format) const’:
/var/tmp/portage/kde-plasma/spectacle-6.3.5/work/spectacle-6.3.5/src/Platforms/VideoPlatformWayland.cpp:92:54: error: ‘WebP’ is not a member of ‘Encoder’ {aka ‘PipeWireBaseEncodedStream::Encoder’}
92 | if (format == WebP && encoders.contains(Encoder::WebP)) {
| ^~~~
/var/tmp/portage/kde-plasma/spectacle-6.3.5/work/spectacle-6.3.5/src/Platforms/VideoPlatformWayland.cpp:93:25: error: ‘WebP’ is not a member of ‘Encoder’ {aka ‘PipeWireBaseEncodedStream::Encoder’}
93 | return Encoder::WebP;
| ^~~~
/var/tmp/portage/kde-plasma/spectacle-6.3.5/work/spectacle-6.3.5/src/Platforms/VideoPlatformWayland.cpp:95:53: error: ‘Gif’ is not a member of ‘Encoder’ {aka ‘PipeWireBaseEncodedStream::Encoder’}
95 | if (format == Gif && encoders.contains(Encoder::Gif)) {
| ^~~
/var/tmp/portage/kde-plasma/spectacle-6.3.5/work/spectacle-6.3.5/src/Platforms/VideoPlatformWayland.cpp:96:25: error: ‘Gif’ is not a member of ‘Encoder’ {aka ‘PipeWireBaseEncodedStream::Encoder’}
96 | return Encoder::Gif;
| ^~~
At global scope:
cc1plus: note: unrecognized command-line option ‘-Wno-c99-extensions’ may have been intended to silence earlier diagnostics
cc1plus: note: unrecognized command-line option ‘-Wno-gnu-statement-expression-from-macro-expansion’ may have been intended to silence earlier diagnostics
|
here are info:
emerge --info '=kde-plasma/spectacle-6.3.5::gentoo'
Code: |
Portage 3.0.67 (python 3.12.10-final-0, default/linux/amd64/23.0/desktop/plasma/systemd, gcc-14, glibc-2.40-r8, 6.12.21-gentoo-dist x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-6.12.21-gentoo-dist-x86_64-Intel-R-_Core-TM-_i7-10700_CPU_@_2.90GHz-with-glibc2.40
KiB Mem: 32731740 total, 7187368 free
KiB Swap: 0 total, 0 free
Timestamp of repository gentoo: Tue, 03 Jun 2025 04:45:00 +0000
Head commit of repository gentoo: 4d35f615140bfc0fd3d7a04432f8aff4973627c3
Timestamp of repository gentoo-zh: Mon, 02 Jun 2025 10:24:25 +0000
Head commit of repository gentoo-zh: 3d000b03872206f129f3581f49b20ea2ef135a8d
Timestamp of repository guru: Tue, 03 Jun 2025 09:09:19 +0000
Head commit of repository guru: c2918a46fb13f4c40092053833eab0ed46859b6b
sh bash 5.2_p37
ld GNU ld (Gentoo 2.44 p1) 2.44.0
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.17-r2::gentoo
dev-build/cmake: 3.31.7-r1::gentoo
dev-build/libtool: 2.5.4::gentoo
dev-build/make: 4.4.1-r100::gentoo
dev-build/meson: 1.7.0::gentoo
dev-java/java-config: 2.3.4::gentoo
dev-lang/perl: 5.40.2::gentoo
dev-lang/python: 3.12.10::gentoo, 3.13.3::gentoo
dev-lang/rust-bin: 1.84.1-r2::gentoo, 1.85.1::gentoo
llvm-core/llvm: 19.1.7::gentoo
sys-apps/baselayout: 2.17::gentoo
sys-apps/sandbox: 2.46::gentoo
sys-apps/systemd: 256.10::gentoo
sys-devel/binutils: 2.44-r1::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc: 14.2.1_p20241221::gentoo
sys-devel/gcc-config: 2.12.1::gentoo
sys-kernel/linux-headers: 6.12::gentoo (virtual/os-headers)
sys-libs/glibc: 2.40-r8::gentoo
sys-libs/libselinux: 3.8.1::gentoo
Repositories:
gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://mirrors.tuna.tsinghua.edu.cn/gentoo-portage/
priority: -1000
volatile: False
sync-rsync-extra-opts:
sync-rsync-verify-metamanifest: yes
sync-rsync-verify-max-age: 3
sync-rsync-verify-jobs: 1
gentoo-zh
location: /var/db/repos/gentoo-zh
sync-type: git
sync-uri: https://github.com/gentoo-mirror/gentoo-zh.git
masters: gentoo
volatile: False
guru
location: /var/db/repos/guru
sync-type: git
sync-uri: https://github.com/gentoo-mirror/guru.git
masters: gentoo
volatile: False
Binary Repositories:
gentoobinhost
priority: 9999
sync-uri: https://mirrors.tuna.tsinghua.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/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/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 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 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="zh_CN.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j8"
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 activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet crypt cups dbus declarative dri dts dvd dvdr encode exif flac gdbm gif gpm gtk gui iconv icu ipv6 jpeg kde kwallet lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses networkmanager nls ogg opengl openmp pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qml qt5 qt6 readline screencast sdl seccomp semantic-desktop sound spell ssl startup-notification svg systemd test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_14" ALSA_CARDS="hda-intel" 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" 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" L10N="en-US zh-CN en zh" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres17" PYTHON_SINGLE_TARGET="python3_13" PYTHON_TARGETS="python3_13" RUBY_TARGETS="ruby32 ruby33" VIDEO_CARDS="nouveau" 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
=================================================================
Package Settings
=================================================================
kde-plasma/spectacle-6.3.5::gentoo would be built with the following:
USE="handbook -debug -share -test" ABI_X86="(64)"
>>> Attempting to run pkg_info() for 'kde-plasma/spectacle-6.3.5'
|
Last edited by xizonghu on Wed Jun 04, 2025 5:52 am; edited 1 time in total |
|
Back to top |
|
 |
xizonghu n00b

Joined: 03 Jun 2025 Posts: 2
|
Posted: Wed Jun 04, 2025 5:52 am Post subject: |
|
|
i mask this package in portage first, and then emerge -avuDN @world, last unmask this package, it works well. |
|
Back to top |
|
 |
Hu Administrator

Joined: 06 Mar 2007 Posts: 23530
|
Posted: Wed Jun 04, 2025 1:39 pm Post subject: |
|
|
Welcome to the forums. Your solution suggests to me that =kde-plasma/spectacle-6.3.5 has a DEPEND=category/package that should have been DEPEND=">=category/package-version". You initially had a version of category/package that was less than version, so Portage considered the DEPEND satisfied, but your installed version was not sufficient for this update, so the build failed. After you forced everything else to update, your installed version of category/package was >=version, so the update worked. To fix this for everyone, we should find what package category/package represents, and adjust the dependency so that Portage knows to schedule the update of category/package ahead of the update of spectacle. The most likely culprit is the package which provides the definition of PipeWireBaseEncodedStream::Encoder. What package provides that type? What version did you have when compilation failed, and what version do you have now that compilation succeeds? |
|
Back to top |
|
 |
rasmus Tux's lil' helper

Joined: 14 Jul 2002 Posts: 79
|
Posted: Thu Jun 05, 2025 8:33 am Post subject: |
|
|
I guess it's kpipewire becuse doing an Code: | emerge -1v kpipewire | solved it for me. |
|
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
|
|