[MacPorts] #58978: Unable to Upgrade xar or python27 - Fails to configure

MacPorts noreply at macports.org
Sun Sep 8 15:32:45 UTC 2019


#58978: Unable to Upgrade xar or python27 - Fails to configure
---------------------------+--------------------
  Reporter:  RobK88        |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.5.4
Resolution:                |   Keywords:  Lion
      Port:  xar python27  |
---------------------------+--------------------

Comment (by RobK88):

 Thanks for the tip.  But I still am unable to upgrade xar using clang-3.7.
 (I also tried clang-3.4 and just clang with no luck)

 {{{
 Grinchs-Mac-Pro:~ grinch$ sudo port clean xar
 --->  Cleaning xar
 Grinchs-Mac-Pro:~ grinch$ sudo port -v upgrade xar configure.compiler
 =macports-clang-3.7
 --->  Computing dependencies for python27.
 --->  Configuring python27
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/Python-2.7.16"
 && ./configure --prefix=/opt/local --enable-
 framework=/opt/local/Library/Frameworks --enable-ipv6 --with-system-expat
 --with-system-ffi
 checking build system type... x86_64-apple-darwin11.4.2
 checking host system type... x86_64-apple-darwin11.4.2
 checking for python2.7... python2.7
 checking for --enable-universalsdk... no
 checking for --with-universal-archs... no
 checking MACHDEP... darwin
 checking EXTRAPLATDIR... $(PLATMACDIRS)
 checking for --without-gcc... no
 checking for --with-icc... no
 checking for gcc... /opt/local/bin/clang-mp-3.7
 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_lang_python27/python27/work/Python-2.7.16':
 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_lang_python27/python27/work/Python-2.7.16"
 && ./configure --prefix=/opt/local --enable-
 framework=/opt/local/Library/Frameworks --enable-ipv6 --with-system-expat
 --with-system-ffi
 Exit code: 77
 Error: Failed to configure python27, consult
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/Python-2.7.16/config.log
 Error: Failed to configure python27: configure failure: command execution
 failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Grinchs-Mac-Pro:~ grinch$
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/58978#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list