Opened 3 years ago

Last modified 3 years ago

#63441 assigned defect

wireshark3@3.4.7 +lua Permission deined - build failure

Reported by: nalzok (Qingyao Sun) Owned by: opendarwin.org@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: wireguard3

Description

I get the following error when installing wireshark3 +lua on macOS 10.14 Mojave.

$ sudo port clean wireshark3
--->  Cleaning wireshark3
$ sudo port install wireshark3 +lua
Warning: The macOS 10.14 SDK does not appear to be installed. Ports may not build correctly.
Warning: You can install it as part of the Xcode Command Line Tools package by running `xcode-select --install'.
--->  Computing dependencies for wireshark3
--->  Fetching archive for wireshark3
--->  Attempting to fetch wireshark3-3.4.7_0+cares+chmodbpf+geoip+gnutls+kerberos5+libsmi+lua+python39+qt5+zlib.darwin_18.x86_64.tbz2 from https://pek.cn.packages.macports.org/macports/packages/wireshark3
--->  Attempting to fetch wireshark3-3.4.7_0+cares+chmodbpf+geoip+gnutls+kerberos5+libsmi+lua+python39+qt5+zlib.darwin_18.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/wireshark3
--->  Attempting to fetch wireshark3-3.4.7_0+cares+chmodbpf+geoip+gnutls+kerberos5+libsmi+lua+python39+qt5+zlib.darwin_18.x86_64.tbz2 from https://mse.uk.packages.macports.org/wireshark3
--->  Fetching distfiles for wireshark3
--->  Verifying checksums for wireshark3
--->  Extracting wireshark3
--->  Configuring wireshark3
--->  Building wireshark3
Error: Failed to build wireshark3: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a bug.
Error: Processing of port wireshark3 failed

See attachment for the full log. The last few lines of the log include

:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7" && /usr/bin/make -j4 -w all VERBOSE=ON
:info:build Exit code: 2
:error:build Failed to build wireshark3: command execution failed

I repeated that command to see what's wrong, and it turns out to be a CMake Error: : System Error: Permission denied

$ cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7" && /usr/bin/make -j4 -w all VERBOSE=ON
make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7'
/opt/local/bin/cmake -S/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7 --check-build-system CMakeFiles/Makefile.cmake 0
/opt/local/bin/cmake -E cmake_progress_start /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/CMakeFiles /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7//CMakeFiles/progress.marks
/Applications/Xcode.app/Contents/Developer/usr/bin/make  -f CMakeFiles/Makefile2 all
make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7'
/Applications/Xcode.app/Contents/Developer/usr/bin/make  -f wsutil/CMakeFiles/wsutil.dir/build.make wsutil/CMakeFiles/wsutil.dir/depend
/Applications/Xcode.app/Contents/Developer/usr/bin/make  -f CMakeFiles/dftest-symlink.dir/build.make CMakeFiles/dftest-symlink.dir/depend
/Applications/Xcode.app/Contents/Developer/usr/bin/make  -f CMakeFiles/version.dir/build.make CMakeFiles/version.dir/depend
/Applications/Xcode.app/Contents/Developer/usr/bin/make  -f epan/crypt/CMakeFiles/crypt.dir/build.make epan/crypt/CMakeFiles/crypt.dir/depend
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7'
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7'
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7 && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/CMacd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7 && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarkeFiles/dftest-symlink.dir/DependInfo.cmake --color=
balls_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/CMakeFiles/version.dir/DependInfo.cmake --color=
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7'
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7 && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/DependInfo.cmake --color=
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7'
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7 && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/epan/crypt /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/epan/crypt /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/epan/crypt/CMakeFiles/crypt.dir/DependInfo.cmake --color=
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7'
/Applications/Xcode.app/Contents/Developer/usr/bin/make  -f CMakeFiles/dftest-symlink.dir/build.make CMakeFiles/dftest-symlink.dir/build
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7'
ln -s -f Wireshark.app/Contents/MacOS/dftest /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/run/dftest
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7'
/Applications/Xcode.app/Contents/Developer/usr/bin/make  -f CMakeFiles/version.dir/build.make CMakeFiles/version.dir/build
ln: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/run/dftest: Permission denied
make[2]: *** [CMakeFiles/dftest-symlink] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7'
make[1]: *** [CMakeFiles/dftest-symlink.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Dependencies file "wsutil/CMakeFiles/wsutil.dir/adler32.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7'
Dependencies file "wsutil/CMakeFiles/wsutil.dir/base32.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
/opt/local/bin/perl /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/tools/make-version.pl /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7
Dependencies file "wsutil/CMakeFiles/wsutil.dir/bitswap.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Dependencies file "wsutil/CMakeFiles/wsutil.dir/buffer.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Dependencies file "epan/crypt/CMakeFiles/crypt.dir/dot11decrypt.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/epan/crypt/CMakeFiles/crypt.dir/compiler_depend.internal".
Dependencies file "wsutil/CMakeFiles/wsutil.dir/cfutils.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Dependencies file "wsutil/CMakeFiles/wsutil.dir/codecs.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Dependencies file "wsutil/CMakeFiles/wsutil.dir/copyright_info.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Dependencies file "wsutil/CMakeFiles/wsutil.dir/cpu_info.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Dependencies file "wsutil/CMakeFiles/wsutil.dir/crash_info.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Dependencies file "wsutil/CMakeFiles/wsutil.dir/crc10.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Dependencies file "wsutil/CMakeFiles/wsutil.dir/crc11.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Dependencies file "wsutil/CMakeFiles/wsutil.dir/crc16-plain.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Dependencies file "wsutil/CMakeFiles/wsutil.dir/crc16.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Dependencies file "wsutil/CMakeFiles/wsutil.dir/crc32.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Dependencies file "wsutil/CMakeFiles/wsutil.dir/crc5.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Dependencies file "wsutil/CMakeFiles/wsutil.dir/crc6.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Dependencies file "wsutil/CMakeFiles/wsutil.dir/crc7.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Dependencies file "wsutil/CMakeFiles/wsutil.dir/crc8.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Dependencies file "wsutil/CMakeFiles/wsutil.dir/curve25519.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Dependencies file "wsutil/CMakeFiles/wsutil.dir/dot11decrypt_wep.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Dependencies file "wsutil/CMakeFiles/wsutil.dir/eax.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Dependencies file "wsutil/CMakeFiles/wsutil.dir/filesystem.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Dependencies file "wsutil/CMakeFiles/wsutil.dir/frequency-utils.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Dependencies file "epan/crypt/CMakeFiles/crypt.dir/dot11decrypt_ccmp.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/epan/crypt/CMakeFiles/crypt.dir/compiler_depend.internal".
Dependencies file "wsutil/CMakeFiles/wsutil.dir/g711.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Dependencies file "epan/crypt/CMakeFiles/crypt.dir/dot11decrypt_gcmp.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/epan/crypt/CMakeFiles/crypt.dir/compiler_depend.internal".
Dependencies file "wsutil/CMakeFiles/wsutil.dir/inet_addr.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Dependencies file "epan/crypt/CMakeFiles/crypt.dir/dot11decrypt_tkip.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/epan/crypt/CMakeFiles/crypt.dir/compiler_depend.internal".
Dependencies file "wsutil/CMakeFiles/wsutil.dir/interface.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Dependencies file "wsutil/CMakeFiles/wsutil.dir/jsmn.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Dependencies file "epan/crypt/CMakeFiles/crypt.dir/dot11decrypt_util.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/epan/crypt/CMakeFiles/crypt.dir/compiler_depend.internal".
Dependencies file "wsutil/CMakeFiles/wsutil.dir/json_dumper.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Dependencies file "wsutil/CMakeFiles/wsutil.dir/mpeg-audio.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target crypt
Dependencies file "wsutil/CMakeFiles/wsutil.dir/nstime.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Dependencies file "wsutil/CMakeFiles/wsutil.dir/os_version_info.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
CMake Error: Cannot open file for write: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/epan/crypt/CMakeFiles/crypt.dir/compiler_depend.make.tmpa6d8e
CMake Error: : System Error: Permission denied
make[2]: *** [epan/crypt/CMakeFiles/crypt.dir/depend] Error 2
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7'
make[1]: *** [epan/crypt/CMakeFiles/crypt.dir/all] Error 2
Dependencies file "wsutil/CMakeFiles/wsutil.dir/please_report_bug.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Dependencies file "wsutil/CMakeFiles/wsutil.dir/plugins.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Dependencies file "wsutil/CMakeFiles/wsutil.dir/privileges.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Dependencies file "wsutil/CMakeFiles/wsutil.dir/report_message.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Dependencies file "wsutil/CMakeFiles/wsutil.dir/rsa.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Dependencies file "wsutil/CMakeFiles/wsutil.dir/sober128.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Dependencies file "wsutil/CMakeFiles/wsutil.dir/socket.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Dependencies file "wsutil/CMakeFiles/wsutil.dir/str_util.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Dependencies file "wsutil/CMakeFiles/wsutil.dir/strnatcmp.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Dependencies file "wsutil/CMakeFiles/wsutil.dir/strtoi.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Dependencies file "wsutil/CMakeFiles/wsutil.dir/tempfile.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Dependencies file "wsutil/CMakeFiles/wsutil.dir/time_util.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Dependencies file "wsutil/CMakeFiles/wsutil.dir/type_util.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Dependencies file "wsutil/CMakeFiles/wsutil.dir/unicode-utils.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Dependencies file "wsutil/CMakeFiles/wsutil.dir/ws_mempbrk.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Dependencies file "wsutil/CMakeFiles/wsutil.dir/ws_mempbrk_sse42.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Dependencies file "wsutil/CMakeFiles/wsutil.dir/ws_pipe.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Dependencies file "wsutil/CMakeFiles/wsutil.dir/wsgcrypt.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Dependencies file "wsutil/CMakeFiles/wsutil.dir/wsjson.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Dependencies file "wsutil/CMakeFiles/wsutil.dir/xtea.c.o.d" is newer than depends file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target wsutil
CMake Error: Cannot open file for write: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/wsutil/CMakeFiles/wsutil.dir/compiler_depend.make.tmp7707d
CMake Error: : System Error: Permission denied
make[2]: *** [wsutil/CMakeFiles/wsutil.dir/depend] Error 2
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7'
make[1]: *** [wsutil/CMakeFiles/wsutil.dir/all] Error 2
We are on tag v3.4.7.
version.h unchanged.
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7'
[ 65%] Built target version
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7'

I'm not familiar with MacPort's build process, but I can confirm there is a permission denied error

$ cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7
$ ln -s -f Wireshark.app/Contents/MacOS/dftest /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/run/dftest
ln: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/run/dftest: Permission denied
$ ls -la /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/run/dftest
lrwxr-xr-x  1 macports  wheel  35 Sep  3 15:20 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7/run/dftest -> Wireshark.app/Contents/MacOS/dftest

Attachments (1)

main.log (3.2 MB) - added by nalzok (Qingyao Sun) 3 years ago.
error log

Change History (5)

Changed 3 years ago by nalzok (Qingyao Sun)

Attachment: main.log added

error log

comment:1 Changed 3 years ago by nalzok (Qingyao Sun)

Cc: nalzok added

comment:2 Changed 3 years ago by nalzok (Qingyao Sun)

Cc: nalzok removed

comment:3 Changed 3 years ago by ghosthound

Building wireshark3 +lua works for me. I'm not sure why you would be getting a permission error during the build. The permission error when you are looking at the files on disk makes sense, the file(s) and directory should be owned by the "macports" user, not your user.

comment:4 Changed 3 years ago by nalzok (Qingyao Sun)

The permission error when you are looking at the files on disk makes sense, the file(s) and directory should be owned by the "macports" user, not your user.

This is exactly what I currently have. The ls -la output in the original post indicates that dftest is owned by macports:wheel.

Also, if you look close enough, the log says

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.
macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wire
shark-3.4.7/epan/wslua/lua_bitop.c:61:2: error: "Unknown number type, check LUA_
NUMBER_* in luaconf.h"
:info:build #error "Unknown number type, check LUA_NUMBER_* in luaconf.h"
:info:build  ^
:info:build 1 error generated.
:info:build make[2]: *** [epan/wslua/CMakeFiles/wslua.dir/lua_bitop.c.o] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.7'
:info:build make[1]: *** [epan/wslua/CMakeFiles/wslua.dir/all] Error 2
:info:build make[1]: *** Waiting for unfinished jobs....
:info:build [  4%] Building C object epan/dissectors/CMakeFiles/dissectors.dir/file-rbm.c.o

So there is at least another issue besides "permission denied".

Note: See TracTickets for help on using tickets.