Skip to contentSkip to conversation

go-native: rename to go-initial-native

PATCH In review Mark Asselstine 2 participants 5 messages Feb 8, 2017 – Feb 9, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 go-native: rename to go-initial-native

With the new per recipe sysroots we were having build issues since the bootstrap version of go (go-native 1.4) was being found and not the go-cross (1.6) we are expecting. This results in errors such as the following when building packages such as containerd:

_cgo_.o: decoding dwarf section info at offset 0x4: unsupported version 0

This is caused by the dependency tree built up to prepare the per recipe sysroot. Since recipes like containerd DEPEND on go-cross and go-cross DEPENDS on go-native both are installed but unlike the old global sysroot the dependency parsing order results in go-native being last, overwriting go-cross. You can see this by running a devshell for containerd and running 'go version'.

By adding '-initial' in the name we exploit functionality in sstate.bbclass that is already in place to handle gcc-initial and similar. This results in only explicit DEPENDS on go-native being enforced, so in the case of containerd we only get a dependency on go-cross and we therefor get go 1.6 as expected.

---
 recipes-devtools/go-cross/go-cross.inc                                | 4 +++-
 .../go-cross/{go-native_1.4.bb => go-initial-native_1.4.bb}           | 0
 2 files changed, 3 insertions(+), 1 deletion(-)
 rename recipes-devtools/go-cross/{go-native_1.4.bb => go-initial-native_1.4.bb} (100%)
recipes-devtools/go-cross/go-cross.inc +3 -1
index 7f74903..857fbd5 100644
@@ -1,7 +1,9 @@
 inherit cross
 
 # libgcc is required for the target specific libraries to build properly
-DEPENDS += "go-native libgcc virtual/${TARGET_PREFIX}gcc"
+DEPENDS += "go-initial-native libgcc virtual/${TARGET_PREFIX}gcc"
+
+do_compile[depends] += "go-initial-native:do_populate_sysroot"
 
 # Prevent runstrip from running because you get errors when the host arch != target arch
 #INHIBIT_PACKAGE_STRIP = "1"
recipes-devtools/go-cross/go-initial-native_1.4.bb renamed from recipes-devtools/go-cross/go-native_1.4.bb +0 -0
similarity index 100%
rename from recipes-devtools/go-cross/go-native_1.4.bb
rename to recipes-devtools/go-cross/go-initial-native_1.4.bb
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/3 go-cross: add ${TARGET_ARCH} to PN

Since we are building a cross tool which produces something which is ARCH specific we should stick to the <toolname>-cross-<arch> naming convention. A variant of this patch has been floating around for a while but with the changes around per recipe sysroots, distributed builds, shared builds... we are best served to adopt this convention now.

---
 recipes-containers/containerd/containerd_git.bb               | 2 +-
 recipes-containers/docker/docker_git.bb                       | 2 +-
 recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb | 2 +-
 recipes-containers/riddler/riddler_git.bb                     | 2 +-
 recipes-containers/runc/runc_git.bb                           | 2 +-
 recipes-devtools/go-cross/go-cross.inc                        | 3 +++
 recipes-networking/netns/netns_git.bb                         | 2 +-
 7 files changed, 9 insertions(+), 6 deletions(-)
recipes-containers/containerd/containerd_git.bb +1 -1
index 096a164..f5d5cd7 100644
@@ -18,7 +18,7 @@ S = "${WORKDIR}/git"
 CONTAINERD_VERSION = "0.2.2"
 PV = "${CONTAINERD_VERSION}+git${SRCREV}"
 
-DEPENDS = "go-cross \
+DEPENDS = "go-cross-${TARGET_ARCH} \
     "
 
 RRECOMMENDS_${PN} = "lxc docker"
recipes-containers/docker/docker_git.bb +1 -1
index c208a02..d264166 100644
@@ -37,7 +37,7 @@ DOCKER_VERSION = "1.13.0"
 PV = "${DOCKER_VERSION}+git${SRCREV}"
 
 DEPENDS = " \
-    go-cross \
+    go-cross-${TARGET_ARCH} \
     go-cli \
     go-pty \
     go-context \
recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb +1 -1
index dac2d13..7e5af38 100644
@@ -2,7 +2,7 @@ HOMEPAGE = "https://github.com/opencontainers/runtime-tools"
 SUMMARY = "oci-runtime-tool is a collection of tools for working with the OCI runtime specification"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=b355a61a394a504dacde901c958f662c"
