From da975716a1f817fc911701afcce40d94173f8f9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ertu=C4=9Frul=20Erata?= Date: Fri, 6 May 2016 16:31:09 +0300 Subject: [PATCH 1/3] change strip? --- programming/language/go/actions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programming/language/go/actions.py b/programming/language/go/actions.py index d4309ec83a..6883bb1065 100644 --- a/programming/language/go/actions.py +++ b/programming/language/go/actions.py @@ -9,7 +9,7 @@ from pisi.actionsapi import autotools from pisi.actionsapi import shelltools from pisi.actionsapi import get -NoStrip = "/" +NoStrip = ["/"] def build(): From a6c0e50d2904a1a1766ed3969ef85257f3402d0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ertu=C4=9Frul=20Erata?= Date: Sat, 7 May 2016 09:33:01 +0300 Subject: [PATCH 2/3] needed build update --- need_build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/need_build b/need_build index 589a91f864..0654dce769 100644 --- a/need_build +++ b/need_build @@ -6,3 +6,7 @@ hardware/optical/simpleburn kernel/drivers/module-fglrx +* Packages that needs compiling + desktop/toolkit/qt5/qt5-webkit (2 > 1) + programming/language/python/python3-setuptools (2 > 1) + From 9573f704c2dd2fd9c683054fdf4710f0bb36837b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ertu=C4=9Frul=20Erata?= Date: Sat, 7 May 2016 10:34:35 +0300 Subject: [PATCH 3/3] some fix for build docker --- hardware/virtualization/docker/actions.py | 1 + programming/language/go/actions.py | 9 ++++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/hardware/virtualization/docker/actions.py b/hardware/virtualization/docker/actions.py index 597fd36e87..0e26583472 100644 --- a/hardware/virtualization/docker/actions.py +++ b/hardware/virtualization/docker/actions.py @@ -11,6 +11,7 @@ from pisi.actionsapi import get shelltools.export("AUTO_GOPATH", "1") shelltools.export("DOCKER_GITCOMMIT", "20f81dd") +shelltools.export("GOROOT","/usr/lib/go") shelltools.export("GOPATH", "%s" % get.workDIR()) shelltools.export("CGO_CFLAGS", "-I/usr/include") diff --git a/programming/language/go/actions.py b/programming/language/go/actions.py index 6883bb1065..7916ede433 100644 --- a/programming/language/go/actions.py +++ b/programming/language/go/actions.py @@ -9,14 +9,17 @@ from pisi.actionsapi import autotools from pisi.actionsapi import shelltools from pisi.actionsapi import get -NoStrip = ["/"] +NoStrip = ["/usr/lib/go/pkg", "/usr/lib/go/src/runtime/race", "/usr/lib/go/src/debug/elf", "/usr/lib/go/src/debug/dwarf"] def build(): - + shelltools.export("go_platform","linux-amd64") + shelltools.export("go_linker","/lib/ld-linux-x86-64.so.2") + shelltools.export("GOROOT", "%s/go-go1.6.2" % get.workDIR()) #0 + shelltools.export("GOBIN", "$GOROOT/bin") #1 shelltools.export("GOPATH", "%s" % get.workDIR()) - + shelltools.export("GOROOT_FINAL", "/usr/lib/go") shelltools.export("GOROOT_BOOTSTRAP", "%s/go-go1.6.2/go-linux-amd64-bootstrap" % get.workDIR()) #2 shelltools.export("GOOS","linux")