[MacPorts] #39819: openssh @6.2p2 fails to configure
#39819: openssh @6.2p2 fails to configure ------------------------------+-------------------------------- Reporter: nonstop.server@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: leopard | Port: openssh ------------------------------+-------------------------------- Upgrading openssh fails during configure phase with error message: {{{ checking for gcc... /usr/bin/gcc-4.0 checking whether the C compiler works... no configure: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_openssh/openssh/work/openssh-6.2p2': configure: error: C compiler cannot create executables See `config.log' for more details Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_openssh/openssh/work/openssh-6.2p2" && ./configure --prefix=/opt/local --with-ssl-dir=/opt/local --sysconfdir=/opt/local/etc/ssh --with-privsep-path=/opt/local/var/empty --with-md5-passwords --with-pid-dir=/opt/local/var/run --with-tcp-wrappers --with-pam --mandir=/opt/local/share/man --with-zlib=/opt/local --with- kerberos5=/opt/local --with-xauth=/opt/local/bin/xauth --with-libedit --with-4in6 --with-audit=bsm --with-keychain=apple --disable-utmp --disable-wtmp --with-privsep-user=_sshd CFLAGS="-fPIE -O2" CPPFLAGS="-F/System/Library/Frameworks/OpenDirectory.framework -F/System/Library/Frameworks/CoreFoundation.framework -D_UTMPX_COMPAT -D__APPLE_LAUNCHD__ -D__APPLE_MEMBERSHIP__ -D__APPLE_XSAN__" LDFLAGS="-Wl,-pie -framework CoreFoundation -framework OpenDirectory" --with-ldns Exit code: 77 Error: org.macports.configure for port openssh returned: configure failure: command execution failed }}} Version Information: {{{ Mac OS Version: ProductName: Mac OS X ProductVersion: 10.5.8 BuildVersion: 9L31a Darwin 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386 Xcode Version: Xcode 3.1.4 Component versions: DevToolsCore-1204.0; DevToolsSupport-1186.0 BuildVersion: 9M2809 Macports Version: Version: 2.1.3 }}} -- Ticket URL: <https://trac.macports.org/ticket/39819> MacPorts <http://www.macports.org/> Ports system for OS X
#39819: openssh @6.2p2 fails to configure -------------------------------+---------------------- Reporter: nonstop.server@… | Owner: cal@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: leopard Port: openssh | -------------------------------+---------------------- Changes (by cal@…): * owner: macports-tickets@… => cal@… * status: new => assigned Comment: {{{ ld: framework not found OpenDirectory }}} It seems Leopard doesn't use OpenDirectory. Unless you find out yourself what the correct alternative would be for Leopard (if any), I'm just going to advise you to avoid the `+gsskex` variant and disable it in the Portfile. I don't have a Leopard box to test on and have no intention of supporting such an old operating system on a port I don't even maintain. -- Ticket URL: <https://trac.macports.org/ticket/39819#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#39819: openssh @6.2p2 fails to configure -------------------------------+---------------------- Reporter: nonstop.server@… | Owner: cal@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: leopard Port: openssh | -------------------------------+---------------------- Comment (by nonstop.server@…): Replying to [comment:1 cal@…]: Thank you for the advice and your support it's much appreciated.[[BR]] I was able to get openssh to configure and compile with the +gsskex variant enabled using the DirectoryService.framework.[[BR]] I'm not 100% sure this is the correct solution, but so far it seems to be all right.[[BR]] If I encounter any problems I'll fallback on the installation without the +gsskex variant enabled, like you suggested.[[BR]] My difference report has been attached for your inspection. -- Ticket URL: <https://trac.macports.org/ticket/39819#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#39819: openssh @6.2p2 fails to configure -------------------------------+--------------------- Reporter: nonstop.server@… | Owner: cal@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: leopard Port: openssh | -------------------------------+--------------------- Changes (by cal@…): * status: assigned => closed * resolution: => fixed Comment: If that fixes the build for you, that's great – it also works fine on newer versions of OS X. Committed in r108368. -- Ticket URL: <https://trac.macports.org/ticket/39819#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts