[MacPorts] #42126: Mercurial build failure and 'sudo port upgrade outdated' failure on 10.7.5

MacPorts noreply at macports.org
Tue Jan 14 07:51:46 PST 2014


#42126: Mercurial build failure and 'sudo port upgrade outdated' failure on 10.7.5
------------------------+--------------------------------
 Reporter:  netja000@…  |      Owner:  macports-tickets@…
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.2.1
 Keywords:              |       Port:
------------------------+--------------------------------
 I'm using MacBook Pro 10.7.5, Xcode is 4.4, the MacPorts base is 2.2.1.

 I was trying to build mercurial but failed. Here's the output of 'sudo
 port install mercurial' after I 'sudo port clean mercurial'.

 {{{
 --->  Computing dependencies for mercurial
 --->  Fetching archive for mercurial
 --->  Attempting to fetch mercurial-2.8.1_0.darwin_11.x86_64.tbz2 from
 http://lil.fr.packages.macports.org/mercurial
 --->  Attempting to fetch mercurial-2.8.1_0.darwin_11.x86_64.tbz2 from
 http://mse.uk.packages.macports.org/sites/packages.macports.org/mercurial
 --->  Attempting to fetch mercurial-2.8.1_0.darwin_11.x86_64.tbz2 from
 http://packages.macports.org/mercurial
 --->  Fetching distfiles for mercurial
 --->  Verifying checksums for mercurial
 --->  Extracting mercurial
 --->  Applying patches to mercurial
 --->  Configuring mercurial
 --->  Building mercurial
 Error: org.macports.build for port mercurial returned: command execution
 failed
 Please see the log file for port mercurial for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_mercurial/mercurial/main.log
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port mercurial failed
 }}}

 I'll attach the main.log, it seems the urls that the port tried to fetch
 don't work:

 http://lil.fr.packages.macports.org/mercurial

 http://mse.uk.packages.macports.org/sites/packages.macports.org/mercurial

 http://packages.macports.org/mercurial

 Also, when I tried to 'sudo port upgrade outdated', it gave me error
 messages for the swig:

 {{{
 --->  Computing dependencies for swig
 --->  Configuring swig
 Error: Failed to configure swig, consult
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_swig/swig/work/swig-2.0.11/config.log
 Error: org.macports.configure for port swig returned: configure failure:
 command execution failed
 Please see the log file for port swig for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_swig/swig/main.log
 Error: Unable to upgrade port: 1
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 }}}

 The main.log shows 'cannot run C compiled programs', although I have Xcode
 4.4 installed and license approved.

 I put these two error messages together since I'm not sure whether they
 are related.

 Thanks.

-- 
Ticket URL: <https://trac.macports.org/ticket/42126>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list