All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] oci-image-tools: don't build for riscv64
@ 2023-09-01  9:03 changqing.li
  2023-09-04  3:05 ` [meta-virtualization] " Bruce Ashfield
  0 siblings, 1 reply; 6+ messages in thread
From: changqing.li @ 2023-09-01  9:03 UTC (permalink / raw)
  To: meta-virtualization

From: Changqing Li <changqing.li@windriver.com>

Currently oci-image-tools has a do_compile error for riscv64. The
problem could be reproduced by:
    MACHINE=qemuriscv64 bitbake oci-image-tools

So explicitly set COMPATIBLE_HOST here to avoid it building for riscv64.
When someone interested in using this recipe for riscv64 fixes the
compile issue, this setting could be removed.

Also don't build packagegroup-container/packagegroup-kubernetes since
they depends on oci-image-tools

Signed-off-by: Changqing Li <changqing.li@windriver.com>
---
 recipes-containers/oci-image-tools/oci-image-tools_git.bb | 2 ++
 recipes-core/packagegroups/packagegroup-container.bb      | 2 ++
 recipes-core/packagegroups/packagegroup-kubernetes.bb     | 2 ++
 3 files changed, 6 insertions(+)

diff --git a/recipes-containers/oci-image-tools/oci-image-tools_git.bb b/recipes-containers/oci-image-tools/oci-image-tools_git.bb
index 4beb3a63..8c5020b3 100644
--- a/recipes-containers/oci-image-tools/oci-image-tools_git.bb
+++ b/recipes-containers/oci-image-tools/oci-image-tools_git.bb
@@ -29,6 +29,8 @@ EXTRA_OEMAKE="BUILDTAGS=''"
 
 S = "${WORKDIR}/git/src/github.com/opencontainers/image-tools"
 
+COMPATIBLE_HOST:riscv64 = "null"
+
 do_compile() {
 	export GOARCH="${TARGET_GOARCH}"
 	export GOROOT="${STAGING_LIBDIR}/go"
diff --git a/recipes-core/packagegroups/packagegroup-container.bb b/recipes-core/packagegroups/packagegroup-container.bb
index 8d418e95..c41576a3 100644
--- a/recipes-core/packagegroups/packagegroup-container.bb
+++ b/recipes-core/packagegroups/packagegroup-container.bb
@@ -4,6 +4,8 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
 
 inherit packagegroup
 
+COMPATIBLE_HOST:riscv64 = "null"
+
 PACKAGES = "\
     packagegroup-container \
     packagegroup-lxc \
diff --git a/recipes-core/packagegroups/packagegroup-kubernetes.bb b/recipes-core/packagegroups/packagegroup-kubernetes.bb
index 70dc9713..7e6937b1 100644
--- a/recipes-core/packagegroups/packagegroup-kubernetes.bb
+++ b/recipes-core/packagegroups/packagegroup-kubernetes.bb
@@ -4,6 +4,8 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
 
 inherit packagegroup
 
+COMPATIBLE_HOST:riscv64 = "null"
+
 # k3s has this restriction
 inherit features_check
 REQUIRED_DISTRO_FEATURES ?= "seccomp"
-- 
2.25.1



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

* Re: [meta-virtualization] [PATCH] oci-image-tools: don't build for riscv64
  2023-09-01  9:03 [PATCH] oci-image-tools: don't build for riscv64 changqing.li
@ 2023-09-04  3:05 ` Bruce Ashfield
  2023-09-06 14:24   ` Randy MacLeod
  2023-09-14  2:03   ` Changqing Li
  0 siblings, 2 replies; 6+ messages in thread
From: Bruce Ashfield @ 2023-09-04  3:05 UTC (permalink / raw)
  To: Changqing Li; +Cc: meta-virtualization

Since riscv isn't tested with meta-virt at all, this isn't
the only recipe that has either build or runtime issues.

This is staged to master-next.

Bruce

