webkitgtk: fix on darwin

Motivation for this change
ZHF: #122042
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[x] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 123298 run on x86_64-darwin 1

16 packages marked as broken and skipped:

almanah
balsa
gnome-recipes
gnome.nautilus-python
kicad-unstable-small
mate.atril
mate.mate-user-guide
nyxt
onboard
python38Packages.wxPython_4_1
python39Packages.wxPython_4_1
quodlibet-full
quodlibet-xine
quodlibet-xine-full
setzer
vuze

6 packages failed to build:

font-manager
gnvim
luakit
quodlibet
quodlibet-without-gst-plugins
surf

5 packages built:

webkitgtk (gnome.webkitgtk)
gnvim-unwrapped
haskellPackages.gi-webkit2webextension
pdfpc
rednotebook

Nice! this also unblocks packaging nyxt for darwin as well. I tried working on this a bit, there were some upstream patches I pulled from macports in this PR https://github.com/NixOS/nixpkgs/pull/116233/files, not sure if any of them are useful :)

Nice! this also unblocks packaging nyxt for darwin as well. I tried working on this a bit, there were some upstream patches I pulled from macports in this PR https://github.com/NixOS/nixpkgs/pull/116233/files, not sure if any of them are useful :)

I must say, looking at those patches I only understand a couple of them. I've been able to run my PR with Midori and Epiphany (after heavy patching). It allows to browse some sites, but there are quite a few rough edges.

I believe @jmercouris wrote most of these (sorry for the ping). I was interested in trying to get some of these upstreamed after our conversation when nyxt stopped maintaining their macports branch https://github.com/atlas-engineer/nyxt/issues/1191#issuecomment-798144368.

Hey, I was happy to get webkitgtk working all the way back to SnowLeopard with those patches! i thought perhaps I would use epiphany as the go-to browser on SnowLeopard, and it works there, but there is some kind of issue with the IPC that hangs it sometimes, and that is bearish-hard to debug.
It's been a long time since I sat down with this code -- I'm a bit out of date on the latest -- I usually tend to do a bit flurry of it once or twice a year and then leave it as it is such a lot of tweaking.
Upstream webkitgtk has abandoned macOS for the most part, so we're on our own fixing 99% of this.
If there is something specific you need help with I can probably scare up some time. Otherwise I'll wait for the next rainy stretch and see if I can get the latest code building again.
Glad to hear there is interest!

It looks like this patch here might actually be exactly to help fix the specific IPC issue I keep seeing -- if so, thanks very much to whoever figured this out. I'd be happy to try it out -- the recurring "error loading page...." messages were getting a bit frustrating, although in the end, after several reloads, the page would usually finally load.

BTW -- I see questions here and there about where these patches came from, why they exist, what they are for, whether they are needed, etc. Most of the documentation for this is added in the MacPorts portfile where I originally put them. They are quite similar between webkit2-gtk and webkit2-gtk-devel.
you can get most of the documentation here:
https://github.com/macports/macports-ports/blob/master/www/webkit2-gtk/Portfile

I was trying to update the packaging for nyxt and tried this out, but it didn't build for me. Looks like a 10.12 SDK issue?:
error: builder for '/nix/store/c1izv846xdlw5k43abls9xw6b2ys0dzq-webkitgtk-2.32.1.drv' failed with exit code 1;
       last 10 log lines:
       > #if OS(DARWIN) && (TARGET_OS_IOS && !(defined(TARGET_OS_MACCATALYST) && TARGET_OS_MACCATALYST))
       >                    ^
       > DerivedSources/ForwardingHeaders/wtf/PlatformOS.h:72:19: warning: 'TARGET_OS_TV' is not defined, evaluates to 0 [-Wundef]
       > #if OS(DARWIN) && TARGET_OS_TV
       >                   ^
       > DerivedSources/ForwardingHeaders/wtf/PlatformOS.h:77:19: warning: 'TARGET_OS_WATCH' is not defined, evaluates to 0 [-Wundef]
       > #if OS(DARWIN) && TARGET_OS_WATCH
       >                   ^
       > 3 warnings generated.
       > ninja: build stopped: subcommand failed.
       For full logs, run 'nix log /nix/store/c1izv846xdlw5k43abls9xw6b2ys0dzq-webkitgtk-2.32.1.drv'.

@mjlbach Full log, please!

@veprbl Here you go!
https://paste.sr.ht/~mjlbach/8c0c901071bd8942a42dcfd05c95c514e6e6e364

A build/cmakeconfig.h file should be generated during the configurePhase:
https://github.com/WebKit/WebKit/blob/60dd2d1747c124d81f8cf9e2525720541f7189bf/Source/cmake/WebKitFeatures.cmake#L409-L426
And, according to the log, the build/ directory appears in the include path, so it should work.

