[MacPorts] #53405: gcc47 build fails

MacPorts noreply at macports.org
Sat Jan 28 15:10:20 UTC 2017


#53405: gcc47 build fails
------------------------+----------------------
  Reporter:  gkdgoutam  |      Owner:  mww@…
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.3.5
Resolution:             |   Keywords:
      Port:  gcc47      |
------------------------+----------------------

Comment (by gkdgoutam):

 The error I am getting is following:
 {{{
          sudo ./restore_ports.tcl myports.txt
 }}}

 The error is the following:
 {{{
 --->  Building gcc47
 Error: Failed to build gcc47: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc47/gcc47/main.log
 for details.
 --->  Computing dependencies for gcc47
 --->  Building gcc47
 Error: Failed to build gcc47: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc47/gcc47/main.log
 for details.
 Error: Requested variants "" do not match those the build was started
 with: "+universal".
 Error: Please use the same variants again, or run 'port clean gcc47' first
 to remove the existing partially completed build.
 can't create directory
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_gd2":
 permission denied
     while executing
 "file mkdir $workpath/.home"
     (procedure "open_statefile" line 7)
     invoked from within
 "open_statefile"
     (procedure "check_variants" line 28)
     invoked from within
 "check_variants install"
     invoked from within
 "$workername eval "check_variants $target""
     (procedure "mportexec" line 7)
     invoked from within
 "mportexec $workername $install_target"
 Unable to execute target 'install' for port 'gd2': can't create directory
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_gd2":
 permission denied
     while executing
 "install_ports $operationList"
     (file "./restore_ports.tcl" line 287)
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/53405#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list