Opened 7 years ago

Closed 7 years ago

#54835 closed defect (invalid)

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

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.4.1
Keywords: snowleopard Cc: dbevans (David B. Evans)
Port: webkit2-gtk

Description

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?

Change History (5)

comment:1 Changed 7 years ago by ballapete (Peter "Pete" Dyballa)

Upload of main.log failed because too big…

comment:2 Changed 7 years ago by mf2k (Frank Schima)

Cc: dbevans added; jeremyhu@… devans@… removed
Owner: set to jeremyhu
Status: newassigned

comment:3 Changed 7 years ago by kencu (Ken)

Too weird. But all versions of webkit install on 10.6.8 with libc++ (I have the macports-libstdc++ fixed too, just not uploaded yet).

$ port -v installed | grep webkit
  webkit-gtk @2.4.11_2+quartz+video platform='darwin 10' archs='x86_64' date='2017-04-23T13:21:45-0700'
  webkit2-gtk @2.14.2_2+gtk2+minibrowser+x11 platform='darwin 10' archs='x86_64' date='2017-08-16T10:20:23-0700'
  webkit2-gtk-devel @2.15.1_2+gtk2+minibrowser+x11 (active) platform='darwin 10' archs='x86_64' date='2017-08-17T22:32:11-0700'

Although it takes hours, I'd suggest you clean and try again. This doesn't look like a webit-specific issues at first glance. If that fails, let me know.

comment:4 Changed 7 years ago by kencu (Ken)

I note you had another rather weird error this morning 54836. Every once in a while I have to go into

/opt/local/var/macports/build

and clean out everything in that folder. Hope it doesn't turn out to be your disk...

comment:5 Changed 7 years ago by kencu (Ken)

Resolution: invalid
Status: assignedclosed

I have just rebuilt webkit2-gtk a number of times on systems from 10.6 to 10.12 and not seen this error, so I have to assume it's something local to your system and not a MacPorts-wide issue. Please reopen if otherwise

Note: See TracTickets for help on using tickets.