Bug 478782

Summary: Packaging issue macOS 14.2.1
Product: [Frameworks and Libraries] frameworks-kwallet Reporter: Thomas Dangl <thomas.dangl>
Component: generalAssignee: Valentin Rusu <valir>
Status: REPORTED ---    
Severity: normal CC: kdelibs-bugs
Priority: NOR    
Version: 5.111.0   
Target Milestone: ---   
Platform: Homebrew (macOS)   
OS: macOS   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Thomas Dangl 2023-12-20 18:44:54 UTC
SUMMARY
After upgrading the system to macOS 14.2.1, the installation of kf5-wallet fails.
The dependency qca is installed correctly.

STEPS TO REPRODUCE
1. Install kf5-kwallet 5.102.0
2. Upgrade to macOS 14.2.1
3. Run brew upgrade to upgrade to 5.111.0

OBSERVED RESULT

Last 15 lines from /Users/thomas/Library/Logs/Homebrew/kf5-kwallet/01.cmake:
  CMake did not find one.

  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!

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

EXPECTED RESULT

Successful installation of the package
Comment 1 Thomas Dangl 2023-12-20 19:36:42 UTC
I found that this occurs because there is already qca packed for Qt6.
The issue can be fixed by manually downgrading to e59d0db1c25ef185abd92c6d177b4bae73b3094f.