pkg: upgrade circular reference trace to a warning
ci/woodpecker/push/woodpecker Pipeline was successful Details

pull/242/head
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.
* 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_dependency_unref(client, depnode);