[MacPorts] #33451: zlib: Couldn't determine your Xcode version (from '/usr/bin/xcodebuild -version'). (was: ddd port install fails - looking at /usr/bin for dependencies instead of Aps)

MacPorts noreply at macports.org
Fri Mar 2 14:32:27 PST 2012


#33451: zlib: Couldn't determine your Xcode version (from '/usr/bin/xcodebuild
-version').
--------------------------------+-------------------------------------------
  Reporter:  rajeeja@…          |       Owner:  macports-tickets@…                   
      Type:  defect             |      Status:  closed                               
  Priority:  Normal             |   Milestone:                                       
 Component:  ports              |     Version:  2.0.4                                
Resolution:  invalid            |    Keywords:                                       
      Port:  zlib               |  
--------------------------------+-------------------------------------------
Changes (by ryandesign@…):

  * status:  new => closed
 * cc: ryandesign@… (added)
  * resolution:  => invalid
  * port:  => zlib


Old description:

> /Users/rajeevjain/cgm/itaps
> ==> sudo port install ddd
> Warning: xcodebuild exists but failed to execute
> Warning: Xcode appears to be installed but xcodebuild is unusable; some
> ports will likely fail to build.
> Warning: You may need to run `sudo xcode-select -switch
> /Applications/Xcode.app`
> --->  Computing dependencies for ddd
> --->  Dependencies to be installed: openmotif Xft2 fontconfig freetype
> zlib pkgconfig glib2 libffi xz xrender xorg-libX11 xorg-bigreqsproto
> xorg-inputproto xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-
> libxcb python27 db46 libedit openssl python_select sqlite3 python27 xorg-
> libpthread-stubs xorg-xcb-proto libxml2 libxml2 xorg-util-macros xorg-
> xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-
> renderproto jpeg libpng xbitmaps xorg-libXext xorg-libXmu xorg-libXt
> xorg-libsm xorg-libice xorg-libXp xorg-printproto xorg-libXaw groff
> ghostscript jbig2dec lcms2 tiff libidn libpaper netpbm jasper jbigkit
> psutils texinfo xpm
> --->  Extracting zlib
> Error: Couldn't determine your Xcode version (from '/usr/bin/xcodebuild
> -version').
> Error:
> Error: If you have not installed Xcode, install it now; see:
> Error: http://guide.macports.org/chunked/installing.xcode.html
> Error:
> Error: Target org.macports.extract returned: unable to find Xcode
> Error: Failed to install zlib
> Log for zlib is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_zlib/zlib/main.log
> Error: The following dependencies were not installed: openmotif Xft2
> fontconfig freetype zlib pkgconfig glib2 libffi xz xrender xorg-libX11
> xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-xproto
> xorg-libXdmcp xorg-libxcb python27 db46 libedit openssl python_select
> sqlite3 python27 xorg-libpthread-stubs xorg-xcb-proto libxml2 libxml2
> xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto
> xorg-xtrans xorg-renderproto jpeg libpng xbitmaps xorg-libXext xorg-
> libXmu xorg-libXt xorg-libsm xorg-libice xorg-libXp xorg-printproto xorg-
> libXaw groff ghostscript jbig2dec lcms2 tiff libidn libpaper netpbm
> jasper jbigkit psutils texinfo xpm
> Error: Status 1 encountered during processing.
> To report a bug, see <http://guide.macports.org/#project.tickets>

New description:

 {{{
 /Users/rajeevjain/cgm/itaps
 ==> sudo port install ddd
 Warning: xcodebuild exists but failed to execute
 Warning: Xcode appears to be installed but xcodebuild is unusable; some
 ports will likely fail to build.
 Warning: You may need to run `sudo xcode-select -switch
 /Applications/Xcode.app`
 --->  Computing dependencies for ddd
 --->  Dependencies to be installed: openmotif Xft2 fontconfig freetype
 zlib pkgconfig glib2 libffi xz xrender xorg-libX11 xorg-bigreqsproto xorg-
 inputproto xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-libxcb
 python27 db46 libedit openssl python_select sqlite3 python27 xorg-
 libpthread-stubs xorg-xcb-proto libxml2 libxml2 xorg-util-macros xorg-
 xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-
 renderproto jpeg libpng xbitmaps xorg-libXext xorg-libXmu xorg-libXt xorg-
 libsm xorg-libice xorg-libXp xorg-printproto xorg-libXaw groff ghostscript
 jbig2dec lcms2 tiff libidn libpaper netpbm jasper jbigkit psutils texinfo
 xpm
 --->  Extracting zlib
 Error: Couldn't determine your Xcode version (from '/usr/bin/xcodebuild
 -version').
 Error:
 Error: If you have not installed Xcode, install it now; see:
 Error: http://guide.macports.org/chunked/installing.xcode.html
 Error:
 Error: Target org.macports.extract returned: unable to find Xcode
 Error: Failed to install zlib
 Log for zlib is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_zlib/zlib/main.log
 Error: The following dependencies were not installed: openmotif Xft2
 fontconfig freetype zlib pkgconfig glib2 libffi xz xrender xorg-libX11
 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-xproto
 xorg-libXdmcp xorg-libxcb python27 db46 libedit openssl python_select
 sqlite3 python27 xorg-libpthread-stubs xorg-xcb-proto libxml2 libxml2
 xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto
 xorg-xtrans xorg-renderproto jpeg libpng xbitmaps xorg-libXext xorg-libXmu
 xorg-libXt xorg-libsm xorg-libice xorg-libXp xorg-printproto xorg-libXaw
 groff ghostscript jbig2dec lcms2 tiff libidn libpaper netpbm jasper
 jbigkit psutils texinfo xpm
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>
 }}}

--

Comment:

 Please use WikiFormatting.

 Please re-read the error message you pasted above. It tells you how to use
 `xcode-select` to fix the problem.

-- 
Ticket URL: <https://trac.macports.org/ticket/33451#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list