[MacPorts] #37354: wine: install fails (was: Error: org.macports.configure for port expat returned: configure failure: command execution failed)

MacPorts noreply at macports.org
Thu Dec 20 07:00:13 PST 2012


#37354: wine: install fails
------------------------------+--------------------------
  Reporter:  mr_pogey_bait@…  |      Owner:  ryandesign@…
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.1.2
Resolution:                   |   Keywords:
      Port:  wine             |
------------------------------+--------------------------
Changes (by ciserlohn@…):

 * cc: jwa@… (added)
 * owner:  macports-tickets@… => ryandesign@…
 * keywords:  expat =>
 * port:   => wine


Old 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.

New 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.

--

Comment:

 This was not a clean attempt. Please try again and attach the log file if
 it fails:
 {{{
 $ sudo port -d install wine
 }}}

 In the future please remember to use [wiki:WikiFormatting], fill in the
 port field and to Cc the maintainer.

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


More information about the macports-tickets mailing list