[MacPorts] #40690: python27 Configure error - build error on 10.9
#40690: python27 Configure error - build error on 10.9 ----------------------+-------------------------------- Reporter: sofcik@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: | Port: python27 ----------------------+-------------------------------- I am using 10.9 GM and Xcode version 5.0.1 GM. When trying to install python27 (wine-devel depends on it) I get configure error related to getaddrinfo() function: {{{ :info:configure checking for getaddrinfo... no :info:configure :info:configure Fatal: You must get working getaddrinfo() function. :info:configure or you can specify "--disable-ipv6". :info:configure Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/Python-2.7.5" && ./configure --prefix=/opt/local --disable-dependency-tracking --enable- framework=/opt/local/Library/Frameworks --enable-ipv6 --enable- universalsdk=/ :info:configure Exit code: 1 }}} Logs attached. -- Ticket URL: <https://trac.macports.org/ticket/40690> MacPorts <http://www.macports.org/> Ports system for OS X
#40690: python27: Configure error: Fatal: You must get working getaddrinfo() function. -----------------------+----------------------- Reporter: sofcik@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: mavericks Port: python27 | -----------------------+----------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => jwa@… * cc: jwa@… (removed) * keywords: => mavericks Comment: We probably can't help with Mavericks issues until it's been released. -- Ticket URL: <https://trac.macports.org/ticket/40690#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#40690: python27: Configure error: Fatal: You must get working getaddrinfo() function. -----------------------+----------------------- Reporter: sofcik@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: mavericks Port: python27 | -----------------------+----------------------- Comment (by mattbrocklehurst@…): Note sure if this helps but I managed to get wine to compile (not tried it yet) on OSX 10.9 with latest SVN ports... Seems like this patch seems to screw things up some what patch-configure-universal.diff I *hacked* out the below (using the comment char #) #variant universal { # This patch will need updating when 2.7.6 is released, as ARCH_RUN_32BIT # will once again be used for something. See ticket #39270. # patchfiles-append patch-configure-universal.diff # post-patch { # reinplace \ # "s|__UNIVERSAL_ARCHFLAGS__|${configure.universal_cflags}|" \ # ${worksrcpath}/configure # } # if {${configure.sdkroot} != ""} { # configure.args-append --enable- universalsdk=${configure.sdkroot} # } else { # configure.args-append --enable-universalsdk=/ # } #} in /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/python27/Portfile Seems to have sorted it building. Probably (well definitely) not the right solution but should hopefully get you a bit further. -- Ticket URL: <https://trac.macports.org/ticket/40690#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#40690: python27: Configure error: Fatal: You must get working getaddrinfo() function. -----------------------+----------------------- Reporter: sofcik@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: mavericks Port: python27 | -----------------------+----------------------- Comment (by gonhidi@…): Are your Xcode command line tools properly installed? I also came across the python27 +universal issue you describe; many `./configure` checks such as the getaddrinfo were negatve because `gcc -o conftest -arch x86_64 -arch i386 -g -O2 -arch x86_64 -arch i386 -isysroot / conftest.c` was failing. I set the issue aside for a time until I found out that `/usr/include` was missing (when clang-3.3 failed to build because it could not find AvailabilityMacros.h). In case it wasn't an intended novelty, I visited <https://developer.apple.com/downloads/index.action> (free registration required), downloaded and installed the late October 2013 command line package, and presto, `/usr/include` was back and installing python27 +universal (and clang-3.3) now worked. I wonder if I was supposed to have manually downloaded and upgraded the command line tools. During the Xcode 5.0.1 update I accepted a prompt to download and install two or three related packages, which I think included the command line tools; I could be wrong, or they might have been a different version. Also, since it was at the time of the OS X 10.9 Mavericks upgrade, the developer package installations might have happened under 10.8 Snow Leopard or even intermingled, perhaps causing trouble. -- Ticket URL: <https://trac.macports.org/ticket/40690#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#40690: python27: Configure error: Fatal: You must get working getaddrinfo() function. -----------------------+----------------------- Reporter: sofcik@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: mavericks Port: python27 | -----------------------+----------------------- Comment (by scantor@…): I also found that the port installed once the latest command line tools were installed. -- Ticket URL: <https://trac.macports.org/ticket/40690#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#40690: python27: Configure error: Fatal: You must get working getaddrinfo() function. -----------------------+----------------------- Reporter: sofcik@… | Owner: jwa@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: invalid | Keywords: mavericks Port: python27 | -----------------------+----------------------- Changes (by jwa@…): * status: new => closed * resolution: => invalid Comment: As I have not seen this (with up-to-date command line tools), I’ll close this -- Ticket URL: <https://trac.macports.org/ticket/40690#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#40690: python27: Configure error: Fatal: You must get working getaddrinfo() function. -----------------------+----------------------- Reporter: sofcik@… | Owner: jwa@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: invalid | Keywords: mavericks Port: python27 | -----------------------+----------------------- Comment (by krischik@…): Replying to [comment:6 scantor@…]:
I also found that the port installed once the latest command line tools were installed.
How do you install the newest command line tools? There seems to be not option in XCode any more to do so. -- Ticket URL: <https://trac.macports.org/ticket/40690#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#40690: python27: Configure error: Fatal: You must get working getaddrinfo() function. -----------------------+----------------------- Reporter: sofcik@… | Owner: jwa@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: invalid | Keywords: mavericks Port: python27 | -----------------------+----------------------- Comment (by jwa@…): Command: xcode-select --install -- Ticket URL: <https://trac.macports.org/ticket/40690#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#40690: python27: Configure error: Fatal: You must get working getaddrinfo() function. -----------------------+----------------------- Reporter: sofcik@… | Owner: jwa@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: invalid | Keywords: mavericks Port: python27 | -----------------------+----------------------- Comment (by ryandesign@…): Has duplicate #41021. -- Ticket URL: <https://trac.macports.org/ticket/40690#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts