diff mbox series

[oe,meta-oe,4/6] libiio: Inherit distutils-base for packaging python files

Message ID 20191024075355.2136934-4-raj.khem@gmail.com
State Superseded
Headers show
Series [oe,meta-python,1/6] python3-astor: Upgrade to 0.8 | expand

Commit Message

Khem Raj Oct. 24, 2019, 7:53 a.m. UTC
Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 meta-oe/recipes-support/libiio/libiio_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.23.0

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Comments

Adrian Bunk Oct. 24, 2019, 2:15 p.m. UTC | #1
On Thu, Oct 24, 2019 at 12:53:53AM -0700, Khem Raj wrote:
> Signed-off-by: Khem Raj <raj.khem@gmail.com>

> ---

>  meta-oe/recipes-support/libiio/libiio_git.bb | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)

> 

> diff --git a/meta-oe/recipes-support/libiio/libiio_git.bb b/meta-oe/recipes-support/libiio/libiio_git.bb

> index 4e57d5b77b..489cb1a9e0 100644

> --- a/meta-oe/recipes-support/libiio/libiio_git.bb

> +++ b/meta-oe/recipes-support/libiio/libiio_git.bb

> @@ -12,7 +12,7 @@ SRC_URI = "git://github.com/analogdevicesinc/libiio.git;protocol=https"

>  

>  S = "${WORKDIR}/git"

>  

> -inherit cmake python3native systemd

> +inherit cmake python3native systemd distutils-base

>...


This pulls in pythonnative, which ends up "fixing" the issue
by installing the python-native Python2 binary that gets used
instead of the Python3 binary from python3-native.

Installing the python module fails silently during install,
with libiio-python ending up empty.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
diff mbox series

Patch

diff --git a/meta-oe/recipes-support/libiio/libiio_git.bb b/meta-oe/recipes-support/libiio/libiio_git.bb
index 4e57d5b77b..489cb1a9e0 100644
--- a/meta-oe/recipes-support/libiio/libiio_git.bb
+++ b/meta-oe/recipes-support/libiio/libiio_git.bb
@@ -12,7 +12,7 @@  SRC_URI = "git://github.com/analogdevicesinc/libiio.git;protocol=https"
 
 S = "${WORKDIR}/git"
 
-inherit cmake python3native systemd
+inherit cmake python3native systemd distutils-base
 
 DEPENDS = " \
     flex-native bison-native libaio \