Hello, everybody out there!
I am a long time Unix, more precisely GNU/Linux, user, and I use
several KDE utilities on a daily basis. I need to do some tests on macOS
with a M1 processor, therefore I try to install KDE utilities with
Homebrew, specificaly Okular, Dolphin and Kate. However, I get several
error messages. As macOS is quite a peculiar Unix flavour, I am a bit
lost with the error I get.
The error messages being quite long, I copy them at the end of this
message to make it more readable.
Can anyone help me fix these issues?
Best regards.
==> Upgrading kde-mac/kde/okular
22.12.1 -> 23.08.2
==> Patching
==> cmake -G Ninja -B build -S . -D BUILD_QCH=ON -D BUILD_TESTING=ON -D
==> cmake --build build
==> cmake --install build
==> /opt/homebrew/opt/qt@5/bin/qmake
Last 15 lines from /Users/yoannlebars/Library/Logs/Homebrew/okular/04.qmake:
2023-12-11 14:11:12 +
/opt/homebrew/opt/qt@5/bin/qmake
Info: creating stash file
/private/tmp/okular-20231211-93307-1t7xpi/okular-23.08.2/getqmlpath/.qmake.stash
Project ERROR: failed to parse default search paths from compiler output
If reporting this issue please do so to (not Homebrew/brew or
Homebrew/homebrew-core):
kde-mac/kde
Error: Validation Failed: [{"message"=>"The listed users and
repositories cannot be searched either because the resources do not
exist or you do not have permission to view them.",
"resource"=>"Search", "field"=>"q", "code"=>"invalid"}]
% brew install kde-mac/kde/dolphin
==> Downloading https://formulae.brew.sh/api/formula.jws.json
==> Fetching kde-mac/kde/dolphin
==> Downloading https://download.kde.org/stable/release-service/23.08.2
Already downloaded:
/Users/yoannlebars/Library/Caches/Homebrew/downloads/bc145e581396dc5d8dbd94892bc88eb2a3c6f1d74a22428e791d5f3c5dc9b9a1--dolphin-23.08.2.tar.xz
==> Installing dolphin from kde-mac/kde
==> cmake -G Ninja -B build -S . -D BUILD_QCH=ON -D BUILD_TESTING=ON -D
Last 15 lines from
/Users/yoannlebars/Library/Logs/Homebrew/dolphin/01.cmake:
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/opt/homebrew/lib/cmake/KF5KCMUtils/KF5KCMUtilsToolingTargets.cmake"
but not all the files it references.
Call Stack (most recent call first):
/opt/homebrew/lib/cmake/KF5KCMUtils/KF5KCMUtilsConfig.cmake:74 (include)
/opt/homebrew/share/ECM/find-modules/FindKF5.cmake:52 (find_package)
CMakeLists.txt:61 (find_package)
-- Configuring incomplete, errors occurred!
If reporting this issue please do so to (not Homebrew/brew or
Homebrew/homebrew-core):
kde-mac/kde
/opt/homebrew/Library/Homebrew/utils/github/api.rb:352:in `raise_error':
Validation Failed: [{"message"=>"The listed users and repositories
cannot be searched either because the resources do not exist or you do
not have permission to view them.", "resource"=>"Search", "field"=>"q",
"code"=>"invalid"}] (GitHub::API::ValidationFailedError)
from /opt/homebrew/Library/Homebrew/utils/github/api.rb:268:in
`open_rest'
from /opt/homebrew/Library/Homebrew/utils/github.rb:178:in `search'
from /opt/homebrew/Library/Homebrew/utils/github.rb:182:in
`search_results_items'
from /opt/homebrew/Library/Homebrew/utils/github.rb:36:in
`search_issues'
from /opt/homebrew/Library/Homebrew/utils/github.rb:62:in
`issues_for_formula'
from /opt/homebrew/Library/Homebrew/exceptions.rb:502:in `fetch_issues'
from /opt/homebrew/Library/Homebrew/exceptions.rb:497:in `issues'
from /opt/homebrew/Library/Homebrew/exceptions.rb:553:in `dump'
from /opt/homebrew/Library/Homebrew/brew.rb:143:in `rescue in '
from /opt/homebrew/Library/Homebrew/brew.rb:131:in `'
/opt/homebrew/Library/Homebrew/formula.rb:2735:in `block in system':
Failed executing: cmake
-DCMAKE_INSTALL_PREFIX=/opt/homebrew/Cellar/dolphin/23.08.2
-DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_BUILD_TYPE=Release
-DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_VERBOSE_MAKEFILE=ON -Wno-dev
-DBUILD_TESTING=OFF
-DCMAKE_OSX_SYSROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk
-G Ninja -B build -S . -D BUILD_QCH=ON -D BUILD_TESTING=ON -D
BUILD_TESTS=ON -D BUILD_UNITTESTS=ON -D
CMAKE_INSTALL_BUNDLEDIR=/opt/homebrew/Cellar/dolphin/23.08.2/bin -D
KDE_INSTALL_LIBDIR=lib -D KDE_INSTALL_PLUGINDIR=lib/qt5/plugins -D
KDE_INSTALL_QMLDIR=lib/qt5/qml -D
KDE_INSTALL_QTPLUGINDIR=lib/qt5/plugins -D APPLE_SUPPRESS_X11_WARNING=ON
-D KF_IGNORE_PLATFORM_CHECK=ON (BuildError)
from /opt/homebrew/Library/Homebrew/formula.rb:2671:in `open'
from /opt/homebrew/Library/Homebrew/formula.rb:2671:in `system'
from
/opt/homebrew/Library/Taps/kde-mac/homebrew-kde/Formula/dolphin.rb:27:in
`install'
from /opt/homebrew/Library/Homebrew/build.rb:179:in `block (3 levels)
in install'
from /opt/homebrew/Library/Homebrew/extend/kernel.rb:499:in `with_env'
from /opt/homebrew/Library/Homebrew/build.rb:141:in `block (2