Opened 13 years ago

Closed 13 years ago

#33949 closed defect (worksforme)

subversion: Security.h can't be found.

Reported by: francisderive@… Owned by: danielluke (Daniel J. Luke)
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc: blair (Blair Zajac)
Port: subversion

Description (last modified by ryandesign (Ryan Carsten Schmidt))

:info:build subversion/libsvn_subr/macos_keychain.c:41:10: fatal error: 'Security/Security.h' file not found
:info:build #include <Security/Security.h>
:info:build          ^
:info:build 1 error generated.
:info:build make: *** [subversion/libsvn_subr/macos_keychain.lo] Error 1

In the subversion-1.7.4.tar expanded download I see this in the file macos_keychain.c:41:10

#ifdef SVN_HAVE_KEYCHAIN_SERVICES

#include <Security/Security.h>

So it appears that SVN_HAVE_KEYCHAIN_SERVICES might be defined - seems accurate - and Security.h can't be found : How to ?

Attachments (4)

main.log (22.6 KB) - added by francisderive@… 13 years ago.
main 1.log (74.2 KB) - added by francisderive@… 13 years ago.
sudo port clean subversion; self update; port install subversion
ls-l-opt-local.zip (6.1 KB) - added by francisderive@… 13 years ago.
ls-l-usr-local.zip (4.7 KB) - added by francisderive@… 13 years ago.

Download all attachments as: .zip

Change History (10)

Changed 13 years ago by francisderive@…

Attachment: main.log added

comment:1 Changed 13 years ago by francisderive@…

Cc: Ryan Schmidt <ryandesign@…> francisderive@… added; Ryan Schmidt <ryandesign@…> removed

Cc Me!

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: blair@… added; Ryan Schmidt <ryandesign@…> francisderive@… removed
Description: modified (diff)
Keywords: subversion SVN_HAVE_KEYCHAIN_SERVICES fileNotFound Security.h removed
Milestone: MacPorts 2.1.0
Owner: changed from macports-tickets@… to dluke@…
Port: subversion added; subversion-1.7.4 removed
Priority: HighNormal
Summary: Error building Subversion 1.7.4 - Security.h can't be found.subversion: Security.h can't be found.

The main.log you attached is incomplete (contains lines saying "Skipping completed"). Please "sudo port clean subversion" and try again, then attach the new main.log.

Changed 13 years ago by francisderive@…

Attachment: main 1.log added

sudo port clean subversion; self update; port install subversion

comment:3 Changed 13 years ago by danielluke (Daniel J. Luke)

Can you include some details about your setup? Anything in /usr/local that might be causing an issue?

This builds fine for me on 10.7 (x86-64). You could use the +disable_keychain variant to get it to build (if you don't want/need the keychain support) but you shouldn't need to do that to build it.

comment:4 Changed 13 years ago by francisderive@…

Please find herein the archives ls-l-usr-local.zip and ls-l-opt-local.zip. Ask more if needed.

I give above about "opt/local" because macports's place is there - I believe.

I wouldn't mind having the disable_keychain - at least to recall the way to use variants as I come back to macports after a big while and need browsing more in-line docs - but I prefer to cure a defect rather than to escape from it.

Changed 13 years ago by francisderive@…

Attachment: ls-l-opt-local.zip added

Changed 13 years ago by francisderive@…

Attachment: ls-l-usr-local.zip added

comment:5 Changed 13 years ago by danielluke (Daniel J. Luke)

... and you have /System/Library/Frameworks/Security.framework/ (untouched by you) and nothing with a conflicting name in /Library/Frameworks?

comment:6 Changed 13 years ago by danielluke (Daniel J. Luke)

Resolution: worksforme
Status: newclosed

This builds fine on my 10.7 and 10.5 machines (and also on the buildbot for 10.6/10.7). We're not going to be able to figure out what is unique with your system that is causing this to fail for you.

Note: See TracTickets for help on using tickets.