.... compat/apple-common-crypto.h: In function 'git_CC_EVP_EncodeBlock': compat/apple-common-crypto.h:32: error: 'SecTransformRef' undeclared (first use in this function) compat/apple-common-crypto.h:32: error: (Each undeclared identifier is reported only once compat/apple-common-crypto.h:32: error: for each function it appears in.) compat/apple-common-crypto.h:32: error: expected ';' before 'encoder' compat/apple-common-crypto.h:36: error: 'encoder' undeclared (first use in this function) compat/apple-common-crypto.h:36: warning: implicit declaration of function 'SecEncodeTransformCreate' compat/apple-common-crypto.h:36: error: 'kSecBase64Encoding' undeclared (first use in this function) compat/apple-common-crypto.h:40: warning: implicit declaration of function 'SecTransformSetAttribute' compat/apple-common-crypto.h:40: error: 'kSecTransformInputAttributeName' undeclared (first use in this function) compat/apple-common-crypto.h:44: warning: implicit declaration of function 'SecTransformExecute' compat/apple-common-crypto.h:44: warning: assignment makes pointer from integer without a cast compat/apple-common-crypto.h: In function 'git_CC_EVP_DecodeBlock': compat/apple-common-crypto.h:62: error: 'SecTransformRef' undeclared (first use in this function) compat/apple-common-crypto.h:62: error: expected ';' before 'decoder' compat/apple-common-crypto.h:66: error: 'decoder' undeclared (first use in this function) compat/apple-common-crypto.h:66: warning: implicit declaration of function 'SecDecodeTransformCreate' compat/apple-common-crypto.h:66: error: 'kSecBase64Encoding' undeclared (first use in this function) compat/apple-common-crypto.h:70: error: 'kSecTransformInputAttributeName' undeclared (first use in this function) compat/apple-common-crypto.h:74: warning: assignment makes pointer from integer without a cast Portage 2.2.7-prefix (prefix/darwin/macos/10.8/x86, gcc-4.2.1, unavailable, 10.8.0 i386) ================================================================= System uname: Darwin-10.8.0-i386-32bit Timestamp of tree: Fri, 20 Dec 2013 16:06:17 +0000 distcc 3.1-toolwhip.1 i386-apple-darwin10.0 [disabled] ccache version 3.1.9 [enabled] app-shells/bash: 4.2_p39-r1 dev-lang/python: 2.7.5-r4, 3.3.3 dev-util/ccache: 3.1.9-r3 dev-util/cmake: 2.8.12.1-r2 dev-util/pkgconfig: 0.28 sys-devel/autoconf: 2.69 sys-devel/automake: 1.11.6, 1.12.4, 1.14 sys-devel/gcc-config: 1.8-r00.1 sys-devel/libtool: 2.4.2 sys-devel/make: 4.0-r1 Repositories: gentoo_prefix location: /Users/junghans/Gentoo/usr/portage sync-type: rsync sync-uri: rsync://prefix.gentooexperimental.org/gentoo-portage-prefix priority: -1000 aliases: gentoo cj-overlay location: /Users/junghans/Gentoo/var/lib/layman/cj-overlay masters: gentoo_prefix priority: 0 science location: /Users/junghans/Gentoo/var/lib/layman/science masters: gentoo_prefix priority: 1 lanl-overlay location: /Users/junghans/Gentoo/var/lib/layman/lanl-overlay masters: gentoo_prefix science priority: 2 ACCEPT_KEYWORDS="~x86-macos" ACCEPT_LICENSE="* -@EULA" ACCEPT_PROPERTIES="*" ACCEPT_RESTRICT="*" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ARCH="x86-macos" AUTOCLEAN="yes" BOOTSTRAP_USE="cxx unicode python_targets_python3_2 python_targets_python2_7" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" CBUILD="i686-apple-darwin12" CFLAGS="-O2 -pipe -march=prescott -g" CHOST="i686-apple-darwin12" CLEAN_DELAY="5" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" COLLISION_IGNORE="/lib/modules/* *.py[co] *$py.class */dropin.cache" COLORSCHEME1="0" CONFIGURE_EPREFIX="/Users/junghans/Gentoo" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -march=prescott -g" DEFAULT_PATH="/Users/junghans/Gentoo/usr/sbin:/Users/junghans/Gentoo/usr/bin:/Users/junghans/Gentoo/sbin:/Users/junghans/Gentoo/bin" DISPLAY="" DISTDIR="/Users/junghans/Gentoo/usr/portage/distfiles" ECVS_PROXY="proxyout.lanl.gov" ECVS_PROXY_PORT="8080" EDITOR="/Users/junghans/Gentoo/usr/bin/vi" ELIBC="Darwin" EMERGE_DEFAULT_OPTS="--verbose --jobs=3 --load-average=3 --with-bdeps=y --autounmask=y --autounmask-write=y" EMERGE_WARNING_DELAY="10" EPREFIX="/Users/junghans/Gentoo" EROOT="/Users/junghans/Gentoo/" EXTRA_PATH="/usr/bin:/bin" FCFLAGS="" FEATURES="assume-digests binpkg-logs ccache collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles force-prefix merge-sync news nostrip parallel-fetch preserve-libs protect-owned sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FETCHCOMMAND="wget -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}"" FETCHCOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}"" FETCHCOMMAND_SFTP="bash -c "x=\${2#sftp://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; eval \"declare -a ssh_opts=(\${3})\" ; exec sftp -P \${port} \"\${ssh_opts[@]}\" \"\${host}:/\${x#*/}\" \"\$1\"" sftp "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}"" FETCHCOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec rsync --rsh=\"ssh -p\${port} \${3}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}"" FFLAGS="" GCC_SPECS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" GIT_PROXY_COMMAND="/Users/junghans/Gentoo/usr/libexec/git-core/git-proxy" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="" HG="/Users/junghans/Gentoo/usr/bin/hg" HOME="/Users/junghans" INFOPATH="/Users/junghans/Gentoo/usr/share/info:/Users/junghans/Gentoo/usr/share/gcc-data/i686-apple-darwin10/4.2.1/info" INPUT_DEVICES="evdev mouse keyboard" IUSE_IMPLICIT="prefix" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LC_MESSAGES="C" LDFLAGS="-Wl,-dead_strip_dylibs -g" LESS="-R -M --shift 5" LESSOPEN="|lesspipe %s" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" MACOSSANDBOX_PATHS="/dev/fd/ /private/tmp/ /private/var/tmp/ @@PORTAGE_BUILDDIR@@/ @@PORTAGE_ACTUAL_DISTDIR@@/" MACOSSANDBOX_PATHS_CONTENT_ONLY="/dev/null /dev/dtracehelper /dev/tty /private/var/run/syslog" MACOSX_DEPLOYMENT_TARGET="10.8" MAKEOPTS="-j3" MANPATH="/Users/junghans/Gentoo/usr/local/share/man:/Users/junghans/Gentoo/usr/share/man:/Users/junghans/Gentoo/usr/share/gcc-data/i686-apple-darwin10/4.2.1/man:/Users/junghans/Gentoo//usr/share/binutils-data/i686-apple-darwin10/4.3/man:/usr/share/man" NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" OPENGL_PROFILE="xorg-x11" PAGER="/Users/junghans/Gentoo/usr/bin/less" PATH="/Users/junghans/bin:/Users/junghans/Gentoo/usr/local/bin:/Users/junghans/Gentoo/usr/bin:/Users/junghans/Gentoo/bin:/Users/junghans/Gentoo/opt/bin:/Users/junghans/Gentoo/usr/sbin:/Users/junghans/Gentoo/sbin:/Users/junghans/Gentoo/usr/i686-apple-darwin10/gcc-bin/4.2.1:/usr/bin:/bin:/usr/sbin:/sbin" PHP_TARGETS="php5-5" PKGDIR="/Users/junghans/Gentoo/usr/portage/packages" PKG_CONFIG_PATH="/Users/junghans/Gentoo/usr/lib/pkgconfig:/Users/junghans/Gentoo/usr/share/pkgconfig" PORTAGE_ARCHLIST="ppc sparc64-freebsd ppc-openbsd x86-openbsd ppc64 x86-winnt x86-fbsd ppc-aix alpha arm x86-freebsd s390 amd64 arm-linux x86-macos x64-openbsd ia64-hpux hppa x86-netbsd ppc64-linux x86-cygwin amd64-linux ia64-linux x86 sparc-solaris x64-freebsd sparc64-solaris x86-linux x64-macos sparc m68k-mint ia64 mips ppc-macos x86-interix hppa-hpux amd64-fbsd x64-solaris m68k sh x86-solaris sparc-fbsd" PORTAGE_BIN_PATH="/Users/junghans/Gentoo/usr/lib/portage/bin" PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png" PORTAGE_CONFIGROOT="/Users/junghans/Gentoo/" PORTAGE_DEBUG="0" PORTAGE_DEPCACHEDIR="/Users/junghans/Gentoo/var/cache/edb/dep" PORTAGE_ELOG_CLASSES="warn error" PORTAGE_ELOG_MAILFROM="junghans@localhost" PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}" PORTAGE_ELOG_MAILURI="junghans" PORTAGE_ELOG_SYSTEM="save" PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5" PORTAGE_FETCH_RESUME_MIN_SIZE="350K" PORTAGE_GID="20" PORTAGE_GPG_SIGNING_COMMAND="gpg --sign --digest-algo SHA256 --clearsign --yes --default-key "${PORTAGE_GPG_KEY}" --homedir "${PORTAGE_GPG_DIR}" "${FILE}"" PORTAGE_GROUP="staff" PORTAGE_INST_GID="20" PORTAGE_INST_UID="502" PORTAGE_INTERNAL_CALLER="1" PORTAGE_OVERRIDE_EPREFIX="/Users/junghans/Gentoo" PORTAGE_PYM_PATH="/Users/junghans/Gentoo/usr/lib/portage/pym" PORTAGE_PYTHONPATH="/Users/junghans/Gentoo/usr/lib/portage/pym" PORTAGE_REPOSITORIES="[DEFAULT] main-repo = gentoo_prefix [cj-overlay] location = /Users/junghans/Gentoo/var/lib/layman/cj-overlay masters = gentoo_prefix priority = 0 [gentoo] aliases = gentoo location = /Users/junghans/Gentoo/usr/portage masters = priority = -1000 sync-type = rsync sync-uri = rsync://prefix.gentooexperimental.org/gentoo-portage-prefix [gentoo_prefix] aliases = gentoo location = /Users/junghans/Gentoo/usr/portage masters = priority = -1000 sync-type = rsync sync-uri = rsync://prefix.gentooexperimental.org/gentoo-portage-prefix [lanl-overlay] location = /Users/junghans/Gentoo/var/lib/layman/lanl-overlay masters = gentoo_prefix science priority = 2 [science] location = /Users/junghans/Gentoo/var/lib/layman/science masters = gentoo_prefix priority = 1 " PORTAGE_ROOT_USER="junghans" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_RSYNC_RETRIES="-1" PORTAGE_SYNC_STALE="30" PORTAGE_TMPDIR="/Users/junghans/Gentoo/var/tmp" PORTAGE_USER="junghans" PORTAGE_VERBOSE="1" PORTAGE_WORKDIR_MODE="0700" PORTAGE_XATTR_EXCLUDE="security.* system.nfs4_acl" PORTDIR="/Users/junghans/Gentoo/usr/portage" PORTDIR_OVERLAY="/Users/junghans/Gentoo/var/lib/layman/cj-overlay /Users/junghans/Gentoo/var/lib/layman/science /Users/junghans/Gentoo/var/lib/layman/lanl-overlay" PORT_LOGDIR_CLEAN="find "${PORT_LOGDIR}" -type f ! -name "summary.log*" -mtime +7 -delete" PREFIX_DISABLE_GEN_USR_LDSCRIPT="yes" PROFILE_ONLY_VARIABLES="ARCH ELIBC IUSE_IMPLICIT KERNEL USERLAND USE_EXPAND_IMPLICIT USE_EXPAND_UNPREFIXED USE_EXPAND_VALUES_ARCH USE_EXPAND_VALUES_ELIBC USE_EXPAND_VALUES_KERNEL USE_EXPAND_VALUES_USERLAND" PWD="/Users/junghans" PYTHONDONTWRITEBYTECODE="1" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RESUMECOMMAND="wget -c -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}"" RESUMECOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}"" RESUMECOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec rsync --rsh=\"ssh -p\${port} \${3}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}"" ROOT="/" ROOTPATH="/Users/junghans/Gentoo/opt/bin:/Users/junghans/Gentoo/usr/i686-apple-darwin10/gcc-bin/4.2.1" RPMDIR="/Users/junghans/Gentoo/usr/portage/rpm" RSYNC_PROXY="proxyout.lanl.gov:8080" RUBY_TARGETS="ruby19 ruby18" SHELL="/Users/junghans/Gentoo/bin/bash" SHLVL="1" SSH_AUTH_SOCK="/tmp/ssh-rXaEA5Uzhy/agent.87021" SSH_CONNECTION="130.55.115.56 47956 130.55.115.67 22" SYNC="rsync://prefix.gentooexperimental.org/gentoo-portage-prefix" TERM="xterm" UNINSTALL_IGNORE="/lib/modules/*" USE="X aqua bash-completion coreaudio cracklib cvs cxx fortran git ipv6 jpeg mercurial mmx mmxext modules ncurses nls objc objc++ png postscript prefix readline sse sse2 ssl subversion unicode vim x86-macos zlib" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="Darwin" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev mouse keyboard" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" USER="junghans" USERLAND="GNU" USE_EXPAND="ABI_MIPS ABI_X86 APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES CAMERAS COLLECTD_PLUGINS CROSSCOMPILE_OPTS CURL_SSL DRACUT_MODULES DVB_CARDS ELIBC ENLIGHTENMENT_MODULES FCDSL_CARDS FFTOOLS FOO2ZJS_DEVICES FRITZCAPI_CARDS GPSD_PROTOCOLS GRUB_PLATFORMS INPUT_DEVICES KERNEL LCD_DEVICES LIBREOFFICE_EXTENSIONS LINGUAS LIRC_DEVICES MONKEYD_PLUGINS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL OFED_DRIVERS OFFICE_IMPLEMENTATION OPENMPI_FABRICS OPENMPI_OFED_FEATURES OPENMPI_RM PHP_TARGETS PYTHON_SINGLE_TARGET PYTHON_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS USERLAND VIDEO_CARDS VOICEMAIL_STORAGE XFCE_PLUGINS XTABLES_ADDONS" USE_EXPAND_HIDDEN="ABI_MIPS ABI_X86 CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND" USE_EXPAND_IMPLICIT="ARCH ELIBC KERNEL USERLAND" USE_EXPAND_UNPREFIXED="ARCH" USE_EXPAND_VALUES_ARCH="alpha amd64 amd64-fbsd amd64-linux arm arm-linux hppa hppa-hpux ia64 ia64-hpux ia64-linux m68k m68k-mint mips ppc ppc64 ppc64-linux ppc-aix ppc-macos ppc-openbsd s390 sh sparc sparc64-freebsd sparc64-solaris sparc-fbsd sparc-solaris x64-freebsd x64-macos x64-openbsd x64-solaris x86 x86-cygwin x86-fbsd x86-freebsd x86-interix x86-linux x86-macos x86-netbsd x86-openbsd x86-solaris x86-winnt" USE_EXPAND_VALUES_ELIBC="AIX Cygwin Darwin FreeBSD glibc HPUX Interix mintlib musl NetBSD OpenBSD SunOS uclibc Winnt" USE_EXPAND_VALUES_KERNEL="AIX Cygwin Darwin FreeBSD freemint HPUX Interix linux NetBSD OpenBSD SunOS Winnt" USE_EXPAND_VALUES_USERLAND="BSD GNU" USE_ORDER="env:pkg:conf:defaults:pkginternal:repo:env.d" VIDEO_CARDS="vesa" XDG_DATA_DIRS="/Users/junghans/Gentoo/usr/share" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
[ebuild R ] dev-vcs/git-1.8.5.2 USE="blksha1 curl gpg iconv nls pcre perl python threads webdav -cgi -cvs -doc -emacs -gnome-keyring -gtk -highlight (-mediawiki) (-ppcsha1) -subversion {-test} -tk -xinetd" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6" 5,201 kB what are your USE-flags for git?
$ emerge -p git These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] dev-vcs/git-1.8.5.2 [1.8.4.4] USE="blksha1 curl cvs gpg iconv nls pcre perl python threads tk webdav -cgi -doc -emacs -gnome-keyring -gtk -highlight (-mediawiki) (-ppcsha1) -subversion {-test} -xinetd" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6" 0 kB Total: 1 package (1 upgrade), Size of downloads: 0 kB but USE=-cvs makes no difference.
(In reply to Christoph Junghans from comment #0) > System uname: Darwin-10.8.0-i386-32bit This might be a 32-bit issue!
ok, I should try that tonight
Hmmm, SecTransformRef is available since 10.7, maybe the right header file isn't included. Appears to be a 10.8-only problem (works on 10.6 and 10.7 for me)
got dev-vcs/git-1.8.5.3 installed, by the way
Got it: <https://developer.apple.com/library/mac/documentation/System/Reference/SecEncryptTransform_header_reference/Reference/reference.html> SecEncryptTransform.h Reference ... Availability Available in OS X v10.7 and later. This Mac is OS X v10.6, but the profile set work to 10.8. My fault!