Yocto Meta Virtualization
 help / color / mirror / Atom feed
From: "Bruce Ashfield" <bruce.ashfield@gmail.com>
To: Trevor Gamblin <trevor.gamblin@windriver.com>
Cc: meta-virtualization@lists.yoctoproject.org
Subject: Re: [meta-virtualization][m-c-s][hardknott][PATCH] python3-posix-ipc: Add LDSHARED to recipe
Date: Thu, 28 Oct 2021 21:12:41 -0400	[thread overview]
Message-ID: <20211029011238.GA22105@gmail.com> (raw)
In-Reply-To: <20211025154631.14039-1-trevor.gamblin@windriver.com>

In message: [meta-virtualization][m-c-s][hardknott][PATCH] python3-posix-ipc: Add LDSHARED to recipe
on 25/10/2021 Trevor Gamblin wrote:

> Doing "import posix_ipc" on hardknott builds gives the following error:
> 
> ImportError: /usr/lib/python3.9/site-packages/posix_ipc.cpython-39-x86_64-linux-gnu.so: undefined symbol: shm_unlink
> 
> Set LDSHARED for the recipe with "-lrt" included to fix this.

Thanks for the fix, most appreciated.

This is now merged.

Bruce

> 
> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
> ---
>  .../recipes-devtools/python/python3-posix-ipc_1.0.4.bb          | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/meta-openstack/recipes-devtools/python/python3-posix-ipc_1.0.4.bb b/meta-openstack/recipes-devtools/python/python3-posix-ipc_1.0.4.bb
> index 2e8dca06..cded499d 100644
> --- a/meta-openstack/recipes-devtools/python/python3-posix-ipc_1.0.4.bb
> +++ b/meta-openstack/recipes-devtools/python/python3-posix-ipc_1.0.4.bb
> @@ -20,6 +20,8 @@ DEPENDS += " \
>          ${PYTHON_PN}-pip \
>          "
>  
> +LDSHARED="${CCLD} -shared -lrt"
> +
>  # RDEPENDS_default: 
>  RDEPENDS_${PN} += " \
>          "
> -- 
> 2.33.0
> 

> 
> 
> 


      reply	other threads:[~2021-10-29  1:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-25 15:46 [meta-virtualization][m-c-s][hardknott][PATCH] python3-posix-ipc: Add LDSHARED to recipe Trevor Gamblin
2021-10-29  1:12 ` Bruce Ashfield [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211029011238.GA22105@gmail.com \
    --to=bruce.ashfield@gmail.com \
    --cc=meta-virtualization@lists.yoctoproject.org \
    --cc=trevor.gamblin@windriver.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox