git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Build issue for git 1.8.5.1 under Mac OS X 10.8 (Mountain Lion)

From
MSMarius Schamschula <mschamschula@gmail.com>
Date
Dec 4, 2013, 18:48 UTC
Message-ID
<6D4FDF40-DD9A-4875-9D8F-9678BE95FF73@gmail.com>
Hi all,
Over the years I have built many versions of git and released them on hmug.org. git 1.8.5.1 builds just fine under OS 10.7 (Lion) and 10.9 (Mavericks), but the build fails (also for 1.8.5) on 10.8 (Mountain Lion):
<snip>
GIT_VERSION = 1.8.5.1
    * new build flags
    CC credential-store.o
In file included from git-compat-util.h:330:0,
                 from cache.h:4,
                 from credential-store.c:1:
compat/apple-common-crypto.h: In function 'git_CC_EVP_EncodeBlock':
compat/apple-common-crypto.h:32:2: error: 'SecTransformRef' undeclared (first use in this function)
compat/apple-common-crypto.h:32:2: note: each undeclared identifier is reported only once for each function it appears in
compat/apple-common-crypto.h:32:18: error: expected ';' before 'encoder'
compat/apple-common-crypto.h:36:2: error: 'encoder' undeclared (first use in this function)
compat/apple-common-crypto.h:36:2: warning: implicit declaration of function 'SecEncodeTransformCreate'
compat/apple-common-crypto.h:36:37: error: 'kSecBase64Encoding' undeclared (first use in this function)
compat/apple-common-crypto.h:40:2: warning: implicit declaration of function 'SecTransformSetAttribute'
compat/apple-common-crypto.h:40:36: error: 'kSecTransformInputAttributeName' undeclared (first use in this function)
compat/apple-common-crypto.h:44:2: warning: implicit declaration of function 'SecTransformExecute'
compat/apple-common-crypto.h: In function 'git_CC_EVP_DecodeBlock':
compat/apple-common-crypto.h:62:2: error: 'SecTransformRef' undeclared (first use in this function)
compat/apple-common-crypto.h:62:18: error: expected ';' before 'decoder'
compat/apple-common-crypto.h:66:2: error: 'decoder' undeclared (first use in this function)
compat/apple-common-crypto.h:66:2: warning: implicit declaration of function 'SecDecodeTransformCreate'
compat/apple-common-crypto.h:66:37: error: 'kSecBase64Encoding' undeclared (first use in this function)
compat/apple-common-crypto.h:70:36: error: 'kSecTransformInputAttributeName' undeclared (first use in this function)
Makefile:1975: recipe for target 'credential-store.o' failed
make: *** [credential-store.o] Error 1
</snip>
Apparently a header issue: I tried force feeding the Security/SecEncryptTransform.h file, and just got an other error…
Any help would be welcome!
Thanks in advance.

Marius -- Marius Schamschula

Next: Torsten Bögershausen
Message 1 of 2 in “Build issue for git 1.8.5.1 under Mac OS X 10.8 (Mountain Lion)”
  1. Marius SchamschulaDec 4, 2013
  2. Torsten BögershausenDec 5, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.