Skip to content
Snippets Groups Projects
Unverified Commit de7fdf6c authored by Oliver Smith's avatar Oliver Smith
Browse files

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
No related merge requests 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment