[MacPorts] #45131: Unable to update gmp
#45131: Unable to update gmp ----------------------------+-------------------------------- Reporter: mikemadden42@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: | Port: ----------------------------+-------------------------------- I'm using the following commands to update my ports, but I'm running into an issue updating gmp. sudo port selfupdate sudo port outdated sudo port upgrade outdated The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated The following installed ports are outdated: gmp 6.0.0_0 < 6.0.0_1 gnutls 3.3.7_0 < 3.3.8_0 $ sudo port upgrade outdated ---> Building gmp Error: org.macports.build for port gmp returned: command execution failed Please see the log file for port gmp for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/main.log Error: Unable to upgrade port: 1 To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets -- Ticket URL: <https://trac.macports.org/ticket/45131> MacPorts <http://www.macports.org/> Ports system for OS X
#45131: Unable to update gmp -----------------------------+------------------------ Reporter: mikemadden42@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: gmp | -----------------------------+------------------------ Changes (by mf2k@…): * owner: macports-tickets@… => mcalhoun@… * port: => gmp Comment: In the future, please use WikiFormatting, fill in the Port field and Cc the port maintainers ({{{port info --maintainers gmp}}}). This is not a clean build log. Please {{{clean}}} the port and try again. Then attach the new main.log file. -- Ticket URL: <https://trac.macports.org/ticket/45131#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#45131: Unable to update gmp -----------------------------+------------------------ Reporter: mikemadden42@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: gmp | -----------------------------+------------------------ Description changed by mf2k@…: Old description:
I'm using the following commands to update my ports, but I'm running into an issue updating gmp.
sudo port selfupdate
sudo port outdated
sudo port upgrade outdated
The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated The following installed ports are outdated: gmp 6.0.0_0 < 6.0.0_1 gnutls 3.3.7_0 < 3.3.8_0
$ sudo port upgrade outdated ---> Building gmp Error: org.macports.build for port gmp returned: command execution failed Please see the log file for port gmp for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/main.log Error: Unable to upgrade port: 1 To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets
New description: I'm using the following commands to update my ports, but I'm running into an issue updating gmp. {{{ sudo port selfupdate sudo port outdated sudo port upgrade outdated The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated The following installed ports are outdated: gmp 6.0.0_0 < 6.0.0_1 gnutls 3.3.7_0 < 3.3.8_0 $ sudo port upgrade outdated ---> Building gmp Error: org.macports.build for port gmp returned: command execution failed Please see the log file for port gmp for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/main.log Error: Unable to upgrade port: 1 To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets }}} -- -- Ticket URL: <https://trac.macports.org/ticket/45131#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#45131: Unable to update gmp -----------------------------+------------------------ Reporter: mikemadden42@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: gmp | -----------------------------+------------------------ Comment (by mikemadden42@…): I've ran {{{sudo port clean gmp}}} and {{{sudo port upgrade outdated}}}. I've attached a new main.log file. -- Ticket URL: <https://trac.macports.org/ticket/45131#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#45131: Unable to update gmp -----------------------------+------------------------ Reporter: mikemadden42@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: gmp | -----------------------------+------------------------ Comment (by mf2k@…): The following error shows up frequently in your log: {{{ error: couldn't create cache file '/var/folders/h6/3f7lvmw96_jbw0w9tmn54rph0000gq/T/xcrun_db-GObdiH4N' (errno=Permission denied) }}} Are you out of disk space? -- Ticket URL: <https://trac.macports.org/ticket/45131#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#45131: Unable to update gmp -----------------------------+------------------------ Reporter: mikemadden42@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: gmp | -----------------------------+------------------------ Comment (by mf2k@…): The following error shows up frequently in your log: {{{ error: couldn't create cache file '/var/folders/h6/3f7lvmw96_jbw0w9tmn54rph0000gq/T/xcrun_db-GObdiH4N' (errno=Permission denied) }}} Are you out of disk space? -- Ticket URL: <https://trac.macports.org/ticket/45131#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#45131: Unable to update gmp -----------------------------+------------------------ Reporter: mikemadden42@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: gmp | -----------------------------+------------------------ Comment (by cal@…): These clang errors are actually errors but they fail to terminate compilation like they should. Clang miscompiles code when this happens (as in your example). A workaround is usually to outright delete the offending folder (i.e. `/var/folders/h6/3f7lvmw96_jbw0w9tmn54rph0000gq` in your case). Then clean and try again. This happens because the folder gets created as root, but MacPorts subsequently tries to use it as the macports user, which consequently fails afterwards. We're just not sure *where* MacPorts is calling the compiler as root, or we would have fixed it. -- Ticket URL: <https://trac.macports.org/ticket/45131#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#45131: Unable to update gmp -----------------------------+------------------------ Reporter: mikemadden42@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: gmp | -----------------------------+------------------------ Comment (by mikemadden42@…): Doing the following has fixed the issue I'd seen upgrading gmp: {{{ sudo rm -rf /var/folders/h6/3f7lvmw96_jbw0w9tmn54rph0000gq sudo port clean gmp && sudo port upgrade outdated }}} -- Ticket URL: <https://trac.macports.org/ticket/45131#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#45131: Unable to update gmp -----------------------------+------------------------ Reporter: mikemadden42@… | Owner: mcalhoun@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: invalid | Keywords: Port: gmp | -----------------------------+------------------------ Changes (by mcalhoun@…): * status: new => closed * resolution: => invalid -- Ticket URL: <https://trac.macports.org/ticket/45131#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts