Swift 5.2/5.2.1 custom build problems

  1. symlinks trouble

1.1. fix recursive symlinks :

rm -rdf llbuild/include/llvm/Demangle/include
rm -rdf llbuild/lib/llvm/Demangle/include
mkdir -p llbuild/lib/llvm/Demangle/include/llvm
ln -s ../../../../../include/llvm/Demangle llbuild/lib/llvm/Demangle/include/llvm/Demangle

1.2 fix missing dir build/buildbot_linux/swiftpm-linux-x86_64/x86_64-pc-linux-gnu/release :

ln -s ../x86_64-unknown-linux-gnu/release build/buildbot_linux/swiftpm-linux-x86_64/x86_64-pc-linux-gnu/

  1. after 5.2.1 build the launch of swift ends with an error:
> swift

error: Could not construct an expression context for the REPL.

solved as here - Swift 5.2.1 on Fedora - Where We're At and a Request For Help