MacOS Monterey(M1)芯片想要安装makepkg出错,fakeroot用不了

MacOS Monterey(M1)芯片想要安装makepkg出错,fakeroot用不了
一开始要安装某个包的时候,出现报错:
/bin/sh: mkpkg: command not found
于是通过

brew install mkpkg
安装mkpkg包,但是提示我没有这个包,让我安装makepkg,接着我就输入
brew install makepkg
报错:
Error: makepkg has been disabled because it depends on fakeroot which does not build!
于是我尝试加上fakeroot,输入
fakeroot -- brew install makepkg
报错:
fakeroot: FAKEROOTKEY set to 632353325:36707
fakeroot: nested operation not yet supported
到这里网上就查不到怎么办了,请问有人可以帮我解决一下吗?