Compiling without bigdft and wannier90 succeeded. I'll let our users know that for the time being, we don't have support for them in 6.12.1. Hopefully they don't need them just now

Thanks for your help, and if you do find a solution, I would be glad to hear about it.
Regards,
Daniel