Yes, this is confusing to me too (I'm on fc1f7ed44576459bc5b962ff5adaf303e98ce16c), not sure why I'm only unable to build it.

@mjlbach I can suggest some troubleshooting steps:

Try building with sandbox
Try building with -j1
Build with --option keep-failed true and check if cmakeconfig.h is in the build directory

@veprbl Thanks! I think I might be running into https://github.com/NixOS/nix/issues/4658 (I'm on Big Sur on nix 2.4pre20210503_6d2553a) so sandboxing is currently failing with:
❯ nix build ".#webkitgtk"
error: getting attributes of path '/usr/lib/libSystem.B.dylib: No such file or directory
(use '--show-trace' to show detailed location information)

I'll try pulling the latest nix and see if it fixes the issue.

I successfully built it with the latest Nix version and sandbox enabled. However, it fails with sandbox disabled.

Can't reproduce without sandbox:
nix build --expr '(import (builtins.fetchTarball { url = "https://github.com/NixOS/nixpkgs/archive/fc1f7ed44576459bc5b962ff5adaf303e98ce16c.tar.gz"; sha256 = "1c2nhq1zwbk71habbnfkbplnmw42laz2dp837gcygf0lybasvhbz"; }) { system = "x86_64-darwin"; }).webkitgtk' --option sandbox false --option cores 4

@babariviere Do you also get the error with cmakeconfig.h?

@veprbl Yes, exactly

I think, it could help to see the build log for cmake configuration with --trace:
nix build --expr '(import (builtins.fetchTarball { url = "https://github.com/NixOS/nixpkgs/archive/fc1f7ed44576459bc5b962ff5adaf303e98ce16c.tar.gz"; sha256 = "1c2nhq1zwbk71habbnfkbplnmw42laz2dp837gcygf0lybasvhbz"; }) { system = "x86_64-darwin"; }).webkitgtk.overrideAttrs (old: { cmakeFlags = old.cmakeFlags ++ [ "--trace" ]; })' --option sandbox false --option cores 4

Result of nixpkgs-review pr 123298 run on x86_64-darwin 1

18 packages marked as broken and skipped:

almanah
balsa
gnome-recipes
gnome.nautilus-python
kicad-unstable-small
mate.atril
mate.mate-user-guide
nyxt
onboard
python38Packages.wxPython_4_1
python39Packages.wxPython_4_1
quodlibet
quodlibet-full
quodlibet-without-gst-plugins
quodlibet-xine
quodlibet-xine-full
setzer
vuze

9 packages failed to build:

font-manager
webkitgtk (gnome.webkitgtk)
gnvim
gnvim-unwrapped
haskellPackages.gi-webkit2webextension
luakit
pdfpc
rednotebook
surf

Full stacktrace
./Source/ThirdParty/gtest/scripts/fuse_gtest_files.py: interpreter directive changed from "#!/usr/bin/env
./Source/ThirdParty/gtest/scripts/gtest-config.in: interpreter directive changed from "#!/bin/sh" to "/nix
./Source/ThirdParty/gtest/scripts/gen_gtest_pred_impl.py: interpreter directive changed from "#!/usr/bin/e
./Source/ThirdParty/gtest/scripts/upload_gtest.py: interpreter directive changed from "#!/usr/bin/env pyth
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
fixing cmake files...
cmake flags: -GNinja -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -D
-- The C compiler identification is Clang 7.1.0
-- The CXX compiler identification is Clang 7.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /nix/store/d4p8v32sivk3zj3jklx3irswbwwigxcd-clang-wrapper-7.1.0/bin/clang
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /nix/store/d4p8v32sivk3zj3jklx3irswbwwigxcd-clang-wrapper-7.1.0/bin/cla
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The CMake build type is: Release
-- Found Perl: /nix/store/zzbnn13hn1ak8g0qrcwd6qmn0abd5wng-perl-5.32.1/bin/perl (found suitable version "5
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The CMake build type is: Release
-- Found Perl: /nix/store/zzbnn13hn1ak8g0qrcwd6qmn0abd5wng-perl-5.32.1/bin/perl (found suitable version "5
-- Found PerlModules: TRUE  found components: JSON::PP
-- Found PythonInterp: /nix/store/p6k14ihyfaq3z4sycxr09cvgpis2zjd5-python3-3.8.9/bin/python3 (found suitab
-- Found Ruby: /nix/store/pvjn7286hg49kw1bisnj1zzmr8z3yw5f-ruby-2.7.3/bin/ruby (found suitable version "2.
-- Enabling ccache: Couldn't find ccache program. Not enabling it.
-- Performing Test C_COMPILER_SUPPORTS_-fno-strict-aliasing
-- Performing Test C_COMPILER_SUPPORTS_-fno-strict-aliasing - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-strict-aliasing
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-strict-aliasing - Success
-- Performing Test C_COMPILER_SUPPORTS_-fno-exceptions
-- Performing Test C_COMPILER_SUPPORTS_-fno-exceptions - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-exceptions
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-exceptions - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-rtti
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-rtti - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wno-tautological-compare
-- Performing Test C_COMPILER_SUPPORTS_-Wno-tautological-compare - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-tautological-compare
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-tautological-compare - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wcast-align
-- Performing Test C_COMPILER_SUPPORTS_-Wcast-align - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wformat-security
-- Performing Test C_COMPILER_SUPPORTS_-Wformat-security - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wmissing-format-attribute
-- Performing Test C_COMPILER_SUPPORTS_-Wmissing-format-attribute - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wpointer-arith
-- Performing Test C_COMPILER_SUPPORTS_-Wpointer-arith - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wundef
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The CMake build type is: Release
-- Found Perl: /nix/store/zzbnn13hn1ak8g0qrcwd6qmn0abd5wng-perl-5.32.1/bin/perl (found suitable version "5
-- Found PerlModules: TRUE  found components: JSON::PP
-- Found PythonInterp: /nix/store/p6k14ihyfaq3z4sycxr09cvgpis2zjd5-python3-3.8.9/bin/python3 (found suitab
-- Found Ruby: /nix/store/pvjn7286hg49kw1bisnj1zzmr8z3yw5f-ruby-2.7.3/bin/ruby (found suitable version "2.
-- Enabling ccache: Couldn't find ccache program. Not enabling it.
-- Performing Test C_COMPILER_SUPPORTS_-fno-strict-aliasing
-- Performing Test C_COMPILER_SUPPORTS_-fno-strict-aliasing - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-strict-aliasing
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-strict-aliasing - Success
-- Performing Test C_COMPILER_SUPPORTS_-fno-exceptions
-- Performing Test C_COMPILER_SUPPORTS_-fno-exceptions - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-exceptions
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-exceptions - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-rtti
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-rtti - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wno-tautological-compare
-- Performing Test C_COMPILER_SUPPORTS_-Wno-tautological-compare - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-tautological-compare
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-tautological-compare - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wcast-align
-- Performing Test C_COMPILER_SUPPORTS_-Wcast-align - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wformat-security
-- Performing Test C_COMPILER_SUPPORTS_-Wformat-security - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wmissing-format-attribute
-- Performing Test C_COMPILER_SUPPORTS_-Wmissing-format-attribute - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wpointer-arith
-- Performing Test C_COMPILER_SUPPORTS_-Wpointer-arith - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wundef
-- Performing Test C_COMPILER_SUPPORTS_-Wpointer-arith - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wundef
-- Performing Test C_COMPILER_SUPPORTS_-Wundef - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wwrite-strings
-- Performing Test C_COMPILER_SUPPORTS_-Wwrite-strings - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wcast-align
-- Performing Test CXX_COMPILER_SUPPORTS_-Wcast-align - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wformat-security
-- Performing Test CXX_COMPILER_SUPPORTS_-Wformat-security - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wmissing-format-attribute
-- Performing Test CXX_COMPILER_SUPPORTS_-Wmissing-format-attribute - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wpointer-arith
-- Performing Test CXX_COMPILER_SUPPORTS_-Wpointer-arith - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wundef
-- Performing Test CXX_COMPILER_SUPPORTS_-Wundef - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wwrite-strings
-- Performing Test CXX_COMPILER_SUPPORTS_-Wwrite-strings - Success
-- Performing Test C_COMPILER_SUPPORTS_-Qunused-arguments
-- Performing Test C_COMPILER_SUPPORTS_-Qunused-arguments - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wno-maybe-uninitialized
-- Performing Test C_COMPILER_SUPPORTS_-Wno-maybe-uninitialized - Failed
-- Performing Test C_COMPILER_SUPPORTS_-Wno-parentheses-equality
-- Performing Test C_COMPILER_SUPPORTS_-Wno-parentheses-equality - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wno-misleading-indentation
-- Performing Test C_COMPILER_SUPPORTS_-Wno-misleading-indentation - Failed
-- Performing Test C_COMPILER_SUPPORTS_-Wno-psabi
-- Performing Test C_COMPILER_SUPPORTS_-Wno-psabi - Failed
-- Performing Test CXX_COMPILER_SUPPORTS_-Qunused-arguments
-- Performing Test CXX_COMPILER_SUPPORTS_-Qunused-arguments - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-maybe-uninitialized
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-maybe-uninitialized - Failed
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-parentheses-equality
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-parentheses-equality - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-misleading-indentation
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-misleading-indentation - Failed
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-psabi
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-psabi - Failed
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-noexcept-type
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-noexcept-type - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wall
-- Performing Test C_COMPILER_SUPPORTS_-Wall - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wextra
-- Performing Test C_COMPILER_SUPPORTS_-Wextra - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wall
-- Performing Test CXX_COMPILER_SUPPORTS_-Wall - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wextra
-- Performing Test CXX_COMPILER_SUPPORTS_-Wextra - Success
-- Performing Test C_COMPILER_SUPPORTS_-fcolor-diagnostics
-- Performing Test C_COMPILER_SUPPORTS_-fcolor-diagnostics - Success
-- Performing Test C_COMPILER_SUPPORTS_-fdiagnostics-color=always
-- Performing Test C_COMPILER_SUPPORTS_-fdiagnostics-color=always - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-fcolor-diagnostics
-- Performing Test CXX_COMPILER_SUPPORTS_-fcolor-diagnostics - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-fdiagnostics-color=always
-- Performing Test CXX_COMPILER_SUPPORTS_-fdiagnostics-color=always - Success
-- Performing Test ATOMICS_ARE_BUILTIN
-- Performing Test ATOMICS_ARE_BUILTIN - Success
-- Performing Test STD_FILESYSTEM_IS_AVAILABLE
-- Performing Test STD_FILESYSTEM_IS_AVAILABLE - Failed
-- Performing Test STD_EXPERIMENTAL_FILESYSTEM_IS_AVAILABLE
-- Performing Test STD_EXPERIMENTAL_FILESYSTEM_IS_AVAILABLE - Failed
-- Looking for features.h
-- Looking for features.h - not found
-- Looking for errno.h
-- Looking for errno.h - found
-- Looking for langinfo.h
-- Looking for langinfo.h - found
-- Looking for sys/mman.h
-- Looking for sys/mman.h - found
-- Looking for pthread_np.h
-- Looking for pthread_np.h - not found
-- Looking for sys/param.h
-- Looking for sys/param.h - found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for sys/timeb.h
-- Looking for sys/timeb.h - found
-- Looking for linux/memfd.h
-- Looking for linux/memfd.h - not found
-- Looking for _aligned_malloc
-- Looking for _aligned_malloc - not found
-- Looking for IsDebuggerPresent
-- Looking for IsDebuggerPresent - not found
-- Looking for localtime_r
-- Looking for localtime_r - found
-- Looking for malloc_trim
-- Looking for malloc_trim - not found
-- Looking for strnstr
-- Looking for strnstr - found
-- Looking for timegm
-- Looking for timegm - found
-- Looking for vasprintf
-- Looking for vasprintf - found
-- Looking for regexec
-- Looking for regexec - found
-- Looking for SIGTRAP
-- Looking for SIGTRAP - found
-- Performing Test HAVE_STAT_BIRTHTIME_value
-- Performing Test HAVE_STAT_BIRTHTIME_value - Success
-- Performing Test HAVE_TM_GMTOFF_value
-- Performing Test HAVE_TM_GMTOFF_value - Success
-- Performing Test HAVE_TM_ZONE_value
-- Performing Test HAVE_TM_ZONE_value - Success
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of __int128_t
-- Check size of __int128_t - done
-- Found Cairo: /nix/store/gybzy7g0zg4chnvkxlb55ibcf8vxhzrq-cairo-1.16.0/lib/libcairo.dylib (found suitabl
-- Found Fontconfig: /nix/store/fixniangs5y54i9blgry9d3whwjnx0wr-fontconfig-2.13.92-lib/lib/libfontconfig.
-- Found Freetype: /nix/store/j488dykp6hylfi8wcfyakx602d3kavsh-freetype-2.10.4/lib/libfreetype.dylib (foun
-- Found LibGcrypt: /nix/store/55rbmpxx0r0323srg3sxjfiwvqbpfcfn-libgcrypt-1.9.2/lib/libgcrypt.dylib (fou
-- Found GLIB: /nix/store/mp3x93h78nz9acgkb2hg1mvg576hb4v9-glib-2.68.2-dev/include/glib-2.0;/nix/store/zfg
-- Found the following HarfBuzz libraries:
--  HarfBuzz (required): /nix/store/43rwh2ln44pani2ca7hb5sss3v2zj5hk-harfbuzz-2.8.0/lib/libharfbuzz.dylib
--  ICU (required): /nix/store/nx713d6f3iy7gglabs08d4hm9m6l93vd-harfbuzz-icu-2.8.0/lib/libharfbuzz-icu.dyl
-- Found HarfBuzz: /nix/store/rqzgkzkl812kr9va0birb0yg85xijy6j-harfbuzz-icu-2.8.0-dev/include/harfbuzz (fo
-- Found the following ICU libraries:
--   data (required)
--   i18n (required)
--   uc (required)
-- Found ICU: /nix/store/6p0v8pgpywhdlyg0mvcslc6vb5xq87sy-icu4c-69.1-dev/include (found suitable version "
-- Found JPEG: /nix/store/na20is4sdzs5qk4vnkdwg3mawyjvgnmm-libjpeg-turbo-2.0.6/lib/libjpeg.dylib (found ve
-- Found LibXml2: /nix/store/lwyd7x8gs7bd5j4s8j761fhbm74zh021-libxml2-2.9.12/lib/libxml2.dylib (found suit
-- Found ZLIB: /nix/store/8f4wp5sdl08wrnj3ajsqrjbv7fw5lgv7-zlib-1.2.11/lib/libz.dylib (found version "1.2.
-- Found PNG: /nix/store/1knyy6r1amp2ljac9vw40p2jhfyncmr0-libpng-apng-1.6.37/lib/libpng.dylib (found versi
-- Found SQLite3: /nix/store/a2nwhgxf7rhjy3g3wv1mzsxwn9pnzfr4-sqlite-3.35.2/lib/libsqlite3.dylib (found ve
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Checking for module 'atk'
--   Found atk, version 2.36.0
-- Found ATK: /nix/store/4hinw037j44ch9awr5c5zyvawy8mp1n7-atk-2.36.0-dev/include/atk-1.0 (found suitable v
-- Found the following WebP libraries:
--  WebP (required): /nix/store/ydx623p11gvc37768x0shv0hqcliffsq-libwebp-1.1.0/lib/libwebp.dylib
--  demux (required): /nix/store/ydx623p11gvc37768x0shv0hqcliffsq-libwebp-1.1.0/lib/libwebpdemux.dylib
-- Found WebP: /nix/store/ydx623p11gvc37768x0shv0hqcliffsq-libwebp-1.1.0/include
-- Checking for module 'atspi-2'
--   Found atspi-2, version 2.40.1
Package xau was not found in the pkg-config search path.
Perhaps you should add the directory containing `xau.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xau', required by 'xcb', not found
Package xau was not found in the pkg-config search path.
Perhaps you should add the directory containing `xau.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xau', required by 'xcb', not found
Package xau was not found in the pkg-config search path.
Perhaps you should add the directory containing `xau.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xau', required by 'xcb', not found
-- Found ATSPI: /nix/store/mp3x93h78nz9acgkb2hg1mvg576hb4v9-glib-2.68.2-dev/include/glib-2.0;/nix/store/zf
-- Checking for module 'egl'
--   No package 'egl' found
-- Could NOT find EGL (missing: EGL_INCLUDE_DIRS EGL_LIBRARIES)
-- Checking for module 'gl'
--   Found gl, version 21.0.1
-- Found OpenGL: /nix/store/aln78wx5x4r0ywk8g5aniv2gngb29f82-libGL-1.3.3-dev/include
-- Looking for include file GL/glx.h
-- Looking for include file GL/glx.h - found
-- Checking for module 'glesv2'
--   Found glesv2, version 21.0.1
-- Found OpenGLES2: /nix/store/aln78wx5x4r0ywk8g5aniv2gngb29f82-libGL-1.3.3-dev/include
-- Disabling ENABLE_3D_TRANSFORMS since USE_OPENGL_OR_ES is disabled.
-- Disabling ENABLE_ASYNC_SCROLLING since USE_OPENGL_OR_ES is disabled.
-- Disabling USE_GSTREAMER_GL since USE_OPENGL_OR_ES is disabled.
-- Checking for module 'gtk+-3.0'
--   Found gtk+-3.0, version 3.24.27
to the PKG_CONFIG_PATH environment variable
Package 'libthai', required by 'pango', not found
Package libthai was not found in the pkg-config search path.
Perhaps you should add the directory containing `libthai.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libthai', required by 'pango', not found
Package libthai was not found in the pkg-config search path.
Perhaps you should add the directory containing `libthai.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libthai', required by 'pango', not found
Package libthai was not found in the pkg-config search path.
Perhaps you should add the directory containing `libthai.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libthai', required by 'pango', not found
-- Found GTK: 3.24.27 (Required is at least version "3.22.0")
Package libpsl was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpsl.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpsl', required by 'libsoup-2.4', not found
Package libpsl was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpsl.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpsl', required by 'libsoup-2.4', not found
Package libpsl was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpsl.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpsl', required by 'libsoup-2.4', not found
Package libpsl was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpsl.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpsl', required by 'libsoup-2.4', not found
-- Found LibSoup: /nix/store/w16ci83iqh94kra2wfpcfqv11cdbsxzc-libsoup-2.72.0-dev/include/libsoup-2.4 (foun
-- Found LibXslt: /nix/store/miw79q1f5fbhfpcm60r612hsr5kyq37m-libxslt-1.1.34/lib/libxslt.dylib (found suit
-- Checking for module 'libsecret-1'
--   Found libsecret-1, version 0.20.4
-- Found Libsecret: /nix/store/mp3x93h78nz9acgkb2hg1mvg576hb4v9-glib-2.68.2-dev/include;/nix/store/mp3x93h
-- Checking for module 'gobject-introspection-1.0'
--   Found gobject-introspection-1.0, version 1.68.0
-- Checking for module 'libtasn1'
--   Found libtasn1, version 4.16.0
-- Found Libtasn1: /nix/store/igc1ghs29x31fwn9jj9kzqqwcnmi3lnq-libtasn1-4.16.0/lib/libtasn1.dylib
-- Checking for module 'enchant-2'
--   Found enchant-2, version 2.2.15
-- Found LibNotify: /nix/store/mp3x93h78nz9acgkb2hg1mvg576hb4v9-glib-2.68.2-dev/include;/nix/store/mp3x93h
-- Found OpenJPEG: /nix/store/fwjqb82mhvp9r0y8ss104xp3lr389l4m-openjpeg-2.4.0/lib/libopenjp2.dylib (found
-- Checking for module 'libwoff2dec'
--   Found libwoff2dec, version 1.0.2
-- Found the following WOFF2 libraries:
--  WOFF2 (required): /nix/store/kzxcmqikxam8364dbkick8zm9rrdzs3a-woff2-1.0.2-lib/lib/libwoff2common.dylib
--  dec (required): /nix/store/kzxcmqikxam8364dbkick8zm9rrdzs3a-woff2-1.0.2-lib/lib/libwoff2dec.dylib
-- Found WOFF2: /nix/store/kzxcmqikxam8364dbkick8zm9rrdzs3a-woff2-1.0.2-lib/lib/libwoff2common.dylib (foun
-- Checking for module 'gstreamer-1.0 >= 1.14.0'
--   Found gstreamer-1.0 , version 1.18.4
-- Checking for module 'gstreamer-base-1.0 >= 1.14.0'
--   Found gstreamer-base-1.0 , version 1.18.4
-- Checking for module 'gstreamer-full-1.0>=1.17.0'
--   No package 'gstreamer-full-1.0' found
-- Checking for module 'gstreamer-app-1.0 >= 1.14.0'
--   Found gstreamer-app-1.0 , version 1.18.4
-- Checking for module 'gstreamer-audio-1.0 >= 1.14.0'
--   Found gstreamer-audio-1.0 , version 1.18.4
Package orc-0.4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `orc-0.4.pc'
to the PKG_CONFIG_PATH environment variable
Package 'orc-0.4', required by 'gstreamer-audio-1.0', not found
Package orc-0.4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `orc-0.4.pc'
to the PKG_CONFIG_PATH environment variable
Package 'orc-0.4', required by 'gstreamer-audio-1.0', not found
Package orc-0.4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `orc-0.4.pc'
to the PKG_CONFIG_PATH environment variable
Package 'orc-0.4', required by 'gstreamer-audio-1.0', not found
Package orc-0.4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `orc-0.4.pc'
to the PKG_CONFIG_PATH environment variable
Package 'orc-0.4', required by 'gstreamer-audio-1.0', not found
-- Checking for module 'gstreamer-fft-1.0 >= 1.14.0'
--   Found gstreamer-fft-1.0 , version 1.18.4
-- Checking for module 'gstreamer-gl-1.0 >= 1.14.0'
--   No package 'gstreamer-gl-1.0' found
-- Checking for module 'gstreamer-mpegts-1.0>=1.4.0'
--   Found gstreamer-mpegts-1.0, version 1.18.2
-- Checking for module 'gstreamer-pbutils-1.0 >= 1.14.0'
--   Found gstreamer-pbutils-1.0 , version 1.18.4
Package orc-0.4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `orc-0.4.pc'
to the PKG_CONFIG_PATH environment variable
Package 'orc-0.4', required by 'gstreamer-audio-1.0', not found
Package orc-0.4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `orc-0.4.pc'
to the PKG_CONFIG_PATH environment variable
Package 'orc-0.4', required by 'gstreamer-audio-1.0', not found
Package orc-0.4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `orc-0.4.pc'
to the PKG_CONFIG_PATH environment variable
Package 'orc-0.4', required by 'gstreamer-audio-1.0', not found
Package orc-0.4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `orc-0.4.pc'
to the PKG_CONFIG_PATH environment variable
Package 'orc-0.4', required by 'gstreamer-audio-1.0', not found
-- Checking for module 'gstreamer-tag-1.0 >= 1.14.0'
--   Found gstreamer-tag-1.0 , version 1.18.4
-- Checking for module 'gstreamer-video-1.0 >= 1.14.0'
--   Found gstreamer-video-1.0 , version 1.18.4
Package orc-0.4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `orc-0.4.pc'
to the PKG_CONFIG_PATH environment variable
Package 'orc-0.4', required by 'gstreamer-video-1.0', not found
Package orc-0.4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `orc-0.4.pc'
to the PKG_CONFIG_PATH environment variable
Package 'orc-0.4', required by 'gstreamer-video-1.0', not found
Package orc-0.4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `orc-0.4.pc'
to the PKG_CONFIG_PATH environment variable
Package 'orc-0.4', required by 'gstreamer-video-1.0', not found
Package orc-0.4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `orc-0.4.pc'
to the PKG_CONFIG_PATH environment variable
Package 'orc-0.4', required by 'gstreamer-video-1.0', not found
-- Checking for module 'gstreamer-codecparsers-1.0 >= 1.14.0'
--   Found gstreamer-codecparsers-1.0 , version 1.18.2
-- Found GStreamer: GSTREAMER_INCLUDE_DIRS;GSTREAMER_LIBRARIES;GSTREAMER_VERSION;GSTREAMER_BASE_INCLUDE_DI
-- Found Gperf: /nix/store/mvsamb4hryw04ikl2grjvhl1g2vlm386-gperf-3.1/bin/gperf (Required is at least vers
-- Using platform-specific CMakeLists: //private/tmp/nix-build-webkitgtk-2.32.1.drv-0/webkitgtk-2.32.1/Sou
-- Using platform-specific CMakeLists: //private/tmp/nix-build-webkitgtk-2.32.1.drv-0/webkitgtk-2.32.1/Sou
-- Performing Test CXX_COMPILER_SUPPORTS_-ffp-contract=off
-- Performing Test CXX_COMPILER_SUPPORTS_-ffp-contract=off - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-slp-vectorize
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-slp-vectorize - Success
-- Using source list file: Sources.txt
-- Using source list file: inspector/remote/SourcesGLib.txt
-- Using platform-specific CMakeLists: //private/tmp/nix-build-webkitgtk-2.32.1.drv-0/webkitgtk-2.32.1/Sou
-- Performing Test C_COMPILER_SUPPORTS_-Wno-cast-function-type
-- Performing Test C_COMPILER_SUPPORTS_-Wno-cast-function-type - Failed
-- Performing Test C_COMPILER_SUPPORTS_-Wno-sign-compare
-- Performing Test C_COMPILER_SUPPORTS_-Wno-sign-compare - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wno-unused-parameter
-- Performing Test C_COMPILER_SUPPORTS_-Wno-unused-parameter - Success
-- Using platform-specific CMakeLists: //private/tmp/nix-build-webkitgtk-2.32.1.drv-0/webkitgtk-2.32.1/Sou
-- Using platform-specific CMakeLists: //private/tmp/nix-build-webkitgtk-2.32.1.drv-0/webkitgtk-2.32.1/Sou
-- Using platform-specific CMakeLists: //private/tmp/nix-build-webkitgtk-2.32.1.drv-0/webkitgtk-2.32.1/Sou
-- Using source list file: Sources.txt
-- Using source list file: platform/SourcesCairo.txt
-- Using source list file: platform/SourcesGCrypt.txt
-- Using source list file: platform/SourcesSoup.txt
-- Using source list file: SourcesGTK.txt
-- Using source list file: platform/SourcesGLib.txt
-- Looking for shm_open
-- Looking for shm_open - found
-- Using platform-specific CMakeLists: //private/tmp/nix-build-webkitgtk-2.32.1.drv-0/webkitgtk-2.32.1/Sou
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-unused-parameter
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-unused-parameter - Success
-- Using source list file: Sources.txt
-- Using source list file: SourcesGTK.txt
-- Using platform-specific CMakeLists: //private/tmp/nix-build-webkitgtk-2.32.1.drv-0/webkitgtk-2.32.1/Sou
-- Using platform-specific CMakeLists: //private/tmp/nix-build-webkitgtk-2.32.1.drv-0/webkitgtk-2.32.1/Sou
-- Found Gettext: /nix/store/sc4qmg3bk9rw0cyz3yzncyy3kaala7cv-gettext-0.21/bin/msgmerge (found version "0.
-- Using platform-specific CMakeLists: //private/tmp/nix-build-webkitgtk-2.32.1.drv-0/webkitgtk-2.32.1/Too
-- Enabled features:
--  ENABLE_BUBBLEWRAP_SANDBOX .....................     ON
--  ENABLE_SPELLCHECK                               ON
--  ENABLE_TOUCH_EVENTS ........................... ON
--  ENABLE_VIDEO                                    ON
--  ENABLE_WAYLAND_TARGET .........................     ON
--  USE_OPENGL_OR_ES                                OFF
--  USE_OPENJPEG .................................. ON
--  USE_SOUP2                                       ON
--  USE_SYSTEMD ...................................  OFF
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    BUILD_TESTING
    CMAKE_EXPORT_NO_PACKAGE_REGISTRY
    CMAKE_POLICY_DEFAULT_CMP0025

-- Build files have been written to: //private/tmp/nix-build-webkitgtk-2.32.1.drv-0/webkitgtk-2.32.1/build
cmake: enabled parallel building
@nix { "action": "setPhase", "phase": "buildPhase" }
building
build flags: -j4 -l4
^M[0/4574] Building CXX object Source/WTF/wtf/CMakeFiles/WTF.dir/persistence/PersistentEncoder.cpp.o^M[1/4
In file included from ../Source/WTF/wtf/persistence/PersistentEncoder.cpp:26:
In file included from ../Source/WTF/config.h:26:
In file included from ../Source/WTF/wtf/ExportMacros.h:32:
In file included from ../Source/WTF/wtf/Platform.h:44:
../Source/WTF/wtf/PlatformOS.h:67:20: warning: 'TARGET_OS_IOS' is not defined, evaluates to 0 [-Wundef]
#if OS(DARWIN) && (TARGET_OS_IOS && !(defined(TARGET_OS_MACCATALYST) && TARGET_OS_MACCATALYST))
                   ^
../Source/WTF/wtf/PlatformOS.h:72:19: warning: 'TARGET_OS_TV' is not defined, evaluates to 0 [-Wundef]
#if OS(DARWIN) && TARGET_OS_TV
                  ^
../Source/WTF/wtf/PlatformOS.h:77:19: warning: 'TARGET_OS_WATCH' is not defined, evaluates to 0 [-Wundef]
#if OS(DARWIN) && TARGET_OS_WATCH
                  ^
3 warnings generated.
^M[1/4574] Building CXX object Source/WTF/wtf/CMakeFiles/WTF.dir/text/ASCIILiteral.cpp.o^M[2/4574] Buildin
In file included from ../Source/WTF/wtf/text/ASCIILiteral.cpp:26:
In file included from ../Source/WTF/config.h:26:
In file included from ../Source/WTF/wtf/ExportMacros.h:32:
In file included from ../Source/WTF/wtf/Platform.h:44:
../Source/WTF/wtf/PlatformOS.h:67:20: warning: 'TARGET_OS_IOS' is not defined, evaluates to 0 [-Wundef]
#if OS(DARWIN) && (TARGET_OS_IOS && !(defined(TARGET_OS_MACCATALYST) && TARGET_OS_MACCATALYST))
                   ^
../Source/WTF/wtf/PlatformOS.h:72:19: warning: 'TARGET_OS_TV' is not defined, evaluates to 0 [-Wundef]
#if OS(DARWIN) && TARGET_OS_TV
                  ^
../Source/WTF/wtf/PlatformOS.h:77:19: warning: 'TARGET_OS_WATCH' is not defined, evaluates to 0 [-Wundef]
#if OS(DARWIN) && TARGET_OS_WATCH
3 warnings generated.
^M[2/4574] Building CXX object Source/WTF/wtf/CMakeFiles/WTF.dir/text/AtomString.cpp.o^M[3/4574] Building
In file included from ../Source/WTF/wtf/text/AtomString.cpp:23:
In file included from ../Source/WTF/config.h:26:
In file included from ../Source/WTF/wtf/ExportMacros.h:32:
In file included from ../Source/WTF/wtf/Platform.h:44:
../Source/WTF/wtf/PlatformOS.h:67:20: warning: 'TARGET_OS_IOS' is not defined, evaluates to 0 [-Wundef]
#if OS(DARWIN) && (TARGET_OS_IOS && !(defined(TARGET_OS_MACCATALYST) && TARGET_OS_MACCATALYST))
                   ^
../Source/WTF/wtf/PlatformOS.h:72:19: warning: 'TARGET_OS_TV' is not defined, evaluates to 0 [-Wundef]
#if OS(DARWIN) && TARGET_OS_TV
                  ^
../Source/WTF/wtf/PlatformOS.h:77:19: warning: 'TARGET_OS_WATCH' is not defined, evaluates to 0 [-Wundef]
#if OS(DARWIN) && TARGET_OS_WATCH
                  ^
3 warnings generated.
^M[3/4574] Building CXX object Source/WTF/wtf/CMakeFiles/WTF.dir/text/AtomStringImpl.cpp.o^M[4/4574] Build
In file included from ../Source/WTF/wtf/text/AtomStringImpl.cpp:24:
In file included from ../Source/WTF/config.h:26:
In file included from ../Source/WTF/wtf/ExportMacros.h:32:
In file included from ../Source/WTF/wtf/Platform.h:44:
../Source/WTF/wtf/PlatformOS.h:67:20: warning: 'TARGET_OS_IOS' is not defined, evaluates to 0 [-Wundef]
#if OS(DARWIN) && (TARGET_OS_IOS && !(defined(TARGET_OS_MACCATALYST) && TARGET_OS_MACCATALYST))
                   ^
../Source/WTF/wtf/PlatformOS.h:72:19: warning: 'TARGET_OS_TV' is not defined, evaluates to 0 [-Wundef]
#if OS(DARWIN) && TARGET_OS_TV
                  ^
../Source/WTF/wtf/PlatformOS.h:77:19: warning: 'TARGET_OS_WATCH' is not defined, evaluates to 0 [-Wundef
#if OS(DARWIN) && TARGET_OS_WATCH
                  ^
3 warnings generated.
^M[4/4574] Building CXX object Source/WTF/wtf/CMakeFiles/WTF.dir/text/ExternalStringImpl.cpp.o^M[5/4574] B
In file included from ../Source/WTF/wtf/text/ExternalStringImpl.cpp:26:
In file included from ../Source/WTF/config.h:26:
In file included from ../Source/WTF/wtf/ExportMacros.h:32:
In file included from ../Source/WTF/wtf/Platform.h:44:
../Source/WTF/wtf/PlatformOS.h:67:20: warning: 'TARGET_OS_IOS' is not defined, evaluates to 0 [-Wundef]
#if OS(DARWIN) && (TARGET_OS_IOS && !(defined(TARGET_OS_MACCATALYST) && TARGET_OS_MACCATALYST))
                   ^
../Source/WTF/wtf/PlatformOS.h:72:19: warning: 'TARGET_OS_TV' is not defined, evaluates to 0 [-Wundef]
#if OS(DARWIN) && TARGET_OS_TV
                  ^
../Source/WTF/wtf/PlatformOS.h:77:19: warning: 'TARGET_OS_WATCH' is not defined, evaluates to 0 [-Wundef]
#if OS(DARWIN) && TARGET_OS_WATCH
                  ^
3 warnings generated.
^M[5/4574] Building CXX object Source/WTF/wtf/CMakeFiles/WTF.dir/text/StringBuilder.cpp.o^M[6/4574] Buildi
In file included from ../Source/WTF/wtf/text/StringBuilder.cpp:27:
In file included from ../Source/WTF/config.h:26:
In file included from ../Source/WTF/wtf/ExportMacros.h:32:
In file included from ../Source/WTF/wtf/Platform.h:44:
../Source/WTF/wtf/PlatformOS.h:67:20: warning: 'TARGET_OS_IOS' is not defined, evaluates to 0 [-Wundef]
#if OS(DARWIN) && (TARGET_OS_IOS && !(defined(TARGET_OS_MACCATALYST) && TARGET_OS_MACCATALYST))
                   ^
../Source/WTF/wtf/PlatformOS.h:72:19: warning: 'TARGET_OS_TV' is not defined, evaluates to 0 [-Wundef
#if OS(DARWIN) && TARGET_OS_TV
                  ^
../Source/WTF/wtf/PlatformOS.h:77:19: warning: 'TARGET_OS_WATCH' is not defined, evaluates to 0 [-Wundef]
#if OS(DARWIN) && TARGET_OS_WATCH
                  ^
3 warnings generated.
^M[6/4574] Building CXX object Source/WTF/wtf/CMakeFiles/WTF.dir/text/StringBuilderJSON.cpp.o^M[7/4574] Bu
In file included from ../Source/WTF/wtf/text/StringBuilderJSON.cpp:12:
In file included from ../Source/WTF/config.h:26:
In file included from ../Source/WTF/wtf/ExportMacros.h:32:
In file included from ../Source/WTF/wtf/Platform.h:44:
../Source/WTF/wtf/PlatformOS.h:67:20: warning: 'TARGET_OS_IOS' is not defined, evaluates to 0 [-Wundef]
#if OS(DARWIN) && (TARGET_OS_IOS && !(defined(TARGET_OS_MACCATALYST) && TARGET_OS_MACCATALYST))
                   ^
../Source/WTF/wtf/PlatformOS.h:72:19: warning: 'TARGET_OS_TV' is not defined, evaluates to 0 [-Wundef]
#if OS(DARWIN) && TARGET_OS_TV
                  ^
../Source/WTF/wtf/PlatformOS.h:77:19: warning: 'TARGET_OS_WATCH' is not defined, evaluates to 0 [-Wundef]
#if OS(DARWIN) && TARGET_OS_WATCH
                  ^
3 warnings generated.
^M[7/4574] Building CXX object Source/WTF/wtf/CMakeFiles/WTF.dir/text/StringImpl.cpp.o^M[8/4574] Building
In file included from ../Source/WTF/wtf/text/StringImpl.cpp:25:
In file included from ../Source/WTF/config.h:26:
In file included from ../Source/WTF/wtf/ExportMacros.h:32:
In file included from ../Source/WTF/wtf/Platform.h:44:
../Source/WTF/wtf/PlatformOS.h:67:20: warning: 'TARGET_OS_IOS' is not defined, evaluates to 0 [-Wundef]
#if OS(DARWIN) && (TARGET_OS_IOS && !(defined(TARGET_OS_MACCATALYST) && TARGET_OS_MACCATALYST))
#if OS(DARWIN) && TARGET_OS_TV
                  ^
../Source/WTF/wtf/PlatformOS.h:77:19: warning: 'TARGET_OS_WATCH' is not defined, evaluates to 0 [-Wundef]
#if OS(DARWIN) && TARGET_OS_WATCH
                  ^
3 warnings generated.
^M[8/4574] Building CXX object Source/WTF/wtf/CMakeFiles/WTF.dir/text/StringView.cpp.o^M[9/4574] Building
In file included from ../Source/WTF/wtf/text/StringView.cpp:27:
In file included from ../Source/WTF/config.h:26:
In file included from ../Source/WTF/wtf/ExportMacros.h:32:
In file included from ../Source/WTF/wtf/Platform.h:44:
../Source/WTF/wtf/PlatformOS.h:67:20: warning: 'TARGET_OS_IOS' is not defined, evaluates to 0 [-Wundef]
#if OS(DARWIN) && (TARGET_OS_IOS && !(defined(TARGET_OS_MACCATALYST) && TARGET_OS_MACCATALYST))
                   ^
../Source/WTF/wtf/PlatformOS.h:72:19: warning: 'TARGET_OS_TV' is not defined, evaluates to 0 [-Wundef]
#if OS(DARWIN) && TARGET_OS_TV
                  ^
../Source/WTF/wtf/PlatformOS.h:77:19: warning: 'TARGET_OS_WATCH' is not defined, evaluates to 0 [-Wundef]
#if OS(DARWIN) && TARGET_OS_WATCH
                  ^
3 warnings generated.
^M[9/4574] Generating ../../../DerivedSources/ForwardingHeaders/wtf/CountingLock.h^M[10/4574] Generating .
FAILED: Source/ThirdParty/xdgmime/CMakeFiles/xdgmime.dir/src/xdgmimealias.c.o
/nix/store/d4p8v32sivk3zj3jklx3irswbwwigxcd-clang-wrapper-7.1.0/bin/clang -DBUILDING_GTK__=1 -DBUILDING_WI
../Source/ThirdParty/xdgmime/src/xdgmimealias.c:29:10: fatal error: 'cmakeconfig.h' file not found
#include "cmakeconfig.h"
         ^~~~~~~~~~~~~~~
1 error generated.
ninja: build stopped: subcommand failed.

Do you still want to see the build with --trace?

Here is the build log with cmake trace enabled: webkitgtk.log.gz

the output of that command is 45 mb of text, so github is not accepting it.

diff <(bzcat /nix/var/log/nix/drvs/nc/423gxcdk2wypqzlzp2hna5ph58pnvs-webkitgtk-2.32.1.drv.bz2 | sed -e 's#/tmp/nix-build-webkitgtk-2.32.1.drv-1/##g') <(zcat webkitgtk.log.gz | sed -e 's#//private/tmp/nix-build-webkitgtk-2.32.1.drv-7/##g') > diff.gz

diff.gz
It sees no difference in cmake trace beyond
206c206
< webkitgtk-2.32.1/build/CMakeFiles/3.19.7/CMakeSystem.cmake(1):  set(CMAKE_HOST_SYSTEM Darwin-18.7.0 )
---
> webkitgtk-2.32.1/build/CMakeFiles/3.19.7/CMakeSystem.cmake(1):  set(CMAKE_HOST_SYSTEM Darwin-20.4.0 )
208c208
< webkitgtk-2.32.1/build/CMakeFiles/3.19.7/CMakeSystem.cmake(3):  set(CMAKE_HOST_SYSTEM_VERSION 18.7.0 )
---
> webkitgtk-2.32.1/build/CMakeFiles/3.19.7/CMakeSystem.cmake(3):  set(CMAKE_HOST_SYSTEM_VERSION 20.4.0 )
210c210
< webkitgtk-2.32.1/build/CMakeFiles/3.19.7/CMakeSystem.cmake(8):  set(CMAKE_SYSTEM Darwin-18.7.0 )
---
> webkitgtk-2.32.1/build/CMakeFiles/3.19.7/CMakeSystem.cmake(8):  set(CMAKE_SYSTEM Darwin-20.4.0 )
212c212
< webkitgtk-2.32.1/build/CMakeFiles/3.19.7/CMakeSystem.cmake(10):  set(CMAKE_SYSTEM_VERSION 18.7.0 )
---
> webkitgtk-2.32.1/build/CMakeFiles/3.19.7/CMakeSystem.cmake(10):  set(CMAKE_SYSTEM_VERSION 20.4.0 )

Perhaps next step could be running the build under dtruss (don't forget to let it trace children processes as well).

Will do when I will be able to disable SIP for dtrace

Looks like it's not seeking in the build directory for some files.
dtrace.log

22233/0x1c9e06:  stat64("//private/tmp/nix-build-webkitgtk-2.32.1.drv-13/webkitgtk-2.32.1/build\0", 0x7FFEE8F72310, 0x0)		 = 0 0
22233/0x1c9e06:  stat64(".\0", 0x7FFEE8F72310, 0x0)		 = 0 0
22233/0x1c9e06:  ioctl(0x2, 0x4004667A, 0x7FFEE8F724B4)		 = -1 Err#25
22233/0x1c9e06:  ioctl(0x2, 0x40487413, 0x7FFEE8F724B8)		 = -1 Err#25
22233/0x1c9e06:  sysctl([CTL_KERN, 8, 0, 0, 0, 0] (2), 0x7FFEE8F737F8, 0x7FFEE8F737F0, 0x0, 0x0)		 = 0 0
22233/0x1c9e06:  access("/nix/store/7zf6wyn1wmfja7bmppb0k5vy2fq826pl-clang-7.1.0/bin/clang-7\0", 0x0, 0x0)		 = 0 0
22233/0x1c9e06:  posix_spawn(0x7FFEE8F730EC, 0x7FCFBC70D0C0, 0x0)		 = 0 0
22243/0x1c9e0e:  thread_selfid(0x0, 0x0, 0x0)		 = 1875470 0
22243/0x1c9e0e:  mprotect(0x11FE5D000, 0x8000, 0x1)		 = 0 0
22243/0x1c9e0e:  csrctl(0x0, 0x7FFEE0623D7C, 0x4)		 = -1 Err#1
22243/0x1c9e0e:  fsgetpath(0x7FFEE0623990, 0x400, 0x7FFEE0623988)		 = 14 0
22243/0x1c9e0e:  csrctl(0x0, 0x7FFEE0623D9C, 0x4)		 = -1 Err#1
22243/0x1c9e0e:  __mac_syscall(0x11FE58783, 0x5A, 0x7FFEE0623D90)		 = 0 0
22243/0x1c9e0e:  csrctl(0x0, 0x7FFEE0623D9C, 0x4)		 = -1 Err#1
22243/0x1c9e0e:  csrctl(0x0, 0x7FFEE0623D9C, 0x4)		 = -1 Err#1
22243/0x1c9e0e:  shared_region_check_np(0x7FFEE0623938, 0x0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/System/Library/dyld/dyld_shared_cache_x86_64h\0", 0x7FFEE0623878, 0x0)		 = 0 0
22243/0x1c9e0e:  getpid(0x0, 0x0, 0x0)		 = 22243 0
22243/0x1c9e0e:  stat64("/nix/store/7zf6wyn1wmfja7bmppb0k5vy2fq826pl-clang-7.1.0/bin/clang-7\0", 0x7FFEE0623F00, 0x0)		 = 0 0
22243/0x1c9e0e:  proc_info(0x2, 0x56E3, 0x1F)		 = 1040 0
22243/0x1c9e0e:  stat64("/nix/store/956a336yc2fppi28i0xrjz95w1cq2kv9-llvm-7.1.0-lib/lib/libLLVM.dylib\0", 0x7FFEE0622F50, 0x0)		 = 0 0
22243/0x1c9e0e:  open("/nix/store/956a336yc2fppi28i0xrjz95w1cq2kv9-llvm-7.1.0-lib/lib/libLLVM.dylib\0", 0x0, 0x0)		 = 3 0
22243/0x1c9e0e:  pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x0)		 = 4096 0
22243/0x1c9e0e:  fcntl(0x3, 0x62, 0x7FFEE061A6C0)		 = 0 0
22243/0x1c9e0e:  fcntl(0x3, 0x65, 0x7FFEE061A810)		 = 0 0
22243/0x1c9e0e:  mmap(0x111415000, 0x2CFD000, 0x5, 0x40012, 0x3, 0x0)		 = 0x111415000 0
22243/0x1c9e0e:  mmap(0x114112000, 0x4A8000, 0x3, 0x40012, 0x3, 0x2CFD000)		 = 0x114112000 0
22243/0x1c9e0e:  mmap(0x11461B000, 0x98B964, 0x1, 0x40012, 0x3, 0x31A5000)		 = 0x11461B000 0
22243/0x1c9e0e:  close(0x3)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/3ndhndpas5zaxpa63gldf2xgcd2skd3y-libc++-7.1.0/lib/libc++.1.0.dylib\0", 0x7FFEE0622F50, 0x0)		 = 0 0
22243/0x1c9e0e:  open("/nix/store/3ndhndpas5zaxpa63gldf2xgcd2skd3y-libc++-7.1.0/lib/libc++.1.0.dylib\0", 0x0, 0x0)		 = 3 0
22243/0x1c9e0e:  pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x0)		 = 4096 0
22243/0x1c9e0e:  fcntl(0x3, 0x62, 0x7FFEE061A6C0)		 = 0 0
22243/0x1c9e0e:  fcntl(0x3, 0x65, 0x7FFEE061A810)		 = 0 0
22243/0x1c9e0e:  mmap(0x114FA9000, 0x82000, 0x5, 0x40012, 0x3, 0x0)		 = 0x114FA9000 0
22243/0x1c9e0e:  mmap(0x11502B000, 0x5000, 0x3, 0x40012, 0x3, 0x82000)		 = 0x11502B000 0
22243/0x1c9e0e:  mmap(0x115033000, 0x51E04, 0x1, 0x40012, 0x3, 0x87000)		 = 0x115033000 0
22243/0x1c9e0e:  close(0x3)		 = 0 0
22243/0x1c9e0e:  stat64("/usr/lib/libSystem.B.dylib\0", 0x7FFEE0622F50, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  stat64("/nix/store/3068jzr60jjd3xagmly4b06nh5kcb0cs-libffi-3.3/lib/libffi.7.dylib\0", 0x7FFEE0622E10, 0x0)		 = 0 0
22243/0x1c9e0e:  open("/nix/store/3068jzr60jjd3xagmly4b06nh5kcb0cs-libffi-3.3/lib/libffi.7.dylib\0", 0x0, 0x0)		 = 3 0
22243/0x1c9e0e:  pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x0)		 = 4096 0
22243/0x1c9e0e:  fcntl(0x3, 0x62, 0x7FFEE061A580)		 = 0 0
22243/0x1c9e0e:  fcntl(0x3, 0x65, 0x7FFEE061A6D0)		 = 0 0
22243/0x1c9e0e:  mmap(0x115086000, 0x7000, 0x5, 0x40012, 0x3, 0x0)		 = 0x115086000 0
22243/0x1c9e0e:  mmap(0x11508D000, 0x1000, 0x3, 0x40012, 0x3, 0x7000)		 = 0x11508D000 0
22243/0x1c9e0e:  mmap(0x11508E000, 0x1534, 0x1, 0x40012, 0x3, 0x8000)		 = 0x11508E000 0
22243/0x1c9e0e:  close(0x3)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/dka0aagxrkjfni0amnbgr9zkr9fy6b89-zlib-1.2.11/lib/libz.dylib\0", 0x7FFEE0622E10, 0x0)		 = 0 0
22243/0x1c9e0e:  open("/nix/store/dka0aagxrkjfni0amnbgr9zkr9fy6b89-zlib-1.2.11/lib/libz.dylib\0", 0x0, 0x0)		 = 3 0
22243/0x1c9e0e:  pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x0)		 = 4096 0
22243/0x1c9e0e:  fcntl(0x3, 0x62, 0x7FFEE061A580)		 = 0 0
22243/0x1c9e0e:  fcntl(0x3, 0x65, 0x7FFEE061A6D0)		 = 0 0
22243/0x1c9e0e:  mmap(0x115095000, 0x16000, 0x5, 0x40012, 0x3, 0x0)		 = 0x115095000 0
22243/0x1c9e0e:  mmap(0x1150AB000, 0x1000, 0x3, 0x40012, 0x3, 0x16000)		 = 0x1150AB000 0
22243/0x1c9e0e:  mmap(0x1150AC000, 0x1A2C, 0x1, 0x40012, 0x3, 0x17000)		 = 0x1150AC000 0
22243/0x1c9e0e:  close(0x3)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/dy2rb80nvksrcsbm4hggvayzdv8fwvhx-ncurses-6.2/lib/libncursesw.6.dylib\0", 0x7FFEE0622E10, 0x0)		 = 0 0
22243/0x1c9e0e:  open("/nix/store/dy2rb80nvksrcsbm4hggvayzdv8fwvhx-ncurses-6.2/lib/libncursesw.6.dylib\0", 0x0, 0x0)		 = 3 0
22243/0x1c9e0e:  pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x0)		 = 4096 0
22243/0x1c9e0e:  fcntl(0x3, 0x62, 0x7FFEE061A580)		 = 0 0
22243/0x1c9e0e:  fcntl(0x3, 0x65, 0x7FFEE061A6D0)		 = 0 0
22243/0x1c9e0e:  mmap(0x1150B1000, 0x4A000, 0x5, 0x40012, 0x3, 0x0)		 = 0x1150B1000 0
22243/0x1c9e0e:  mmap(0x1150FB000, 0x4000, 0x3, 0x40012, 0x3, 0x4A000)		 = 0x1150FB000 0
22243/0x1c9e0e:  mmap(0x1150FF000, 0xC1E4, 0x1, 0x40012, 0x3, 0x4E000)		 = 0x1150FF000 0
22243/0x1c9e0e:  close(0x3)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/z0fqlyd8yvmmwigwzv23dcygd1a87s55-libxml2-2.9.10/lib/libxml2.2.dylib\0", 0x7FFEE0622E10, 0x0)		 = 0 0
22243/0x1c9e0e:  open("/nix/store/z0fqlyd8yvmmwigwzv23dcygd1a87s55-libxml2-2.9.10/lib/libxml2.2.dylib\0", 0x0, 0x0)		 = 3 0
22243/0x1c9e0e:  pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x0)		 = 4096 0
22243/0x1c9e0e:  fcntl(0x3, 0x62, 0x7FFEE061A580)		 = 0 0
22243/0x1c9e0e:  fcntl(0x3, 0x65, 0x7FFEE061A6D0)		 = 0 0
22243/0x1c9e0e:  mmap(0x115112000, 0x12F000, 0x5, 0x40012, 0x3, 0x0)		 = 0x115112000 0
22243/0x1c9e0e:  mmap(0x115241000, 0x9000, 0x3, 0x40012, 0x3, 0x12F000)		 = 0x115241000 0
22243/0x1c9e0e:  mmap(0x11524B000, 0x24B14, 0x1, 0x40012, 0x3, 0x138000)		 = 0x11524B000 0
22243/0x1c9e0e:  close(0x3)		 = 0 0
22243/0x1c9e0e:  stat64("/usr/lib/system/libcache.dylib\0", 0x7FFEE0622910, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  stat64("/usr/lib/system/libcommonCrypto.dylib\0", 0x7FFEE0622910, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  stat64("/usr/lib/system/libcompiler_rt.dylib\0", 0x7FFEE0622910, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  stat64("/usr/lib/system/libcopyfile.dylib\0", 0x7FFEE0622910, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  stat64("/usr/lib/system/libcorecrypto.dylib\0", 0x7FFEE0622910, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  stat64("/usr/lib/system/libdispatch.dylib\0", 0x7FFEE0622910, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  stat64("/usr/lib/system/libdyld.dylib\0", 0x7FFEE0622910, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  stat64("/usr/lib/system/libkeymgr.dylib\0", 0x7FFEE0622910, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  stat64("/usr/lib/system/liblaunch.dylib\0", 0x7FFEE0622910, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  stat64("/usr/lib/system/libmacho.dylib\0", 0x7FFEE0622910, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  stat64("/usr/lib/system/libquarantine.dylib\0", 0x7FFEE0622910, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  stat64("/usr/lib/system/libremovefile.dylib\0", 0x7FFEE0622910, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  stat64("/usr/lib/system/libsystem_asl.dylib\0", 0x7FFEE0622910, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  stat64("/usr/lib/system/libsystem_blocks.dylib\0", 0x7FFEE0622910, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  stat64("/usr/lib/system/libsystem_c.dylib\0", 0x7FFEE0622910, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  stat64("/usr/lib/system/libsystem_collections.dylib\0", 0x7FFEE0622910, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  stat64("/usr/lib/system/libsystem_configuration.dylib\0", 0x7FFEE0622910, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  stat64("/usr/lib/system/libsystem_containermanager.dylib\0", 0x7FFEE0622910, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  stat64("/usr/lib/system/libsystem_coreservices.dylib\0", 0x7FFEE0622910, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  stat64("/usr/lib/system/libsystem_darwin.dylib\0", 0x7FFEE0622910, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  stat64("/usr/lib/system/libsystem_dnssd.dylib\0", 0x7FFEE0622910, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  stat64("/usr/lib/system/libsystem_featureflags.dylib\0", 0x7FFEE0622910, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  stat64("/usr/lib/system/libsystem_info.dylib\0", 0x7FFEE0622910, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  stat64("/usr/lib/system/libsystem_m.dylib\0", 0x7FFEE0622910, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  stat64("/usr/lib/system/libsystem_malloc.dylib\0", 0x7FFEE0622910, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  stat64("/usr/lib/system/libsystem_networkextension.dylib\0", 0x7FFEE0622910, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  stat64("/usr/lib/system/libsystem_notify.dylib\0", 0x7FFEE0622910, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  stat64("/usr/lib/system/libsystem_product_info_filter.dylib\0", 0x7FFEE0622910, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  stat64("/usr/lib/system/libsystem_sandbox.dylib\0", 0x7FFEE0622910, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  stat64("/usr/lib/system/libsystem_secinit.dylib\0", 0x7FFEE0622910, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  stat64("/usr/lib/system/libsystem_kernel.dylib\0", 0x7FFEE0622910, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/usr/lib/system/libsystem_platform.dylib\0", 0x7FFEE0622910, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/usr/lib/system/libsystem_pthread.dylib\0", 0x7FFEE0622910, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/usr/lib/system/libsystem_symptoms.dylib\0", 0x7FFEE0622910, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  stat64("/usr/lib/system/libsystem_trace.dylib\0", 0x7FFEE0622910, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  stat64("/usr/lib/system/libunwind.dylib\0", 0x7FFEE0622910, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  stat64("/usr/lib/system/libxpc.dylib\0", 0x7FFEE0622910, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  stat64("/usr/lib/libc++abi.dylib\0", 0x7FFEE0622360, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  stat64("/usr/lib/libobjc.A.dylib\0", 0x7FFEE0621D50, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  stat64("/usr/lib/liboah.dylib\0", 0x7FFEE0621B00, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  stat64("/usr/lib/libc++.1.dylib\0", 0x7FFEE0621B00, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  stat64("/nix/store/9jji3hp9zj08v9zlslssihzlmlb6klhq-libc++abi-7.1.0/lib/libc++abi.dylib\0", 0x7FFEE0622D30, 0x0)		 = 0 0
22243/0x1c9e0e:  open("/nix/store/9jji3hp9zj08v9zlslssihzlmlb6klhq-libc++abi-7.1.0/lib/libc++abi.dylib\0", 0x0, 0x0)		 = 3 0
22243/0x1c9e0e:  pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x0)		 = 4096 0
22243/0x1c9e0e:  fcntl(0x3, 0x62, 0x7FFEE061A4A0)		 = 0 0
22243/0x1c9e0e:  fcntl(0x3, 0x65, 0x7FFEE061A5F0)		 = 0 0
22243/0x1c9e0e:  mmap(0x115270000, 0x22000, 0x5, 0x40012, 0x3, 0x0)		 = 0x115270000 0
22243/0x1c9e0e:  mmap(0x115292000, 0x4000, 0x3, 0x40012, 0x3, 0x22000)		 = 0x115292000 0
22243/0x1c9e0e:  mmap(0x115296000, 0xECE0, 0x1, 0x40012, 0x3, 0x26000)		 = 0x115296000 0
22243/0x1c9e0e:  close(0x3)		 = 0 0
22243/0x1c9e0e:  stat64("/\0", 0x7FFEE0621560, 0x0)		 = 0 0
22243/0x1c9e0e:  getattrlist("/nix\0", 0x11FE46F90, 0x7FFEE0622EB0)		 = 0 0
22243/0x1c9e0e:  statfs64(0x7FFEE06233F0, 0x7FFEE0621A38, 0x0)		 = 0 0
22243/0x1c9e0e:  lstat64("/nix\0", 0x7FFEE0621560, 0x0)		 = 0 0
22243/0x1c9e0e:  getattrlist("/nix/store\0", 0x11FE46F90, 0x7FFEE0622EB0)		 = 0 0
22243/0x1c9e0e:  getattrlist("/nix/store/9jji3hp9zj08v9zlslssihzlmlb6klhq-libc++abi-7.1.0\0", 0x11FE46F90, 0x7FFEE0622EB0)		 = 0 0
22243/0x1c9e0e:  getattrlist("/nix/store/9jji3hp9zj08v9zlslssihzlmlb6klhq-libc++abi-7.1.0/lib\0", 0x11FE46F90, 0x7FFEE0622EB0)		 = 0 0
22243/0x1c9e0e:  getattrlist("/nix/store/9jji3hp9zj08v9zlslssihzlmlb6klhq-libc++abi-7.1.0/lib/libc++abi.dylib\0", 0x11FE46F90, 0x7FFEE0622EB0)		 = 0 0
22243/0x1c9e0e:  readlink("/nix/store/9jji3hp9zj08v9zlslssihzlmlb6klhq-libc++abi-7.1.0/lib/libc++abi.dylib\0", 0x7FFEE06222B0, 0x400)		 = 17 0
22243/0x1c9e0e:  getattrlist("/nix/store/9jji3hp9zj08v9zlslssihzlmlb6klhq-libc++abi-7.1.0/lib/libc++abi.1.dylib\0", 0x11FE46F90, 0x7FFEE0622EB0)		 = 0 0
22243/0x1c9e0e:  readlink("/nix/store/9jji3hp9zj08v9zlslssihzlmlb6klhq-libc++abi-7.1.0/lib/libc++abi.1.dylib\0", 0x7FFEE06222B0, 0x400)		 = 19 0
22243/0x1c9e0e:  getattrlist("/nix/store/9jji3hp9zj08v9zlslssihzlmlb6klhq-libc++abi-7.1.0/lib/libc++abi.1.0.dylib\0", 0x11FE46F90, 0x7FFEE0622EB0)		 = 0 0
22207/0x1c9ca9:  madvise(0x7FACD48C5000, 0xC000, 0x9)		 = 0 0
22243/0x1c9e0e:  open("/dev/dtracehelper\0", 0x2, 0x0)		 = 3 0
22243/0x1c9e0e:  ioctl(0x3, 0x80086804, 0x7FFEE0623BA0)		 = 0 0
22243/0x1c9e0e:  close(0x3)		 = 0 0
22243/0x1c9e0e:  access("/AppleInternal/XBS/.isChrooted\0", 0x0, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  bsdthread_register(0x7FFF20435498, 0x7FFF20435484, 0x2000)		 =<PHONE_NUMBER> 0
22243/0x1c9e0e:  shm_open(0x7FFF2030DF66, 0x0, 0x2030CCBB)		 = 3 0
22243/0x1c9e0e:  fstat64(0x3, 0x7FFEE0622940, 0x0)		 = 0 0
22243/0x1c9e0e:  mmap(0x0, 0x1000, 0x1, 0x40001, 0x3, 0x0)		 = 0x111414000 0
22243/0x1c9e0e:  close(0x3)		 = 0 0
22243/0x1c9e0e:  ioctl(0x2, 0x4004667A, 0x7FFEE06229F4)		 = -1 Err#25
22243/0x1c9e0e:  ioctl(0x2, 0x40487413, 0x7FFEE06229F8)		 = -1 Err#25
22243/0x1c9e0e:  mprotect(0x1152A5000, 0x1000, 0x0)		 = 0 0
22243/0x1c9e0e:  mprotect(0x1152AC000, 0x1000, 0x0)		 = 0 0
22243/0x1c9e0e:  mprotect(0x1152AD000, 0x1000, 0x0)		 = 0 0
22243/0x1c9e0e:  mprotect(0x1152B4000, 0x1000, 0x0)		 = 0 0
22243/0x1c9e0e:  mprotect(0x115090000, 0x90, 0x1)		 = 0 0
22243/0x1c9e0e:  mprotect(0x115085000, 0x1000, 0x1)		 = 0 0
22243/0x1c9e0e:  mprotect(0x115090000, 0x90, 0x3)		 = 0 0
22243/0x1c9e0e:  mprotect(0x115090000, 0x90, 0x1)		 = 0 0
22243/0x1c9e0e:  issetugid(0x0, 0x0, 0x0)		 = 0 0
22243/0x1c9e0e:  getpid(0x0, 0x0, 0x0)		 = 22243 0
22243/0x1c9e0e:  stat64("/AppleInternal\0", 0x7FFEE0622F10, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  csops_audittoken(0x56E3, 0x7, 0x7FFEE0622A40)		 = -1 Err#22
22243/0x1c9e0e:  proc_info(0x2, 0x56E3, 0xD)		 = 64 0
22243/0x1c9e0e:  csops_audittoken(0x56E3, 0x7, 0x7FFEE0622B30)		 = -1 Err#22
22243/0x1c9e0e:  sysctlbyname(kern.osvariant_status, 0x15, 0x7FFEE0622F60, 0x7FFEE0622F58, 0x0)		 = 0 0
22243/0x1c9e0e:  csops(0x56E3, 0x0, 0x7FFEE0622F94)		 = 0 0
22243/0x1c9e0e:  sysctlbyname(kern.system_version_compat, 0x1A, 0x0, 0x0, 0x7FFEE0622FCC)		 = 0 0
22243/0x1c9e0e:  sysctlbyname(hw.physicalcpu, 0xE, 0x7FFEE06230AC, 0x7FFEE06230A0, 0x0)		 = 0 0
22243/0x1c9e0e:  sigaction(0x1, 0x7FFEE0623908, 0x1145CED90)		 = 0 0
22243/0x1c9e0e:  sigaction(0x2, 0x7FFEE0623908, 0x1145CEDA8)		 = 0 0
22243/0x1c9e0e:  sigaction(0xD, 0x7FFEE0623908, 0x1145CEDC0)		 = 0 0
22243/0x1c9e0e:  sigaction(0xF, 0x7FFEE0623908, 0x1145CEDD8)		 = 0 0
22243/0x1c9e0e:  sigaction(0x1E, 0x7FFEE0623908, 0x1145CEDF0)		 = 0 0
22243/0x1c9e0e:  sigaction(0x1F, 0x7FFEE0623908, 0x1145CEE08)		 = 0 0
22243/0x1c9e0e:  sigaction(0x4, 0x7FFEE0623908, 0x1145CEE20)		 = 0 0
22243/0x1c9e0e:  sigaction(0x5, 0x7FFEE0623908, 0x1145CEE38)		 = 0 0
22243/0x1c9e0e:  sigaction(0x6, 0x7FFEE0623908, 0x1145CEE50)		 = 0 0
22243/0x1c9e0e:  sigaction(0x8, 0x7FFEE0623908, 0x1145CEE68)		 = 0 0
22243/0x1c9e0e:  sigaction(0xA, 0x7FFEE0623908, 0x1145CEE80)		 = 0 0
22243/0x1c9e0e:  sigaction(0xB, 0x7FFEE0623908, 0x1145CEE98)		 = 0 0
22243/0x1c9e0e:  sigaction(0x3, 0x7FFEE0623908, 0x1145CEEB0)		 = 0 0
22243/0x1c9e0e:  sigaction(0xC, 0x7FFEE0623908, 0x1145CEEC8)		 = 0 0
22243/0x1c9e0e:  sigaction(0x18, 0x7FFEE0623908, 0x1145CEEE0)		 = 0 0
22243/0x1c9e0e:  sigaction(0x19, 0x7FFEE0623908, 0x1145CEEF8)		 = 0 0
22243/0x1c9e0e:  sigaction(0x7, 0x7FFEE0623908, 0x1145CEF10)		 = 0 0
22243/0x1c9e0e:  fstat64(0x0, 0x7FFEE0623908, 0x0)		 = 0 0
22243/0x1c9e0e:  fstat64(0x1, 0x7FFEE0623908, 0x0)		 = 0 0
22243/0x1c9e0e:  fstat64(0x2, 0x7FFEE0623908, 0x0)		 = 0 0
22243/0x1c9e0e:  getrlimit(0x1003, 0x7FFEE06234D8, 0x0)		 = 0 0
22243/0x1c9e0e:  madvise(0x7F8B77F00000, 0x25000, 0x9)		 = 0 0
22243/0x1c9e0e:  lseek(0x2, 0x0, 0x1)		 = -1 Err#29
22243/0x1c9e0e:  stat64("/nix/store/snq2bb9k8w6qqf54x9zqgkx0q44ib5bz-apple-framework-CoreFoundation/Library/Frameworks\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/System/Library/PrivateFrameworks\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/wd30p2pq4lci8fk9fqldkgk1hgmwpapj-Libsystem-1238.60.2/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/x0fr4likj760kpfvciksqhcdgjl8k9zl-gettext-0.21/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/v923c5v0r4pv07rxbg2d63sr8nmqzx7q-gobject-introspection-1.68.0-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/518j091bbcfbmb9rgz7wv0gvv9y680hb-libffi-3.3-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/xp479lwippd2siakh6c546nk4ii6ilvx-glib-2.68.1-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/rxfh4xff3v5kgrjvx6ix78jww6fndysv-zlib-1.2.11-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/4gngk4048zq7fcyx9959vhv09pwy4d6h-libiconv-50/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/l4q9nfrq3wz4qgk5ikbzfcs7iqdb32y1-python3-3.8.9/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/hq7afklifhlg87mbw2ww525pxln1zj95-ruby-2.6.7/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/3ndhndpas5zaxpa63gldf2xgcd2skd3y-libc++-7.1.0/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/9jji3hp9zj08v9zlslssihzlmlb6klhq-libc++abi-7.1.0/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/hrx9g3d1y013nfvm3i5y0ky311hab65x-compiler-rt-7.1.0-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/7a69ajsnmfq1r49c0mhm4qwn3378cmpr-at-spi2-core-2.40.1-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/zv9iqhwv07c6qbz2jrcvm2hbf8d3jjg8-dbus-1.12.20-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/4ak5rka63jbc0nbjq6c1y60bvn9cajkm-expat-2.2.10-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/938rsm9ml50b2ays9n3i2rvmgipxsl5s-enchant-2.2.15-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/lp0naa8j4qn45h2pnz58cg1fp2dxxp94-hspell-1.1/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/vl7vyq37inm71iq1mr91dnirsp1kv21w-aspell-0.60.8/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/zcskcbbyhq78dhi1lql7fvq6albcs2va-epoxy-1.5.4-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/q0nm0s3sl1y0n0159j6yhjz02picvdjs-gnutls-3.7.1-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/g6pciryfaidl86v6dmfcmvilggkh2g5y-nettle-3.7.2-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/1kn2bmca1z44hgqw23qs5spfb41dhjj1-gmp-6.2.1-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/gvjigplk2rmwm4jb7xn7rwgqahh7mqhk-gst-plugins-bad-1.18.2-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/g9qxgqi0w9k4ym6gpnwqcvp563p40dds-gst-plugins-base-1.18.2-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/64z01s19c517i030d7lmmjn4ysc4243d-gstreamer-1.18.2-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/v5yy59pssxxlg4d94bcpkz1p65m04vg1-harfbuzz-icu-2.8.0-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/n4cqw7i7iq7qsdsm7bn319l678nhjf4h-graphite2-1.3.14/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/yl5ac8if8j2yk4fifv78k2hsiakkhq3v-icu4c-68.2-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/bi9002cq9hkj1yzy8gkyic6vrx4hsrg8-harfbuzz-2.8.0-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/vcdj29if6bkbn706vyf524r7li2h7xih-libGL-1.3.2-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/03xxsv63crir4c26ccsgh4g3qqm99gdj-glu-9.0.1-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/zqmnd2hi0pzqy1qxs23h9af91f664469-apple-lib-xpc/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/pqk4jfwg64vjh7qi05zhzdmahwnkxzjw-mesa-21.0.1-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/k6rn5zph5izaiph24ha8rlxq3a2q8jcz-libXdamage-1.1.5-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/p97vip647zvp15fypbgbvkcvq66wknzz-libXfixes-5.0.3-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/1dgp6r69s5l6fr55dxs0391spvw2qjjg-libXxf86vm-1.1.4-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/17jjpmxjiv8n0386wrxzj7gzr1jnwsw6-apple-lib-Xplugin/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/grdwb60zsfd899q3zdfkk70mmx56gqpr-objc4-709.1/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/bd9c18wcz9xh5ykhcjpx2b03n1dxxdwi-libgcrypt-1.9.2-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/ln2rsf16g7i8d5pdxx7cx3dp5bd1sgyc-libidn-1.36-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/dwlpybwvsaaym1vlsy4xz4hxf11p5c6i-libnotify-0.7.9-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/hif3bn84lq6blq6xi5wc51ink1zq7fmf-gdk-pixbuf-2.42.6-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/lhs3fpqmmxsx4xnvzsjxl8n6hrc8hnnz-libtiff-4.2.0-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/fn854v53z5696mz5l5d4pjxn13w8r9jz-libjpeg-turbo-2.0.6-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/d0d9vq740gl86czslg39ncjk6w5ji59x-xz-5.2.5-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/04kqbr02zw9ipdq99aq6avraakqhkjpn-libpng-apng-1.6.37-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/7g0jgr4cp66y11qvf0rb2si3z63qqjyz-libsecret-0.20.4-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/0iz4blisxiwk4gsnirpy8i359a8byh3a-libtasn1-4.16.0-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/5569680f49bm0m4gnzck4wikp04nk3wr-libwebp-1.1.0/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/y5gwyha4i1wi7qlyll1wkcsnhq8di9fm-libxkbcommon-1.2.1-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/b82yc0gbrl2khjqd8sbn89xz1wb2xqa4-libxml2-2.9.10-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/r94pgcpm2rfmssiv9b7wjbzj3lni400y-libxslt-1.1.34-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/mi97zxhpwllxdi6k6jq2w6qk58fi6kwj-openjpeg-2.4.0-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/f5q0jcnjnw498azlkd02xak18cxz1gs6-lcms2-2.12-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/xjkbyyka31cjfxafd31qwdkfs2kfqbdg-p11-kit-0.23.22-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/71m7mz67dgn1xbzgnrd647rnfq51fjrm-pcre-8.44-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/7hfl1gqhwh8mj1i1z712ca2p2y52y8yl-sqlite-3.35.2-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/9g28yxhqik4fn7ixc5si3q2kdklz0kj2-woff2-1.0.2-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/2l8q8b6m73ym0clm3qsg7wckg7i3cva5-brotli-1.0.9-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/26bpbbvq5v078q77wszf2i89frx666f0-libXdmcp-1.1.3-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/7aii934xwjq98xrxpq3vdcchh6xa34b1-libXt-1.2.1-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/af7iqkhqbx4hdf0qqz015vhcpn413wh2-libSM-1.2.3-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/nf2wlzmmd6lkn465v0rl404dqy7qxx40-libICE-1.0.10-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/z23q6xan8j02yxnihaivwrmr5sp611zd-libX11-1.7.0-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/1dadwz7j25n38cgxj6f6gms25s2skbqh-xorgproto-2021.3/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/cvkb1yxprk3k9gbgdqcr7s5jmg3ajfk2-libxcb-1.14-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/00jdp3rg820n59yz9y4if9bmyngilzdc-libXtst-1.2.3/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/bhnv0f3xjaaid79ln5i6lajiaaw247lr-libedit-20210216-3.1-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/j4xxz1l2q6gcqkzw49a40pq4dpvgyx0k-ncurses-6.2-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/sbnzhvsrmkqrqzdrwf1sfd2vz8nz84qw-readline-6.3p08-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/ibmbhkfg0zw8jnn0h0fg1fshbqii9mh7-webkitgtk_headers/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/17nm2x6142q1wwgmpiap292bqy2f916k-geoclue-2.5.7-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/rrfppz53hjdh6yh4sj95z36mrmxvhkdw-gtk+3-3.24.27-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/wyapj8wvblyypd94jxym4nlc9rbhhybv-at-spi2-atk-2.38.0/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/b3pagwy300v7jbs5i1wjwz5w6jqc6v2g-atk-2.36.0-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/s7n49bzf4w3v53kapd67kbym5fvp4d8q-cairo-1.16.0-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/8y2l2bl84klzzbfnp3jxnz04lq99v8la-fontconfig-2.13.92-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/afnbyi0965q2fc218vx3mjay1wffpzip-freetype-2.10.4-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/hbnllj9840kw8n01g02qyswv0dd14qfw-bzip2-<IP_ADDRESS>.2-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/gph7pb1pw29hq2h45blz2l552syh7mrl-pixman-0.38.4/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/gpkb376kgqkw8vwc8m07jzk6a996i06q-fribidi-1.0.10/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/pg2a3ii46rnv2g5y62a70l1ggim0ysl9-gsettings-desktop-schemas-40.0/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/afk6z8cym5mhp0ws26dvpifyslsx702a-libXcomposite-0.4.5-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/cfpxhhsbrmryfqlnpiyq980fvj3l06qx-libXcursor-1.2.0-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/2p2qklz409hrqzv5949kf1skys83b6rp-libXi-1.7.10-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/i85mhafil0mkbawzxzbwf9mi00pl92m1-libXrandr-1.5.2-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/gdkcvhkk426aql0hjsj4j80i3adrvx75-libXrender-0.9.10-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/fchv0h0jifndkps8sy16fc2lzajafxnn-pango-1.48.4-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/jdjgscwbrjw9nf9glrs2csg5fya91bb7-harfbuzz-2.8.0-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/6c8a92i8691p47y34gnmas57kdcdg3fg-libsoup-2.72.0-dev/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/3ndhndpas5zaxpa63gldf2xgcd2skd3y-libc++-7.1.0/include/c++/v1\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/86m84qh3ki276q44ai454p2xskc4pcx3-apple-framework-OpenGL/Library/Frameworks\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/bdm2wv72i8p1cbdmkj6m1zfs6wrq51n1-apple-framework-ApplicationServices/Library/Frameworks\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/bbnzwf5abylsrvxi6abrav0zx4pfsqvg-apple-framework-CoreGraphics/Library/Frameworks\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/14ww0avlki1bmh3q1vjivhd6xnvq2gyz-apple-framework-Accelerate/Library/Frameworks\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/j943r0jz9lh65w7va6jchwikzhw38vp8-apple-framework-CoreWLAN/Library/Frameworks\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/y7v5262k54j0l66vcspi3rqqc96j2ff0-apple-framework-SecurityFoundation/Library/Frameworks\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/2b0fx2v7cxyckmja2m97jgpwg26rxzfq-apple-framework-IOBluetooth/Library/Frameworks\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/gpacr9yd9l713237hlrk3bfc14hs0nhf-apple-framework-CoreBluetooth/Library/Frameworks\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/j36zc45zk3hb4bc5sf6zbrcgpphs6iib-apple-framework-IOKit/Library/Frameworks\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/na1ix3rhfahjrr5cvhb3qmx98m7b2fy5-apple-framework-IOSurface/Library/Frameworks\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/harm1mas045qmgs636dbb6s29dqql49j-apple-framework-SystemConfiguration/Library/Frameworks\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/53vsyj9wapa4ymjlwq95zm9s44p2l6zb-apple-framework-Security/Library/Frameworks\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/5866l379xwfl0awrkgbwdxqdjwcr1pv6-apple-framework-CoreServices/Library/Frameworks\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/q0040kbsfjf7x22840vff246ai0dha91-apple-framework-CFNetwork/Library/Frameworks\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/4r29bfb4ybw55z22x4nhqjyx76njpk6q-apple-framework-CoreAudio/Library/Frameworks\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/2acdz3wavvhqxwy7izpapfkr5gsiif1s-apple-framework-CoreData/Library/Frameworks\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/093z1rf4v7ld5rh0xxnffgra3awy355r-apple-framework-DiskArbitration/Library/Frameworks\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/41i408ljjsgdmyr6dxpm5i29rp174k64-apple-framework-NetFS/Library/Frameworks\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/l3cd8drrzczplxh3848wqvcd18szfxqj-apple-framework-OpenDirectory/Library/Frameworks\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/6zkkf2r6vgc667gf2xxwijj2scz6w9c4-apple-framework-ServiceManagement/Library/Frameworks\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/f9p3h61f2wr4lngw5pil41sv5bw0fy0v-apple-framework-CoreText/Library/Frameworks\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/nb3sli4jappdkmcxgrbpgm41cljv3bv1-apple-framework-ImageIO/Library/Frameworks\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/zigrdsbxiigrdb8ai6m9qmfs2lnlkmmf-apple-framework-Carbon/Library/Frameworks\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/69z1yznh9nm1l0j77gi8j17xzaz01g5k-apple-framework-Foundation/Library/Frameworks\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/qbgafwsgczzlxlya542mh5l48my0hpr4-apple-framework-QuartzCore/Library/Frameworks\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/54cgsx3xivxnchv04jcyaja1m7fkbm0l-apple-framework-CoreImage/Library/Frameworks\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/v4rb9yi7220wlh507yng8fyj920md5xd-apple-framework-CoreVideo/Library/Frameworks\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/r0y075zdkbnxyd9n1h195s987nq9q344-apple-framework-Metal/Library/Frameworks\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/52777fca8lmwygzxmirhajihdf7pvn6n-apple-framework-OpenCL/Library/Frameworks\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/yd4xcyqqsp66jgflw95vylk61yydq8x5-apple-framework-Cocoa/Library/Frameworks\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/6zrnv5crklpih4iqrn09pi0w129xxyk3-apple-framework-AppKit/Library/Frameworks\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/94prb0a86zziz3m329qn7vh8n1hsgzkn-apple-framework-AudioToolbox/Library/Frameworks\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/l05x1fcnflrmncddxlrsyk3627rapnws-apple-framework-CoreMIDI/Library/Frameworks\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/mnlzs69z9mx9hafjzwvlbc2sfhvf23s3-apple-framework-AudioUnit/Library/Frameworks\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/mpa3madjxlxx38bszaflbccda0sx7s45-apple-framework-UIFoundation/Library/Frameworks\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/afw62q3cfvj984c5cyb1f9bs23vr9yv6-swift-corefoundation/Library/Frameworks\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("/nix/store/47vpv5i10dwfg1cf5wca1k40f982g5fm-clang-wrapper-7.1.0/resource-root/include\0", 0x7FFEE06223E0, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("../Source/ThirdParty/xdgmime/src\0", 0x7FFEE06229D0, 0x0)		 = 0 0
22243/0x1c9e0e:  open("../Source/ThirdParty/xdgmime/src/xdgmimealias.c\0", 0x1000000, 0x0)		 = 3 0
22243/0x1c9e0e:  fcntl(0x3, 0x32, 0x7FFEE06226D0)		 = 0 0
22243/0x1c9e0e:  fstat64(0x3, 0x7FFEE0622B28, 0x0)		 = 0 0
22243/0x1c9e0e:  stat64("Source/ThirdParty/xdgmime/CMakeFiles/xdgmime.dir/src/xdgmimealias.c.o\0", 0x7FFEE0622870, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  getentropy(0x7FFEE0622690, 0x20, 0x0)		 = 0 0
22243/0x1c9e0e:  getentropy(0x7FFEE06226E0, 0x40, 0x0)		 = 0 0
22243/0x1c9e0e:  open("Source/ThirdParty/xdgmime/CMakeFiles/xdgmime.dir/src/xdgmimealias.c-07b63a52.o.tmp\0", 0x1000A02, 0x1B6)		 = 4 0
22243/0x1c9e0e:  lseek(0x4, 0x0, 0x1)		 = 0 0
22243/0x1c9e0e:  sysctl([CTL_HW, 7, 0, 0, 0, 0] (2), 0x7FFF80731808, 0x7FFEE0622D98, 0x0, 0x0)		 = 0 0
22243/0x1c9e0e:  pread(0x3, "/* -*- mode: C; c-file-style: \"gnu\" -*- */\n/* xdgmimealias.c: Private file.  Datastructure for storing the aliases.\n *\n * More info can be found at http://www.freedesktop.org/standards/\n *\n * Copyright (C) 2004  Red Hat, Inc.\n * Copyright (C) 2004  Matthia", 0xF72, 0x0)		 = 3954 0
22243/0x1c9e0e:  __pthread_sigmask(0x3, 0x7FFEE0622F64, 0x7FFEE0622F60)		 = 0 0
22243/0x1c9e0e:  close(0x3)		 = 0 0
22243/0x1c9e0e:  __pthread_sigmask(0x3, 0x7FFEE0622F60, 0x0)		 = 0 0
22243/0x1c9e0e:  open("../Source/ThirdParty/xdgmime/src/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/x0fr4likj760kpfvciksqhcdgjl8k9zl-gettext-0.21/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/v923c5v0r4pv07rxbg2d63sr8nmqzx7q-gobject-introspection-1.68.0-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/518j091bbcfbmb9rgz7wv0gvv9y680hb-libffi-3.3-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/xp479lwippd2siakh6c546nk4ii6ilvx-glib-2.68.1-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/rxfh4xff3v5kgrjvx6ix78jww6fndysv-zlib-1.2.11-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/4gngk4048zq7fcyx9959vhv09pwy4d6h-libiconv-50/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/l4q9nfrq3wz4qgk5ikbzfcs7iqdb32y1-python3-3.8.9/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/hq7afklifhlg87mbw2ww525pxln1zj95-ruby-2.6.7/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/3ndhndpas5zaxpa63gldf2xgcd2skd3y-libc++-7.1.0/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/9jji3hp9zj08v9zlslssihzlmlb6klhq-libc++abi-7.1.0/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/hrx9g3d1y013nfvm3i5y0ky311hab65x-compiler-rt-7.1.0-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/7a69ajsnmfq1r49c0mhm4qwn3378cmpr-at-spi2-core-2.40.1-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/zv9iqhwv07c6qbz2jrcvm2hbf8d3jjg8-dbus-1.12.20-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/4ak5rka63jbc0nbjq6c1y60bvn9cajkm-expat-2.2.10-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/938rsm9ml50b2ays9n3i2rvmgipxsl5s-enchant-2.2.15-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/lp0naa8j4qn45h2pnz58cg1fp2dxxp94-hspell-1.1/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/vl7vyq37inm71iq1mr91dnirsp1kv21w-aspell-0.60.8/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/zcskcbbyhq78dhi1lql7fvq6albcs2va-epoxy-1.5.4-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/q0nm0s3sl1y0n0159j6yhjz02picvdjs-gnutls-3.7.1-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/g6pciryfaidl86v6dmfcmvilggkh2g5y-nettle-3.7.2-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/1kn2bmca1z44hgqw23qs5spfb41dhjj1-gmp-6.2.1-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/gvjigplk2rmwm4jb7xn7rwgqahh7mqhk-gst-plugins-bad-1.18.2-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/g9qxgqi0w9k4ym6gpnwqcvp563p40dds-gst-plugins-base-1.18.2-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/64z01s19c517i030d7lmmjn4ysc4243d-gstreamer-1.18.2-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/v5yy59pssxxlg4d94bcpkz1p65m04vg1-harfbuzz-icu-2.8.0-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/n4cqw7i7iq7qsdsm7bn319l678nhjf4h-graphite2-1.3.14/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/yl5ac8if8j2yk4fifv78k2hsiakkhq3v-icu4c-68.2-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/bi9002cq9hkj1yzy8gkyic6vrx4hsrg8-harfbuzz-2.8.0-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/vcdj29if6bkbn706vyf524r7li2h7xih-libGL-1.3.2-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/03xxsv63crir4c26ccsgh4g3qqm99gdj-glu-9.0.1-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/zqmnd2hi0pzqy1qxs23h9af91f664469-apple-lib-xpc/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/k6rn5zph5izaiph24ha8rlxq3a2q8jcz-libXdamage-1.1.5-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/p97vip647zvp15fypbgbvkcvq66wknzz-libXfixes-5.0.3-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/1dgp6r69s5l6fr55dxs0391spvw2qjjg-libXxf86vm-1.1.4-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/17jjpmxjiv8n0386wrxzj7gzr1jnwsw6-apple-lib-Xplugin/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/grdwb60zsfd899q3zdfkk70mmx56gqpr-objc4-709.1/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/bd9c18wcz9xh5ykhcjpx2b03n1dxxdwi-libgcrypt-1.9.2-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/ln2rsf16g7i8d5pdxx7cx3dp5bd1sgyc-libidn-1.36-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/dwlpybwvsaaym1vlsy4xz4hxf11p5c6i-libnotify-0.7.9-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/hif3bn84lq6blq6xi5wc51ink1zq7fmf-gdk-pixbuf-2.42.6-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/lhs3fpqmmxsx4xnvzsjxl8n6hrc8hnnz-libtiff-4.2.0-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/fn854v53z5696mz5l5d4pjxn13w8r9jz-libjpeg-turbo-2.0.6-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/d0d9vq740gl86czslg39ncjk6w5ji59x-xz-5.2.5-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/04kqbr02zw9ipdq99aq6avraakqhkjpn-libpng-apng-1.6.37-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/7g0jgr4cp66y11qvf0rb2si3z63qqjyz-libsecret-0.20.4-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/0iz4blisxiwk4gsnirpy8i359a8byh3a-libtasn1-4.16.0-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/5569680f49bm0m4gnzck4wikp04nk3wr-libwebp-1.1.0/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/y5gwyha4i1wi7qlyll1wkcsnhq8di9fm-libxkbcommon-1.2.1-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/b82yc0gbrl2khjqd8sbn89xz1wb2xqa4-libxml2-2.9.10-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/r94pgcpm2rfmssiv9b7wjbzj3lni400y-libxslt-1.1.34-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/mi97zxhpwllxdi6k6jq2w6qk58fi6kwj-openjpeg-2.4.0-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/f5q0jcnjnw498azlkd02xak18cxz1gs6-lcms2-2.12-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/xjkbyyka31cjfxafd31qwdkfs2kfqbdg-p11-kit-0.23.22-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/71m7mz67dgn1xbzgnrd647rnfq51fjrm-pcre-8.44-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/7hfl1gqhwh8mj1i1z712ca2p2y52y8yl-sqlite-3.35.2-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/9g28yxhqik4fn7ixc5si3q2kdklz0kj2-woff2-1.0.2-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/2l8q8b6m73ym0clm3qsg7wckg7i3cva5-brotli-1.0.9-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/26bpbbvq5v078q77wszf2i89frx666f0-libXdmcp-1.1.3-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/7aii934xwjq98xrxpq3vdcchh6xa34b1-libXt-1.2.1-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/af7iqkhqbx4hdf0qqz015vhcpn413wh2-libSM-1.2.3-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/nf2wlzmmd6lkn465v0rl404dqy7qxx40-libICE-1.0.10-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/z23q6xan8j02yxnihaivwrmr5sp611zd-libX11-1.7.0-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/1dadwz7j25n38cgxj6f6gms25s2skbqh-xorgproto-2021.3/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/cvkb1yxprk3k9gbgdqcr7s5jmg3ajfk2-libxcb-1.14-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/00jdp3rg820n59yz9y4if9bmyngilzdc-libXtst-1.2.3/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/bhnv0f3xjaaid79ln5i6lajiaaw247lr-libedit-20210216-3.1-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/j4xxz1l2q6gcqkzw49a40pq4dpvgyx0k-ncurses-6.2-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/sbnzhvsrmkqrqzdrwf1sfd2vz8nz84qw-readline-6.3p08-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/ibmbhkfg0zw8jnn0h0fg1fshbqii9mh7-webkitgtk_headers/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/17nm2x6142q1wwgmpiap292bqy2f916k-geoclue-2.5.7-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/rrfppz53hjdh6yh4sj95z36mrmxvhkdw-gtk+3-3.24.27-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/wyapj8wvblyypd94jxym4nlc9rbhhybv-at-spi2-atk-2.38.0/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/b3pagwy300v7jbs5i1wjwz5w6jqc6v2g-atk-2.36.0-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/s7n49bzf4w3v53kapd67kbym5fvp4d8q-cairo-1.16.0-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/8y2l2bl84klzzbfnp3jxnz04lq99v8la-fontconfig-2.13.92-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/afnbyi0965q2fc218vx3mjay1wffpzip-freetype-2.10.4-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/hbnllj9840kw8n01g02qyswv0dd14qfw-bzip2-<IP_ADDRESS>.2-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/gph7pb1pw29hq2h45blz2l552syh7mrl-pixman-0.38.4/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/gpkb376kgqkw8vwc8m07jzk6a996i06q-fribidi-1.0.10/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/pg2a3ii46rnv2g5y62a70l1ggim0ysl9-gsettings-desktop-schemas-40.0/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/afk6z8cym5mhp0ws26dvpifyslsx702a-libXcomposite-0.4.5-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/cfpxhhsbrmryfqlnpiyq980fvj3l06qx-libXcursor-1.2.0-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/2p2qklz409hrqzv5949kf1skys83b6rp-libXi-1.7.10-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/i85mhafil0mkbawzxzbwf9mi00pl92m1-libXrandr-1.5.2-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/gdkcvhkk426aql0hjsj4j80i3adrvx75-libXrender-0.9.10-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/fchv0h0jifndkps8sy16fc2lzajafxnn-pango-1.48.4-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/jdjgscwbrjw9nf9glrs2csg5fya91bb7-harfbuzz-2.8.0-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/6c8a92i8691p47y34gnmas57kdcdg3fg-libsoup-2.72.0-dev/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/3ndhndpas5zaxpa63gldf2xgcd2skd3y-libc++-7.1.0/include/c++/v1/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/47vpv5i10dwfg1cf5wca1k40f982g5fm-clang-wrapper-7.1.0/resource-root/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  open("/nix/store/wd30p2pq4lci8fk9fqldkgk1hgmwpapj-Libsystem-1238.60.2/include/cmakeconfig.h\0", 0x1000000, 0x0)		 = -1 Err#2
22243/0x1c9e0e:  write(0x2, "\033[1m\0", 0x4)		 = 4 0
22243/0x1c9e0e:  write(0x2, "../Source/ThirdParty/xdgmime/src/xdgmimealias.c\0", 0x2F)		 = 47 0
22243/0x1c9e0e:  write(0x2, ":\0", 0x1)		 = 1 0
22243/0x1c9e0e:  write(0x2, "29\0", 0x2)		 = 2 0
22243/0x1c9e0e:  write(0x2, ":\0", 0x1)		 = 1 0
22243/0x1c9e0e:  write(0x2, "10\0", 0x2)		 = 2 0
22243/0x1c9e0e:  write(0x2, ":\0", 0x1)		 = 1 0
22243/0x1c9e0e:  write(0x2, " \0", 0x1)		 = 1 0
22243/0x1c9e0e:  write(0x2, "\033[0m\0", 0x4)		 = 4 0
22243/0x1c9e0e:  write(0x2, "\033[0;1;31m\0", 0x9)		 = 9 0
22243/0x1c9e0e:  write(0x2, "fatal error\0", 0xB)		 = 11 0
22243/0x1c9e0e:  write(0x2, ": \0", 0x2)		 = 2 0
22243/0x1c9e0e:  write(0x2, "\033[0m\0", 0x4)		 = 4 0
22243/0x1c9e0e:  write(0x2, "\033[1m\0", 0x4)		 = 4 0
22243/0x1c9e0e:  write(0x2, "'cmakeconfig.h' file not found\0", 0x1E)		 = 30 0
22243/0x1c9e0e:  write(0x2, "\033[0m\0", 0x4)		 = 4 0
22243/0x1c9e0e:  write(0x2, "\n\0", 0x1)		 = 1 0
22243/0x1c9e0e:  write(0x2, "#include \"cmakeconfig.h\"\002\0", 0x18)		 = 24 0
22243/0x1c9e0e:  write(0x2, "\n\0", 0x1)		 = 1 0
22243/0x1c9e0e:  write(0x2, "\033[0;1;32m\0", 0x9)		 = 9 0
22243/0x1c9e0e:  write(0x2, "         ^~~~~~~~~~~~~~~\002\0", 0x18)		 = 24 0
22243/0x1c9e0e:  write(0x2, "\n\0", 0x1)		 = 1 0
22243/0x1c9e0e:  write(0x2, "\033[0m\0", 0x4)		 = 4 0

build.ninja

build Source/ThirdParty/xdgmime/CMakeFiles/xdgmime.dir/src/xdgmimealias.c.o: C_COMPILER__xdgmime_Release ../Source/ThirdParty/xdgmime/src/xdgmimealias.c || cmake_object_order_depends_target_xdgmime
  DEFINES = -DBUILDING_GTK__=1 -DBUILDING_WITH_CMAKE=1 -DGETTEXT_PACKAGE=\"WebKit2GTK-4.0\" -DHAVE_CONFIG_H=1 -DJSC_GLIB_API_ENABLED -DSVN_REVISION=\"tarball\" -DWEBKITGTK_API_VERSION_STRING=\"4.0\" -DXDG_PREFIX=_wk_xdg
  DEP_FILE = Source/ThirdParty/xdgmime/CMakeFiles/xdgmime.dir/src/xdgmimealias.c.o.d
  FLAGS = -fdiagnostics-color=always -fcolor-diagnostics -Wextra -Wall -Wno-parentheses-equality -Qunused-arguments -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare  -fno-strict-aliasing -fno-exceptions -O3 -DNDEBUG -fPIC -Wno-sign-compare -Wno-unused-parameter
  INCLUDES = -I/private/tmp/nix-build-webkitgtk-2.32.1.drv-13/webkitgtk-2.32.1/Source/ThirdParty/xdgmime/src -I/private/tmp/nix-build-webkitgtk-2.32.1.drv-13/webkitgtk-2.32.1/build
  OBJECT_DIR = Source/ThirdParty/xdgmime/CMakeFiles/xdgmime.dir
  OBJECT_FILE_DIR = Source/ThirdParty/xdgmime/CMakeFiles/xdgmime.dir/src
  TARGET_COMPILE_PDB = Source/ThirdParty/xdgmime/CMakeFiles/xdgmime.dir/xdgmime.pdb
  TARGET_PDB = lib/libxdgmime.pdb

log

webkitgtk> [561/4574] Building C object Source/ThirdParty/xdgmime/CMakeFiles/xdgmime.dir/src/xdgmimealias.c.o
webkitgtk> FAILED: Source/ThirdParty/xdgmime/CMakeFiles/xdgmime.dir/src/xdgmimealias.c.o
webkitgtk> /nix/store/47vpv5i10dwfg1cf5wca1k40f982g5fm-clang-wrapper-7.1.0/bin/clang -DBUILDING_GTK__=1 -DBUILDING_WITH_CMAKE=1 -DGETTEXT_PACKAGE=\"WebKit2GTK-4.0\" -DHAVE_CONFIG_H=1 -DJSC_GLIB_API_ENABLED -DSVN_REVISION=\"tarball\" -DWEBKITGTK_API_VERSION_STRING=\"4.0\" -DXDG_PREFIX=_wk_xdg -I/private/tmp/nix-build-webkitgtk-2.32.1.drv-13/webkitgtk-2.32.1/Source/ThirdParty/xdgmime/src -I/private/tmp/nix-build-webkitgtk-2.32.1.drv-13/webkitgtk-2.32.1/build -fdiagnostics-color=always -fcolor-diagnostics -Wextra -Wall -Wno-parentheses-equality -Qunused-arguments -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare  -fno-strict-aliasing -fno-exceptions -O3 -DNDEBUG -fPIC -Wno-sign-compare -Wno-unused-parameter -MD -MT Source/ThirdParty/xdgmime/CMakeFiles/xdgmime.dir/src/xdgmimealias.c.o -MF Source/ThirdParty/xdgmime/CMakeFiles/xdgmime.dir/src/xdgmimealias.c.o.d -o Source/ThirdParty/xdgmime/CMakeFiles/xdgmime.dir/src/xdgmimealias.c.o -c ../Source/ThirdParty/xdgmime/src/xdgmimealias.c
webkitgtk> ../Source/ThirdParty/xdgmime/src/xdgmimealias.c:29:10: fatal error: 'cmakeconfig.h' file not found
webkitgtk> #include "cmakeconfig.h"
webkitgtk>          ^~~~~~~~~~~~~~~
webkitgtk> 1 error generated.

By the way, it works with the latest nix version (master) even if sandbox is disabled, so I guess it's a nix issue?

Looks like it's not searching for cmakeconfig.h in the build directory for some files.

This is very interesting. Could you please also get a log with NIX_DEBUG=1
nix build --expr '(import (builtins.fetchTarball { url = "https://github.com/NixOS/nixpkgs/archive/61e49ba58b487b49832028a1829f50fd2abcab06.tar.gz"; sha256 = "sha256:1zb7i12i8r97n5fir6wyz4wwcxmkm4d0r3s1qv445x1f4rv0lr3x"; }) { system = "x86_64-darwin"; }).webkitgtk.overrideAttrs (old: { NIX_DEBUG=1; })' --option sandbox false --option cores 4

I wonder if cc-wrapper strips the include path for some reason.

By the way, it works with the latest nix version (master) even if sandbox is disabled, so I guess it's a nix issue?

Could it be that sandbox is enabled by default on master, so you need to explicitly disable it?

Could it be that sandbox is enabled by default on master, so you need to explicitly disable it?

I have explicitly disabled the sandbox, so I don't think it's the case.

Could you please also get a log with NIX_DEBUG=1

Do you want me to run it with the new master version or the previous one?

@babariviere The one the breaks is the more interesting one.

This looks suspicious
skipping impure path /private/tmp/nix-build-webkitgtk-2.32.1.drv-16/webkitgtk-2.32.1/Source/ThirdParty/xdgmime/src
skipping impure path /private/tmp/nix-build-webkitgtk-2.32.1.drv-16/webkitgtk-2.32.1/build

@babariviere Thank you so much, can you also run it with NIX_DEBUG=7. I wonder if we will somehow don't consider the /private/tmp case in
https://github.com/NixOS/nixpkgs/blob/5997f0dcd997adbbbc091a1271bdea38fb0ea44a/pkgs/build-support/wrapper-common/utils.bash#L99-L107

nix.log

@babariviere Would you mind also sharing the values of TMP
nix build --expr '(import (builtins.fetchTarball { url = "https://github.com/NixOS/nixpkgs/archive/61e49ba58b487b49832028a1829f50fd2abcab06.tar.gz"; sha256 = "sha256:1zb7i12i8r97n5fir6wyz4wwcxmkm4d0r3s1qv445x1f4rv0lr3x"; }) { system = "x86_64-darwin"; }).webkitgtk.overrideAttrs (old: { unpackPhase = "env | grep -E \"TE?MP\"; exit 1"; })' --option sandbox false --option cores 4

I get
  TMP=/private/tmp/nix-build-webkitgtk-2.32.1.drv-0
  TMPDIR=/private/tmp/nix-build-webkitgtk-2.32.1.drv-0
  TEMPDIR=/private/tmp/nix-build-webkitgtk-2.32.1.drv-0
  TEMP=/private/tmp/nix-build-webkitgtk-2.32.1.drv-0

       > unpacking sources
       > TMP=//private/tmp/nix-build-webkitgtk-2.32.1.drv-16
       > TMPDIR=//private/tmp/nix-build-webkitgtk-2.32.1.drv-16
       > TEMPDIR=//private/tmp/nix-build-webkitgtk-2.32.1.drv-16
       > TEMP=//private/tmp/nix-build-webkitgtk-2.32.1.drv-16

So they say it's because of f3f228700a52857fe6e8632df4e935551ea219ff, but that commit is not a part of any stable nix release.

I am using pkgs.nixUnstable for this test. So I don't think you should create a special case for this error.

I am using pkgs.nixUnstable for this test. So I don't think you should create a special case for this error.
nix (Nix) 2.4pre20210503_6d2553a

I had to install nix master to avoid this error

I haven't read all details, but my understanding is that it's better to merge now and possibly improve later.