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 >> 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 >> > > >