Skip to contentSkip to conversation

go: Fix for panic: branch too far on arm64

PATCH In review Khem Raj 2 participants 3 messages Mar 3, 2018

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/2 go: Fix for panic: branch too far on arm64

see https://github.com/golang/go/issues/23889

---
 meta/recipes-devtools/go/go-1.10.inc               |  1 +
 .../arm64-fix-branch-too-far-with-TBZ.patch        | 50 ++++++++++++++++++++++
 2 files changed, 51 insertions(+)
 create mode 100644 meta/recipes-devtools/go/go-1.10/arm64-fix-branch-too-far-with-TBZ.patch
meta/recipes-devtools/go/go-1.10.inc +1 -0
index 3a93773e2a..8c70de934e 100644
@@ -13,6 +13,7 @@ SRC_URI += "\
     file://0005-make.bash-override-CC-when-building-dist-and-go_boot.patch \
     file://0006-cmd-dist-separate-host-and-target-builds.patch \
     file://0007-cmd-go-make-GOROOT-precious-by-default.patch \
+    file://arm64-fix-branch-too-far-with-TBZ.patch \
 "
 
 SRC_URI_append_libc-musl = " file://0008-ld-replace-glibc-dynamic-linker-with-musl.patch"
meta/recipes-devtools/go/go-1.10/arm64-fix-branch-too-far-with-TBZ.patch new file +50 -0

50 lines not on this page · raw message

Signature · 1 line
2.16.2
author
#1 lore raw

PATCH 2/2 godep.bbclass: Add helper class to enable go-dep tool

Many go packages can take advantage of dep tool since they manage their own dependencies, this class helps in using go dep tool for such packages

---
 meta/classes/godep.bbclass | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 meta/classes/godep.bbclass
meta/classes/godep.bbclass new file +8 -0
new file mode 100644
index 0000000000..c82401c313
@@ -0,0 +1,8 @@
+DEPENDS_append = " go-dep-native"
+
+do_compile_prepend() {
+    rm -f ${WORKDIR}/build/src/${GO_IMPORT}/Gopkg.toml
+    rm -f ${WORKDIR}/build/src/${GO_IMPORT}/Gopkg.lock
+    ( cd ${WORKDIR}/build/src/${GO_IMPORT} && dep init && dep ensure )
+}
+
Signature · 1 line
2.16.2
#2 lore raw

✗ patchtest: failure for "go: Fix for panic: branch too ..." and 1 more

In reply to Khem Raj

== Series Details ==

Series: "go: Fix for panic: branch too ..." and 1 more
Revision: 1
URL : https://patchwork.openembedded.org/series/11219/
State : failure

== Summary ==

Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the proposed series by patchtest resulting in the following failures:

* Issue Series does not apply on top of target branch [test_series_merge_on_head]
Suggested fix Rebase your series on top of targeted branch
Targeted branch master (currently at 8e4ece7bf0)

If you believe any of these test results are incorrect, please reply to the mailing list ([email protected]) raising your concerns. Otherwise we would appreciate you correcting the issues and submitting a new version of the patchset if applicable. Please ensure you add/increment the version number when sending the new version (i.e. [PATCH] -> [PATCH v2] -> [PATCH v3] -> ...).

---

Guidelines:     https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines
Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest
Test suite:     http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe