Bug 377928 - kwallet fails to build under macOS
Summary: kwallet fails to build under macOS
Status: REPORTED
Alias: None
Product: frameworks-kwallet
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.32.0
Platform: Homebrew (macOS) macOS
: NOR critical
Target Milestone: ---
Assignee: Valentin Rusu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-22 14:27 UTC by Yurii Kolesnykov
Modified: 2022-04-04 08:41 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.