In message: [meta-virtualization] [PATCH] oci-image-tools: don't build for riscv64
on 01/09/2023 Changqing Li wrote:

> From: Changqing Li <changqing.li@windriver.com>
> 
> Currently oci-image-tools has a do_compile error for riscv64. The
> problem could be reproduced by:
>     MACHINE=qemuriscv64 bitbake oci-image-tools
> 
> So explicitly set COMPATIBLE_HOST here to avoid it building for riscv64.
> When someone interested in using this recipe for riscv64 fixes the
> compile issue, this setting could be removed.
> 
> Also don't build packagegroup-container/packagegroup-kubernetes since
> they depends on oci-image-tools
> 
> Signed-off-by: Changqing Li <changqing.li@windriver.com>
> ---
>  recipes-containers/oci-image-tools/oci-image-tools_git.bb | 2 ++
>  recipes-core/packagegroups/packagegroup-container.bb      | 2 ++
>  recipes-core/packagegroups/packagegroup-kubernetes.bb     | 2 ++
>  3 files changed, 6 insertions(+)
> 
> diff --git a/recipes-containers/oci-image-tools/oci-image-tools_git.bb b/recipes-containers/oci-image-tools/oci-image-tools_git.bb
> index 4beb3a63..8c5020b3 100644
> --- a/recipes-containers/oci-image-tools/oci-image-tools_git.bb
> +++ b/recipes-containers/oci-image-tools/oci-image-tools_git.bb
> @@ -29,6 +29,8 @@ EXTRA_OEMAKE="BUILDTAGS=''"
>  
>  S = "${WORKDIR}/git/src/github.com/opencontainers/image-tools"
>  
> +COMPATIBLE_HOST:riscv64 = "null"
> +
>  do_compile() {
>  	export GOARCH="${TARGET_GOARCH}"
>  	export GOROOT="${STAGING_LIBDIR}/go"
> diff --git a/recipes-core/packagegroups/packagegroup-container.bb b/recipes-core/packagegroups/packagegroup-container.bb
> index 8d418e95..c41576a3 100644
> --- a/recipes-core/packagegroups/packagegroup-container.bb
> +++ b/recipes-core/packagegroups/packagegroup-container.bb
> @@ -4,6 +4,8 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
>  
>  inherit packagegroup
>  
> +COMPATIBLE_HOST:riscv64 = "null"
> +
>  PACKAGES = "\
>      packagegroup-container \
>      packagegroup-lxc \
> diff --git a/recipes-core/packagegroups/packagegroup-kubernetes.bb b/recipes-core/packagegroups/packagegroup-kubernetes.bb
> index 70dc9713..7e6937b1 100644
> --- a/recipes-core/packagegroups/packagegroup-kubernetes.bb
> +++ b/recipes-core/packagegroups/packagegroup-kubernetes.bb
> @@ -4,6 +4,8 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
>  
>  inherit packagegroup
>  
> +COMPATIBLE_HOST:riscv64 = "null"
> +
>  # k3s has this restriction
>  inherit features_check
>  REQUIRED_DISTRO_FEATURES ?= "seccomp"
> -- 
> 2.25.1
> 

> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#8263): https://lists.yoctoproject.org/g/meta-virtualization/message/8263
> Mute This Topic: https://lists.yoctoproject.org/mt/101090972/1050810
> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 



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

* Re: [meta-virtualization] [PATCH] oci-image-tools: don't build for riscv64
  2023-09-04  3:05 ` [meta-virtualization] " Bruce Ashfield
@ 2023-09-06 14:24   ` Randy MacLeod
  2023-09-14  1:59     ` Changqing Li
  2023-09-14  2:03   ` Changqing Li
  1 sibling, 1 reply; 6+ messages in thread
From: Randy MacLeod @ 2023-09-06 14:24 UTC (permalink / raw)
  To: Changqing Li; +Cc: meta-virtualization, bruce.ashfield

[-- Attachment #1: Type: text/plain, Size: 3683 bytes --]

On 2023-09-03 11:05 p.m., Bruce Ashfield via lists.yoctoproject.org wrote:
> Since riscv isn't tested with meta-virt at all, this isn't
> the only recipe that has either build or runtime issues.
>
> This is staged to master-next.
>
> Bruce

Changqing,

Should we report the issue to the upstream maintainers so that
should riscv64 actually become well-supported in meta-virt
over the coming years, this particular issue stands a chance
of being resolved or are 'go' packages just not there yet for riscv64 ?


Thanks,

../Randy


> In message: [meta-virtualization] [PATCH] oci-image-tools: don't build for riscv64
> on 01/09/2023 Changqing Li wrote:
>
>> From: Changqing Li<changqing.li@windriver.com>
>>
>> Currently oci-image-tools has a do_compile error for riscv64. The
>> problem could be reproduced by:
>>      MACHINE=qemuriscv64 bitbake oci-image-tools
>>
>> So explicitly set COMPATIBLE_HOST here to avoid it building for riscv64.
>> When someone interested in using this recipe for riscv64 fixes the
>> compile issue, this setting could be removed.
>>
>> Also don't build packagegroup-container/packagegroup-kubernetes since
>> they depends on oci-image-tools
>>
>> Signed-off-by: Changqing Li<changqing.li@windriver.com>
>> ---
>>   recipes-containers/oci-image-tools/oci-image-tools_git.bb | 2 ++
>>   recipes-core/packagegroups/packagegroup-container.bb      | 2 ++
>>   recipes-core/packagegroups/packagegroup-kubernetes.bb     | 2 ++
>>   3 files changed, 6 insertions(+)
>>
>> diff --git a/recipes-containers/oci-image-tools/oci-image-tools_git.bb b/recipes-containers/oci-image-tools/oci-image-tools_git.bb
>> index 4beb3a63..8c5020b3 100644
>> --- a/recipes-containers/oci-image-tools/oci-image-tools_git.bb
>> +++ b/recipes-containers/oci-image-tools/oci-image-tools_git.bb
>> @@ -29,6 +29,8 @@ EXTRA_OEMAKE="BUILDTAGS=''"
>>   
>>   S = "${WORKDIR}/git/src/github.com/opencontainers/image-tools"
>>   
>> +COMPATIBLE_HOST:riscv64 = "null"
>> +
>>   do_compile() {
>>   	export GOARCH="${TARGET_GOARCH}"
>>   	export GOROOT="${STAGING_LIBDIR}/go"
>> diff --git a/recipes-core/packagegroups/packagegroup-container.bb b/recipes-core/packagegroups/packagegroup-container.bb
>> index 8d418e95..c41576a3 100644
>> --- a/recipes-core/packagegroups/packagegroup-container.bb
>> +++ b/recipes-core/packagegroups/packagegroup-container.bb
>> @@ -4,6 +4,8 @@ LIC_FILES_CHKSUM ="file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda inherit 
>> packagegroup +COMPATIBLE_HOST:riscv64 = "null"
>> +
>>   PACKAGES = "\
>>       packagegroup-container \
>>       packagegroup-lxc \
>> diff --git a/recipes-core/packagegroups/packagegroup-kubernetes.bb b/recipes-core/packagegroups/packagegroup-kubernetes.bb
>> index 70dc9713..7e6937b1 100644
>> --- a/recipes-core/packagegroups/packagegroup-kubernetes.bb
>> +++ b/recipes-core/packagegroups/packagegroup-kubernetes.bb
>> @@ -4,6 +4,8 @@ LIC_FILES_CHKSUM ="file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda inherit 
>> packagegroup +COMPATIBLE_HOST:riscv64 = "null"
>> +
>>   # k3s has this restriction
>>   inherit features_check
>>   REQUIRED_DISTRO_FEATURES ?= "seccomp"
>> -- 
>> 2.25.1
>>
>>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#8267):https://lists.yoctoproject.org/g/meta-virtualization/message/8267
> Mute This Topic:https://lists.yoctoproject.org/mt/101090972/3616765
> Group Owner:meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe:https://lists.yoctoproject.org/g/meta-virtualization/leave/6693109/3616765/950573401/xyzzy  [randy.macleod@windriver.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>

-- 
# Randy MacLeod
# Wind River Linux

[-- Attachment #2: Type: text/html, Size: 5612 bytes --]

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

* Re: [meta-virtualization] [PATCH] oci-image-tools: don't build for riscv64
  2023-09-06 14:24   ` Randy MacLeod
@ 2023-09-14  1:59     ` Changqing Li
  0 siblings, 0 replies; 6+ messages in thread
From: Changqing Li @ 2023-09-14  1:59 UTC (permalink / raw)
  To: Randy MacLeod, Changqing Li; +Cc: meta-virtualization, bruce.ashfield


On 9/6/23 22:24, Randy MacLeod wrote:
> On 2023-09-03 11:05 p.m., Bruce Ashfield via lists.yoctoproject.org wrote:
>> Since riscv isn't tested with meta-virt at all, this isn't
>> the only recipe that has either build or runtime issues.
>>
>> This is staged to master-next.
>>
>> Bruce
>
> Changqing,
>
> Should we report the issue to the upstream maintainers so that
> should riscv64 actually become well-supported in meta-virt
> over the coming years, this particular issue stands a chance
> of being resolved or are 'go' packages just not there yet for riscv64 ?
>
>
yes, I will report this upstream.

//Changqing

> Thanks,
>
> ../Randy
>
>
>> In message: [meta-virtualization] [PATCH] oci-image-tools: don't build for riscv64
>> on 01/09/2023 Changqing Li wrote:
>>
>>> From: Changqing Li<changqing.li@windriver.com>
>>>
>>> Currently oci-image-tools has a do_compile error for riscv64. The
>>> problem could be reproduced by:
>>>      MACHINE=qemuriscv64 bitbake oci-image-tools
>>>
>>> So explicitly set COMPATIBLE_HOST here to avoid it building for riscv64.
>>> When someone interested in using this recipe for riscv64 fixes the
>>> compile issue, this setting could be removed.
>>>
>>> Also don't build packagegroup-container/packagegroup-kubernetes since
>>> they depends on oci-image-tools
>>>
>>> Signed-off-by: Changqing Li<changqing.li@windriver.com>
>>> ---
>>>   recipes-containers/oci-image-tools/oci-image-tools_git.bb | 2 ++
>>>   recipes-core/packagegroups/packagegroup-container.bb      | 2 ++
>>>   recipes-core/packagegroups/packagegroup-kubernetes.bb     | 2 ++
>>>   3 files changed, 6 insertions(+)
>>>
>>> diff --git a/recipes-containers/oci-image-tools/oci-image-tools_git.bb b/recipes-containers/oci-image-tools/oci-image-tools_git.bb
>>> index 4beb3a63..8c5020b3 100644
>>> --- a/recipes-containers/oci-image-tools/oci-image-tools_git.bb
>>> +++ b/recipes-containers/oci-image-tools/oci-image-tools_git.bb
>>> @@ -29,6 +29,8 @@ EXTRA_OEMAKE="BUILDTAGS=''"
>>>   
>>>   S = "${WORKDIR}/git/src/github.com/opencontainers/image-tools"
>>>   
>>> +COMPATIBLE_HOST:riscv64 = "null"
>>> +
>>>   do_compile() {
>>>   	export GOARCH="${TARGET_GOARCH}"
>>>   	export GOROOT="${STAGING_LIBDIR}/go"
>>> diff --git a/recipes-core/packagegroups/packagegroup-container.bb b/recipes-core/packagegroups/packagegroup-container.bb
>>> index 8d418e95..c41576a3 100644
>>> --- a/recipes-core/packagegroups/packagegroup-container.bb
>>> +++ b/recipes-core/packagegroups/packagegroup-container.bb
>>> @@ -4,6 +4,8 @@ LIC_FILES_CHKSUM ="file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda 
>>> inherit packagegroup +COMPATIBLE_HOST:riscv64 = "null"
>>> +
>>>   PACKAGES = "\
>>>       packagegroup-container \
>>>       packagegroup-lxc \
>>> diff --git a/recipes-core/packagegroups/packagegroup-kubernetes.bb b/recipes-core/packagegroups/packagegroup-kubernetes.bb
>>> index 70dc9713..7e6937b1 100644
>>> --- a/recipes-core/packagegroups/packagegroup-kubernetes.bb
>>> +++ b/recipes-core/packagegroups/packagegroup-kubernetes.bb
>>> @@ -4,6 +4,8 @@ LIC_FILES_CHKSUM ="file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda 
>>> inherit packagegroup +COMPATIBLE_HOST:riscv64 = "null"
>>> +
>>>   # k3s has this restriction
>>>   inherit features_check
>>>   REQUIRED_DISTRO_FEATURES ?= "seccomp"
>>> -- 
>>> 2.25.1
>>>
>>
>> -=-=-=-=-=-=-=-=-=-=-=-
>> Links: You receive all messages sent to this group.
>> View/Reply Online (#8267):https://lists.yoctoproject.org/g/meta-virtualization/message/8267
>> Mute This Topic:https://lists.yoctoproject.org/mt/101090972/3616765
>> Group Owner:meta-virtualization+owner@lists.yoctoproject.org
>> Unsubscribe:https://lists.yoctoproject.org/g/meta-virtualization/leave/6693109/3616765/950573401/xyzzy  [randy.macleod@windriver.com]
>> -=-=-=-=-=-=-=-=-=-=-=-
>>
>
> -- 
> # Randy MacLeod
> # Wind River Linux


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

* Re: [meta-virtualization] [PATCH] oci-image-tools: don't build for riscv64
  2023-09-04  3:05 ` [meta-virtualization] " Bruce Ashfield
  2023-09-06 14:24   ` Randy MacLeod
@ 2023-09-14  2:03   ` Changqing Li
  2023-09-15 17:28     ` Bruce Ashfield
  1 sibling, 1 reply; 6+ messages in thread
From: Changqing Li @ 2023-09-14  2:03 UTC (permalink / raw)
  To: Bruce Ashfield, Changqing Li; +Cc: meta-virtualization


On 9/4/23 11:05, Bruce Ashfield wrote:
> CAUTION: This email comes from a non Wind River email account!
> Do not click links or open attachments unless you recognize the sender and know the content is safe.
>
> Since riscv isn't tested with meta-virt at all, this isn't
> the only recipe that has either build or runtime issues.
>
> This is staged to master-next.
>
> Bruce
>
> In message: [meta-virtualization] [PATCH] oci-image-tools: don't build for riscv64
> on 01/09/2023 Changqing Li wrote:

Hi, Bruce

Could you also merge this to mickledore branch, thanks.

//Changqing

>> From: Changqing Li <changqing.li@windriver.com>
>>
>> Currently oci-image-tools has a do_compile error for riscv64. The
>> problem could be reproduced by:
>>      MACHINE=qemuriscv64 bitbake oci-image-tools
>>
>> So explicitly set COMPATIBLE_HOST here to avoid it building for riscv64.
>> When someone interested in using this recipe for riscv64 fixes the
>> compile issue, this setting could be removed.
>>
>> Also don't build packagegroup-container/packagegroup-kubernetes since
>> they depends on oci-image-tools
>>
>> Signed-off-by: Changqing Li <changqing.li@windriver.com>
>> ---
>>   recipes-containers/oci-image-tools/oci-image-tools_git.bb | 2 ++
>>   recipes-core/packagegroups/packagegroup-container.bb      | 2 ++
>>   recipes-core/packagegroups/packagegroup-kubernetes.bb     | 2 ++
>>   3 files changed, 6 insertions(+)
>>
>> diff --git a/recipes-containers/oci-image-tools/oci-image-tools_git.bb b/recipes-containers/oci-image-tools/oci-image-tools_git.bb
>> index 4beb3a63..8c5020b3 100644
>> --- a/recipes-containers/oci-image-tools/oci-image-tools_git.bb
>> +++ b/recipes-containers/oci-image-tools/oci-image-tools_git.bb
>> @@ -29,6 +29,8 @@ EXTRA_OEMAKE="BUILDTAGS=''"
>>
>>   S = "${WORKDIR}/git/src/github.com/opencontainers/image-tools"
>>
>> +COMPATIBLE_HOST:riscv64 = "null"
>> +
>>   do_compile() {
>>        export GOARCH="${TARGET_GOARCH}"
>>        export GOROOT="${STAGING_LIBDIR}/go"
>> diff --git a/recipes-core/packagegroups/packagegroup-container.bb b/recipes-core/packagegroups/packagegroup-container.bb
>> index 8d418e95..c41576a3 100644
>> --- a/recipes-core/packagegroups/packagegroup-container.bb
>> +++ b/recipes-core/packagegroups/packagegroup-container.bb
>> @@ -4,6 +4,8 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
>>
>>   inherit packagegroup
>>
>> +COMPATIBLE_HOST:riscv64 = "null"
>> +
>>   PACKAGES = "\
>>       packagegroup-container \
>>       packagegroup-lxc \
>> diff --git a/recipes-core/packagegroups/packagegroup-kubernetes.bb b/recipes-core/packagegroups/packagegroup-kubernetes.bb
>> index 70dc9713..7e6937b1 100644
>> --- a/recipes-core/packagegroups/packagegroup-kubernetes.bb
>> +++ b/recipes-core/packagegroups/packagegroup-kubernetes.bb
>> @@ -4,6 +4,8 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
>>
>>   inherit packagegroup
>>
>> +COMPATIBLE_HOST:riscv64 = "null"
>> +
>>   # k3s has this restriction
>>   inherit features_check
>>   REQUIRED_DISTRO_FEATURES ?= "seccomp"
>> --
>> 2.25.1
>>
>> -=-=-=-=-=-=-=-=-=-=-=-
>> Links: You receive all messages sent to this group.
>> View/Reply Online (#8263): https://lists.yoctoproject.org/g/meta-virtualization/message/8263
>> Mute This Topic: https://lists.yoctoproject.org/mt/101090972/1050810
>> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
>> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com]
>> -=-=-=-=-=-=-=-=-=-=-=-
>>


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

* Re: [meta-virtualization] [PATCH] oci-image-tools: don't build for riscv64
  2023-09-14  2:03   ` Changqing Li
@ 2023-09-15 17:28     ` Bruce Ashfield
  0 siblings, 0 replies; 6+ messages in thread
From: Bruce Ashfield @ 2023-09-15 17:28 UTC (permalink / raw)
  To: Changqing Li; +Cc: Changqing Li, meta-virtualization

Cherry picked to Mickledore.

Bruce

On Wed, Sep 13, 2023 at 10:03 PM Changqing Li
<changqing.li@windriver.com> wrote:
>
>
> On 9/4/23 11:05, Bruce Ashfield wrote:
> > CAUTION: This email comes from a non Wind River email account!
> > Do not click links or open attachments unless you recognize the sender and know the content is safe.
> >
> > Since riscv isn't tested with meta-virt at all, this isn't
> > the only recipe that has either build or runtime issues.
> >
> > This is staged to master-next.
> >
> > Bruce
> >
> > In message: [meta-virtualization] [PATCH] oci-image-tools: don't build for riscv64
> > on 01/09/2023 Changqing Li wrote:
>
> Hi, Bruce
>
> Could you also merge this to mickledore branch, thanks.
>
> //Changqing
>
> >> From: Changqing Li <changqing.li@windriver.com>
> >>
> >> Currently oci-image-tools has a do_compile error for riscv64. The
> >> problem could be reproduced by:
> >>      MACHINE=qemuriscv64 bitbake oci-image-tools
> >>
> >> So explicitly set COMPATIBLE_HOST here to avoid it building for riscv64.
> >> When someone interested in using this recipe for riscv64 fixes the
> >> compile issue, this setting could be removed.
> >>
> >> Also don't build packagegroup-container/packagegroup-kubernetes since
> >> they depends on oci-image-tools
> >>
> >> Signed-off-by: Changqing Li <changqing.li@windriver.com>
> >> ---
> >>   recipes-containers/oci-image-tools/oci-image-tools_git.bb | 2 ++
> >>   recipes-core/packagegroups/packagegroup-container.bb      | 2 ++
> >>   recipes-core/packagegroups/packagegroup-kubernetes.bb     | 2 ++
> >>   3 files changed, 6 insertions(+)
> >>
> >> diff --git a/recipes-containers/oci-image-tools/oci-image-tools_git.bb b/recipes-containers/oci-image-tools/oci-image-tools_git.bb
> >> index 4beb3a63..8c5020b3 100644
> >> --- a/recipes-containers/oci-image-tools/oci-image-tools_git.bb
> >> +++ b/recipes-containers/oci-image-tools/oci-image-tools_git.bb
> >> @@ -29,6 +29,8 @@ EXTRA_OEMAKE="BUILDTAGS=''"
> >>
> >>   S = "${WORKDIR}/git/src/github.com/opencontainers/image-tools"
> >>
> >> +COMPATIBLE_HOST:riscv64 = "null"
> >> +
> >>   do_compile() {
> >>        export GOARCH="${TARGET_GOARCH}"
> >>        export GOROOT="${STAGING_LIBDIR}/go"
> >> diff --git a/recipes-core/packagegroups/packagegroup-container.bb b/recipes-core/packagegroups/packagegroup-container.bb
> >> index 8d418e95..c41576a3 100644
> >> --- a/recipes-core/packagegroups/packagegroup-container.bb
> >> +++ b/recipes-core/packagegroups/packagegroup-container.bb
> >> @@ -4,6 +4,8 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
> >>
> >>   inherit packagegroup
> >>
> >> +COMPATIBLE_HOST:riscv64 = "null"
> >> +
> >>   PACKAGES = "\
> >>       packagegroup-container \
> >>       packagegroup-lxc \
> >> diff --git a/recipes-core/packagegroups/packagegroup-kubernetes.bb b/recipes-core/packagegroups/packagegroup-kubernetes.bb
> >> index 70dc9713..7e6937b1 100644
> >> --- a/recipes-core/packagegroups/packagegroup-kubernetes.bb
> >> +++ b/recipes-core/packagegroups/packagegroup-kubernetes.bb
> >> @@ -4,6 +4,8 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
> >>
> >>   inherit packagegroup
> >>
> >> +COMPATIBLE_HOST:riscv64 = "null"
> >> +
> >>   # k3s has this restriction
> >>   inherit features_check
> >>   REQUIRED_DISTRO_FEATURES ?= "seccomp"
> >> --
> >> 2.25.1
> >>
> >> -=-=-=-=-=-=-=-=-=-=-=-
> >> Links: You receive all messages sent to this group.
> >> View/Reply Online (#8263): https://lists.yoctoproject.org/g/meta-virtualization/message/8263
> >> Mute This Topic: https://lists.yoctoproject.org/mt/101090972/1050810
> >> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
> >> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com]
> >> -=-=-=-=-=-=-=-=-=-=-=-
> >>



-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II


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

end of thread, other threads:[~2023-09-15 17:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-01  9:03 [PATCH] oci-image-tools: don't build for riscv64 changqing.li
2023-09-04  3:05 ` [meta-virtualization] " Bruce Ashfield
2023-09-06 14:24   ` Randy MacLeod
2023-09-14  1:59     ` Changqing Li
2023-09-14  2:03   ` Changqing Li
2023-09-15 17:28     ` 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.