-DEPENDS = "go-cross"
+DEPENDS = "go-cross-${TARGET_ARCH}"
 
 SRC_URI = "git://github.com/opencontainers/runtime-tools.git"
 
recipes-containers/riddler/riddler_git.bb +1 -1
index 361e9d2..49e8aa0 100644
@@ -2,7 +2,7 @@ HOMEPAGE = "https://github.com/jfrazelle/riddler"
 SUMMARY = "Convert `docker inspect` to opencontainers (OCI compatible) runc spec."
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=20ce4c6a4f32d6ee4a68e3a7506db3f1"
-DEPENDS = "go-cross"
+DEPENDS = "go-cross-${TARGET_ARCH}"
 
 SRC_URI = "git://github.com/jfrazelle/riddler;branch=master"
 SRCREV = "23befa0b232877b5b502b828e24161d801bd67f6"
recipes-containers/runc/runc_git.bb +1 -1
index ed9a32e..23c0094 100644
@@ -18,7 +18,7 @@ S = "${WORKDIR}/git"
 RUNC_VERSION = "1.0.0-rc1"
 PV = "${RUNC_VERSION}+git${SRCREV}"
 
-DEPENDS = "go-cross \
+DEPENDS = "go-cross-${TARGET_ARCH} \
     "
 RRECOMMENDS_${PN} = "lxc docker"
 
recipes-devtools/go-cross/go-cross.inc +3 -0
index 857fbd5..a7117bc 100644
@@ -1,5 +1,8 @@
 inherit cross
 
+# Produces target arch specific code so we should reflect this in the PN
+PN = "go-cross-${TARGET_ARCH}"
+
 # libgcc is required for the target specific libraries to build properly
 DEPENDS += "go-initial-native libgcc virtual/${TARGET_PREFIX}gcc"
 
recipes-networking/netns/netns_git.bb +1 -1
index 073022e..247b37d 100644
@@ -2,7 +2,7 @@ HOMEPAGE = "https://github.com/jfrazelle/netns"
 SUMMARY = "Runc hook for setting up default bridge networking."
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=20ce4c6a4f32d6ee4a68e3a7506db3f1"
-DEPENDS = "go-cross"
+DEPENDS = "go-cross-${TARGET_ARCH}"
 
 SRC_URI = "git://github.com/jfrazelle/netns;branch=master"
 SRCREV = "2804050eeab661bfa75c3aa06bdcf60273b02ca7"
Signature · 1 line
2.7.4
#2 lore raw

PATCH 3/3 docker: fixup failing build

In reply to Mark Asselstine

Docker is failing to build because it is attempting to download missing go dependencies. Add new recipes for missing dependencies and update existing recipes to ensure the version defined in docker's vendor.conf is available.

Note that this fixes the build only. At this time many docker functions are working, such as 'docker image', 'docker pull' and more, but 'docker run' is currently failing.

---
 recipes-containers/docker/docker_git.bb            |  6 +++-
 recipes-devtools/go/compose-file_git.bb            | 41 ++++++++++++++++++++++
 recipes-devtools/go/go-capability_git.bb           |  3 +-
 recipes-devtools/go/go-connections_git.bb          | 39 ++++++++++++++++++++
 recipes-devtools/go/go-dbus_git.bb                 |  6 ++--
 ...bution-digest_git.bb => go-distribution_git.bb} | 15 +++++---
 recipes-devtools/go/go-fsnotify_git.bb             |  4 +--
 recipes-devtools/go/go-libtrust_git.bb             |  3 +-
 recipes-devtools/go/go-logrus_git.bb               |  4 +--
 recipes-devtools/go/go-patricia_git.bb             |  4 +--
 recipes-devtools/go/go-systemd_git.bb              |  8 +++--
 recipes-devtools/go/grpc-go_git.bb                 | 41 ++++++++++++++++++++++
 recipes-devtools/go/notary_git.bb                  | 39 ++++++++++++++++++++
 13 files changed, 195 insertions(+), 18 deletions(-)
 create mode 100644 recipes-devtools/go/compose-file_git.bb
 create mode 100644 recipes-devtools/go/go-connections_git.bb
 rename recipes-devtools/go/{go-distribution-digest_git.bb => go-distribution_git.bb} (58%)
 create mode 100644 recipes-devtools/go/grpc-go_git.bb
 create mode 100644 recipes-devtools/go/notary_git.bb
