]> code.ossystems Code Review - openembedded-core.git/commit
python-smartpm: Improve warnings/errors consistency
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 16 Jul 2015 22:54:11 +0000 (23:54 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 20 Jul 2015 09:39:00 +0000 (10:39 +0100)
commitab1eb2432b9a9823335450fd12476e910a95a2aa
tree52d70814e7d7b8116ae6ae3110dcfc0b828035ff
parent9de391260e4491a4852410adf1009a1fa0c72a5c
python-smartpm: Improve warnings/errors consistency

Sadly, smart is not deterministic so the same build can go down multiple different
pathways. We'd expect to see the same warnings however depending on the pathway
taken, it may or may not warn, particularly with Recommends since they're optional.

For example, where a Recommended package is available but has Conflicts, we'd expect
to see an warning that we couldn't install it. Some code paths silently hide this
(its a LOCKED_CONFLICT). We add printing of warnings for this case.

Also, if there are two compatible feeds available (e.g. i586 and core2_32), this
changes the code path from direct _install() to _pending() since there are multiple
providers. This patch adds warning handling to _pending() so we don't hit hard
failures there. This is as seen with the mysterious libspeexdsp failures for x86-lsb
on the autobuilder.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/python/python-smartpm/smart-attempt-fix.patch [new file with mode: 0644]
meta/recipes-devtools/python/python-smartpm_git.bb