{"basehash":"80a780f6c5e85f07fa24f7e4d808b4bb3d1cd56e6cdb1e68736fc126c4b98af1","basehash_ignore_vars":{"_set_object":["BBPATH","BBSERVER","BB_CURRENTTASK","BB_HASHSERVE","BB_LIMITEDDEPS","BB_TASKHASH","BB_UNIHASH","BB_WORKERCONTEXT","BUILDHISTORY_DIR","BUILD_ARCH","CCACHE","CCACHE_DIR","CCACHE_NOHASHDIR","CCACHE_TOP_DIR","COREBASE","DEPLOY_DIR","DL_DIR","EXTERNAL_TOOLCHAIN","FILE","FILESEXTRAPATHS","FILESPATH","FILE_DIRNAME","GIT_CEILING_DIRECTORIES","HOME","LICENSE_PATH","LOGNAME","OMP_NUM_THREADS","PARALLEL_MAKE","PATH","PKGDATA_DIR","PLNX_SCRIPTS_PATH","PRSERV_DUMPDIR","PRSERV_DUMPFILE","PRSERV_HOST","PRSERV_LOCKDOWN","PSEUDO_IGNORE_PATHS","PWD","RUST_BUILD_SYS","RUST_HOST_SYS","RUST_TARGET_SYS","SDKPKGSUFFIX","SHELL","SOURCE_DATE_EPOCH","SSTATE_DIR","SSTATE_HASHEQUIV_METHOD","SSTATE_HASHEQUIV_OWNER","SSTATE_HASHEQUIV_REPORT_TASKDATA","SSTATE_PKGARCH","STAGING_DIR_HOST","STAGING_DIR_TARGET","STAMPCLEAN","STAMPS_DIR","THISDIR","TMPDIR","USER","WARN_QA","WORKDIR","extend_recipe_sysroot"]},"file_checksum_values":[],"gendeps":{"BASEDEPENDS":{"_set_object":[]},"DEPENDS":{"_set_object":["BASEDEPENDS","QT5TOOLSDEPENDS"]},"PN":{"_set_object":[]},"QT5TOOLSDEPENDS":{"_set_object":[]},"SPDXDEPS":{"_set_object":["SPDXDIR"]},"SPDXDIR":{"_set_object":[]},"collect_direct_deps":{"_set_object":["DEPENDS","PN"]}},"runtaskdeps":["python3-native:do_create_spdx","python3-ply-native:do_create_spdx","python3-pyqt-builder-native:do_create_spdx","python3-pyqt5-native:do_unpack","python3-toml-native:do_create_spdx","python3:do_create_spdx","qtbase-native:do_create_spdx","qtdeclarative:do_create_spdx","qtquickcontrols2:do_create_spdx","sip-native:do_create_spdx","sip:do_create_spdx"],"runtaskhashes":{"python3-native:do_create_spdx":"7d6be2473f006a939a0ab215621e5a462b0f3412c4422b37d598e3f1b827f31c","python3-ply-native:do_create_spdx":"23f30100faa523ba7d3b9d48640b9681c54e6cb5eb8f7732c19392aaaa4112d5","python3-pyqt-builder-native:do_create_spdx":"a97dc7928ca9e21a957ffb4824ee28c4fbd6089c02e6c8cae7e3a8aa45b40876","python3-pyqt5-native:do_unpack":"e83cb5698223bd398f5b749dcda15f6350a68f72d5639daf6d44c74d514615ed","python3-toml-native:do_create_spdx":"79c9ca859d0fa660c916740f9bf1f650545357ab3dfde3d459cf99a30fac5088","python3:do_create_spdx":"fd27a486b580d806c96311d742615ff58e5a1192292dacac8eb3e36109db0e64","qtbase-native:do_create_spdx":"61cdf9ae69d357e1eb7d6a2d1183d293ca0c500865ff0ba9593d24578f4a8806","qtdeclarative:do_create_spdx":"22f1f0b67f22bb3a1fb99628131d6cd8989da04b876ca0a310804403ed36dbb4","qtquickcontrols2:do_create_spdx":"a45177183ba81102a6a40ca59e3e90217c56b264a370fb4b9818dde3e3c3e77a","sip-native:do_create_spdx":"fdc7474ea534d3e365b55fa590c27dccda08ddf00c58b4eb96713fd6c371560c","sip:do_create_spdx":"a3658b6a86f5cfbae30e4f5730a79de5fc0825e9ab13e87a75cd56c12063cf0d"},"task":"do_collect_spdx_deps","taskdeps":{"_set_object":["BASEDEPENDS","DEPENDS","PN","QT5TOOLSDEPENDS","SPDXDEPS","SPDXDIR","collect_direct_deps"]},"taskhash":"e621174c866aede73e106c243c19d46b531dd3b2e52f51b49300c2a6f33848de","taskhash_ignore_tasks":null,"unihash":"e621174c866aede73e106c243c19d46b531dd3b2e52f51b49300c2a6f33848de","varvals":{"BASEDEPENDS":"","DEPENDS":"${QT5TOOLSDEPENDS} ${BASEDEPENDS}      python3     python3-ply-native     python3-pyqt-builder-native     python3-toml-native     qtbase     qtdeclarative     qtquickcontrols2     sip     sip-native  python3-native ","PN":"${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[0] or 'defaultpkgname'}","QT5TOOLSDEPENDS":"qtbase-native","SPDXDEPS":"${SPDXDIR}/deps.json","SPDXDIR":"${WORKDIR}/spdx","collect_direct_deps":"def collect_direct_deps(d, dep_task):\n    current_task = \"do_\" + d.getVar(\"BB_CURRENTTASK\")\n    pn = d.getVar(\"PN\")\n\n    taskdepdata = d.getVar(\"BB_TASKDEPDATA\", False)\n\n    for this_dep in taskdepdata.values():\n        if this_dep[0] == pn and this_dep[1] == current_task:\n            break\n    else:\n        bb.fatal(f\"Unable to find this {pn}:{current_task} in taskdepdata\")\n\n    deps = set()\n    for dep_name in this_dep[3]:\n        dep_data = taskdepdata[dep_name]\n        if dep_data[1] == dep_task and dep_data[0] != pn:\n            deps.add((dep_data[0], dep_data[7]))\n\n    return sorted(deps)\n","do_collect_spdx_deps":"    # This task calculates the build time dependencies of the recipe, and is\n    # required because while a task can deptask on itself, those dependencies\n    # do not show up in BB_TASKDEPDATA. To work around that, this task does the\n    # deptask on do_create_spdx and writes out the dependencies it finds, then\n    # do_create_spdx reads in the found dependencies when writing the actual\n    # SPDX document\n    import json\n    from pathlib import Path\n\n    spdx_deps_file = Path(d.getVar(\"SPDXDEPS\"))\n\n    deps = collect_direct_deps(d, \"do_create_spdx\")\n\n    with spdx_deps_file.open(\"w\") as f:\n        json.dump(deps, f)\n"}}