Bug 377928

Summary: kwallet fails to build under macOS
Product: [Frameworks and Libraries] frameworks-kwallet Reporter: Yurii Kolesnykov <yurii.kolesnykov>
Component: generalAssignee: Valentin Rusu <valir>
Status: REPORTED ---    
Severity: critical CC: guysoft, kdelibs-bugs, yurii.kolesnykov
Priority: NOR    
Version: 5.32.0   
Target Milestone: ---   
Platform: Homebrew (macOS)   
OS: macOS   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Comment 1 Yurii Kolesnykov 2017-03-23 18:59:05 UTC
The most interesting part is:

make[2]: *** No rule to make target `/usr/local/Cellar/gpgme/1.7.0/lib/libgpgme.so', needed by `src/runtime/kwalletd/backend/libkwalletbackend5.5.32.0.dylib'. Stop.
Comment 2 Yurii Kolesnykov 2017-03-23 18:59:37 UTC
$ brew uninstall gpgme
solves problem
Comment 3 Kevin Funk 2017-04-04 18:48:29 UTC
Also a problem on Linux for me:
makeobj[0]: Entering directory `/home/kfunk/devel/build/kf5/kwallet'
ninja: error: '/usr/lib/x86_64-linux-gnu/libgpgme.so', needed by 'src/runtime/kwalletd/backend/libkwalletbackend5.so.5.33.0', missing and no known rule to make it
makeobj[0]: Leaving directory `/home/kfunk/devel/build/kf5/kwallet'
Comment 4 Guy Sheffer 2022-04-04 08:07:46 UTC
Hey, I have the same issue in 2022, ubuntu 21.10

```
# kdesrc-build running: 'gmake' '-j' '4'
# from directory: /home/guy/kde/build/kwallet
[  2%] Built target docs-kwallet-query-kwallet-query-1
[  2%] Automatic MOC for target kwalletbackend5
[  2%] Automatic MOC for target KF5Wallet
[  2%] Built target KF5Wallet_autogen
[  2%] Built target kwalletbackend5_autogen
gmake[2]: *** No rule to make target '/usr/lib/x86_64-linux-gnu/libgpgme.so', needed by 'bin/libkwalletbackend5.so.5.93.0'.  Stop.
gmake[1]: *** [CMakeFiles/Makefile2:677: src/runtime/kwalletd/backend/CMakeFiles/kwalletbackend5.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
[  8%] Built target KF5Wallet
gmake: *** [Makefile:160: all] Error 2
```

Any idea what can be done?
Comment 5 Guy Sheffer 2022-04-04 08:14:14 UTC
On ubuntu runing:
sudo apt-get install libgpgme-dev solves the issue. its not set as a build-dep for some reason.