All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-virtualization][PATCH] libvirt: skip buildpath QA check for libvirt-python-dbg
@ 2023-01-20  7:37 Xiangyu Chen
  2023-01-20 17:57 ` Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: Xiangyu Chen @ 2023-01-20  7:37 UTC (permalink / raw)
  To: meta-virtualization

From: Xiangyu Chen <xiangyu.chen@windriver.com>

The /usr/lib64/python3.11/site-packages/.debug/libvirtmod_lxc*.so
libraries with build path embedded, and the setup.py doesn't respect
our CFLAGS with -ffile-prefix-map argument, so try to skip the
libvirt-python-dbg buildpath check until that solved.

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
---
 recipes-extended/libvirt/libvirt-python.inc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/recipes-extended/libvirt/libvirt-python.inc b/recipes-extended/libvirt/libvirt-python.inc
index 6e2c367..772decb 100644
--- a/recipes-extended/libvirt/libvirt-python.inc
+++ b/recipes-extended/libvirt/libvirt-python.inc
@@ -15,6 +15,9 @@ FILES:${PN}-python-dev += "${PYTHON_SITEPACKAGES_DIR}/*.la"
 FILES:${PN}-python-dbg += "${PYTHON_SITEPACKAGES_DIR}/.debug/"
 FILES:${PN}-python = "${bindir}/* ${libdir}/* ${libdir}/${PYTHON_DIR}/*"
 
+# Currently the libvirt-python debug libraries contain buildpaths
+INSANE_SKIP:${PN}-dbg += "buildpaths"
+
 SRC_URI += "http://libvirt.org/sources/python/libvirt-python-${PV}.tar.gz;name=libvirt_python"
 
 SRC_URI[libvirt_python.sha256sum] = "a21ecfab6d29ac1bdd1bfd4aa3ef58447f9f70919aefecd03774613f65914e43"
-- 
2.34.1



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

* Re: [meta-virtualization][PATCH] libvirt: skip buildpath QA check for libvirt-python-dbg
  2023-01-20  7:37 [meta-virtualization][PATCH] libvirt: skip buildpath QA check for libvirt-python-dbg Xiangyu Chen
@ 2023-01-20 17:57 ` Bruce Ashfield
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2023-01-20 17:57 UTC (permalink / raw)
  To: Xiangyu Chen; +Cc: meta-virtualization

merged.

I had also tried to fix this in December, but couldn't come up
with anything better than ignoring the warning.

Bruce

In message: [meta-virtualization][PATCH] libvirt: skip buildpath QA check for libvirt-python-dbg
on 20/01/2023 Xiangyu Chen wrote:

> From: Xiangyu Chen <xiangyu.chen@windriver.com>
> 
> The /usr/lib64/python3.11/site-packages/.debug/libvirtmod_lxc*.so
> libraries with build path embedded, and the setup.py doesn't respect
> our CFLAGS with -ffile-prefix-map argument, so try to skip the
> libvirt-python-dbg buildpath check until that solved.
> 
> Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
> ---
>  recipes-extended/libvirt/libvirt-python.inc | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/recipes-extended/libvirt/libvirt-python.inc b/recipes-extended/libvirt/libvirt-python.inc
> index 6e2c367..772decb 100644
> --- a/recipes-extended/libvirt/libvirt-python.inc
> +++ b/recipes-extended/libvirt/libvirt-python.inc
> @@ -15,6 +15,9 @@ FILES:${PN}-python-dev += "${PYTHON_SITEPACKAGES_DIR}/*.la"
>  FILES:${PN}-python-dbg += "${PYTHON_SITEPACKAGES_DIR}/.debug/"
>  FILES:${PN}-python = "${bindir}/* ${libdir}/* ${libdir}/${PYTHON_DIR}/*"
>  
> +# Currently the libvirt-python debug libraries contain buildpaths
> +INSANE_SKIP:${PN}-dbg += "buildpaths"
> +
>  SRC_URI += "http://libvirt.org/sources/python/libvirt-python-${PV}.tar.gz;name=libvirt_python"
>  
>  SRC_URI[libvirt_python.sha256sum] = "a21ecfab6d29ac1bdd1bfd4aa3ef58447f9f70919aefecd03774613f65914e43"
> -- 
> 2.34.1
> 

> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#7826): https://lists.yoctoproject.org/g/meta-virtualization/message/7826
> Mute This Topic: https://lists.yoctoproject.org/mt/96395941/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] 2+ messages in thread

end of thread, other threads:[~2023-01-20 17:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-20  7:37 [meta-virtualization][PATCH] libvirt: skip buildpath QA check for libvirt-python-dbg Xiangyu Chen
2023-01-20 17:57 ` 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.