-
- Downloads
build: package: add warning for cyclical build dep (MR 2388)
Print a warning when breaking cyclical dependencies, for example with current kde-nightly branch: > WARNING: cyclical build dependency, building kirigami with binary package of qqc2-desktop-style
parent
ed2077bf
No related branches found
No related tags found
... | ... | @@ -268,9 +268,16 @@ def prioritise_build_queue(disarray: list[BuildQueueItem]) -> list[BuildQueueIte |
# If a binary package exists for item, we can queue it | ||
# safely and dep will be queued on a future iteration | ||
if item["has_binary"]: | ||
logging.warning( | ||
f"WARNING: cyclical build dependency: building {item['name']} with binary package of {dep}" | ||
) | ||
queue_item(item) | ||
stuck = False | ||
break | ||
else: | ||
logging.warning( | ||
"WARNING: cyclical build dependency: can't build {item['name']}, no binary package for {dep}" | ||
|
||
) | ||
if do_continue: | ||
continue | ||
... | ... |