hotspot in Arch linux AUR not work for a long time, thanks.
zw963 opened this issue · 3 comments
zw963 commented
Describe the bug
╰─ $ 1 \yay -S hotspot
AUR Explicit (1): hotspot-1.4.1-1
:: PKGBUILD up to date, skipping download: hotspot
1 hotspot (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
1 hotspot (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
==> Making package: hotspot 1.4.1-1 (Sun 24 Dec 2023 12:07:36 AM CST)
==> Retrieving sources...
-> Found hotspot-v1.4.1.tar.gz
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha1sums...
hotspot-v1.4.1.tar.gz ... Passed
:: (1/1) Parsing SRCINFO: hotspot
==> Making package: hotspot 1.4.1-1 (Sun 24 Dec 2023 12:07:38 AM CST)
==> Checking runtime dependencies...
==> Missing dependencies:
-> threadweaver
-> ki18n
-> kconfig
-> kio
-> kitemviews
-> kcoreaddons
-> kitemmodels
-> kconfigwidgets
-> kparts
-> solid
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.
-> error making: hotspot-exit status 8
-> Failed to install the following packages. Manual intervention is required:
hotspot - exit status 8
- Linux Kernel version: 6.6.7
- perf version: 6.6.1
- hotspot version (appimage? selfcompiled?): selfcompiled
- if self-compiled hotspot, what version of elfutils: 0.190-1
zw963 commented
I try update the dependencies in PKGBUILD, but build failed.
depends=('qt5-base>=5.15.0' 'libelf' 'elfutils' 'threadweaver5' 'kddockwidgets' 'ki18n5' 'kconfig5' 'kio5' 'kitemviews5' 'kcoreaddons5' 'kitemmodels5' 'kconfigwidgets5' 'kparts5' 'perf' 'solid5' 'rustc-demangle>=0.1.18-2')
╰─ $ 8 makepkg -f
==> Making package: hotspot 1.4.1-1 (Sun 24 Dec 2023 12:49:43 AM CST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found hotspot-v1.4.1.tar.gz
==> Validating source files with sha1sums...
hotspot-v1.4.1.tar.gz ... Passed
==> Extracting sources...
-> Extracting hotspot-v1.4.1.tar.gz with bsdtar
==> Starting build()...
-- The CXX compiler identification is GNU 13.2.1
-- The C compiler identification is GNU 13.2.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/sbin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/sbin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found LibElf: /usr/lib/libelf.so
-- Found ElfUtils: /usr/lib/libdw.so
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found Zstd: /usr/lib/libzstd.so
-- Found objdump: /usr/sbin/objdump
-- Found LibRustcDemangle: /usr/lib/librustc_demangle.so
-- Could NOT find LibDDemangle (missing: LIBD_DEMANGLE_LIBRARIES)
-- Found KF5ThreadWeaver: /usr/lib/cmake/KF5ThreadWeaver/KF5ThreadWeaverConfig.cmake (found version "5.113.0")
-- Found KF5ConfigWidgets: /usr/lib/cmake/KF5ConfigWidgets/KF5ConfigWidgetsConfig.cmake (found version "5.113.0")
-- Found KF5CoreAddons: /usr/lib/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version "5.113.0")
-- Found KF5ItemViews: /usr/lib/cmake/KF5ItemViews/KF5ItemViewsConfig.cmake (found version "5.113.0")
-- Found KF5ItemModels: /usr/lib/cmake/KF5ItemModels/KF5ItemModelsConfig.cmake (found version "5.113.0")
-- Found X11: /usr/include
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found KF5KIO: /usr/lib/cmake/KF5KIO/KF5KIOConfig.cmake (found version "5.113.0")
-- Found KF5Solid: /usr/lib/cmake/KF5Solid/KF5SolidConfig.cmake (found version "5.113.0")
-- Found KF5WindowSystem: /usr/lib/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake (found version "5.113.0")
-- Found KF5Notifications: /usr/lib/cmake/KF5Notifications/KF5NotificationsConfig.cmake (found version "5.113.0")
-- Found KF5IconThemes: /usr/lib/cmake/KF5IconThemes/KF5IconThemesConfig.cmake (found version "5.113.0")
-- Found Gettext: /usr/sbin/msgmerge (found version "0.22.4")
-- Found KF5Parts: /usr/lib/cmake/KF5Parts/KF5PartsConfig.cmake (found version "5.113.0")
-- Found KF5: success (found version "5.113.0") found components: ThreadWeaver ConfigWidgets CoreAddons ItemViews ItemModels KIO Solid WindowSystem Notifications IconThemes Parts
-- Could NOT find KF5SyntaxHighlighting (missing: KF5SyntaxHighlighting_DIR)
-- Could NOT find QCustomPlot (missing: QCustomPlot_LIBRARIES QCustomPlot_INCLUDE_DIRS)
-- Could NOT find KGraphViewerPart (missing: KGraphViewerPart_DIR)
-- The following RUNTIME packages have been found:
* objdump, Utility to generate disassembler, <https://www.gnu.org/software/binutils/>
Support for annotating individual instructions
* LibRustcDemangle, Demangling for Rust symbols, written in Rust., <https://github.com/alexcrichton/rustc-demangle>
Demangling of Rust symbols
-- The following OPTIONAL packages have been found:
* Zstd
* KF5Archive (required version >= 5.85.0)
* KF5Auth
-- The following REQUIRED packages have been found:
* Qt5Test
* Qt5Svg
* Qt5 (required version >= 5.15)
* LibElf
* ElfUtils
* ECM (required version >= 1.0.0)
* Threads
* Qt5Core (required version >= 5.15.2)
* KF5ThreadWeaver
* KF5CoreAddons
* KF5ItemModels
* KF5ItemViews (required version >= 5.113.0)
* KF5ConfigWidgets (required version >= 5.113.0)
* Qt5Gui (required version >= 5.15.2)
* Qt5Network (required version >= 5.15.2)
* KF5Solid
* KF5WindowSystem
* KF5Notifications
* KF5IconThemes
* KF5KIO (required version >= 5.113.0)
* Gettext
* KF5Parts
* KF5
* Qt5Widgets
* Qt5Qml (required version >= 5.15.11)
* Qt5QmlModels (required version >= 5.15.11)
* KDDockWidgets
KDDockWidgets is a Qt dock widget library written by KDAB, suitable for replacing QDockWidget and implementing
advanced functionalities missing in Qt. https://github.com/KDAB/KDDockWidgets
-- The following RUNTIME packages have not been found:
* LibDDemangle, Demangling for D symbols, written in D., <https://github.com/lievenhey/d_demangler>
Demangling of D symbols
-- The following OPTIONAL packages have not been found:
* KF5SyntaxHighlighting
* QCustomPlot, QCustomPlot is a Qt charting library. https://www.qcustomplot.com/, <https://www.qcustomplot.com/index.php/download>
Frequency tab
* KGraphViewerPart, KGraphViewer (from KDE extragear) is a tool to display graphviz .dot graphs, <https://invent.kde.org/graphics/kgraphviewer>
Call graph in the caller/callee tab
-- Installing in the same prefix as Qt, adopting their path scheme.
-- Looking for dwfl_get_debuginfod_client
-- Looking for dwfl_get_debuginfod_client - found
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
-- Performing Test STATIC_LINKING_WORKS
-- Performing Test STATIC_LINKING_WORKS - Success
-- Configuring done (1.6s)
-- Generating done (0.1s)
-- Build files have been written to: /home/zw963/.cache/yay/hotspot/src/hotspot-v1.4.1
[ 0%] Built target libhotspot-perfparser_autogen_timestamp_deps
[ 1%] Automatic MOC and UIC for target libhotspot-perfparser
[ 1%] Built target libhotspot-perfparser_autogen
[ 1%] Building CXX object 3rdparty/CMakeFiles/libhotspot-perfparser.dir/libhotspot-perfparser_autogen/mocs_compilation.cpp.o
[ 2%] Building CXX object 3rdparty/CMakeFiles/libhotspot-perfparser.dir/perfparser/app/perfattributes.cpp.o
[ 2%] Building CXX object 3rdparty/CMakeFiles/libhotspot-perfparser.dir/perfparser/app/perfheader.cpp.o
[ 3%] Building CXX object 3rdparty/CMakeFiles/libhotspot-perfparser.dir/perfparser/app/perffilesection.cpp.o
[ 3%] Building CXX object 3rdparty/CMakeFiles/libhotspot-perfparser.dir/perfparser/app/perffeatures.cpp.o
[ 4%] Building CXX object 3rdparty/CMakeFiles/libhotspot-perfparser.dir/perfparser/app/perfdata.cpp.o
[ 4%] Building CXX object 3rdparty/CMakeFiles/libhotspot-perfparser.dir/perfparser/app/perfunwind.cpp.o
[ 4%] Building CXX object 3rdparty/CMakeFiles/libhotspot-perfparser.dir/perfparser/app/perfregisterinfo.cpp.o
[ 6%] Building CXX object 3rdparty/CMakeFiles/libhotspot-perfparser.dir/perfparser/app/perfstdin.cpp.o
[ 6%] Building CXX object 3rdparty/CMakeFiles/libhotspot-perfparser.dir/perfparser/app/perfsymboltable.cpp.o
[ 7%] Building CXX object 3rdparty/CMakeFiles/libhotspot-perfparser.dir/perfparser/app/perfelfmap.cpp.o
[ 7%] Building CXX object 3rdparty/CMakeFiles/libhotspot-perfparser.dir/perfparser/app/perfkallsyms.cpp.o
[ 8%] Building CXX object 3rdparty/CMakeFiles/libhotspot-perfparser.dir/perfparser/app/perfaddresscache.cpp.o
[ 8%] Building CXX object 3rdparty/CMakeFiles/libhotspot-perfparser.dir/perfparser/app/perftracingdata.cpp.o
[ 9%] Building CXX object 3rdparty/CMakeFiles/libhotspot-perfparser.dir/perfparser/app/perfdwarfdiecache.cpp.o
[ 9%] Building CXX object 3rdparty/CMakeFiles/libhotspot-perfparser.dir/perfparser/app/demangler.cpp.o
[ 9%] Linking CXX static library liblibhotspot-perfparser.a
[ 9%] Built target libhotspot-perfparser
[ 9%] Built target hotspot-perfparser_autogen_timestamp_deps
[ 9%] Automatic MOC and UIC for target hotspot-perfparser
[ 9%] Built target hotspot-perfparser_autogen
[ 11%] Building CXX object 3rdparty/CMakeFiles/hotspot-perfparser.dir/hotspot-perfparser_autogen/mocs_compilation.cpp.o
[ 11%] Building CXX object 3rdparty/CMakeFiles/hotspot-perfparser.dir/perfparser/app/main.cpp.o
[ 12%] Linking CXX executable ../lib/libexec/hotspot-perfparser
[ 12%] Built target hotspot-perfparser
[ 12%] Built target perf2text_autogen_timestamp_deps
[ 13%] Automatic MOC and UIC for target perf2text
[ 13%] Built target perf2text_autogen
[ 14%] Building CXX object 3rdparty/CMakeFiles/perf2text.dir/perf2text_autogen/mocs_compilation.cpp.o
[ 14%] Building CXX object 3rdparty/CMakeFiles/perf2text.dir/perfparser/tests/manual/perf2text/perf2text.cpp.o
[ 16%] Building CXX object 3rdparty/CMakeFiles/perf2text.dir/perfparser/tests/auto/shared/perfparsertestclient.cpp.o
[ 16%] Linking CXX executable ../bin/perf2text
[ 16%] Built target perf2text
[ 16%] Built target PrefixTickLabels_autogen_timestamp_deps
[ 17%] Automatic MOC and UIC for target PrefixTickLabels
[ 17%] Built target PrefixTickLabels_autogen
[ 17%] Building CXX object 3rdparty/CMakeFiles/PrefixTickLabels.dir/PrefixTickLabels_autogen/mocs_compilation.cpp.o
[ 18%] Building CXX object 3rdparty/CMakeFiles/PrefixTickLabels.dir/PrefixTickLabels/src/PrefixTickLabels.cpp.o
[ 18%] Linking CXX static library libPrefixTickLabels.a
[ 18%] Built target PrefixTickLabels
[ 18%] Built target models_autogen_timestamp_deps
[ 19%] Automatic MOC and UIC for target models
[ 19%] Built target models_autogen
[ 20%] Building CXX object src/models/CMakeFiles/models.dir/models_autogen/mocs_compilation.cpp.o
[ 20%] Building CXX object src/models/CMakeFiles/models.dir/__/settings.cpp.o
[ 22%] Building CXX object src/models/CMakeFiles/models.dir/__/util.cpp.o
[ 22%] Building CXX object src/models/CMakeFiles/models.dir/callercalleemodel.cpp.o
[ 23%] Building CXX object src/models/CMakeFiles/models.dir/callercalleeproxy.cpp.o
[ 23%] Building CXX object src/models/CMakeFiles/models.dir/codedelegate.cpp.o
[ 23%] Building CXX object src/models/CMakeFiles/models.dir/costdelegate.cpp.o
[ 24%] Building CXX object src/models/CMakeFiles/models.dir/data.cpp.o
[ 24%] Building CXX object src/models/CMakeFiles/models.dir/disassemblymodel.cpp.o
[ 25%] Building CXX object src/models/CMakeFiles/models.dir/disassemblyoutput.cpp.o
[ 25%] Building CXX object src/models/CMakeFiles/models.dir/eventmodel.cpp.o
[ 27%] Building CXX object src/models/CMakeFiles/models.dir/filterandzoomstack.cpp.o
[ 27%] Building CXX object src/models/CMakeFiles/models.dir/frequencymodel.cpp.o
[ 28%] Building CXX object src/models/CMakeFiles/models.dir/highlighter.cpp.o
[ 28%] Building CXX object src/models/CMakeFiles/models.dir/processfiltermodel.cpp.o
[ 28%] Building CXX object src/models/CMakeFiles/models.dir/processlist_unix.cpp.o
[ 29%] Building CXX object src/models/CMakeFiles/models.dir/processmodel.cpp.o
[ 29%] Building CXX object src/models/CMakeFiles/models.dir/sourcecodemodel.cpp.o
[ 30%] Building CXX object src/models/CMakeFiles/models.dir/timeaxisheaderview.cpp.o
[ 30%] Building CXX object src/models/CMakeFiles/models.dir/timelinedelegate.cpp.o
[ 32%] Building CXX object src/models/CMakeFiles/models.dir/topproxy.cpp.o
[ 32%] Building CXX object src/models/CMakeFiles/models.dir/treemodel.cpp.o
[ 32%] Linking CXX static library libmodels.a
[ 32%] Built target models
[ 32%] Built target hotspot_autogen_timestamp_deps
[ 33%] Automatic MOC and UIC for target hotspot
[ 33%] Built target hotspot_autogen
[ 33%] Automatic RCC for resources.qrc
[ 34%] Building CXX object src/CMakeFiles/hotspot.dir/hotspot_autogen/mocs_compilation.cpp.o
[ 34%] Building CXX object src/CMakeFiles/hotspot.dir/main.cpp.o
[ 35%] Building CXX object src/CMakeFiles/hotspot.dir/parsers/perf/perfparser.cpp.o
[ 35%] Building CXX object src/CMakeFiles/hotspot.dir/perfrecord.cpp.o
/home/zw963/.cache/yay/hotspot/src/hotspot-v1.4.1/src/perfrecord.cpp: In function ‘QStringList sudoOptions(const QString&)’:
/home/zw963/.cache/yay/hotspot/src/hotspot-v1.4.1/src/perfrecord.cpp:68:67: warning: ‘static WId KWindowSystem::activeWindow()’ is deprecated: Since 5.101. Use KX11Extras::activeWindow() instead [-Wdeprecated-declarations]
68 | options.append(QString::number(KWindowSystem::activeWindow()));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/KF5/KWindowSystem/KWindowSystem:1,
from /home/zw963/.cache/yay/hotspot/src/hotspot-v1.4.1/src/perfrecord.cpp:23:
/usr/include/KF5/KWindowSystem/kwindowsystem.h:126:16: note: declared here
126 | static WId activeWindow();
| ^~~~~~~~~~~~
[ 37%] Building CXX object src/CMakeFiles/hotspot.dir/mainwindow.cpp.o
/home/zw963/.cache/yay/hotspot/src/hotspot-v1.4.1/src/mainwindow.cpp: In constructor ‘MainWindow::MainWindow(QWidget*)’:
/home/zw963/.cache/yay/hotspot/src/hotspot-v1.4.1/src/mainwindow.cpp:265:36: error: cannot convert ‘const QVector<KDDockWidgets::Core::DockWidget*>’ to ‘const QVector<KDDockWidgets::DockWidgetBase*>&’
265 | m_resultsPage->initDockWidgets(restored);
| ^~~~~~~~
| |
| const QVector<KDDockWidgets::Core::DockWidget*>
In file included from /home/zw963/.cache/yay/hotspot/src/hotspot-v1.4.1/src/mainwindow.cpp:12:
/home/zw963/.cache/yay/hotspot/src/hotspot-v1.4.1/src/resultspage.h:55:73: note: initializing argument 1 of ‘void ResultsPage::initDockWidgets(const QVector<KDDockWidgets::DockWidgetBase*>&)’
55 | void initDockWidgets(const QVector<KDDockWidgets::DockWidgetBase*>& restored);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
make[2]: *** [src/CMakeFiles/hotspot.dir/build.make:154: src/CMakeFiles/hotspot.dir/mainwindow.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1837: src/CMakeFiles/hotspot.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
milianw commented
this is a packaging bug - you are trying to compile a hotspot that doesn't yet support KDDW 2.0. Either you update your hotspot to a more recent git sha which supports KDDW 2.0 or you revert KDDW back to 1.7 or 1.6.
zw963 commented
It works now use yay -S hotspot
since recent update.
[2024-03-24T12:35:00+0800] [ALPM] installed hotspot-debug (20240312-2)
[2024-03-24T12:34:59+0800] [ALPM] installed hotspot (20240312-2)
[2024-03-24T12:31:48+0800] [ALPM] installed kddockwidgets-qt6-debug (2.0.0-3)
[2024-03-24T12:31:48+0800] [ALPM] installed kddockwidgets-qt6 (2.0.0-3)
[2024-03-24T12:31:48+0800] [ALPM] installed rustc-demangle-debug (0.1.21-1)
[2024-03-24T12:31:48+0800] [ALPM] installed rustc-demangle (0.1.21-1)
[2024-03-24T12:24:44+0800] [ALPM] installed kitemmodels (6.0.0-1)
[2024-03-24T12:24:44+0800] [ALPM] installed kgraphviewer (2.4.3-5)
[2024-03-24T12:24:44+0800] [ALPM] installed kparts5 (5.115.0-1)
[2024-03-24T12:24:44+0800] [ALPM] installed kio5 (5.115.0-3)
[2024-03-24T12:24:44+0800] [ALPM] installed kded5 (5.115.0-1)
[2024-03-24T12:24:44+0800] [ALPM] installed kcrash5 (5.115.0-1)
[2024-03-24T12:24:44+0800] [ALPM] installed ktextwidgets5 (5.115.0-1)
[2024-03-24T12:24:44+0800] [ALPM] installed sonnet5 (5.115.0-1)
[2024-03-24T12:24:44+0800] [ALPM] installed kcompletion5 (5.115.0-1)
[2024-03-24T12:24:44+0800] [ALPM] installed kwallet5 (5.115.0-2)
[2024-03-24T12:24:44+0800] [ALPM] installed qca-qt5 (2.3.8-2)
[2024-03-24T12:24:44+0800] [ALPM] installed kservice5 (5.115.0-1)
[2024-03-24T12:24:44+0800] [ALPM] installed kdbusaddons5 (5.115.0-1)
[2024-03-24T12:24:44+0800] [ALPM] installed kbookmarks5 (5.115.0-1)
[2024-03-24T12:24:44+0800] [ALPM] installed kxmlgui5 (5.115.0-1)
[2024-03-24T12:24:44+0800] [ALPM] installed kitemviews5 (5.115.0-1)
[2024-03-24T12:24:44+0800] [ALPM] installed kglobalaccel5 (5.115.0-3)
[2024-03-24T12:24:44+0800] [ALPM] installed kjobwidgets5 (5.115.0-1)
[2024-03-24T12:24:44+0800] [ALPM] installed solid5 (5.115.0-1)
[2024-03-24T12:24:44+0800] [ALPM] installed kiconthemes5 (5.115.0-1)
[2024-03-24T12:24:44+0800] [ALPM] installed karchive5 (5.115.0-1)
[2024-03-24T12:24:44+0800] [ALPM] installed kconfigwidgets5 (5.115.0-1)
[2024-03-24T12:24:44+0800] [ALPM] installed kwidgetsaddons5 (5.115.0-1)
[2024-03-24T12:24:44+0800] [ALPM] installed ki18n5 (5.115.1-1)
[2024-03-24T12:24:44+0800] [ALPM] installed kcodecs5 (5.115.0-1)
[2024-03-24T12:24:44+0800] [ALPM] installed kauth5 (5.115.0-1)
[2024-03-24T12:24:44+0800] [ALPM] installed polkit-qt5 (0.200.0-1)
[2024-03-24T12:24:44+0800] [ALPM] installed syntax-highlighting (6.0.0-2)
[2024-03-24T12:24:44+0800] [ALPM] installed extra-cmake-modules (6.0.0-1)
[2024-03-24T12:24:36+0800] [ALPM] installed spdlog (1.13.0-1)
[2024-03-24T12:24:36+0800] [ALPM] installed fmt (10.2.0-1)
[2024-03-24T12:24:36+0800] [ALPM] installed nlohmann-json (3.11.2-2)
[2024-03-24T12:24:36+0800] [ALPM] installed qt6-tools (6.6.2-2)
[2024-03-24T12:24:36+0800] [ALPM] installed rust (1:1.77.0-1)