pkg: upgrade circular reference trace to a warning

master
Ariadne Conill 2022-08-07 01:29:21 +00:00
parent 662668d082
commit 7edfdbff0b
1 changed files with 2 additions and 1 deletions

View File

@ -1477,7 +1477,8 @@ pkgconf_pkg_walk_list(pkgconf_client_t *client,
* memory is leaked due to circular ownership. * memory is leaked due to circular ownership.
* i.e: A owns B owns A * i.e: A owns B owns A
*/ */
PKGCONF_TRACE(client, "breaking circular reference: %s", depnode->package); pkgconf_warn(client, "%s: breaking circular reference (%s -> %s -> %s)\n",
parent->id, parent->id, pkgdep->id, parent->id);
pkgconf_node_delete(node, deplist); pkgconf_node_delete(node, deplist);
pkgconf_dependency_unref(client, depnode); pkgconf_dependency_unref(client, depnode);