Hey, can somebody help me how to build a clean chroot and what that actually means? I tried to find information about that via google but I'm still not sure if I get it right.
So my actual problem is the following: I want to install the matlab AUR package but it always fail to build the gcc5 package. Then I read here that it should be built using a clean chroot to avoid errors. So I downloaded the PKGBUILD-file for gcc5 from that website and tried to build it using the
devtools package (I installed that via pacman). I tried to build it following this Link. So I executed the command
stable-x86_64-build -c in the download folder where the PKGBUILD-file is. This than took a long time to build (no errors where displayed). Afterwards I can't see gcc5 installed in pacman. Is there anything else I am missing? When I now try to execute
makepkgin this folder it tells me
==> ERROR: A package has already been built. (use -f to overwrite) so it seems to be build correctly, am I right?
Thanks in advance!