[poky] Trying to use python3-pygobject-native to compile NetworkManager

Alexander Kanavin alexander.kanavin at linux.intel.com
Tue Jan 2 04:12:19 PST 2018


On 12/29/2017 01:59 PM, Diaz de Grenu, Jose wrote:

> # If g-i is installed we know we have python, but we might not have 
> pygobject
> 
>      if ! "$PYTHON" -c 'from gi.repository import GObject' >& /dev/null; 
> then
> 
>          as_fn_error $? "\"--enable-introspection aims to build the 
> settings documentation. This requires GObject introspection for python 
> (pygobject)" "$LINENO" 5
> 
>      fi
> 
> I am able to reproduce the problem in the devshell:
> 
> # bitbake -c devshell NetworkManager
> 
> (....)
> 
> root:~/workspaces-yocto/2.4/tmp/work/cortexa9hf-neon-dey-linux-gnueabi/networkmanager/1.8.2-r0/NetworkManager-1.8.2# 
> "$PYTHON" -c 'from gi.repository import GObject'

What is $PYTHON set to?

Alex


More information about the poky mailing list