zhtengw / deepin-overlay

Gentoo overlay for Deepin APPs
GNU General Public License v2.0
56 stars 14 forks source link

go-gir-generator go cache fix #85

Closed tmu-sprd closed 4 years ago

tmu-sprd commented 4 years ago

Fix for go-gir-generator go cache build fail:

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'