From e8dfbb092c1bbf9bb2d8cec2d2d77eb89b3e887a Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Wed, 24 Jul 2013 11:15:57 +0100 Subject: python-smartpm: fix sometimes reporting no provider instead of conflict If a requirement of a package is conflicted, depending on how the solution is reached, Smart's transaction code may eliminate all providers of the requirement and then error out because nothing provides them without saying why. To work around this, store a reason and report that back if we need to, so for example instead of: error: Can't install packagegroup-core-ssh-dropbear-1.0-r1@all: no package provides dropbear we will now get: error: Can't install packagegroup-core-ssh-dropbear-1.0-r1@all: unable to install provider for dropbear: error: dropbear-2013.58-r1.0@armv5te is conflicted by openssh-sshd-6.2p2-r0@armv5te Fixes [YOCTO #4305]. (From OE-Core rev: 1ed09b87fc8780d4a99f6516493fae2e0c92862c) Signed-off-by: Paul Eggleton Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/recipes-devtools/python/python-smartpm_1.4.1.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-devtools/python/python-smartpm_1.4.1.bb') diff --git a/meta/recipes-devtools/python/python-smartpm_1.4.1.bb b/meta/recipes-devtools/python/python-smartpm_1.4.1.bb index 0cf3847c77..3e392311f3 100644 --- a/meta/recipes-devtools/python/python-smartpm_1.4.1.bb +++ b/meta/recipes-devtools/python/python-smartpm_1.4.1.bb @@ -26,6 +26,7 @@ SRC_URI = "\ file://smart-multilib-fixes.patch \ file://smart-yaml-error.patch \ file://smart-channelsdir.patch \ + file://smart-conflict-provider.patch \ " SRC_URI[md5sum] = "573ef32ba177a6b3c4bf7ef04873fcb6" -- cgit v1.2.3-54-g00ecf