It the starts with "Building UHD..." and exits with the error "UHD build apparently failed".
look at the script, so that you know how to enable debugging, and search if others have had this problem
btw maybe you installed some uhd support from the distro? (it is better not to install any radio-related stuff)
btw if you are using the newest version, then skip the 32-bit environment setup when building the codecs. they will work when compiled for 64-bits too.