It seems you need to accept license agreements before you can build. The log shows some additional information on that. I suspect that is why the build failed.
If not, search the log for “ERROR” and read those carefully for additional information on what went wrong. If you need additional help with that, be sure to copy and paste the error messages into the comments, so everyone can see them fully. (The screenshot cuts off most of the message)