[oe] [meta-oe][PATCH] networkmanager upgrade to 1.10.6
Pablo Saavedra
psaavedra at igalia.com
Mon Mar 19 13:44:12 UTC 2018
Hi Andreas,
On 15/03/18 15:33, Andreas Müller wrote:
>> @@ -49,6 +44,7 @@ EXTRA_OECONF = " \
>> --disable-ifcfg-rh \
>> --disable-ifnet \
>> --disable-ifcfg-suse \
>> + --disable-introspection \
> ^ Why disable introspection?
>> --disable-more-warnings \
>> --with-iptables=${sbindir}/iptables \
>> --with-tests \
NM fails in configuration time if `--enable-introspection` ins enabled.
Configure fails in L1290:
if ! "$PYTHON" -c 'from gi.repository import GObject' >&
/dev/null; then
AC_MSG_ERROR(["--enable-introspection aims to build the
settings documentation. This requires GObject introspection for python
(pygobject)])
fi
The execution of GObject check in the native environment causes this
exception:
$PYTHON -c 'from gi.repository import GObject'
Traceback (most recent call last):
File "<frozen importlib._bootstrap>", line 890, in _find_spec
AttributeError: 'DynamicImporter' object has no attribute 'find_spec'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File
"/home/igalia/psaavedra/yocto/build/tmp/work/i586-poky-linux/networkmanager/1.10.6-r0/recipe-sysroot-native/usr/lib/python3.5/site-packages/gi/importer.py",
line 127, in find_module
'introspection typelib not found' % namespace)
ImportError: cannot import name GObject, introspection typelib not found
I tried to add these depends:
python3-pygobject \
python3-pygobject-native \
with no success.
I didn't find any examples of similar solution for this issues. Only I
found a unreplied email with this very similar issue, so any suggestion
is welcome to make a good fix.
Alternatively, since the introspection is interesting as a run depends
for D-Bus discovery, WDYT about patch the `configure.ac` in order to
skip this failing assertion but adding an explicit RDEPEND with
python3-pygobject in the recipe?
[1] https://lists.yoctoproject.org/pipermail/poky/2017-December/011190.html
More information about the Openembedded-devel
mailing list