recipes-containers/docker/docker_git.bb +5 -1
index d264166..75f95f1 100644
@@ -51,7 +51,11 @@ DEPENDS = " \
     go-systemd \
     btrfs-tools \
     sqlite3 \
-    go-distribution-digest \
+    go-distribution \
+    compose-file \
+    go-connections \
+    notary \
+    grpc-go \
     "
 
 PACKAGES =+ "${PN}-contrib"
recipes-devtools/go/compose-file_git.bb new file +41 -0

42 lines not on this page · raw message

recipes-devtools/go/go-capability_git.bb +2 -1
index 4f8f431..8524af6 100644
@@ -9,7 +9,8 @@ SRCNAME = "gocapability"
 PKG_NAME = "github.com/syndtr/${SRCNAME}"
 SRC_URI = "git://${PKG_NAME}.git"
 
-SRCREV = "8e4cdcb3c22b40d5e330ade0b68cb2e2a3cf6f98"
+SRCREV = "2c00daeb6c3b45114c80ac44119e7b8801fdd852"
+PV = "0.0+git${SRCPV}"
 
 S = "${WORKDIR}/git"
 
recipes-devtools/go/go-connections_git.bb new file +39 -0
new file mode 100644
index 0000000..5d071b0
@@ -0,0 +1,39 @@
+DESCRIPTION = "Utility package to work with network connections"
+HOMEPAGE = "https://github.com/docker/connections"
+SECTION = "devel/go"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=04424bc6f5a5be60691b9824d65c2ad8"
+
+SRCNAME = "go-connections"
+
+PKG_NAME = "github.com/docker/${SRCNAME}"
+SRC_URI = "git://${PKG_NAME}.git;destsuffix=git/src/${PKG_NAME}"
+
+SRCREV = "4ccf312bf1d35e5dbda654e57a9be4c3f3cd0366"
+PV = "0.2.1+git${SRCPV}"
+
+S = "${WORKDIR}/git"
+
+# NO-OP the do compile rule because this recipe is source only.
+do_compile() {
+}
+
+do_install() {
+	install -d ${D}${prefix}/local/go/src/${PKG_NAME}
+	for j in $(cd ${S} && find src/${PKG_NAME} -name "*.go"); do
+	    if [ ! -d ${D}${prefix}/local/go/$(dirname $j) ]; then
+	        mkdir -p ${D}${prefix}/local/go/$(dirname $j)
+	    fi
+	    cp $j ${D}${prefix}/local/go/$j
+	done
+	cp -r ${S}/src/${PKG_NAME}/LICENSE ${D}${prefix}/local/go/src/${PKG_NAME}/
+}
+
+SYSROOT_PREPROCESS_FUNCS += "go_connections_sysroot_preprocess"
+
+go_connections_sysroot_preprocess () {
+    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
+    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
+}
+
+FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
recipes-devtools/go/go-dbus_git.bb +3 -3
index 092bd50..9b206a1 100644
@@ -2,15 +2,15 @@ DESCRIPTION = "Native Go bindings for D-Bus"
 HOMEPAGE = "https://github.com/godbus/dbus"
 SECTION = "devel/go"
 LICENSE = "BSD-2-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=b5ac622301483800715d770434e27e5b"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=09042bd5c6c96a2b9e45ddf1bc517eed"
 
 SRCNAME = "dbus"
 
 PKG_NAME = "github.com/godbus/${SRCNAME}"
 SRC_URI = "git://${PKG_NAME}.git"
 
