Created attachment 222408 [details] terminal output helloSystem with FreeBSD upgraded to 12.2-RELEASE-p3 cd /usr/ports/devel/electron11/work/electron-11.2.3/src && /usr/bin/env PKG_CONFIG=pkgconf PYTHON="/usr/local/bin/python2.7" XDG_DATA_HOME=/usr/ports/devel/electron11/work XDG_CONFIG_HOME=/usr/ports/devel/electron11/work HOME=/usr/ports/devel/electron11/work PATH=/usr/ports/devel/electron11/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local" LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 ./out/Debug/gn gen out/Debug --args='import("//electron/build/args/debug.gn") clang_use_chrome_plugins=false enable_hangout_services_extension=true enable_nacl=false enable_one_click_signin=true enable_remoting=false fieldtrial_testing_like_official_build=true is_clang=true toolkit_views=true treat_warnings_as_errors=false use_allocator="none" use_allocator_shim=false use_aura=true use_custom_libcxx=false use_gnome_keyring=false use_lld=true use_sysroot=false use_system_freetype=true use_system_harfbuzz=true use_system_libjpeg=true extra_cxxflags="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include " extra_ldflags=" -fstack-protector-strong -L/usr/local/lib " use_alsa=true use_cups=true is_component_build=false use_kerberos=true use_pulseaudio=true' env: ./out/Debug/gn: No such file or directory *** Error code 127
(In reply to Graham Perrin from comment #0) It appears there is some problem with the build process when DEBUG option is ON. I'm looking into this. In the meantime, you can build the port successfully with DEBUG option OFF.
A commit references this bug: Author: tagattie Date: Mon Feb 15 07:56:36 UTC 2021 New revision: 565293 URL: https://svnweb.freebsd.org/changeset/ports/565293 Log: Fix build with DEBUG option ON (quarterly 2021Q1 is not affected) PR: 253481 Reported by: Graham Perrin <grahamperrin@gmail.com> Changes: head/devel/electron11/Makefile
Now the port should build with DEBUG option ON.