kf5-kio fails to build
This default issue template is dedicated for installation issues, if your issue isn't related to installation, please choose Other
template above.
Please note, we will close your issue without comment if you do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew-KDE again.
-
I ran "$(brew --repo kde-mac/kde)/tools/do-caveats.sh"
and am still able to reproduce my issue. -
I have resolved all warnings from brew doctor
and that did not fix my problem. -
I added output from brew gist-logs <formula>
link ANDbrew config
ANDbrew doctor
output below.
brew install kde-mac/kde/kf5-kio
==> Fetching kde-mac/kde/kf5-kio
==> Downloading https://download.kde.org/stable/frameworks/5.111/kio-5.111.0.tar.xz
Already downloaded: /Users/martyn/Library/Caches/Homebrew/downloads/547046d6f07e6048e3fca22969da3c78f70208699a23ed59e4e1b0f963da1a7a--kio-5.111.0.tar.xz
==> Installing kf5-kio from kde-mac/kde
==> cmake -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/kf5-kio/5.111.0/bin -D KDE_INSTALL_LIBDIR=l
Last 15 lines from /Users/martyn/Library/Logs/Homebrew/kf5-kio/01.cmake:
"KF5Archive", but CMake did not find one.
Could not find a package configuration file provided by "KF5Archive"
(requested version 5.111.0) with any of the following names:
KF5ArchiveConfig.cmake
kf5archive-config.cmake
Add the installation prefix of "KF5Archive" to CMAKE_PREFIX_PATH or set
"KF5Archive_DIR" to a directory containing one of the above files. If
"KF5Archive" provides a separate development package or SDK, be sure it has
been installed.
-- 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:356: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:272: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:482:in `fetch_issues'
from /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11287/lib/types/private/methods/call_validation.rb:270:in `bind_call'
from /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11287/lib/types/private/methods/call_validation.rb:270:in `validate_call'
from /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11287/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
from /opt/homebrew/Library/Homebrew/exceptions.rb:477:in `issues'
from /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11287/lib/types/private/methods/call_validation.rb:270:in `bind_call'
from /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11287/lib/types/private/methods/call_validation.rb:270:in `validate_call'
from /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11287/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
from /opt/homebrew/Library/Homebrew/exceptions.rb:533:in `dump'
from /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11287/lib/types/private/methods/call_validation.rb:270:in `bind_call'
from /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11287/lib/types/private/methods/call_validation.rb:270:in `validate_call'
from /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11287/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
from /opt/homebrew/Library/Homebrew/brew.rb:143:in `rescue in <main>'
from /opt/homebrew/Library/Homebrew/brew.rb:131:in `<main>'
/opt/homebrew/Library/Homebrew/formula.rb:2840:in `block in system': Failed executing: cmake -DCMAKE_INSTALL_PREFIX=/opt/homebrew/Cellar/kf5-kio/5.111.0 -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/kf5-kio/5.111.0/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:2776:in `open'
from /opt/homebrew/Library/Homebrew/formula.rb:2776:in `system'
from /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11287/lib/types/private/methods/call_validation.rb:270:in `bind_call'
from /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11287/lib/types/private/methods/call_validation.rb:270:in `validate_call'
from /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11287/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
from /opt/homebrew/Library/Taps/kde-mac/homebrew-kde/Formula/kf5-kio.rb:26:in `install'
from /opt/homebrew/Library/Homebrew/build.rb:177:in `block (3 levels) in install'
from /opt/homebrew/Library/Homebrew/extend/kernel.rb:493:in `with_env'
from /opt/homebrew/Library/Homebrew/build.rb:139:in `block (2 levels) in install'
from /opt/homebrew/Library/Homebrew/formula.rb:1418:in `block in brew'
from /opt/homebrew/Library/Homebrew/formula.rb:3008:in `block (2 levels) in stage'
from /opt/homebrew/Library/Homebrew/extend/kernel.rb:493:in `with_env'
from /opt/homebrew/Library/Homebrew/formula.rb:3007:in `block in stage'
from /opt/homebrew/Library/Homebrew/resource.rb:129:in `block (2 levels) in unpack'
from /opt/homebrew/Library/Homebrew/download_strategy.rb:126:in `chdir'
from /opt/homebrew/Library/Homebrew/download_strategy.rb:126:in `chdir'
from /opt/homebrew/Library/Homebrew/download_strategy.rb:113:in `stage'
from /opt/homebrew/Library/Homebrew/resource.rb:125:in `block in unpack'
from /opt/homebrew/Library/Homebrew/mktemp.rb:75:in `block in run'
from /opt/homebrew/Library/Homebrew/mktemp.rb:75:in `chdir'
from /opt/homebrew/Library/Homebrew/mktemp.rb:75:in `run'
from /opt/homebrew/Library/Homebrew/resource.rb:226:in `stage_resource'
from /opt/homebrew/Library/Homebrew/resource.rb:124:in `unpack'
from /opt/homebrew/Library/Homebrew/resource.rb:98:in `stage'
from /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/lib/ruby/3.1.0/forwardable.rb:238:in `stage'
from /opt/homebrew/Library/Homebrew/formula.rb:2987:in `stage'
from /opt/homebrew/Library/Homebrew/formula.rb:1411:in `brew'
from /opt/homebrew/Library/Homebrew/build.rb:133:in `block in install'
from /opt/homebrew/Library/Homebrew/extend/kernel.rb:493:in `with_env'
from /opt/homebrew/Library/Homebrew/build.rb:125:in `install'
from /opt/homebrew/Library/Homebrew/build.rb:229:in `<main>'
$ brew gist-logs kde-mac/kde/kf5-kio
https://gist.github.com/MartynF/28c8bf56d322ad6a95ee6c92d529caca
$ brew config
HOMEBREW_VERSION: 4.2.11-105-gae0ceee
ORIGIN: https://github.com/Homebrew/brew
HEAD: ae0ceee74f1570083a24e21be2509443d3a4337f
Last commit: 11 hours ago
Core tap JSON: 11 Mar 10:42 UTC
Core cask tap JSON: 11 Mar 10:42 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.eqm0wgQXaL/org.xquartz:0
HOMEBREW_MAKE_JOBS: 12
HOMEBREW_SORBET_RUNTIME: set
Homebrew Ruby: 3.1.4 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/bin/ruby
CPU: dodeca-core 64-bit arm_blizzard_avalanche
Clang: 15.0.0 build 1500
Git: 2.44.0 => /opt/homebrew/bin/git
Curl: 8.4.0 => /usr/bin/curl
macOS: 14.4-arm64
CLT: 15.3.0.0.1.1708646388
Xcode: 15.3
Rosetta 2: false
==> Fetching kde-mac/kde/kf5-kio
==> Downloading https://download.kde.org/stable/frameworks/5.111/kio-5.111.0.tar.xz
Already downloaded: /Users/martyn/Library/Caches/Homebrew/downloads/547046d6f07e6048e3fca22969da3c78f70208699a23ed59e4e1b0f963da1a7a--kio-5.111.0.tar.xz
==> Installing kf5-kio from kde-mac/kde
==> cmake -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/kf5-kio/5.111.0/bin -D KDE_INSTALL_LIBDIR=l
Last 15 lines from /Users/martyn/Library/Logs/Homebrew/kf5-kio/01.cmake:
"KF5Archive", but CMake did not find one.
Could not find a package configuration file provided by "KF5Archive"
(requested version 5.111.0) with any of the following names:
KF5ArchiveConfig.cmake
kf5archive-config.cmake
Add the installation prefix of "KF5Archive" to CMAKE_PREFIX_PATH or set
"KF5Archive_DIR" to a directory containing one of the above files. If
"KF5Archive" provides a separate development package or SDK, be sure it has
been installed.
-- 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:356: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:272: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:482:in `fetch_issues'
from /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11287/lib/types/private/methods/call_validation.rb:270:in `bind_call'
from /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11287/lib/types/private/methods/call_validation.rb:270:in `validate_call'
from /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11287/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
from /opt/homebrew/Library/Homebrew/exceptions.rb:477:in `issues'
from /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11287/lib/types/private/methods/call_validation.rb:270:in `bind_call'
from /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11287/lib/types/private/methods/call_validation.rb:270:in `validate_call'
from /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11287/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
from /opt/homebrew/Library/Homebrew/exceptions.rb:533:in `dump'
from /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11287/lib/types/private/methods/call_validation.rb:270:in `bind_call'
from /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11287/lib/types/private/methods/call_validation.rb:270:in `validate_call'
from /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11287/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
from /opt/homebrew/Library/Homebrew/brew.rb:143:in `rescue in <main>'
from /opt/homebrew/Library/Homebrew/brew.rb:131:in `<main>'
/opt/homebrew/Library/Homebrew/formula.rb:2840:in `block in system': Failed executing: cmake -DCMAKE_INSTALL_PREFIX=/opt/homebrew/Cellar/kf5-kio/5.111.0 -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/kf5-kio/5.111.0/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:2776:in `open'
from /opt/homebrew/Library/Homebrew/formula.rb:2776:in `system'
from /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11287/lib/types/private/methods/call_validation.rb:270:in `bind_call'
from /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11287/lib/types/private/methods/call_validation.rb:270:in `validate_call'
from /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11287/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
from /opt/homebrew/Library/Taps/kde-mac/homebrew-kde/Formula/kf5-kio.rb:26:in `install'
from /opt/homebrew/Library/Homebrew/build.rb:177:in `block (3 levels) in install'
from /opt/homebrew/Library/Homebrew/extend/kernel.rb:493:in `with_env'
from /opt/homebrew/Library/Homebrew/build.rb:139:in `block (2 levels) in install'
from /opt/homebrew/Library/Homebrew/formula.rb:1418:in `block in brew'
from /opt/homebrew/Library/Homebrew/formula.rb:3008:in `block (2 levels) in stage'
from /opt/homebrew/Library/Homebrew/extend/kernel.rb:493:in `with_env'
from /opt/homebrew/Library/Homebrew/formula.rb:3007:in `block in stage'
from /opt/homebrew/Library/Homebrew/resource.rb:129:in `block (2 levels) in unpack'
from /opt/homebrew/Library/Homebrew/download_strategy.rb:126:in `chdir'
from /opt/homebrew/Library/Homebrew/download_strategy.rb:126:in `chdir'
from /opt/homebrew/Library/Homebrew/download_strategy.rb:113:in `stage'
from /opt/homebrew/Library/Homebrew/resource.rb:125:in `block in unpack'
from /opt/homebrew/Library/Homebrew/mktemp.rb:75:in `block in run'
from /opt/homebrew/Library/Homebrew/mktemp.rb:75:in `chdir'
from /opt/homebrew/Library/Homebrew/mktemp.rb:75:in `run'
from /opt/homebrew/Library/Homebrew/resource.rb:226:in `stage_resource'
from /opt/homebrew/Library/Homebrew/resource.rb:124:in `unpack'
from /opt/homebrew/Library/Homebrew/resource.rb:98:in `stage'
from /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/lib/ruby/3.1.0/forwardable.rb:238:in `stage'
from /opt/homebrew/Library/Homebrew/formula.rb:2987:in `stage'
from /opt/homebrew/Library/Homebrew/formula.rb:1411:in `brew'
from /opt/homebrew/Library/Homebrew/build.rb:133:in `block in install'
from /opt/homebrew/Library/Homebrew/extend/kernel.rb:493:in `with_env'
from /opt/homebrew/Library/Homebrew/build.rb:125:in `install'
from /opt/homebrew/Library/Homebrew/build.rb:229:in `<main>'
$ brew gist-logs kde-mac/kde/kf5-kio
https://gist.github.com/MartynF/28c8bf56d322ad6a95ee6c92d529caca
$ brew config
HOMEBREW_VERSION: 4.2.11-105-gae0ceee
ORIGIN: https://github.com/Homebrew/brew
HEAD: ae0ceee74f1570083a24e21be2509443d3a4337f
Last commit: 11 hours ago
Core tap JSON: 11 Mar 10:42 UTC
Core cask tap JSON: 11 Mar 10:42 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.eqm0wgQXaL/org.xquartz:0
HOMEBREW_MAKE_JOBS: 12
HOMEBREW_SORBET_RUNTIME: set
Homebrew Ruby: 3.1.4 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/bin/ruby
CPU: dodeca-core 64-bit arm_blizzard_avalanche
Clang: 15.0.0 build 1500
Git: 2.44.0 => /opt/homebrew/bin/git
Curl: 8.4.0 => /usr/bin/curl
macOS: 14.4-arm64
CLT: 15.3.0.0.1.1708646388
Xcode: 15.3
Rosetta 2: false
Edited by Martyn Foster