[MacPorts] #35359: OpenSSH configure fails on Mountain Lion
#35359: OpenSSH configure fails on Mountain Lion ------------------------------------------------------------+--------------- Reporter: justus.c79@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 2.1.2 Keywords: "Mountain Lion" libwrap "TCP Wrappers" openssh | Port: openssh ------------------------------------------------------------+--------------- When trying to build OpenSSH on Mountain Lion, it fails to configure due to libwrap check failure. The output I see is: $ sudo port -d install openssh ... checking for libwrap... configure: error: *** libwrap missing ... It looks like libwrap was removed from the OS X 10.8 SDK. I found two possible fixes: 1. Change the configure option --with-tcp-wrapprs to --without-tcp- wrappers 2. Change the MACOSX_DEPLOYMENT_TARGET variable to 10.7 I am unsure what the consequences of option 1 are. -- Ticket URL: <https://trac.macports.org/ticket/35359> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35359: OpenSSH configure fails on Mountain Lion ----------------------------------+----------------------------------------- Reporter: justus.c79@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: mountainlion | Port: openssh ----------------------------------+----------------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => jwa@… * priority: High => Normal * keywords: "Mountain Lion" libwrap "TCP Wrappers" openssh => mountainlion Old description:
When trying to build OpenSSH on Mountain Lion, it fails to configure due to libwrap check failure. The output I see is: $ sudo port -d install openssh ... checking for libwrap... configure: error: *** libwrap missing ...
It looks like libwrap was removed from the OS X 10.8 SDK. I found two possible fixes: 1. Change the configure option --with-tcp-wrapprs to --without-tcp- wrappers 2. Change the MACOSX_DEPLOYMENT_TARGET variable to 10.7
I am unsure what the consequences of option 1 are.
New description: When trying to build OpenSSH on Mountain Lion, it fails to configure due to libwrap check failure. The output I see is: {{{ $ sudo port -d install openssh ... checking for libwrap... configure: error: *** libwrap missing ... }}} It looks like libwrap was removed from the OS X 10.8 SDK. I found two possible fixes: 1. Change the configure option --with-tcp-wrapprs to --without-tcp- wrappers 2. Change the MACOSX_DEPLOYMENT_TARGET variable to 10.7 I am unsure what the consequences of option 1 are. -- -- Ticket URL: <https://trac.macports.org/ticket/35359#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35359: OpenSSH configure fails on Mountain Lion ----------------------------------+----------------------------------------- Reporter: justus.c79@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: mountainlion | Port: openssh ----------------------------------+----------------------------------------- Comment(by justus.c79@…): I found that changing the deployment target to 10.7 does not work. While it will compile OpenSSH correctly, sshd cannot find libwrap at runtime. -- Ticket URL: <https://trac.macports.org/ticket/35359#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35359: OpenSSH configure fails on Mountain Lion ----------------------------------+----------------------------------------- Reporter: justus.c79@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: mountainlion | Port: openssh ----------------------------------+----------------------------------------- Comment(by manzhikov@…): Cc Me! -- Ticket URL: <https://trac.macports.org/ticket/35359#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35359: OpenSSH configure fails on Mountain Lion ----------------------------------+----------------------------------------- Reporter: justus.c79@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: mountainlion | Port: openssh ----------------------------------+----------------------------------------- Comment(by matts@…): "port install tcp_wrappers" before installing openssh. -- Ticket URL: <https://trac.macports.org/ticket/35359#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35359: OpenSSH configure fails on Mountain Lion ----------------------------------+----------------------------------------- Reporter: justus.c79@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: mountainlion | Port: openssh ----------------------------------+----------------------------------------- Comment(by jwa@…): Curious, I checked and: {{{ jwa@bach:openssh> port installed openssh The following ports are currently installed: openssh @6.0p1_0 (active) jwa@bach:openssh> port installed tcp_wrappers None of the specified ports are installed. }}} -- Ticket URL: <https://trac.macports.org/ticket/35359#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35359: OpenSSH configure fails on Mountain Lion ----------------------------------+----------------------------------------- Reporter: justus.c79@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: mountainlion | Port: openssh ----------------------------------+----------------------------------------- Comment(by justus.c79@…): Replying to [comment:9 jwa@…]:
Curious, I checked and: {{{
jwa@bach:openssh> port installed openssh The following ports are currently installed: openssh @6.0p1_0 (active) jwa@bach:openssh> port installed tcp_wrappers None of the specified ports are installed. }}}
This can happen if you upgraded to Mountaion Lion without rebuilding the port or somehow the deployment target was set to 10.7 when OpenSSH was built. If you are running Mountain Lion, uninstall and reinstall openssh to see the failure. You may also want to check which libraries it is linked with using otool -L /opt/local/sbin/sshd; libwrap will probably be unavailable. -- Ticket URL: <https://trac.macports.org/ticket/35359#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35359: OpenSSH configure fails on Mountain Lion ----------------------------------+----------------------------------------- Reporter: justus.c79@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: mountainlion | Port: openssh ----------------------------------+----------------------------------------- Comment(by bruce@…): Could you post specific instructions on how one goes about telling MacPorts to build the package with the --without-tcp-wrappers configure option? -- Ticket URL: <https://trac.macports.org/ticket/35359#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35359: OpenSSH configure fails on Mountain Lion ----------------------------------+----------------------------------------- Reporter: justus.c79@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: mountainlion | Port: openssh ----------------------------------+----------------------------------------- Comment(by justus.c79@…): Replying to [comment:11 bruce@…]:
Could you post specific instructions on how one goes about telling MacPorts to build the package with the --without-tcp-wrappers configure option?
That should not be necessary. As matts pointed out, you can install tcp_wrappers to resolve the issue. I guess the best fix is just to add that dependency to openssh. However, if you want to build without tcp wrappers you will need to modify the port file. Use {{{ port file openssh }}} to get the file location. Then change --with-tcp-warppers to --without- tcp-wrappers in that file. -- Ticket URL: <https://trac.macports.org/ticket/35359#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35359: OpenSSH configure fails on Mountain Lion -----------------------------------+---------------------------------------- Reporter: justus.c79@… | Owner: jwa@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: mountainlion Port: openssh | -----------------------------------+---------------------------------------- Changes (by jwa@…): * status: new => closed * resolution: => fixed Comment: fixed in r96179 -- Ticket URL: <https://trac.macports.org/ticket/35359#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts