spacepaste

  1.  
  2. ERROR: Error executing a python function in <code>:#### | ETA: 00:00:05
  3. The stack trace of python calls that resulted in this exception/failure was:
  4. File: '<code>', lineno: 10, function: <module>
  5. 0006:__anon_35__var_build_meta_classes_devshell_bbclass(d)
  6. 0007:__anon_78__var_build_meta_classes_sstate_bbclass(d)
  7. 0008:__anon_45__var_build_meta_classes_blacklist_bbclass(d)
  8. 0009:__anon_140__var_build_meta_classes_siteinfo_bbclass(d)
  9. *** 0010:__anon_35__var_build_meta_recipes_support_libproxy_libproxy_0_4_11_bb(d)
  10. File: '__anon_35__var_build_meta_recipes_support_libproxy_libproxy_0_4_11_bb', lineno: 2, function: __anon_35__var_build_meta_recipes_support_libproxy_libproxy_0_4_11_bb
  11. 0001:def __anon_35__var_build_meta_recipes_support_libproxy_libproxy_0_4_11_bb(d):
  12. *** 0002: if incompatible_license_contains("GPLv3", "x", "", d) == "x" or bb.utils.contains("DISTRO_FEATURES", "x11", "x", "", d) == "":
  13. 0003: d.setVar("EXTRA_OECMAKE", d.getVar("EXTRA_OECMAKE").replace("-DWITH_GNOME=yes", "-DWITH_GNOME=no"))
  14. 0004: d.setVar("DEPENDS", " ".join(i for i in d.getVar("DEPENDS").split() if i != "gconf"))
  15. 0005:
  16. File: 'license.bbclass', lineno: 4, function: incompatible_license_contains
  17. 0001:def incompatible_license_contains(license, truevalue, falsevalue, d):
  18. 0002: license = canonical_license(d, license)
  19. 0003: bad_licenses = (d.getVar('INCOMPATIBLE_LICENSE', True) or "").split()
  20. *** 0004: bad_licenses = expand_wildcard_licenses(d, bad_licenses)
  21. 0005: return truevalue if license in bad_licenses else falsevalue
  22. 0006:
  23. File: 'license.bbclass', lineno: 8, function: expand_wildcard_licenses
  24. 0004: wildcards from SPDXLICENSEMAP flags and SRC_DISTRIBUTE_LICENSES values.
  25. 0005: """
  26. 0006: import fnmatch
  27. 0007: licenses = []
  28. *** 0008: spdxmapkeys = d.getVarFlags('SPDXLICENSEMAP').keys()
  29. 0009: for wld_lic in wildcard_licenses:
  30. 0010: spdxflags = fnmatch.filter(spdxmapkeys, wld_lic)
  31. 0011: licenses += [d.getVarFlag('SPDXLICENSEMAP', flag) for flag in spdxflags]
  32. 0012:
  33. Exception: AttributeError: 'NoneType' object has no attribute 'keys'
  34. ERROR: Failed to parse recipe: /var/build/meta/recipes-support/libproxy/libproxy_0.4.11.bb
  35.