Bug 402343 - rsatest fails on MacOS Mojave
Summary: rsatest fails on MacOS Mojave
Status: RESOLVED DUPLICATE of bug 401307
Alias: None
Product: qca
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: Git
Platform: Other macOS
: NOR normal
Target Milestone: ---
Assignee: Ivan Romanov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-19 12:39 UTC by jeremija
Modified: 2018-12-20 09:58 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jeremija 2018-12-19 12:39:52 UTC
SUMMARY
rsatest fails on MacOS

STEPS TO REPRODUCE
1. brew install qt
2. git clone git://anongit.kde.org/qca.git
3. cd qca
4. mkdir build
5. cd build/
6. cmake .. -DCMAKE_PREFIX_PATH="/usr/local/opt/qt" -DCMAKE_INSTALL_PREFIX="$(pwd)
7. bin/rsatest

OBSERVED RESULT
RSA not supported!

EXPECTED RESULT
rsatest should not fail

SOFTWARE/OS VERSIONS
MacOS: Mojave 10.14.2
KDE Frameworks Version: 5.53.0
Qt Version: 5.12.0

ADDITIONAL INFORMATION
Related to kdeconnectd startup bug when generating a certificate: https://bugs.kde.org/show_bug.cgi?id=402323
Comment 1 jeremija 2018-12-19 13:42:45 UTC
I was able to make this test pass by adding a flag to cmake: -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl

I also had to manually remove "-lcrpyto" from "build/plugins/qca-ossl/CMakeFiles/qca-ossl.dir/link.txt" because the compilation would fail with:

```
ld: library not found for -lcrypto
```

I'm not sure if this has any bad consequences, but the compilation and rsatest succeed after that.
Comment 2 Christoph Feck 2018-12-20 01:01:06 UTC
Does comment #1 indicate this is a duplicate of bug 401307?
Comment 3 jeremija 2018-12-20 09:58:45 UTC
Yeah, sorry! I didn't realize it at the time I was writing the report.

*** This bug has been marked as a duplicate of bug 401307 ***