From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id OFo8O1OOHWYPcwEAe85BDQ:P1 (envelope-from ) for ; Mon, 15 Apr 2024 22:30:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id OFo8O1OOHWYPcwEAe85BDQ (envelope-from ) for ; Mon, 15 Apr 2024 22:30:12 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=bo6WudJ4; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1713213011; 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=Uo1GsaFBc/Lef6aWXeE6oZRjdl30gCxB12lP1If/uxY=; b=noJR3WRXp4gA+Cd6xf3ylDngn7AXaY7twGwIIz2yaYSB+VtbhdMmEEZxb4p/FA3PDcfrh9 cC949jh+28ePTA5o4DqKNTzPhufedAuvgE0zWH6ek1hnlR9vJN9NzfZ+NEjcADN0yC2mQK KrEKYYiZjxU3hMwv08tsevPj/lE7T0FTvaJDIOcP8ZZRiViOR2FzCIuws/CloCCQl/XNN/ jodPa3bNHUPwXrZtLCedkiDASqFjeyZYXcoPkGA7EFY3rcTZaUtG+hLKEgRagNBAKRwFT/ huhRNz75fdj4Vwk2cCFEGtj106Sun7dfIoPO0tniGoyljBetVWjdSDE0CuhqMg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=bo6WudJ4; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1713213011; a=rsa-sha256; cv=none; b=mArEPvcP+Wr32+JPzwd36COg4At1u0OK9uptChXanEuDSchD8v/VULcTdtlFqSDSiE3lUq LcdWc0jJGvShsgYZFnoLj0Z6UJGViysXLHgbh6wA2+As1Vd2JuoEyvAsopTMxN90y5q6D5 vgG6ul1ZDE9AHxPMWZ3k3gIWBRmLGtsAovxYGp0PHhWRYsEvO9OWu8EUeq3rsKg+HLdsdH VMFDcKApJilBz/FKhNIzJZdH+riS6Ed2ZixD1eaFX//1RCmDnM1R+Q02WrH/pdUuqkW5FC gZxF6beG1ssJhRVtvzAGRLXROiYPHIxgwDNT/YP2S6i2idHYuVLh6FxK82jLyQ== 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 7A6AC67766 for ; Mon, 15 Apr 2024 22:30:11 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rwSxf-00064p-Ts; Mon, 15 Apr 2024 16:29:55 -0400 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 1rwSxc-00064b-3d for guix-patches@gnu.org; Mon, 15 Apr 2024 16:29:52 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rwSxb-00028A-RH for guix-patches@gnu.org; Mon, 15 Apr 2024 16:29:51 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rwSxn-00064m-LG for guix-patches@gnu.org; Mon, 15 Apr 2024 16:30:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70303] [PATCH 0/2] Use guile-final for grafting. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Apr 2024 20:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70303 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Efraim Flashner Cc: Ricardo Wurmus , Josselin Poiret , Simon Tournier , Mathieu Othacehe , Tobias Geerinckx-Rice , 70303@debbugs.gnu.org, Christopher Baines Received: via spool by 70303-submit@debbugs.gnu.org id=B70303.171321295622955 (code B ref 70303); Mon, 15 Apr 2024 20:30:03 +0000 Received: (at 70303) by debbugs.gnu.org; 15 Apr 2024 20:29:16 +0000 Received: from localhost ([127.0.0.1]:39434 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rwSx0-0005xq-Hx for submit@debbugs.gnu.org; Mon, 15 Apr 2024 16:29:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34166) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rwSwx-0005wY-Kv for 70303@debbugs.gnu.org; Mon, 15 Apr 2024 16:29:12 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rwSwf-000237-2S; Mon, 15 Apr 2024 16:28:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=Uo1GsaFBc/Lef6aWXeE6oZRjdl30gCxB12lP1If/uxY=; b=bo6WudJ42p9HXMo8rBGw gP7G+uY73sWnSNWDxWWAWC+WpDKwnJPZniq6wXh7O603YuL1LzdjDx/AiUM6h26c/cCfrrRyKwx85 g1ERuXDaARlp61mhjSckdE9gYNjSAkE0e0i5hQW/9jvOEiVR4qZoxl74YDW9srAUQtXwzmepHrcsW OQBQkv17KPiKzSW04IyqYGQUkeElE4VceDXeOfQAlbSt8KlmD1OlKkYfL2N6ahMT/BYW9iu5P4+4k s6ULOQ6Eo2qqkoupsenpfwjg9yrEP3KfX0ulhRds1yILrNvgVsnES2leOdGKDe/bJIefSdtNKEQDn PBgRvzwHQchvEg==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: (Efraim Flashner's message of "Tue, 9 Apr 2024 13:03:58 +0300") References: Date: Mon, 15 Apr 2024 22:28:17 +0200 Message-ID: <87cyqqz7z2.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.57 X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -5.57 X-Migadu-Queue-Id: 7A6AC67766 X-TUID: kTyZwg4wY03W Howdy! Efraim Flashner skribis: > Over the years the grafting code has changed bit by bit, with various > attempts to speed it up. By switching the grafts to not use parallelism > in rewriting the leaves we can finally switch the guile-for-grafts to be > guile-final. The segfault is still there if we perform the grafts in > parallel, but I believe it is fast enough that it should be fine to do > them sequentially. Could you time the grafting derivation of, say, libreoffice or ungoogled-chromium? Typically I=E2=80=99d do it along these lines: --8<---------------cut here---------------start------------->8--- $ guix build libreoffice /gnu/store/24is7ypdx6sm56mkclxdx4hyj7yg4smb-libreoffice-7.6.3.1 $ sudo sh -c 'echo 3 > /proc/sys/vm/drop_caches' $ time guix build libreoffice --check The following graft will be made: /gnu/store/wdjqpxm2kbdvq7qlrzyjxb244zn3s3bv-libreoffice-7.6.3.1.drv applying 137 grafts for libreoffice-7.6.3.1 ... grafting '/gnu/store/5flppg3h8y235di2ilr3sx878gfl82db-libreoffice-7.6.3.1' = -> '/gnu/store/24is7ypdx6sm56mkclxdx4hyj7yg4smb-libreoffice-7.6.3.1'... successfully built /gnu/store/wdjqpxm2kbdvq7qlrzyjxb244zn3s3bv-libreoffice-= 7.6.3.1.drv successfully built /gnu/store/wdjqpxm2kbdvq7qlrzyjxb244zn3s3bv-libreoffice-= 7.6.3.1.drv /gnu/store/24is7ypdx6sm56mkclxdx4hyj7yg4smb-libreoffice-7.6.3.1 real 0m14.921s user 0m7.588s sys 0m0.389s --8<---------------cut here---------------end--------------->8--- (That=E2=80=99s on my 4-core i7.) It=E2=80=99s a bummer that the segfault is still there. I remember week-lo= ng =E2=80=98rr=E2=80=99 debugging sessions in the past, where I did find a few= issues; I should try again but uh=E2=80=A6 > There's probably room in replace-store-references in (guix build graft) > for changes if we're not going to use guile-2.0 here anymore. I believe =E2=80=98tests/grafts.scm=E2=80=99 may run some of this code unde= r Guile 2.0 (using the =E2=80=98guile-bootstrap=E2=80=99 tarball provided for the tests= ). Thanks, Ludo=E2=80=99.