From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cP+zNlwNw2P5mAAAbAwnHQ (envelope-from ) for ; Sat, 14 Jan 2023 21:15:24 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id uOe1NlwNw2MgkQAA9RJhRA (envelope-from ) for ; Sat, 14 Jan 2023 21:15:24 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 858883DCFC for ; Sat, 14 Jan 2023 21:15:24 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pGmvh-0005dG-RZ; Sat, 14 Jan 2023 15:15:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pGmve-0005ci-6x for bug-guix@gnu.org; Sat, 14 Jan 2023 15:15:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pGmvd-00013O-UJ for bug-guix@gnu.org; Sat, 14 Jan 2023 15:15:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pGmvd-0008Hn-No for bug-guix@gnu.org; Sat, 14 Jan 2023 15:15:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#60811: =?UTF-8?Q?Can=E2=80=99t?= change the build system of p11-kit to meson Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 14 Jan 2023 20:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60811 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Vivien Kraus Cc: 60811@debbugs.gnu.org X-Debbugs-Original-Cc: bug-guix@gnu.org, 60811@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167372727931798 (code B ref -1); Sat, 14 Jan 2023 20:15:01 +0000 Received: (at submit) by debbugs.gnu.org; 14 Jan 2023 20:14:39 +0000 Received: from localhost ([127.0.0.1]:55626 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pGmvH-0008Gj-EO for submit@debbugs.gnu.org; Sat, 14 Jan 2023 15:14:39 -0500 Received: from lists.gnu.org ([209.51.188.17]:57270) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pGmvC-0008GP-89 for submit@debbugs.gnu.org; Sat, 14 Jan 2023 15:14:37 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pGmvC-0005TR-2L for bug-guix@gnu.org; Sat, 14 Jan 2023 15:14:34 -0500 Received: from mx0.riseup.net ([198.252.153.6]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pGmvA-00010a-8m for bug-guix@gnu.org; Sat, 14 Jan 2023 15:14:33 -0500 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4NvTys0p0Dz9tJf; Sat, 14 Jan 2023 20:14:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1673727269; bh=ZPJ/d0p6i6d7ZbimhuncqOTD6KjKm7rk/NlNaf9xlOM=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=YOREIbubYi9AHpmgMkRBo1z9Rj9YgA8m5UTi7DaitcErhDYB5oomiXjGaFW1FFtDu y3hPyT9Cat6wZnbeF8wTSaT+2xrNGuWTCd4x648rvCehIWF5Z6cNf49HqYyLHG6y0S 8bHAUuiQ09rR062l9STs7DkAB5Q1ThJEpWtTiZqg= X-Riseup-User-ID: BF55FD1F110ABFBB396D62AD33626AD40DAB39051C64741AF938F8C54F13E565 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4NvTyr3BLrz5vZw; Sat, 14 Jan 2023 20:14:28 +0000 (UTC) References: From: Csepp Date: Sat, 14 Jan 2023 21:10:30 +0100 In-reply-to: Message-ID: <86h6wszxep.fsf@riseup.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=198.252.153.6; envelope-from=raingloom@riseup.net; helo=mx0.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1673727324; a=rsa-sha256; cv=none; b=aBJ+hgnU0eJ+26kOfe+VEnePo8BnR6f7nTuKL8cQLZGOT84TcThOtzWuYz7OGw2ovPsxpM BHlUc0XS5kiK6UbUl8/CWUPbVNSTdJB14SzyABS2XdnMAOmQNNtCIfFHEa8Vmz8sWc7V4P MQwJJllymBJX4JTAFaW2FynviVnkYTeY1lsefmzihYMieJ6v91FjHlAqZKT8EYwqTXT5QE H2KJmAVQ8+CR4xD/fS1T30ej8+bm0N9X4FJsF4H7gh+oK1dUu0fd516tAE8fN2B4V6MAyz 2nihDad0oGQPrNIFZGtub9E8OcOfb2IX1f2EMQogvzBkDNjg3r1AI7GZKnCa7w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=YOREIbub; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673727324; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ZPJ/d0p6i6d7ZbimhuncqOTD6KjKm7rk/NlNaf9xlOM=; b=rH3RN0X9r0hbQF+hX1YDib1lIk6SLyyYEkNdpk8aZJOyGH9XidJ3Uiatu4Tn9WlAjkxuQO 9bk871wTLqTsP9BJ2VwGJfhhIVVHtcS9xCwNKig+1FWw5iQ5q8FvPMU44gW52QRPysSIIY 3KuujBeQ/NuxNNKhyMyFzAroArucsw5y0eRqUODewBkuSqTG68oe5FuieenCWV7xSYKcl1 aqfJeRuLDRpGzY3dkw2Kn43DWaaW6t4oN/1JPvvz4VZ6lmk/lAaLI9NHdjoT2FOY4i+UJB p4RiJFT2syzZW3HGSTPRRH73y8X9FN4EhA9ardMf3Nm0QzML+unIrtfkg0HGfA== X-Migadu-Spam-Score: -2.31 X-Spam-Score: -2.31 X-Migadu-Queue-Id: 858883DCFC X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=YOREIbub; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none) X-TUID: n8XQ6SZPX0QW Vivien Kraus via Bug reports for GNU Guix writes: > Dear guix, > > p11-kit is switching its build system to meson. The README already > advertises it as the way to build p11-kit. When I try to change that, > guix builds fine. Then, if I try to run guix build p11-kit, guix will > crash after exhausting all my memory. I suspect a circular dependency > of some sort, but I don=E2=80=99t know how to debug it. > > If I try and run: > $ ./pre-inst-env guix graph --type=3Dbag p11-kit > > Then I get as an output, > > digraph "Guix bag" { > > And then guix starts eating my memory indefinitely until I cancel it. > > How can I debug this? > > Best regards, > > Vivien The way I debugged a cycle was: * use package graph type * import graph into Python's networkx using pydot * run networkx's cycle detection Here is the script so you don't have to figure it out yourself: ``` #!/usr/bin/env python # coding: utf-8 import networkx import sys G =3D networkx.drawing.nx_pydot.read_dot(sys.stdin) Va =3D networkx.function.get_node_attributes(G, "label") print(*[Va[e[0]] for e in networkx.find_cycle(G)]) ```