-SRCREV = "88765d85c0fdadcd98a54e30694fa4e4f5b51133"
-PV = "2+git${SRCREV}"
+SRCREV = "5f6efc7ef2759c81b7ba876593971bfce311eab3"
+PV = "4.0.0+git${SRCREV}"
 
 S = "${WORKDIR}/git"
 
recipes-devtools/go/go-distribution_git.bb renamed from recipes-devtools/go/go-distribution-digest_git.bb +11 -4
similarity index 58%
rename from recipes-devtools/go/go-distribution-digest_git.bb
rename to recipes-devtools/go/go-distribution_git.bb
index 2a803da..9e3f209 100644
@@ -2,14 +2,15 @@ DESCRIPTION = "The Docker toolset to pack, ship, store, and deliver content"
 HOMEPAGE = "https://github.com/docker/distribution"
 SECTION = "devel/go"
 LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314"
+LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=d2794c0df5b907fdace235a619d80314"
 
 SRCNAME = "distribution"
 
 PKG_NAME = "github.com/docker/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git"
+SRC_URI = "git://${PKG_NAME}.git;branch=docker/1.13;destsuffix=git/src/${PKG_NAME}"
 
-SRCREV = "d957768537c5af40e4f4cd96871f7b2bde9e2923"
+SRCREV = "28602af35aceda2f8d571bad7ca37a54cf0250bc"
+PV = "2.6.0+git${SRCPV}"
 
 S = "${WORKDIR}/git"
 
