Skip to contentSkip to conversation

libvmi: add dependency on autoconf-archive-native

PATCH In review Martin Jansa 2 participants 2 messages Jun 26, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libvmi: add dependency on autoconf-archive-native

* since https://git.openembedded.org/openembedded-core/commit/?id=571132415ea7fe2d91c62948f2b6aa553eafa83d
this doesn't get autoconf-archive-native dependency and fails with:
http://errors.yoctoproject.org/Errors/Details/708195/

./configure: line 14424: syntax error near unexpected token `-fno-strict-overflow,'
./configure: line 14424: ` AX_CHECK_COMPILE_FLAG(-fno-strict-overflow, HARDEN_CFLAGS="$HARDEN_CFLAGS -fno-strict-overflow", , -Werror )'

---
 recipes-extended/libvmi/libvmi_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/libvmi/libvmi_git.bb +1 -1
index 6338b80..25d7d40 100644
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=e6a600fd5e1d9cbde2d983680233ad02"
 SECTION = "console/tools"
 PV = "0.14.0+git${SRCPV}"
 
-DEPENDS = "libvirt libcheck bison fuse bison-native flex-native"
+DEPENDS = "libvirt libcheck bison fuse bison-native flex-native autoconf-archive-native"
 
 SRC_URI = "git://github.com/libvmi/libvmi.git;branch=master;protocol=https \
            file://0001-Build-vbd-only-when-xen-is-enabled.patch \
Signature · 1 line
2.41.0
#1 lore raw

Re: [mickledore][PATCH] Revert "yq: Redefine do_compile"

both mickledore patches are merged.

Bruce

In message: [mickledore][PATCH] Revert "yq: Redefine do_compile"

Quoted 36 lines · on 26/06/2023 Martin Jansa wrote:

From: Bruce Ashfield <[email protected]>

This reverts commit 49a6827cbdb6e00d3af5e5c4a4479c47573a4533.

The workaround is no longer needed, as oe-core has upgraded go to a version that has fixed the issue.

---
 recipes-devtools/yq/yq_git.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
recipes-devtools/yq/yq_git.bb +1 -2
index bd474a7..45f2f97 100644
@@ -50,7 +50,7 @@ GO_IMPORT = "github.com/mikefarah/yq"
 
 inherit go ptest
 
-do_compile() {
+do_compile:prepend() {
     # arrange for some of the golang built ins to be found
     (
 	cd ${WORKDIR}/build/src/
@@ -60,7 +60,6 @@ do_compile() {
     # arrange for the fetched dependencies to be found
     export GOPATH="${GOPATH}:${WORKDIR}/build/vendor/"
     export GO111MODULE=off
-    ${GO} install ${GOBUILDFLAGS} `go_list_packages`
 }
 
 do_install:append() {
Signature · 1 line
2.41.0

In message: [mickledore][PATCH] libvmi: add dependency on autoconf-archive-native

Quoted 29 lines · on 26/06/2023 Martin Jansa wrote:

* since https://git.openembedded.org/openembedded-core/commit/?id=571132415ea7fe2d91c62948f2b6aa553eafa83d
this doesn't get autoconf-archive-native dependency and fails with:
http://errors.yoctoproject.org/Errors/Details/708195/

./configure: line 14424: syntax error near unexpected token `-fno-strict-overflow,'
./configure: line 14424: ` AX_CHECK_COMPILE_FLAG(-fno-strict-overflow, HARDEN_CFLAGS="$HARDEN_CFLAGS -fno-strict-overflow", , -Werror )'

---
 recipes-extended/libvmi/libvmi_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/libvmi/libvmi_git.bb +1 -1
index 6338b80..25d7d40 100644
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=e6a600fd5e1d9cbde2d983680233ad02"
 SECTION = "console/tools"
 PV = "0.14.0+git${SRCPV}"
 
-DEPENDS = "libvirt libcheck bison fuse bison-native flex-native"
+DEPENDS = "libvirt libcheck bison fuse bison-native flex-native autoconf-archive-native"
 
 SRC_URI = "git://github.com/libvmi/libvmi.git;branch=master;protocol=https \
            file://0001-Build-vbd-only-when-xen-is-enabled.patch \
Signature · 1 line
2.41.0