Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Error emerge Spectacle-24.05.2
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
NismoC32
Apprentice
Apprentice


Joined: 07 Apr 2003
Posts: 221

PostPosted: Fri Aug 09, 2024 8:37 am    Post subject: [SOLVED] Error emerge Spectacle-24.05.2 Reply with quote

Updating Spectacle from 23.08.5 to 24.05 fails.

Here is a snippet from the the compile output. Not sure if it is enough to diagnose the problem.
This was the only package failing updating from KDE5 to KDE6.

Code:
[ebuild  NS    ] kde-apps/spectacle-24.05.2:6::gentoo [23.08.5:5::gentoo] USE="handbook -debug -share -test" 0 KiB
[uninstall     ] kde-apps/spectacle-23.08.5:5::gentoo  USE="handbook -debug -share -test"
[blocks b      ] kde-apps/spectacle:5 ("kde-apps/spectacle:5" is soft blocking kde-apps/spectacle-24.05.2)


Code:
[179/246] /usr/bin/x86_64-pc-linux-gnu-g++ -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x60000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x5f000 -DKGUIADDONS_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60500 -DQT_GUI_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_QMLBUILTINS_LIB -DQT_QMLINTEGRATION_LIB -DQT_QMLMODELS_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-apps/spectacle-24.05.2/work/spectacle-24.05.2_build/src -I/var/tmp/portage/kde-apps/spectacle-24.05.2/work/spectacle-24.05.2/src -I/var/tmp/portage/kde-apps/spectacle-24.05.2/work/spectacle-24.05.2_build/src/spectacle_autogen/include -I/var/tmp/portage/kde-apps/spectacle-24.05.2/work/spectacle-24.05.2/src/src -isystem /usr/include/opencv4 -isystem /usr/include/qt6/QtQml/6.7.2 -isystem /usr/include/qt6/QtQml/6.7.2/QtQml -isystem /usr/include/qt6/QtCore/6.7.2 -isystem /usr/include/qt6/QtCore/6.7.2/QtCore -isystem /usr/include/qt6/QtCore -isystem /usr/include/qt6 -isystem /usr/lib64/qt6/mkspecs/linux-g++ -isystem /usr/include/qt6/QtQmlBuiltins/6.7.2 -isystem /usr/include/qt6/QtQmlBuiltins/6.7.2/QtQmlBuiltins -isystem /usr/include/qt6/QtQmlBuiltins -isystem /usr/include/qt6/QtQml -isystem /usr/include/qt6/QtQmlIntegration -isystem /usr/include/qt6/QtNetwork -isystem /usr/include/qt6/QtGui/6.7.2 -isystem /usr/include/qt6/QtGui/6.7.2/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/QtQmlModels -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/pipewire-0.3 -isystem /usr/include/spa-0.2 -isystem /usr/include/KPipeWire  -DQT_NO_DEBUG -march=x86-64 -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/Gui/SettingsDialog/VideoSaveOptionsPage.cpp.o -MF src/CMakeFiles/spectacle.dir/Gui/SettingsDialog/VideoSaveOptionsPage.cpp.o.d -o src/CMakeFiles/spectacle.dir/Gui/SettingsDialog/VideoSaveOptionsPage.cpp.o -c /var/tmp/portage/kde-apps/spectacle-24.05.2/work/spectacle-24.05.2/src/Gui/SettingsDialog/VideoSaveOptionsPage.cpp
cc1plus: warning: /var/tmp/portage/kde-apps/spectacle-24.05.2/work/spectacle-24.05.2/src/src: No such file or directory [-Wmissing-include-dirs]
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
[180/246] /usr/bin/x86_64-pc-linux-gnu-g++ -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x60000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x5f000 -DKGUIADDONS_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60500 -DQT_GUI_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_QMLBUILTINS_LIB -DQT_QMLINTEGRATION_LIB -DQT_QMLMODELS_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-apps/spectacle-24.05.2/work/spectacle-24.05.2_build/src -I/var/tmp/portage/kde-apps/spectacle-24.05.2/work/spectacle-24.05.2/src -I/var/tmp/portage/kde-apps/spectacle-24.05.2/work/spectacle-24.05.2_build/src/spectacle_autogen/include -I/var/tmp/portage/kde-apps/spectacle-24.05.2/work/spectacle-24.05.2/src/src -isystem /usr/include/opencv4 -isystem /usr/include/qt6/QtQml/6.7.2 -isystem /usr/include/qt6/QtQml/6.7.2/QtQml -isystem /usr/include/qt6/QtCore/6.7.2 -isystem /usr/include/qt6/QtCore/6.7.2/QtCore -isystem /usr/include/qt6/QtCore -isystem /usr/include/qt6 -isystem /usr/lib64/qt6/mkspecs/linux-g++ -isystem /usr/include/qt6/QtQmlBuiltins/6.7.2 -isystem /usr/include/qt6/QtQmlBuiltins/6.7.2/QtQmlBuiltins -isystem /usr/include/qt6/QtQmlBuiltins -isystem /usr/include/qt6/QtQml -isystem /usr/include/qt6/QtQmlIntegration -isystem /usr/include/qt6/QtNetwork -isystem /usr/include/qt6/QtGui/6.7.2 -isystem /usr/include/qt6/QtGui/6.7.2/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/QtQmlModels -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/pipewire-0.3 -isystem /usr/include/spa-0.2 -isystem /usr/include/KPipeWire  -DQT_NO_DEBUG -march=x86-64 -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/Gui/Annotations/Traits.cpp.o -MF src/CMakeFiles/spectacle.dir/Gui/Annotations/Traits.cpp.o.d -o src/CMakeFiles/spectacle.dir/Gui/Annotations/Traits.cpp.o -c /var/tmp/portage/kde-apps/spectacle-24.05.2/work/spectacle-24.05.2/src/Gui/Annotations/Traits.cpp
cc1plus: warning: /var/tmp/portage/kde-apps/spectacle-24.05.2/work/spectacle-24.05.2/src/src: No such file or directory [-Wmissing-include-dirs]
/var/tmp/portage/kde-apps/spectacle-24.05.2/work/spectacle-24.05.2/src/Gui/Annotations/Traits.cpp: In function ‘QPainterPath Traits::createStrokePath(const OptTuple&)’:
/var/tmp/portage/kde-apps/spectacle-24.05.2/work/spectacle-24.05.2/src/Gui/Annotations/Traits.cpp:248:15: warning: unused variable ‘arrow’ [-Wunused-variable]
  248 |     if (auto &arrow = std::get<Arrow::Opt>(traits)) {
      |               ^~~~~
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
[181/246] /usr/bin/x86_64-pc-linux-gnu-g++ -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x60000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x5f000 -DKGUIADDONS_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60500 -DQT_GUI_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_QMLBUILTINS_LIB -DQT_QMLINTEGRATION_LIB -DQT_QMLMODELS_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-apps/spectacle-24.05.2/work/spectacle-24.05.2_build/src -I/var/tmp/portage/kde-apps/spectacle-24.05.2/work/spectacle-24.05.2/src -I/var/tmp/portage/kde-apps/spectacle-24.05.2/work/spectacle-24.05.2_build/src/spectacle_autogen/include -I/var/tmp/portage/kde-apps/spectacle-24.05.2/work/spectacle-24.05.2/src/src -isystem /usr/include/opencv4 -isystem /usr/include/qt6/QtQml/6.7.2 -isystem /usr/include/qt6/QtQml/6.7.2/QtQml -isystem /usr/include/qt6/QtCore/6.7.2 -isystem /usr/include/qt6/QtCore/6.7.2/QtCore -isystem /usr/include/qt6/QtCore -isystem /usr/include/qt6 -isystem /usr/lib64/qt6/mkspecs/linux-g++ -isystem /usr/include/qt6/QtQmlBuiltins/6.7.2 -isystem /usr/include/qt6/QtQmlBuiltins/6.7.2/QtQmlBuiltins -isystem /usr/include/qt6/QtQmlBuiltins -isystem /usr/include/qt6/QtQml -isystem /usr/include/qt6/QtQmlIntegration -isystem /usr/include/qt6/QtNetwork -isystem /usr/include/qt6/QtGui/6.7.2 -isystem /usr/include/qt6/QtGui/6.7.2/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/QtQmlModels -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/pipewire-0.3 -isystem /usr/include/spa-0.2 -isystem /usr/include/KPipeWire  -DQT_NO_DEBUG -march=x86-64 -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/SpectacleCore.cpp.o -MF src/CMakeFiles/spectacle.dir/SpectacleCore.cpp.o.d -o src/CMakeFiles/spectacle.dir/SpectacleCore.cpp.o -c /var/tmp/portage/kde-apps/spectacle-24.05.2/work/spectacle-24.05.2/src/SpectacleCore.cpp
cc1plus: warning: /var/tmp/portage/kde-apps/spectacle-24.05.2/work/spectacle-24.05.2/src/src: No such file or directory [-Wmissing-include-dirs]
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
ninja: build stopped: subcommand failed.
 * ERROR: kde-apps/spectacle-24.05.2::gentoo failed (compile phase):
 *   ninja -v -j24 -l0 failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 2469:  Called cmake_src_compile
 *   environment, line  947:  Called cmake_build
 *   environment, line  914:  Called eninja
 *   environment, line 1615:  Called die
 * The specific snippet of code:
 *       "$@" || die -n "${*} failed"
 *
 * If you need support, post the output of `emerge --info '=kde-apps/spectacle-24.05.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=kde-apps/spectacle-24.05.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/kde-apps/spectacle-24.05.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-apps/spectacle-24.05.2/temp/environment'.
 * Working directory: '/var/tmp/portage/kde-apps/spectacle-24.05.2/work/spectacle-24.05.2_build'
 * S: '/var/tmp/portage/kde-apps/spectacle-24.05.2/work/spectacle-24.05.2'



Let me know if more information is needed.


Last edited by NismoC32 on Sat Aug 10, 2024 1:00 pm; edited 1 time in total
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9280

PostPosted: Fri Aug 09, 2024 11:05 am    Post subject: Reply with quote

emerge --info
*full* build.log (there's no error in your snippet)
Back to top
View user's profile Send private message
NismoC32
Apprentice
Apprentice


Joined: 07 Apr 2003
Posts: 221

PostPosted: Fri Aug 09, 2024 2:45 pm    Post subject: Reply with quote

emerge --info:
https://pastebin.com/nCrMDXNS

spectacle emerge log.
https://pastebin.com/ktwYyCGt
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9280

PostPosted: Fri Aug 09, 2024 5:03 pm    Post subject: Reply with quote

Please state your version of zxing-cpp.
Back to top
View user's profile Send private message
NismoC32
Apprentice
Apprentice


Joined: 07 Apr 2003
Posts: 221

PostPosted: Sat Aug 10, 2024 1:00 pm    Post subject: Reply with quote

For some reason I have masked zxing-cpp =>2.0 sometime in the past and forgot about it.
I removed the mask and installed the latest version and love and behold problem solved.

Thanks asturm for helping me.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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