@@ -19,7 +20,13 @@ do_compile() {
 
 do_install() {
 	install -d ${D}${prefix}/local/go/src/${PKG_NAME}
-	cp -r ${S}/LICENSE ${S}/digest ${D}${prefix}/local/go/src/${PKG_NAME}/
+	for j in $(cd ${S} && find src/${PKG_NAME} -name "*.go"); do
+	    if [ ! -d ${D}${prefix}/local/go/$(dirname $j) ]; then
+	        mkdir -p ${D}${prefix}/local/go/$(dirname $j)
+	    fi
+	    cp $j ${D}${prefix}/local/go/$j
+	done
+	cp -r ${S}/src/${PKG_NAME}/LICENSE ${D}${prefix}/local/go/src/${PKG_NAME}/
 }
 
 SYSROOT_PREPROCESS_FUNCS += "go_distribution_digeset_sysroot_preprocess"
recipes-devtools/go/go-fsnotify_git.bb +2 -2
index e18f574..e5bcf14 100644
@@ -9,8 +9,8 @@ SRCNAME = "fsnotify"
 PKG_NAME = "github.com/go-fsnotify/${SRCNAME}"
 SRC_URI = "git://${PKG_NAME}.git"
 
-SRCREV = "ca50e738d35a862c379baf8fffbc3bfd080b3cff"
-PV = "1.0.4+git${SRCREV}"
+SRCREV = "836bfd95fecc0f1511dd66bdbf2b5b61ab8b00b6"
+PV = "1.2.11+git${SRCREV}"
 
 S = "${WORKDIR}/git"
 
recipes-devtools/go/go-libtrust_git.bb +2 -1
index f2acfb4..5565946 100644
@@ -9,7 +9,8 @@ SRCNAME = "libtrust"
 PKG_NAME = "github.com/docker/${SRCNAME}"
 SRC_URI = "git://${PKG_NAME}.git"
 
-SRCREV = "230dfd18c2326f1e9d08238710e67a1040187d07"
+SRCREV = "9cbd2a1374f46905c68a4eb3694a130610adc62a"
+PV = "0.0+git${SRCPV}"
 
 S = "${WORKDIR}/git"
 
recipes-devtools/go/go-logrus_git.bb +2 -2
index 082c1a6..5c0c359 100644
@@ -9,8 +9,8 @@ SRCNAME = "logrus"
 PKG_NAME = "github.com/Sirupsen/${SRCNAME}"
 SRC_URI = "git://${PKG_NAME}.git"
 
-SRCREV = "3fc34d061b9c78a70db853c7cb6b0576b6d4f32d"
-PV = "0.7.1+git${SRCREV}"
+SRCREV = "d26492970760ca5d33129d2d799e34be5c4782eb"
+PV = "0.11.0+git${SRCREV}"
 
 S = "${WORKDIR}/git"
 
recipes-devtools/go/go-patricia_git.bb +2 -2
index 18c188d..8c1e10d 100644
@@ -9,8 +9,8 @@ SRCNAME = "go-patricia"
 PKG_NAME = "github.com/tchap/${SRCNAME}"
 SRC_URI = "git://${PKG_NAME}.git"
 
-SRCREV = "f64d0a63cd3363481c898faa9339de04d12213f9"
-PV = "1.0.1+git${SRCPV}"
+SRCREV = "666120de432aea38ab06bd5c818f04f4129882c9"
+PV = "2.2.6+git${SRCPV}"
 
 S = "${WORKDIR}/git"
 
recipes-devtools/go/go-systemd_git.bb +6 -2
index 358e6bb..5cbab92 100644
@@ -9,8 +9,12 @@ SRCNAME = "systemd"
 PKG_NAME = "github.com/coreos/go-${SRCNAME}"
 SRC_URI = "git://${PKG_NAME}.git"
 
-SRCREV = "f743bc15d6bddd23662280b4ad20f7c874cdd5ad"
-PV = "2+git${SRCREV}"
+SRCREV = "b4a58d95188dd092ae20072bac14cece0e67c388"
+PV = "4+git${SRCREV}"
+
+DEPENDS += " \
+    bash \
+"
 
 S = "${WORKDIR}/git"
 
recipes-devtools/go/grpc-go_git.bb new file +41 -0

41 lines not on this page · raw message

recipes-devtools/go/notary_git.bb new file +39 -0
new file mode 100644
index 0000000..d638dc1
@@ -0,0 +1,39 @@
+DESCRIPTION = "Notary is a Docker project that allows anyone to have trust over arbitrary collections of data"
+HOMEPAGE = "https://github.com/docker/notary"
+SECTION = "devel/go"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=771ddb425ba03c8fab49e5bd9854a4a2"
+
+SRCNAME = "notary"
+
+PKG_NAME = "github.com/docker/${SRCNAME}"
+SRC_URI = "git://${PKG_NAME}.git;destsuffix=git/src/${PKG_NAME}"
+
+SRCREV = "c8aa8cf53cbcda2e92def0c9291e25d770493494"
+PV = "0.4.2+git${SRCPV}"
+
+S = "${WORKDIR}/git"
+
+# NO-OP the do compile rule because this recipe is source only.
+do_compile() {
+}
+
+do_install() {
+	install -d ${D}${prefix}/local/go/src/${PKG_NAME}
+	for j in $(cd ${S} && find src/${PKG_NAME} -name "*.go"); do
+	    if [ ! -d ${D}${prefix}/local/go/$(dirname $j) ]; then
+	        mkdir -p ${D}${prefix}/local/go/$(dirname $j)
+	    fi
+	    cp $j ${D}${prefix}/local/go/$j
+	done
+	cp -r ${S}/src/${PKG_NAME}/LICENSE ${D}${prefix}/local/go/src/${PKG_NAME}/
+}
+
+SYSROOT_PREPROCESS_FUNCS += "go_notary_sysroot_preprocess"
+
+go_notary_sysroot_preprocess () {
+    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
+    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
+}
+
+FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
Signature · 1 line
2.7.4
#3 lore raw
In reply to Mark Asselstine

I've merged the 3 patches in this series.

Bruce

Quoted 47 lines · Mark Asselstine

With the new per recipe sysroots we were having build issues since the bootstrap version of go (go-native 1.4) was being found and not the go-cross (1.6) we are expecting. This results in errors such as the following when building packages such as containerd:

_cgo_.o: decoding dwarf section info at offset 0x4: unsupported version 0

This is caused by the dependency tree built up to prepare the per recipe sysroot. Since recipes like containerd DEPEND on go-cross and go-cross DEPENDS on go-native both are installed but unlike the old global sysroot the dependency parsing order results in go-native being last, overwriting go-cross. You can see this by running a devshell for containerd and running 'go version'.

By adding '-initial' in the name we exploit functionality in sstate.bbclass that is already in place to handle gcc-initial and similar. This results in only explicit DEPENDS on go-native being enforced, so in the case of containerd we only get a dependency on go-cross and we therefor get go 1.6 as expected.

---
 recipes-devtools/go-cross/go-cross.inc                                | 4 +++-
 .../go-cross/{go-native_1.4.bb => go-initial-native_1.4.bb}           | 0
 2 files changed, 3 insertions(+), 1 deletion(-)
 rename recipes-devtools/go-cross/{go-native_1.4.bb => go-initial-native_1.4.bb} (100%)
recipes-devtools/go-cross/go-cross.inc +3 -1
index 7f74903..857fbd5 100644
@@ -1,7 +1,9 @@
 inherit cross
 
 # libgcc is required for the target specific libraries to build properly
-DEPENDS += "go-native libgcc virtual/${TARGET_PREFIX}gcc"
+DEPENDS += "go-initial-native libgcc virtual/${TARGET_PREFIX}gcc"
+
+do_compile[depends] += "go-initial-native:do_populate_sysroot"
 
 # Prevent runstrip from running because you get errors when the host arch != target arch
 #INHIBIT_PACKAGE_STRIP = "1"
recipes-devtools/go-cross/go-initial-native_1.4.bb renamed from recipes-devtools/go-cross/go-native_1.4.bb +0 -0
similarity index 100%
rename from recipes-devtools/go-cross/go-native_1.4.bb
rename to recipes-devtools/go-cross/go-initial-native_1.4.bb
#4 lore raw
Quoted 3 lines · Bruce Ashfield

I've merged the 3 patches in this series.

Bruce

Great. For anyone watching I will continue to look into why docker is not fully functional. I have some other demands for my time so if you happen to resolve the issue please send along your patches, don't wait for me.

Mark

Quoted 63 lines · Mark Asselstine

recipes-devtools/go-cross/go-initial-native_1.4.bb

Quoted 54 lines

With the new per recipe sysroots we were having build issues since the bootstrap version of go (go-native 1.4) was being found and not the go-cross (1.6) we are expecting. This results in errors such as the following when building packages such as containerd:

_cgo_.o: decoding dwarf section info at offset 0x4: unsupported version
0

This is caused by the dependency tree built up to prepare the per recipe sysroot. Since recipes like containerd DEPEND on go-cross and go-cross DEPENDS on go-native both are installed but unlike the old global sysroot the dependency parsing order results in go-native being last, overwriting go-cross. You can see this by running a devshell for containerd and running 'go version'.

By adding '-initial' in the name we exploit functionality in sstate.bbclass that is already in place to handle gcc-initial and similar. This results in only explicit DEPENDS on go-native being enforced, so in the case of containerd we only get a dependency on go-cross and we therefor get go 1.6 as expected.

---
 recipes-devtools/go-cross/go-cross.inc                                | 4
+++-
 .../go-cross/{go-native_1.4.bb => go-initial-native_1.4.bb}           | 0
 2 files changed, 3 insertions(+), 1 deletion(-)
 rename recipes-devtools/go-cross/{go-native_1.4.bb =>

go-initial-native_1.4.bb} (100%)

recipes-devtools/go-cross/go-cross.inc +3 -1
index 7f74903..857fbd5 100644
@@ -1,7 +1,9 @@
 inherit cross
 
 # libgcc is required for the target specific libraries to build properly
-DEPENDS += "go-native libgcc virtual/${TARGET_PREFIX}gcc"
+DEPENDS += "go-initial-native libgcc virtual/${TARGET_PREFIX}gcc"
+
+do_compile[depends] += "go-initial-native:do_populate_sysroot"
 
 # Prevent runstrip from running because you get errors when the host arch

!= target arch
#INHIBIT_PACKAGE_STRIP = "1"

recipes-devtools/go-cross/go-initial-native_1.4.bb renamed from recipes-devtools/go-cross/go-native_1.4.bb +0 -0
similarity index 100%
rename from recipes-devtools/go-cross/go-native_1.4.bb
rename to recipes-devtools/go-cross/go-initial-native_1.4.bb

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization