-
Notifications
You must be signed in to change notification settings - Fork 712
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MacOS: master fails to compile with Xcode-10 #1485
Comments
Fixing this problem allows the compilation to proceed, but the build still fails in
The missing file exists where one would expect Xcode C++ headers to reside:
The fact that OpenSC.tokend is built with |
I also hit your first problem. Your patch fixes the problem for me. |
@bwesterb how did you avoid or fix the second problem? Or are you not using |
I didn't hit it when running |
What OS are you running on? The process your described does not build OpenSC.tokend, and in general is suitable for Linux. |
macOS Mojave |
I see. So Safari and Apple Mail (and system components for login, screensaver unlock, etc.) can work with the token regardless, via |
Actually I only use pkcs11.so to use a yubikey to store my ssh private key. |
@mouse07410 please make a PR at https://github.com/OpenSC/OpenSC.tokend |
@frankmorgner I wish I knew how to fix the tokend build on Mojave (or even with Xcode-10). In fact, that's what stopping me from upgrading my main machine to Mojave right now. |
c3bef7d fixed the issue for me, thanks! |
- add upstream patch to fix errors on Xcode 10 [1] - add patch to fix errors on Xcode 10+macOS 13 [2] [1] OpenSC/OpenSC#1485 [2] OpenSC/OpenSC#1486 Fixes: https://trac.macports.org/ticket/57535
- add upstream patch to fix errors on Xcode 10 [1] - add patch to fix errors on Xcode 10+macOS 13 [2] [1] OpenSC/OpenSC#1485 [2] OpenSC/OpenSC#1486 Fixes: https://trac.macports.org/ticket/57535
Problem Description
Xcode-10 in file
defines macro
PCSC_API
, which is re-defined insrc/libopensc/internal-winscard.h
.Proposed Resolution
Actually, the above fix should include guards - Xcode-9 and prior did not seem to define that macro, at least compilation did not fail...
Steps to reproduce
Just try a clean compile, like
Observe the results.
Logs
The text was updated successfully, but these errors were encountered: