#32925: expat configure failure with Xcode 4.3 beta ---------------------------------------+------------------------------------ Reporter: alex.godbehere@… | Owner: ryandesign@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: Port: expat | ---------------------------------------+------------------------------------ Comment(by dkocher@…): Latest log file {{{ version:1 :warn:main The Command Line Tools for Xcode don't appear to be installed; most ports will likely fail to build. :warn:main See http://guide.macports.org/chunked/installing.xcode.html for more information. :debug:main expat has no conflicts :debug:main Executing org.macports.main (expat) :debug:archivefetch archivefetch phase started at Thu Jul 26 11:10:50 CEST 2012 :msg:archivefetch ---> Fetching archive for expat :debug:archivefetch Executing org.macports.archivefetch (expat) :info:archivefetch ---> expat-2.1.0_0.darwin_12.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified :msg:archivefetch ---> Attempting to fetch expat-2.1.0_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/expat :debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 :debug:fetch fetch phase started at Thu Jul 26 11:10:51 CEST 2012 :notice:fetch ---> Fetching distfiles for expat :debug:fetch Executing org.macports.fetch (expat) :debug:checksum checksum phase started at Thu Jul 26 11:10:51 CEST 2012 :notice:checksum ---> Verifying checksum(s) for expat :debug:checksum Executing org.macports.checksum (expat) :info:checksum ---> Checksumming expat-2.1.0.tar.gz :debug:checksum Correct (rmd160) checksum for expat-2.1.0.tar.gz :debug:checksum Correct (sha256) checksum for expat-2.1.0.tar.gz :debug:extract extract phase started at Thu Jul 26 11:10:51 CEST 2012 :notice:extract ---> Extracting expat :debug:extract Executing org.macports.extract (expat) :info:extract ---> Extracting expat-2.1.0.tar.gz :debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/expat/expat-2.1.0.tar.gz' :debug:extract Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_expat/expat/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.8' :debug:extract Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_expat/expat/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/expat/expat-2.1.0.tar.gz' | /usr/bin/gnutar --no-same-owner -xf -' :debug:extract Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_expat/expat/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/expat/expat-2.1.0.tar.gz' | /usr/bin/gnutar --no-same-owner -xf - :debug:patch patch phase started at Thu Jul 26 11:10:51 CEST 2012 :debug:patch Executing org.macports.patch (expat) :debug:configure configure phase started at Thu Jul 26 11:10:51 CEST 2012 :notice:configure ---> Configuring expat :debug:configure Using compiler 'Mac OS X clang' :debug:configure Executing org.macports.configure (expat) :debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-O2 -arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2 -arch x86_64' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.8' CXX='/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_expat/expat/work/.CC_PRINT_OPTIONS' F90FLAGS='-O2 -m64' LDFLAGS='-L/opt/local/lib -arch x86_64' OBJC='/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang' FCFLAGS='-O2 -m64' INSTALL='/usr/bin/install -c' OBJCFLAGS='-O2 -arch x86_64' FFLAGS='-O2 -m64' CC_PRINT_OPTIONS='YES' CC='/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang' :debug:configure Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_expat/expat/work/expat-2.1.0" && ./configure --prefix=/opt/local' :debug:configure Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_expat/expat/work/expat-2.1.0" && ./configure --prefix=/opt/local :info:configure checking build system type... x86_64-apple-darwin12.0.0 :info:configure checking host system type... x86_64-apple-darwin12.0.0 :info:configure checking how to print strings... printf :info:configure checking for gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang :info:configure checking whether the C compiler works... yes :info:configure checking for C compiler default output file name... a.out :info:configure checking for suffix of executables... :info:configure checking whether we are cross compiling... configure: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_expat/expat/work/expat-2.1.0': :info:configure configure: error: cannot run C compiled programs. :info:configure If you meant to cross compile, use `--host'. :info:configure See `config.log' for more details :info:configure Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_expat/expat/work/expat-2.1.0" && ./configure --prefix=/opt/local :info:configure Exit code: 1 :error:configure org.macports.configure for port expat returned: configure failure: command execution failed :debug:configure Error code: NONE :debug:configure Backtrace: configure failure: command execution failed while executing "$procedure $targetname" :info:configure Warning: targets not executed for expat: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install :notice:configure Please see the log file for port expat for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_expat/expat/main.log }}} -- Ticket URL: <https://trac.macports.org/ticket/32925#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS