Opened 11 years ago

Last modified 11 years ago

#37354 closed defect

Error: org.macports.configure for port expat returned: configure failure: command execution failed — at Initial Version

Reported by: mr_pogey_bait@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: expat

Description

I'm trying to install wine but am getting this error:

sudo port install wine ---> Configuring expat Error: org.macports.configure for port expat returned: configure failure: command execution failed 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

Error: Unable to upgrade port: 1 Error: Unable to execute port: upgrade expat failed

I have done a self-update for macports, I have cleaned expat and installed it with no issue, but every time I try to install wine I get the error. Here is my log:

version:1 :debug:main expat has no conflicts :debug:main Executing org.macports.main (expat) :debug:main Skipping completed org.macports.archivefetch (expat) :debug:main Skipping completed org.macports.fetch (expat) :debug:main Skipping completed org.macports.checksum (expat) :debug:main Skipping completed org.macports.extract (expat) :debug:main Skipping completed org.macports.patch (expat) :debug:configure configure phase started at Thu Dec 20 08:14:13 CST 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 i386 -arch ppc' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2 -arch i386 -arch ppc' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.7' CXX='/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' LDFLAGS='-L/opt/local/lib -arch i386 -arch ppc' OBJC='/usr/bin/clang' FCFLAGS='-O2' INSTALL='/usr/bin/install -c' OBJCFLAGS='-O2 -arch i386 -arch ppc' FFLAGS='-O2' CC_PRINT_OPTIONS='YES' CC='/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 --disable-dependency-tracking' :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 --disable-dependency-tracking :info:configure configure: WARNING: unrecognized options: --disable-dependency-tracking :info:configure checking build system type... x86_64-apple-darwin11.4.2 :info:configure checking host system type... x86_64-apple-darwin11.4.2 :info:configure checking how to print strings... printf :info:configure checking for gcc... /usr/bin/clang :info:configure checking whether the C compiler works... no :info:configure 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: C compiler cannot create executables :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 --disable-dependency-tracking :info:configure Exit code: 77 :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.install org.macports.configure org.macports.build org.macports.destroot :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

Any help would be appreciated. Thanks.

Change History (1)

Changed 11 years ago by mr_pogey_bait@…

Attachment: main.log added

main.log

Note: See TracTickets for help on using tickets.