Thank you so much Bruce!

 

  1. This is the commit id that I am using. I think this is from Kirkstone -  d81de7af35cc4ac803c1567a8af1c5725f80ef7d
  2. However, I am getting the same errors for podman

 

# github.com/containers/podman/v4/cmd/rootlessport

| net(.text._cgo_3c1cec0c9a4e_C2func_getaddrinfo): unknown symbol __errno_location in callarm64

| net(.text._cgo_3c1cec0c9a4e_C2func_getaddrinfo): unknown symbol getaddrinfo in callarm64

| net(.text._cgo_3c1cec0c9a4e_Cfunc_freeaddrinfo): unknown symbol freeaddrinfo in callarm64

| net(.text._cgo_3c1cec0c9a4e_Cfunc_gai_strerror): unknown symbol gai_strerror in callarm64

| runtime/cgo(.text.fatalf): unknown symbol fputs in callarm64

| runtime/cgo(.text.fatalf): unknown symbol __vfprintf_chk in callarm64

| runtime/cgo(.text.fatalf): unknown symbol fputc in callarm64

| runtime/cgo(.text.x_cgo_notify_runtime_init_done): unknown symbol pthread_mutex_lock in callarm64

| runtime/cgo(.text.x_cgo_notify_runtime_init_done): unknown symbol pthread_cond_broadcast in callarm64

| runtime/cgo(.text.x_cgo_notify_runtime_init_done): unknown symbol pthread_mutex_unlock in callarm64

| runtime/cgo(.text._cgo_try_pthread_create): unknown symbol pthread_create in callarm64

| runtime/cgo(.text._cgo_try_pthread_create): unknown symbol pthread_detach in callarm64

| runtime/cgo(.text._cgo_try_pthread_create): unknown symbol __stack_chk_fail in callarm64

| runtime/cgo(.text._cgo_try_pthread_create): unknown symbol nanosleep in callarm64

| runtime/cgo(.text.threadentry): unknown symbol free in callarm64

| runtime/cgo(.text._cgo_sys_thread_start): unknown symbol sigfillset in callarm64

| runtime/cgo(.text._cgo_sys_thread_start): unknown symbol pthread_sigmask in callarm64

| runtime/cgo(.text._cgo_sys_thread_start): unknown symbol pthread_attr_init in callarm64

| runtime/cgo(.text._cgo_sys_thread_start): unknown symbol pthread_attr_getstacksize in callarm64

| runtime/cgo(.text._cgo_sys_thread_start): unknown symbol pthread_sigmask in callarm64

| runtime/cgo(.text._cgo_sys_thread_start): unknown symbol strerror in callarm64

| /home/work/azure_repos/azure-sphere-nre-yocto/build/tmp-qemuarm64-azure-sphere/work/cortexa57-azuresphere-linux/podman/4.0.1+gitAUTOINC+717edd7b84-r0/recipe-sysroot-native/usr/lib/aarch64-azuresphere-linux/go/pkg/tool/linux_amd64/link: too many errors

| make: *** [Makefile:398: bin/rootlessport] Error 2

| ERROR: oe_runmake failed

| WARNING: exit code 1 from a shell command.

ERROR: Task (/home/work/azure_repos/azure-sphere-nre-yocto/work/meta-virtualization/recipes-containers/podman/podman_git.bb:do_compile)

 

 

 

Sent from Mail for Windows

 

From: Bruce Ashfield
Sent: Sunday, July 17, 2022 11:42 AM
To: Pra.. Dew..; Andrei Gherzan
Cc: meta-virtualization@lists.yoctoproject.org
Subject: Re: [meta-virtualization] pthreads dependency error in building podman

 

On Sat, Jul 16, 2022 at 2:50 AM Pra.. Dew.. <linux_learner@outlook.com> wrote:
>
>
>
>
>
> I added the meta-virtualization layer to a Yocto (Kirkstone) project using KAS. When I try to compile the project  I get the following errors. I was hoping that the layer should build cleanly since I have not modified anything in the layer. Tanks for all your guidance and help.
>
>

master looks like it has a problem with a patch I recently merged from
Andrei, but I've fixed that here and pushed a change.

