Error installing pamac

I mean it gives the same error when trying to build pamac. The package is being built but just gets stuck on a similar process like the one I gave for pamac:

+++ /home/marnix/.cache/yay/pamac-all/PKGBUILD
@@ -0,0 +1,80 @@
+# Contributor: Zeph zeph33@gmail.com
+# Maintainer: Librewish librewish@gmail.com
+# https://gitlab.manjaro.org/packages/extra/pamac
+ENABLE_FLATPAK=1

I will have a look at this thread and see if that fixes anything: