Opened 5 years ago

Last modified 4 years ago

#59417 assigned defect

git @2.23.0_1: fatal error: 'Security/Security.h' file not found

Reported by: Romendakil Owned by: ci42
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: git

Description (last modified by jmroot (Joshua Root))

Installation of port git fails:

--->  Attempting to fetch git-2.23.0_1+credential_osxkeychain+diff_highlight+doc+pcre+perl5_26.darwin_18.x86_64.tbz2 from http://lil.fr.packages.macports.org/git
--->  Attempting to fetch git-2.23.0_1+credential_osxkeychain+diff_highlight+doc+pcre+perl5_26.darwin_18.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/git
--->  Building git
Error: Failed to build git: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_git/git/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port git failed

This is on MacOS 10.14.6 Mojave with MacPorts v2.6.2.

Attachments (1)

main.log (810.8 KB) - added by Romendakil 5 years ago.
Log file

Download all attachments as: .zip

Change History (3)

comment:1 Changed 5 years ago by jmroot (Joshua Root)

Description: modified (diff)
Owner: set to ci42
Port: git added
Status: newassigned
Summary: Fetching sources for port git failsgit @2.23.0_1 build failure

Please attach the log.

Changed 5 years ago by Romendakil

Attachment: main.log added

Log file

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

Summary: git @2.23.0_1 build failuregit @2.23.0_1: fatal error: 'Security/Security.h' file not found

Sorry we forgot about this ticket, which is now a year old. Perhaps you are no longer experiencing the problem. If so, we could close this ticket since nobody else has reported a problem like this.

If you are still experiencing the problem, the failure in the log was:

fatal error: 'Security/Security.h' file not found

but there are many warnings earlier in the log for many different OS files, such as:

ld: warning: text-based stub file /usr/lib/libSystem.tbd and library file /usr/lib/libSystem.dylib are out of sync. Falling back to library file for linking.

This is not a warning I've seen very often before, and it may indicate a problem that you should investigate and fix.

Updating to the latest Xcode and command line tools compatible with your OS version is the first thing I'd try.

Note: See TracTickets for help on using tickets.