[OE-core] [PATCH] package-deb: Ignore circular dependencies

Ricardo Ribalda Delgado ricardo.ribalda at gmail.com
Wed Mar 9 21:00:55 UTC 2016


What about ack this patch until we have something more generic.

The fact that the perl-module package is wrong and we havent find it
out until today makes me think that it is only apt-get who has this
issue with circular depencies.

Regards!

On Wed, Mar 9, 2016 at 9:54 PM, Aníbal Limón
<anibal.limon at linux.intel.com> wrote:
>
>
> On 03/09/2016 02:47 PM, Aníbal Limón wrote:
>>
>>
>> On 03/09/2016 02:33 PM, Burton, Ross wrote:
>>> On 9 March 2016 at 18:19, Ricardo Ribalda Delgado <ricardo.ribalda at gmail.com
>>>> wrote:
>>>
>>>> +                        bb.warn("Package %s rdepends on itself. Ignoring
>>>> this dependency" % pkg)
>>>>
>>>
>>> Depending on yourself seems wrong no matter what packaging backend you're
>>> using, even if it isn't fatal.  Maybe this should be added to the general
>>> sanity checks in insane.bbclass?
>>
>> I agree that this situation could happen in other package management
>> backends, i don't now if at insane class level we could access the
>> dependency tree of the recipes/packages, i like the idea for more
>> general mechanism.
>
> I forget to mention will be good if also handle circular dependencies
> between recipe/packages. A time ago i added this support on postinst
> scripts in package_{deb,ipk} [1].
>
> [1]
> http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/lib/oe?id=b2c9e7347acdfd0efe1c3dabb853d609233b61b6
>
>
>
>>
>>     alimon
>>
>>
>>>
>>> Ross
>>>
>>
>>
>>
>



-- 
Ricardo Ribalda



More information about the Openembedded-core mailing list