macosforge / darwinbuild

Darwinbuild is a collection of tools that assist compilation of the many projects contained in Darwin, the open source base of Apple's macOS operating system.
https://macosforge.github.io/darwinbuild/
Other
129 stars 54 forks source link

Security misses Foundation, SecurityPrivate headers #74

Open macosforgebot opened 15 years ago

macosforgebot commented 15 years ago

te.mlists@… originally submitted this as ticket:76


Steps to reproduce: # darwinbuild Security

Expected: Build working

Real:

cat: /private/var/tmp/Security/Security-36371.sym/BuiltProducts/SecurityPieces/Headers/Security/Authorization.h: No such file or directory cat: /private/var/tmp/Security/Security-36371.sym/BuiltProducts/SecurityPieces/Headers/Security/AuthSession.h: No such file or directory cat: /private/var/tmp/Security/Security-36371.sym/BuiltProducts/SecurityPieces/Headers/Security/SecureTransport.h: No such file or directory cat: /private/var/tmp/Security/Security-36371.sym/BuiltProducts/SecurityPieces/Headers/Security/SecBase.h: No such file or directory cat: /private/var/tmp/Security/Security-36371.sym/BuiltProducts/SecurityPieces/PrivateHeaders/Security/CSCommon.h: No such file or directory cat: /private/var/tmp/Security/Security-36371.sym/BuiltProducts/SecurityPieces/PrivateHeaders/Security/AuthorizationPriv.h: No such file or directory cat: /private/var/tmp/Security/Security-36371.sym/BuiltProducts/SecurityPieces/PrivateHeaders/Security/MacOSErrorStrings.h: No such file or directory cat: /private/var/tmp/Security/Security-36371.sym/BuiltProducts/SecurityPieces/PrivateHeaders/Security/SecureTransportPriv.h: No such file or directory generateErrStrings.mm:5:35: error: Foundation/Foundation.h: No such file or directory generateErrStrings.mm:9:118: error: /private/var/tmp/Security/Security-36371.sym/BuiltProducts/SecurityPieces/Headers/Security/Authorization.h: No such file or dir

macosforgebot commented 15 years ago

aladin@… originally submitted this as comment:1:⁠ticket:76


As a workaround, you can try to unpack / PureFoundation into the buildroot, it solved a lot of problems in our case.

macosforgebot commented 15 years ago

aladin@… originally submitted this as comment:2:⁠ticket:76

macosforgebot commented 15 years ago

aladin@… originally submitted this as comment:3:⁠ticket:76


OOPS. PureFoundation does not provide any Foundation.h header, so it is useless in this case, please discard my previous comments. Security depends on (not only) libsecurity_authorization, libsecurity_ssl, libsecurity_keychain, libsecurity_codesigning which are hard to build (especially the latest ones).

Replying to aladin@…:

As a workaround, you can try to unpack / PureFoundation into the buildroot, it solved a lot of problems in our case.