[MacPorts] #54835: webkit2-gtk @2.14.2_2 does not build on Snow Leoprad, Mac OS X 10.6.8, because: permission denied

MacPorts noreply at macports.org
Thu Sep 14 10:58:58 UTC 2017


#54835: webkit2-gtk @2.14.2_2 does not build on Snow Leoprad, Mac OS X 10.6.8,
because: permission denied
-------------------------+-------------------------
 Reporter:  ballapete    |      Owner:
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.4.1
 Keywords:  snowleopard  |       Port:  webkit2-gtk
-------------------------+-------------------------
 It happens at the end of building the port:

 {{{
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_www_webkit2-gtk/webkit2-gtk/work/build'
 [100%] Built target WebKitPluginProcess2
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_www_webkit2-gtk/webkit2-gtk/work/build'
 /opt/local/bin/cmake -E cmake_progress_start
 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_www_webkit2-gtk/webkit2-gtk/work/build/CMakeFiles
 0
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_www_webkit2-gtk/webkit2-gtk/work/build'
 DEBUG: Attempting ln -sf
 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_www_webkit2-gtk/webkit2-gtk/work
 /opt/local/var/macports/sources/nue.de.rsync.macports.org/macports/release/tarballs/ports/www/webkit2-gtk/work
 DEBUG: symlink:
 /opt/local/var/macports/sources/nue.de.rsync.macports.org/macports/release/tarballs/ports/www/webkit2-gtk/work
 ->
 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_www_webkit2-gtk/webkit2-gtk/work:
 permission denied
     while executing
 "symlink $file $linktarget"
     (procedure "ln" line 64)
     invoked from within
 "ln -sf $workpath $worksymlink"
     (procedure "open_statefile" line 20)
     invoked from within
 "open_statefile"
     (procedure "target_run" line 14)
     invoked from within
 "{*}$handler $ditem"
 Error: symlink:
 /opt/local/var/macports/sources/nue.de.rsync.macports.org/macports/release/tarballs/ports/www/webkit2-gtk/work
 ->
 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_www_webkit2-gtk/webkit2-gtk/work:
 permission denied
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_www_webkit2-gtk/webkit2-gtk/main.log
 for details.
 Error: Problem while installing webkit2-gtk
 }}}

 `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_www_webkit2-gtk/webkit2-gtk/work`
 is quite normal:

 {{{
  l
 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_www_webkit2-gtk/webkit2-gtk/work
 total 345056
 -rw-r--r--  1 macports  admin  176661480 14 Sep 12:24 .CC_PRINT_OPTIONS
 drwxr-xr-x  3 macports  admin        102 14 Sep 12:11 .home
 -rw-r--r--  1 macports  admin        320 14 Sep 12:24
 .macports.webkit2-gtk.state
 drwxr-xr-x  2 macports  admin         68 14 Sep 12:12 .tmp
 drwxr-xr-x  8 macports  admin        748 14 Sep 12:12 build
 drwxr-xr-x  5 macports  admin        238 13 Sep 23:06 webkitgtk-2.14.2
 }}}

 but not
 `/opt/local/var/macports/sources/nue.de.rsync.macports.org/macports/release/tarballs/ports/www/webkit2-gtk/work`:

 {{{
 l
 /opt/local/var/macports/sources/nue.de.rsync.macports.org/macports/release/tarballs/ports/www/webkit2-gtk/
 total 16
 -rw-r--r--  1 root  unbound  8027  9 Sep 00:31 Portfile
 drwxr-xr-x  2 root  unbound   272  9 Sep 00:31 files
 }}}

 The GID of `unbound` is `505`.

 Is that the reason? Or is owned by root the cause? Which ownership is OK?

--
Ticket URL: <https://trac.macports.org/ticket/54835>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list