Opened 11 years ago

Closed 10 years ago

#23149 closed defect (fixed)

Cannot build SSHKeychain

Reported by: hippallium-macports@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: trac.macports.org@…, mohdfenris@…, ryandesign (Ryan Schmidt)
Port: SSHKeychain

Description

Is there any alternative to this port?

$ sudo port -d install sshkeychain
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/aqua/SSHKeychain
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/aqua/SSHKeychain
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.2.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/xcode-1.0.tcl
DEBUG: Re-registering default for use_configure
DEBUG: Re-registering default for build.cmd
DEBUG: Re-registering default for build.pre_args
DEBUG: Re-registering default for build.target
DEBUG: Re-registering default for destroot.cmd
DEBUG: Re-registering default for destroot.pre_args
DEBUG: Re-registering default for destroot.target
DEBUG: Re-registering default for destroot.destdir
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Requested variant darwin is not provided by port SSHKeychain.
DEBUG: Requested variant i386 is not provided by port SSHKeychain.
DEBUG: Requested variant macosx is not provided by port SSHKeychain.
--->  Computing dependencies for SSHKeychain
DEBUG: Searching for dependency: subversion
DEBUG: Didn't find receipt, going to depspec regex for: subversion
DEBUG: Found Dependency: path: /usr/bin filename: svn regex: ^svn$
DEBUG: Executing org.macports.main (SSHKeychain)
DEBUG: Skipping completed org.macports.fetch (SSHKeychain)
DEBUG: Skipping completed org.macports.checksum (SSHKeychain)
DEBUG: Skipping completed org.macports.extract (SSHKeychain)
DEBUG: Skipping completed org.macports.patch (SSHKeychain)
DEBUG: Skipping completed org.macports.configure (SSHKeychain)
--->  Building SSHKeychain
DEBUG: Executing org.macports.build (SSHKeychain)
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_SSHKeychain/work/0.8.2" && xcodebuild  -target "SSHKeychain" -configuration Deployment build OBJROOT=build/ SYMROOT=build/ MACOSX_DEPLOYMENT_TARGET=10.6 ARCHS=x86_64 SDKROOT= ARCHS=i386'

=== BUILD NATIVE TARGET TunnelRunner OF PROJECT SSHKeychain WITH CONFIGURATION Deployment ===
Check dependencies
GCC 4.2 is not compatible with the Mac OS X 10.4 SDK (file TunnelRunner.c)
GCC 4.2 is not compatible with the Mac OS X 10.4 SDK (file TunnelRunner.c)
** BUILD FAILED **

Error: Target org.macports.build returned: shell command "cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_SSHKeychain/work/0.8.2" && xcodebuild  -target "SSHKeychain" -configuration Deployment build OBJROOT=build/ SYMROOT=build/ MACOSX_DEPLOYMENT_TARGET=10.6 ARCHS=x86_64 SDKROOT= ARCHS=i386" returned error 1
DEBUG: Backtrace: shell command "cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_SSHKeychain/work/0.8.2" && xcodebuild  -target "SSHKeychain" -configuration Deployment build OBJROOT=build/ SYMROOT=build/ MACOSX_DEPLOYMENT_TARGET=10.6 ARCHS=x86_64 SDKROOT= ARCHS=i386" returned error 1
    while executing
"$procedure $targetname"
Warning: the following items did not execute (for SSHKeychain): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

Change History (4)

comment:1 Changed 11 years ago by trac.macports.org@…

Cc: trac.macports.org@… added

Cc Me!

comment:2 Changed 11 years ago by trac.macports.org@…

I managed to fix this and build something that runs by editing the xcodeproj file to change the 10.4/10.4u SDK references to 10.5.

Explanation here: http://blog.maz.nu/post/344121239/sshkeychain-on-snow-leopard

comment:3 Changed 10 years ago by ryandesign (Ryan Schmidt)

Has duplicate #26510.

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

Cc: mohdfenris@… ryandesign@… added
Resolution: fixed
Status: newclosed

Fixed in r71595.

Note: See TracTickets for help on using tickets.