[frameworks-kxmlgui] [Bug 447738] New: kf5-kxmlgui install via Homebrew fails (as part of Heaptrack GUI build)

Erwan de Lépinau bugzilla_noreply at kde.org
Fri Dec 31 13:11:26 GMT 2021


https://bugs.kde.org/show_bug.cgi?id=447738

            Bug ID: 447738
           Summary: kf5-kxmlgui install via Homebrew fails (as part of
                    Heaptrack GUI build)
           Product: frameworks-kxmlgui
           Version: 5.89.0
          Platform: Homebrew (macOS)
                OS: macOS
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdelibs-bugs at kde.org
          Reporter: erwan.delepinau at gmail.com
  Target Milestone: ---

SUMMARY

I am trying to build Heatrack GUI for MacOS following the steps indicated in
the official README of Heaptrack (https://github.com/KDE/heaptrack). kf5-kio
must be installed first (it is a dependency of Heaptrack GUI), but I encounter
an error when I try to install it via Homebrew. It seems the error is actually
due to kf5-kxmlgui (a dependency of kf5-kio) that fails to build (see logs
below).


STEPS TO REPRODUCE
1. $ brew install kde-mac/kde/kf5-kio

OBSERVED RESULT

Installation fails with the following logs:

==> Installing kf5-kio from kde-mac/kde
Warning: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences or run:
  softwareupdate --all --install --force

If that doesn't show you any updates, run:
  sudo rm -rf /Library/Developer/CommandLineTools
  sudo xcode-select --install

Alternatively, manually download them from:
  https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 13.1.

==> Installing dependencies for kde-mac/kde/kf5-kio: kde-mac/kde/kf5-kxmlgui,
kde-mac/kde/kf5-kbookmarks, kde-mac/kde/kf5-kjobwidgets, kde-mac/kde/phonon,
libogg, libvorbis, libcanberra, kde-mac/kde/kf5-knotifications,
kde-mac/kde/kf5-kwallet, kde-mac/kde/kf5-solid, libxml2 and libxslt
==> Installing kde-mac/kde/kf5-kio dependency: kde-mac/kde/kf5-kxmlgui
Warning: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences or run:
  softwareupdate --all --install --force

If that doesn't show you any updates, run:
  sudo rm -rf /Library/Developer/CommandLineTools
  sudo xcode-select --install

Alternatively, manually download them from:
  https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 13.1.

==> cmake -G Ninja -B build -S . -D BUILD_QCH=ON -D BUILD_TESTING=ON -D
BUILD_TE
==> cmake --build build
Last 15 lines from /Users/ac90592/Library/Logs/Homebrew/kf5-kxmlgui/02.cmake:

cmake
--build
build

[1/124] cd /tmp/kf5-kxmlgui-20211231-25664-sep67c/kxmlgui-5.89.0/build &&
/usr/local/Cellar/cmake/3.22.1/bin/cmake
-DPYTHON_EXECUTABLE=/usr/local/bin/python3
-D_ki18n_pmap_compile_script=/usr/local/lib/cmake/KF5I18n/ts-pmap-compile.py
-DCOPY_TO=/tmp/kf5-kxmlgui-20211231-25664-sep67c/kxmlgui-5.89.0/build/locale
-DPO_DIR=/tmp/kf5-kxmlgui-20211231-25664-sep67c/kxmlgui-5.89.0/po -P
/usr/local/lib/cmake/KF5I18n/build-tsfiles.cmake
[2/124] cd /tmp/kf5-kxmlgui-20211231-25664-sep67c/kxmlgui-5.89.0/build/src &&
cmake -E remove_directory
"/tmp/kf5-kxmlgui-20211231-25664-sep67c/kxmlgui-5.89.0/build/src/KF5XmlGui_ECMQchDoxygen"
&& cmake -E make_directory
"/tmp/kf5-kxmlgui-20211231-25664-sep67c/kxmlgui-5.89.0/build/src/KF5XmlGui_ECMQchDoxygen"
&& /usr/local/bin/doxygen
/tmp/kf5-kxmlgui-20211231-25664-sep67c/kxmlgui-5.89.0/build/src/KF5XmlGui_ECMQchDoxygen.config
FAILED: src/KF5XmlGui.qch src/KF5XmlGui.tags
/tmp/kf5-kxmlgui-20211231-25664-sep67c/kxmlgui-5.89.0/build/src/KF5XmlGui.qch
/tmp/kf5-kxmlgui-20211231-25664-sep67c/kxmlgui-5.89.0/build/src/KF5XmlGui.tags
cd /tmp/kf5-kxmlgui-20211231-25664-sep67c/kxmlgui-5.89.0/build/src && cmake -E
remove_directory
"/tmp/kf5-kxmlgui-20211231-25664-sep67c/kxmlgui-5.89.0/build/src/KF5XmlGui_ECMQchDoxygen"
&& cmake -E make_directory
"/tmp/kf5-kxmlgui-20211231-25664-sep67c/kxmlgui-5.89.0/build/src/KF5XmlGui_ECMQchDoxygen"
&& /usr/local/bin/doxygen
/tmp/kf5-kxmlgui-20211231-25664-sep67c/kxmlgui-5.89.0/build/src/KF5XmlGui_ECMQchDoxygen.config
libc++abi.dylib: terminating with uncaught exception of type std::bad_alloc:
std::bad_alloc
/bin/sh: line 1: 25828 Abort trap: 6           /usr/local/bin/doxygen
/tmp/kf5-kxmlgui-20211231-25664-sep67c/kxmlgui-5.89.0/build/src/KF5XmlGui_ECMQchDoxygen.config
[3/124] cd /tmp/kf5-kxmlgui-20211231-25664-sep67c/kxmlgui-5.89.0/build &&
/usr/local/Cellar/cmake/3.22.1/bin/cmake
-DGETTEXT_MSGFMT_EXECUTABLE=/usr/local/bin/msgfmt
-DCOPY_TO=/tmp/kf5-kxmlgui-20211231-25664-sep67c/kxmlgui-5.89.0/build/locale
-DPO_DIR=/tmp/kf5-kxmlgui-20211231-25664-sep67c/kxmlgui-5.89.0/po -P
/usr/local/lib/cmake/KF5I18n/build-pofiles.cmake
[4/124] cd
/tmp/kf5-kxmlgui-20211231-25664-sep67c/kxmlgui-5.89.0/build/src/ksendbugmail &&
/usr/local/Cellar/cmake/3.22.1/bin/cmake -E cmake_autogen
/tmp/kf5-kxmlgui-20211231-25664-sep67c/kxmlgui-5.89.0/build/src/ksendbugmail/CMakeFiles/ksendbugmail_autogen.dir/AutogenInfo.json
Release && /usr/local/Cellar/cmake/3.22.1/bin/cmake -E touch
/tmp/kf5-kxmlgui-20211231-25664-sep67c/kxmlgui-5.89.0/build/src/ksendbugmail/ksendbugmail_autogen/timestamp
&& /usr/local/Cellar/cmake/3.22.1/bin/cmake -E cmake_transform_depfile Ninja
gccdepfile /tmp/kf5-kxmlgui-20211231-25664-sep67c/kxmlgui-5.89.0
/tmp/kf5-kxmlgui-20211231-25664-sep67c/kxmlgui-5.89.0/src/ksendbugmail
/tmp/kf5-kxmlgui-20211231-25664-sep67c/kxmlgui-5.89.0/build
/tmp/kf5-kxmlgui-20211231-25664-sep67c/kxmlgui-5.89.0/build/src/ksendbugmail
/tmp/kf5-kxmlgui-20211231-25664-sep67c/kxmlgui-5.89.0/build/src/ksendbugmail/ksendbugmail_autogen/deps
/tmp/kf5-kxmlgui-20211231-25664-sep67c/kxmlgui-5.89.0/build/CMakeFiles/d/b18d9404c8a912bc45691f9b2d8ec1c551efb4ca0722b686b79912b80f211e42.d
[5/124] cd /tmp/kf5-kxmlgui-20211231-25664-sep67c/kxmlgui-5.89.0/build/src &&
/usr/local/Cellar/cmake/3.22.1/bin/cmake -E cmake_autogen
/tmp/kf5-kxmlgui-20211231-25664-sep67c/kxmlgui-5.89.0/build/src/CMakeFiles/KF5XmlGui_autogen.dir/AutogenInfo.json
Release && /usr/local/Cellar/cmake/3.22.1/bin/cmake -E touch
/tmp/kf5-kxmlgui-20211231-25664-sep67c/kxmlgui-5.89.0/build/src/KF5XmlGui_autogen/timestamp
&& /usr/local/Cellar/cmake/3.22.1/bin/cmake -E cmake_transform_depfile Ninja
gccdepfile /tmp/kf5-kxmlgui-20211231-25664-sep67c/kxmlgui-5.89.0
/tmp/kf5-kxmlgui-20211231-25664-sep67c/kxmlgui-5.89.0/src
/tmp/kf5-kxmlgui-20211231-25664-sep67c/kxmlgui-5.89.0/build
/tmp/kf5-kxmlgui-20211231-25664-sep67c/kxmlgui-5.89.0/build/src
/tmp/kf5-kxmlgui-20211231-25664-sep67c/kxmlgui-5.89.0/build/src/KF5XmlGui_autogen/deps
/tmp/kf5-kxmlgui-20211231-25664-sep67c/kxmlgui-5.89.0/build/CMakeFiles/d/30f25730cc660fdb0fd3b57baa285cf24d631893a97ee1c68a8359dc0eebb78e.d
ninja: build stopped: subcommand failed.

If reporting this issue please do so to (not Homebrew/brew or Homebrew/core):
  kde-mac/kde

/usr/local/Homebrew/Library/Homebrew/utils/github/api.rb:304: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 /usr/local/Homebrew/Library/Homebrew/utils/github/api.rb:234:in
`open_rest'
        from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:166:in
`search'
        from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:34:in
`search_issues'
        from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:67:in
`issues_for_formula'
        from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:491:in
`fetch_issues'
        from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:487:in `issues'
        from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:541:in `dump'
        from /usr/local/Homebrew/Library/Homebrew/brew.rb:155:in `rescue in
<main>'
        from /usr/local/Homebrew/Library/Homebrew/brew.rb:143:in `<main>'
/usr/local/Homebrew/Library/Homebrew/formula.rb:2307:in `block in system':
Failed executing: cmake --build build (BuildError)
        from /usr/local/Homebrew/Library/Homebrew/formula.rb:2243:in `open'
        from /usr/local/Homebrew/Library/Homebrew/formula.rb:2243:in `system'
        from
/usr/local/Homebrew/Library/Taps/kde-mac/homebrew-kde/Formula/kf5-kxmlgui.rb:25:in
`install'
        from /usr/local/Homebrew/Library/Homebrew/build.rb:172:in `block (3
levels) in install'
        from /usr/local/Homebrew/Library/Homebrew/utils.rb:588:in `with_env'
        from /usr/local/Homebrew/Library/Homebrew/build.rb:134:in `block (2
levels) in install'
        from /usr/local/Homebrew/Library/Homebrew/formula.rb:1297:in `block in
brew'
        from /usr/local/Homebrew/Library/Homebrew/formula.rb:2473:in `block (2
levels) in stage'
        from /usr/local/Homebrew/Library/Homebrew/utils.rb:588:in `with_env'
        from /usr/local/Homebrew/Library/Homebrew/formula.rb:2472:in `block in
stage'
        from /usr/local/Homebrew/Library/Homebrew/resource.rb:126:in `block (2
levels) in unpack'
        from /usr/local/Homebrew/Library/Homebrew/download_strategy.rb:115:in
`chdir'
        from /usr/local/Homebrew/Library/Homebrew/download_strategy.rb:115:in
`chdir'
        from /usr/local/Homebrew/Library/Homebrew/download_strategy.rb:102:in
`stage'
        from /usr/local/Homebrew/Library/Homebrew/resource.rb:122:in `block in
unpack'
        from /usr/local/Homebrew/Library/Homebrew/mktemp.rb:63:in `block in
run'
        from /usr/local/Homebrew/Library/Homebrew/mktemp.rb:63:in `chdir'
        from /usr/local/Homebrew/Library/Homebrew/mktemp.rb:63:in `run'
        from /usr/local/Homebrew/Library/Homebrew/resource.rb:208:in `mktemp'
        from /usr/local/Homebrew/Library/Homebrew/resource.rb:121:in `unpack'
        from /usr/local/Homebrew/Library/Homebrew/resource.rb:96:in `stage'
        from
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.8/lib/ruby/2.6.0/forwardable.rb:230:in
`stage'
        from /usr/local/Homebrew/Library/Homebrew/formula.rb:2452:in `stage'
        from /usr/local/Homebrew/Library/Homebrew/formula.rb:1290:in `brew'
        from /usr/local/Homebrew/Library/Homebrew/build.rb:129:in `block in
install'
        from /usr/local/Homebrew/Library/Homebrew/utils.rb:588:in `with_env'
        from /usr/local/Homebrew/Library/Homebrew/build.rb:124:in `install'
        from /usr/local/Homebrew/Library/Homebrew/build.rb:224:in `<main>'

EXPECTED RESULT

Installation of kf5-kxmlgui and kf5-kio should succeed.

SOFTWARE/OS VERSIONS
macOS: Big Sur 11.2.3 (XCode Command Line Tools 12.5.1)
CMake: 3.22.1
Make: 3.81
Homebrew: 3.3.9

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.



More information about the kde-mac mailing list