cp -r lib.in/gudev-1.0 out/src/pkg.deepin.io/gir/
failed to initialize build cache at /root/.cache/go-build: mkdir /root/.cache/go-build: permission denied
make: *** [Makefile:18: generator] Error 1
* ERROR: dev-go/go-gir-generator-2.0.2-r1::deepin failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=dev-go/go-gir-generator-2.0.2-r1::deepin'`,
* the complete build log and the output of `emerge -pqv '=dev-go/go-gir-generator-2.0.2-r1::deepin'`.
* The complete build log is located at '/var/tmp/portage/dev-go/go-gir-generator-2.0.2-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-go/go-gir-generator-2.0.2-r1/temp/environment'.
* Working directory: '/var/tmp/portage/dev-go/go-gir-generator-2.0.2-r1/work/go-gir-generator-2.0.2'
* S: '/var/tmp/portage/dev-go/go-gir-generator-2.0.2-r1/work/go-gir-generator-2.0.2'
Fix for go-gir-generator go cache build fail: