Bug 458084

Summary: Missing dependency in homebrew formula of kde-mac/kde/kf5-kwallet
Product: [Frameworks and Libraries] frameworks-kwallet Reporter: self
Component: generalAssignee: Valentin Rusu <valir>
Status: RESOLVED MOVED    
Severity: normal CC: kdelibs-bugs, nicolas.fella
Priority: NOR    
Version: 5.97.0   
Target Milestone: ---   
Platform: Homebrew (macOS)   
OS: macOS   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description self 2022-08-20 06:43:14 UTC
SUMMARY
Unable to upgrade kde-mac/kde/kf5-kwallet from 5.96.0 to 5.97.0 because of missing dependency `qca`.
I run `brew install qca` and retried installing kf5-kwallet, then the issue disappears.

STEPS TO REPRODUCE
```
# Installed kf5-wallet 5.96.0
$ brew install kf5-kwallet # update to 5.97.0
```

OBSERVED RESULT
```
==> Patching
==> 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-kwallet/5.97.0/bin -D KD
Last 15 lines from /Users/lightquantum/Library/Logs/Homebrew/kf5-kwallet/01.cmake:
  Could not find a package configuration file provided by "Qca-qt5" with any
  of the following names:

    Qca-qt5Config.cmake
    qca-qt5-config.cmake

  Add the installation prefix of "Qca-qt5" to CMAKE_PREFIX_PATH or set
  "Qca-qt5_DIR" to a directory containing one of the above files.  If
  "Qca-qt5" provides a separate development package or SDK, be sure it has
  been installed.


-- Configuring incomplete, errors occurred!
See also "/tmp/kf5-kwallet-20220820-15737-uqme8f/kwallet-5.97.0/build/CMakeFiles/CMakeOutput.log".
See also "/tmp/kf5-kwallet-20220820-15737-uqme8f/kwallet-5.97.0/build/CMakeFiles/CMakeError.log".

Do not report this issue to Homebrew/brew or Homebrew/core!

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"}]
```

EXPECTED RESULT
`kwallet` should be installed successfully.

SOFTWARE/OS VERSIONS
macOS: 12.5 (21G72)
Linux/KDE Plasma: N/A

KDE Plasma Version: N/A
KDE Frameworks Version: 5.96.0
Qt Version: 6.3.1

ADDITIONAL INFORMATION
Full log: https://gist.github.com/PhotonQuantum/5ff9d088feed4dfb24d20b9523d41ba0
The newly installed version of `qca` is 2.3.4