[MacPorts] #42126: Mercurial build failure and 'sudo port upgrade outdated' failure on 10.7.5
#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
#42126: Mercurial build failure and 'sudo port upgrade outdated' failure on 10.7.5 -----------------------------+--------------------- Reporter: netja000@… | Owner: deric@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: mercurial swig | -----------------------------+--------------------- Changes (by devans@…): * owner: macports-tickets@… => deric@… * cc: sean@…, kevin@… (added) * port: => mercurial swig Comment: Please fill in the port field and copy port maintainer(s) when submitting a ticket. {{{ $ port info --maintainer mercurial maintainer: deric@macports.org, sean@macports.org, openmaintainer@macports.org $ port info --maintainer swig maintainer: kevin@macports.org }}} The configure error with swig does not seem to be related to your mercurial build problem and should probably be reported as a separate ticket for clearer tracking. -- Ticket URL: <https://trac.macports.org/ticket/42126#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#42126: Mercurial build failure and 'sudo port upgrade outdated' failure on 10.7.5 -----------------------------+--------------------- Reporter: netja000@… | Owner: deric@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: mercurial swig | -----------------------------+--------------------- Comment (by macsforever2000@…): A couple of notes: - The latest Xcode for Mac OS X 10.7.5 is version 4.6.3 which you should update to. - The error "{{{cannot run C compiled programs}}}" means that the Xcode command lines tools are not (correctly) installed. I believe that this ticket should be closed as invalid. -- Ticket URL: <https://trac.macports.org/ticket/42126#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#42126: Mercurial build failure and 'sudo port upgrade outdated' failure on 10.7.5 -----------------------------+--------------------- Reporter: netja000@… | Owner: deric@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: mercurial swig | -----------------------------+--------------------- Comment (by netja000@…): Replying to [comment:2 macsforever2000@…]:
A couple of notes: - The latest Xcode for Mac OS X 10.7.5 is version 4.6.3 which you should update to. - The error "{{{cannot run C compiled programs}}}" means that the Xcode command lines tools are not (correctly) installed.
I believe that this ticket should be closed as invalid.
Hi, Thanks for the suggestions! I just updated my Xcode to 4.6.3 after I submitted the ticket, the command line tools are installed by default, and I restarted everything, but I still have the same issue... -- Ticket URL: <https://trac.macports.org/ticket/42126#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#42126: Mercurial build failure and 'sudo port upgrade outdated' failure on 10.7.5 -----------------------------+--------------------- Reporter: netja000@… | Owner: deric@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: mercurial swig | -----------------------------+--------------------- Comment (by netja000@…): And Xcode 4.6.3 doesn't solve the build failure for mercurial either. -- Ticket URL: <https://trac.macports.org/ticket/42126#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#42126: Mercurial build failure and 'sudo port upgrade outdated' failure on 10.7.5 -----------------------------+--------------------- Reporter: netja000@… | Owner: deric@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: mercurial swig | -----------------------------+--------------------- Comment (by macsforever2000@…): Replying to [comment:3 netja000@…]:
I just updated my Xcode to 4.6.3 after I submitted the ticket, the command line tools are installed by default, and I restarted everything, but I still have the same issue...
The command line tools are *not* installed by default. Please [wiki/ProblemHotlist#clt read the instructions] for how to install them. Also, did you clean the port before trying again? -- Ticket URL: <https://trac.macports.org/ticket/42126#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#42126: Mercurial build failure and 'sudo port upgrade outdated' failure on 10.7.5 -----------------------------+--------------------- Reporter: netja000@… | Owner: deric@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: mercurial swig | -----------------------------+--------------------- Comment (by netja000@…): Yes, I clean the port before trying again. And the command line tools are installed, since I checked the preference of Xcode. I'll attach the screenshot here. -- Ticket URL: <https://trac.macports.org/ticket/42126#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#42126: Mercurial build failure and 'sudo port upgrade outdated' failure on 10.7.5 -----------------------------+--------------------- Reporter: netja000@… | Owner: deric@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: mercurial swig | -----------------------------+--------------------- Comment (by netja000@…): Yes, I clean the port before trying again. And the command line tools are installed, since I checked the preference of Xcode. I'll attach the screenshot here. -- Ticket URL: <https://trac.macports.org/ticket/42126#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#42126: Mercurial build failure and 'sudo port upgrade outdated' failure on 10.7.5 -----------------------------+--------------------- Reporter: netja000@… | Owner: deric@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: mercurial swig | -----------------------------+--------------------- Comment (by netja000@…): Yes, I clean the port before trying again. And the command line tools are installed, since I checked the preference of Xcode. I'll attach the screenshot here. -- Ticket URL: <https://trac.macports.org/ticket/42126#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#42126: Mercurial build failure and 'sudo port upgrade outdated' failure on 10.7.5 -----------------------------+--------------------- Reporter: netja000@… | Owner: deric@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: mercurial swig | -----------------------------+--------------------- Comment (by macsforever2000@…): You do not have automatic updates checked. What happens when you press the button "check and install now"? -- Ticket URL: <https://trac.macports.org/ticket/42126#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#42126: Mercurial build failure and 'sudo port upgrade outdated' failure on 10.7.5 -----------------------------+--------------------- Reporter: netja000@… | Owner: deric@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: mercurial swig | -----------------------------+--------------------- Comment (by netja000@…): It says 'no updates available'. -- Ticket URL: <https://trac.macports.org/ticket/42126#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#42126: Mercurial build failure and 'sudo port upgrade outdated' failure on 10.7.5 -----------------------------+--------------------- Reporter: netja000@… | Owner: deric@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: invalid | Keywords: Port: mercurial swig | -----------------------------+--------------------- Changes (by sean@…): * status: new => closed * resolution: => invalid -- Ticket URL: <https://trac.macports.org/ticket/42126#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts