influxdb: Define GOPROXY
PATCH 1/3 influxdb: Define GOPROXY
Its needed with go 1.21
Signed-off-by Khem Raj <[email protected]>
--- meta-oe/recipes-dbs/influxdb/influxdb_1.8.10.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-oe/recipes-dbs/influxdb/influxdb_1.8.10.bb +2 -0
@@ -27,6 +27,8 @@ SRCREV = "688e697c51fd5353725da078555adbeff0363d01" inherit go-mod pkgconfig systemd update-rc.d useradd +export GOPROXY = "https://proxy.golang.org,direct" + # Workaround for network access issue during compile step # this needs to be fixed in the recipes buildsystem to move # this such that it can be accomplished during do_fetch task
Signature · 1 line
2.44.0
PATCH 2/3 crucible: Define GOPROXY
Its needed with go 1.21
Signed-off-by Khem Raj <[email protected]>
--- meta-oe/recipes-support/crucible/crucible_2023.11.02.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta-oe/recipes-support/crucible/crucible_2023.11.02.bb +2 -1
@@ -9,8 +9,9 @@ GO_INSTALL = "\ ${GO_IMPORT}/cmd/crucible \ ${GO_IMPORT}/cmd/habtool \ " -SRCREV = "358b5e7adb7f101f870f2b42fe5371460a3cccb6" +SRCREV = "dec27cd4e0e0db106c0a21d429c04ca8d36bbdd5" +export GOPROXY = "https://proxy.golang.org,direct" # Workaround for network access issue during compile step. # This needs to be fixed in the recipes buildsystem so that # it can be accomplished during do_fetch task.
Signature · 1 line
2.44.0
PATCH 3/3 syzkaller: Fix build with go 1.21
In reply to Khem Raj- export GOPROXY
- Fix clang-18 found errors by not forcing C++ compiler for CC but just passing c++ std library to link with
Signed-off-by Khem Raj <[email protected]>
--- meta-oe/recipes-test/syzkaller/syzkaller_git.bb | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-)
meta-oe/recipes-test/syzkaller/syzkaller_git.bb +10 -2
@@ -10,7 +10,13 @@ SRC_URI = "git://${GO_IMPORT};protocol=https;destsuffix=${BPN}-${PV}/src/${GO_IM file://0001-sys-targets-targets.go-allow-users-to-override-hardc.patch;patchdir=src/${GO_IMPORT} \ file://0001-executor-Include-missing-linux-falloc.h.patch;patchdir=src/${GO_IMPORT} \ " -SRCREV = "6d01f20890edf11b99bb54573025b11c1acd2d52" +SRCREV = "25905f5d0a2a7883bd33491997556193582c6059" + +export GOPROXY = "https://proxy.golang.org,direct" +# Workaround for network access issue during compile step. +# This needs to be fixed in the recipes buildsystem so that +# it can be accomplished during do_fetch task. +do_compile[network] = "1" COMPATIBLE_HOST = "(x86_64|i.86|arm|aarch64).*-linux"
@@ -26,6 +32,8 @@ export TARGETVMARCH = '${GOARCH}' CGO_ENABLED = "1" +LDFLAGS:append:class-target = "${@bb.utils.contains_any("TC_CXX_RUNTIME", "llvm android", " -lc++", " -lstdc++", d)}" + DEPENDS:class-native += "qemu-system-native" do_compile:class-native() {
@@ -46,7 +54,7 @@ do_compile:class-target() { unset GOOS unset GOARCH - oe_runmake GO="${GO}" CC="${CXX}" CFLAGS="${CXXFLAGS} ${LDFLAGS}" REV=${SRCREV} target + oe_runmake GO="${GO}" CFLAGS="${CXXFLAGS} ${LDFLAGS}" REV=${SRCREV} target } do_install:class-native() {
Signature · 1 line
2.44.0