Build of Whonix templates for upcoming Qubes 4.0 fails on downloading torbrowser. And interestingly, this applies also to Qubes 3.2 templates, which previously worked fine. So, probably it isn't related to 3.2/4.0 difference at all.
Full build logs:
https://dist.torproject.org/torbrowser could not be reached. Possible reasons: - https://dist.torproject.org/torbrowser is down - download location changed Please check: Start menu -> System -> Whonix Check or in Terminal: whonixcheck or in Terminal with debugging: whonixcheck -v If whonixcheck reports no problems with internet activity and downloading Tor Browser keeps failing, please report a bug! (Debugging information: curl_status_message:  - [Couldn't resolve host. The given remote host was not resolved.])