All of lore.kernel.org
 help / color / mirror / Atom feed
* [mickledore][PATCH] libvmi: add dependency on autoconf-archive-native
@ 2023-06-26 12:26 Martin Jansa
  2023-06-26 16:27 ` [mickledore][PATCH] Revert "yq: Redefine do_compile" Martin Jansa
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Jansa @ 2023-06-26 12:26 UTC (permalink / raw)
  To: meta-virtualization; +Cc: Martin Jansa, Bruce Ashfield

* 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 )'

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
---
 recipes-extended/libvmi/libvmi_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-extended/libvmi/libvmi_git.bb b/recipes-extended/libvmi/libvmi_git.bb
index 6338b80..25d7d40 100644
--- a/recipes-extended/libvmi/libvmi_git.bb
+++ b/recipes-extended/libvmi/libvmi_git.bb
@@ -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 \
-- 
2.41.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [mickledore][PATCH] Revert "yq: Redefine do_compile"
@ 2023-06-26 16:27 ` Martin Jansa
  2023-06-26 22:50   ` Bruce Ashfield
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Jansa @ 2023-06-26 16:27 UTC (permalink / raw)
  To: meta-virtualization; +Cc: Bruce Ashfield

From: Bruce Ashfield <bruce.ashfield@gmail.com>

This reverts commit 49a6827cbdb6e00d3af5e5c4a4479c47573a4533.

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

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
---
 recipes-devtools/yq/yq_git.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/recipes-devtools/yq/yq_git.bb b/recipes-devtools/yq/yq_git.bb
index bd474a7..45f2f97 100644
--- a/recipes-devtools/yq/yq_git.bb
+++ b/recipes-devtools/yq/yq_git.bb
@@ -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() {
-- 
2.41.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [mickledore][PATCH] Revert "yq: Redefine do_compile"
  2023-06-26 16:27 ` [mickledore][PATCH] Revert "yq: Redefine do_compile" Martin Jansa
@ 2023-06-26 22:50   ` Bruce Ashfield
  0 siblings, 0 replies; 3+ messages in thread
From: Bruce Ashfield @ 2023-06-26 22:50 UTC (permalink / raw)
  To: Martin Jansa; +Cc: meta-virtualization

both mickledore patches are merged.

Bruce

In message: [mickledore][PATCH] Revert "yq: Redefine do_compile"
on 26/06/2023 Martin Jansa wrote:

> From: Bruce Ashfield <bruce.ashfield@gmail.com>
> 
> This reverts commit 49a6827cbdb6e00d3af5e5c4a4479c47573a4533.
> 
> The workaround is no longer needed, as oe-core has upgraded go to
> a version that has fixed the issue.
> 
> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
> ---
>  recipes-devtools/yq/yq_git.bb | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/recipes-devtools/yq/yq_git.bb b/recipes-devtools/yq/yq_git.bb
> index bd474a7..45f2f97 100644
> --- a/recipes-devtools/yq/yq_git.bb
> +++ b/recipes-devtools/yq/yq_git.bb
> @@ -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() {
> -- 
> 2.41.0
> 

In message: [mickledore][PATCH] libvmi: add dependency on autoconf-archive-native
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 )'
> 
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
> ---
>  recipes-extended/libvmi/libvmi_git.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/recipes-extended/libvmi/libvmi_git.bb b/recipes-extended/libvmi/libvmi_git.bb
> index 6338b80..25d7d40 100644
> --- a/recipes-extended/libvmi/libvmi_git.bb
> +++ b/recipes-extended/libvmi/libvmi_git.bb
> @@ -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 \
> -- 
> 2.41.0
> 



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-06-26 22:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-26 12:26 [mickledore][PATCH] libvmi: add dependency on autoconf-archive-native Martin Jansa
2023-06-26 16:27 ` [mickledore][PATCH] Revert "yq: Redefine do_compile" Martin Jansa
2023-06-26 22:50   ` Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.