After addition of mkstemp in MSYS2, dmake stopped working due to using it (shell function was broken), and perl stopped building due to providing a custom conflicting implementation (and due to using broken dmake). Now dmake does not use MSYS2 mkstemp anymore, and perl does.