Bad file descriptor errors
I can reproduce this failure 100% of the time when trying to bst build core-deps/WebKitGTK+.bst. Note that I do have an open workspace for it.
[ 74%] Building C object Source/WebKit/CMakeFiles/WebKit.dir/__/__/DerivedSources/webkit2gtk/WebKitResourcesGResourceBundle.c.o
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Bad file descriptor
chdir: error retrieving current directory: getcwd: cannot access parent directories: Success
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Bad file descriptor
[ 74%] Linking CXX shared library ../../lib/libwebkit2gtk-4.0.so
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Bad file descriptor
chdir: error retrieving current directory: getcwd: cannot access parent directories: Success
../../lib/../Source/WebCore/CMakeFiles/WebCore.dir/__/__/DerivedSources/WebCore/unified-sources/UnifiedSource73.cpp.o:(.debug_info+0x1ffb3d): undefined reference to `.LASF75377'
../../lib/../Source/WebCore/CMakeFiles/WebCore.dir/__/__/DerivedSources/WebCore/unified-sources/UnifiedSource127.cpp.o:(.debug_info+0x3fe33): undefined reference to `.LASF8252'
collect2: error: ld returned 1 exit status
There's many more lines just like this, but it's all the same errors repeated over and over for different source files.