bismuth
bismuth copied to clipboard
[Bug]: Unable to install on OpenSUSE Tumbleweed
Summary
make setup-dev-env finishes, but seems to have something bad happening.
make build does not finish. Part of the error implies I have a "too new" version of KDE Framework.
Steps to Reproduce
- Run
make setup-dev-env, get the following message in log:
scripts/sysdep-install.sh
⛓️ Installing system dependencies...
[sudo] password for root:
Loading repository data...
Reading installed packages...
'pattern:devel_C_C++' is already installed.
No update candidate for 'pattern:devel_C_C++-20170319-3.13.x86_64'. The highest available version is already installed.
'pattern:devel_qt5' is already installed.
No update candidate for 'pattern:devel_qt5-20220215-1.2.noarch'. The highest available version is already installed.
Resolving package dependencies...
Nothing to do.
Loading repository data...
Reading installed packages...
'extra-cmake-modules' is already installed.
No update candidate for 'extra-cmake-modules-5.93.0-1.1.noarch'. The highest available version is already installed.
'ninja' is already installed.
No update candidate for 'ninja-1.10.2-2.17.x86_64'. The highest available version is already installed.
'libkdecoration2-devel' is already installed.
No update candidate for 'libkdecoration2-devel-5.24.4-1.1.x86_64'. The highest available version is already installed.
'kcmutils-devel' is already installed.
No update candidate for 'kcmutils-devel-5.93.0-1.1.x86_64'. The highest available version is already installed.
'kconfig-devel' is already installed.
No update candidate for 'kconfig-devel-5.93.0-1.1.x86_64'. The highest available version is already installed.
'kdeclarative-devel' is already installed.
No update candidate for 'kdeclarative-devel-5.93.0-1.1.x86_64'. The highest available version is already installed.
'ki18n-devel' is already installed.
No update candidate for 'ki18n-devel-5.93.0-1.1.x86_64'. The highest available version is already installed.
Resolving package dependencies...
Nothing to do.
pre-commit install
make: pre-commit: No such file or directory
make: *** [Makefile:34: setup-dev-env] Error 127
- Run
make build, get the following message in log:
scripts/build.sh
🏗️ Building Bismuth...
-- Could NOT find KF5GlobalAccel (missing: KF5GlobalAccel_DIR)
-- Could NOT find KF5GlobalAccel: found neither KF5GlobalAccelConfig.cmake nor kf5globalaccel-config.cmake
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find KF5 (missing: GlobalAccel) (found suitable version "5.93.0",
minimum required is "5.78.0")
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
/usr/share/ECM/find-modules/FindKF5.cmake:93 (find_package_handle_standard_args)
CMakeLists.txt:59 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/kennethhoff/Downloads/bismuth/build/CMakeFiles/CMakeOutput.log".
make: *** [Makefile:10: build] Error 1
Expected behavior
No errors and it should build
Screenshots
No response
Bismuth version
3.1.1
KDE Plasma version
5.24.4
The platform KWin is running on
Wayland
Additional context
I am running OpenSUSE Tumbleweed 20220427 (Newest version as of writing this)
sudo npm -g typescript
worked for me. Im on kubuntu btw but kde version is same as yours.
sudo npm -g typescriptworked for me. Im on kubuntu btw but kde version is same as yours.
KDE version isn't the problem. It's something else that's newer in Tumbleweed that's causing it.
Understood.
The package kglobalaccel-devel should satisfy KF5GlobalAccel in openSUSE. It's in the main repo.
I suspect you will have to grab typescript as suggested above, but first see if you get past this error.
The package
kglobalaccel-develshould satisfy KF5GlobalAccel in openSUSE. It's in the main repo.
This appears to have fixed it. I can now install it from source properly.
Alternatively, install kglobalaccel-devel, libkdecoration2-devel and esbuild, and set USE_TSC=OFF and USE_NPM=OFF in CMakeLists.txt, that can help getting around some NPM-related build errors.