kirskstone doesn't have that change, so should be fine. I'm getting
patches for podman on kirkstone, so there are people building and
running without issues.

Bruce

>
> buM_iMH1g6GesQ1UE_c\n"
>
> | HASH[link github.com/containernetworking/cni/cnitool]: "packagefile github.com/containernetworking/cni/pkg/types/020=oY1xAj97Tqs0jbqIHGIg\n"
>
> | HASH[link github.com/containernetworking/cni/cnitool]: 803d1b283174051eaa86b7a946484a68a9626fcebff229bc3c414c4222c4badc
>
>
>
> # github.com/containernetworking/cni/cnitool
>
> | runtime/cgo(.text.fatalf): unknown symbol fputs in callarm64
>
> | runtime/cgo(.text.fatalf): unknown symbol __vfprintf_chk in callarm64
>
> | runtime/cgo(.text.fatalf): unknown symbol fputc in callarm64
>
> | runtime/cgo(.text.x_cgo_notify_runtime_init_done): unknown symbol pthread_mutex_lock in callarm64
>
> | runtime/cgo(.text.x_cgo_notify_runtime_init_done): unknown symbol pthread_cond_broadcast in callarm64
>
> | runtime/cgo(.text.x_cgo_notify_runtime_init_done): unknown symbol pthread_mutex_unlock in callarm64
>
> | runtime/cgo(.text._cgo_try_pthread_create): unknown symbol pthread_create in callarm64
>
> | runtime/cgo(.text._cgo_try_pthread_create): unknown symbol pthread_detach in callarm64
>
> | runtime/cgo(.text._cgo_try_pthread_create): unknown symbol __stack_chk_fail in callarm64
>
> | runtime/cgo(.text._cgo_try_pthread_create): unknown symbol nanosleep in callarm64
>
> | runtime/cgo(.text.threadentry): unknown symbol free in callarm64
>
> | runtime/cgo(.text._cgo_sys_thread_start): unknown symbol sigfillset in callarm64
>
> | runtime/cgo(.text._cgo_sys_thread_start): unknown symbol pthread_sigmask in callarm64
>
> | runtime/cgo(.text._cgo_sys_thread_start): unknown symbol pthread_attr_init in callarm64
>
> | runtime/cgo(.text._cgo_sys_thread_start): unknown symbol pthread_attr_getstacksize in callarm64
>
> | runtime/cgo(.text._cgo_sys_thread_start): unknown symbol pthread_sigmask in callarm64
>
> | runtime/cgo(.text._cgo_sys_thread_start): unknown symbol strerror in callarm64
>
> | runtime/cgo(.text._cgo_sys_thread_start): unknown symbol __stack_chk_fail in callarm64
>
> | runtime/cgo(.text.x_cgo_init): unknown symbol malloc in callarm64
>
> | runtime/cgo(.text.x_cgo_init): unknown symbol __errno_location in callarm64
>
> | runtime/cgo(.text.x_cgo_init): unknown symbol strerror in callarm64
>
>
>
> Sent from Mail for Windows
>
>
>
>
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#7463): https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.yoctoproject.org%2Fg%2Fmeta-virtualization%2Fmessage%2F7463&amp;data=05%7C01%7C%7C381955eaa922446abfb208da68242517%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637936801697321806%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=vO1fmfxv8WMe%2FB19SNS%2BTttVWdb4busK%2Bc46zx2qSB8%3D&amp;reserved=0
> Mute This Topic: https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.yoctoproject.org%2Fmt%2F92416761%2F1050810&amp;data=05%7C01%7C%7C381955eaa922446abfb208da68242517%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637936801697321806%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=cLStJNelKn8AvVQRy2p3cDARSBKIcXUDKU2joYUEde4%3D&amp;reserved=0
> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.yoctoproject.org%2Fg%2Fmeta-virtualization%2Funsub&amp;data=05%7C01%7C%7C381955eaa922446abfb208da68242517%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637936801697321806%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=RePKfqhP8BRmJ5Fk%2B8YdP1GNrHdKlhQVbnQNZDLYLlQ%3D&amp;reserved=0 [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