Say a recipe foo.bb has this: DEPENDS=foo-native BBCLASSEXTEND=native This causes a circular dependency as the native DEPENDS for foo-native is foo-native. BBCLASSEXTEND should recognise this situation and remove PN-native from the build depends.
Fixed in oe-core 3e9392c0965166462e0993d46f4cc2fb1832f1e5.