From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id aEf0LhpTqGWwUwAAe85BDQ:P1 (envelope-from ) for ; Wed, 17 Jan 2024 23:22:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id aEf0LhpTqGWwUwAAe85BDQ (envelope-from ) for ; Wed, 17 Jan 2024 23:22:18 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=FmHz3Djw; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1705530138; 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=XJEo5W9Urx+6ZJ2HE/YcZ3q6XcADzUfSC/BV4c/kSto=; b=HvlKvVYTuHCiOk9v53/TrTPhYj+Z9gK5D6fSpWsUu9xo4vaHChRzkB5rj1cq20C23VywEp InGqNGAfpJ3ofFUqWOKko4OiFArB7L3u3RHghGZP6d2idLcsKp1PcQ16cLC7/rW9f3QCHC bPi3v0ORqIkbbSJ1UInL+ocnhXzY73Gmbjvwwnfade4QTKWLRWC6uYFxVaSvaMLspn9DDd n5cgd4THBL3Dqs3OehrCC/BQ0zA+3PGA9PzMGzmhsbEe80+Fs7IJKJl+GxrSdbWPyq8GzO u8MX9xizxt8gU1tjMNpsu0NjPRocJP/ka0JLLw/3hRtnjWKx03NYfHtQ/DNhXA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=FmHz3Djw; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705530138; a=rsa-sha256; cv=none; b=FiYBzziDvjeIdEEgTMDtR0KmOzaPQmsf1scsJgfqlLvODfN7HqFtdAy5JIOjhAcDK2XySZ QpAupVdUAImq6SbFWPJzbSbJye2sQ3AA4T95Ypgrf9UszFtM76VyHu81FUnUT23pI6iKd7 /BSdK56YFoLQsVn4zHggKpbE1vcpNS7fjj0vQ6HyrtXFefUNZ7YgfMxyZowm5D9Wn64emk yRKp7wM0QgPhNHXgzxyK7HbtNK6Ga39znYN3rDO2vj2fCWe6WXfj/n9O5Hu6azP82nznin v4R6zLf9OiIzEgs7jn4+ALwiXgsNzMAsLMoScBE1+2fW1v0Fo9IlSo3NVfoZog== 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 64FFC1D829 for ; Wed, 17 Jan 2024 23:22:18 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rQEIN-0006Jl-5G; Wed, 17 Jan 2024 17:22:03 -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 1rQEIL-0006JU-GC for bug-guix@gnu.org; Wed, 17 Jan 2024 17:22:01 -0500 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 1rQEIL-0002yl-8W for bug-guix@gnu.org; Wed, 17 Jan 2024 17:22:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rQEIM-0007RJ-04 for bug-guix@gnu.org; Wed, 17 Jan 2024 17:22:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#66647: Installation of RPMs produced by =?UTF-8?Q?=E2=80=98guix_?= =?UTF-8?Q?pack=E2=80=99?= is super slow Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 17 Jan 2024 22:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66647 X-GNU-PR-Package: guix X-GNU-PR-Keywords: moreinfo To: Simon Tournier Cc: =?UTF-8?Q?Lo=C3=AFc?= SIRVIN , Ludovic =?UTF-8?Q?Court=C3=A8s?= , 66647@debbugs.gnu.org Received: via spool by 66647-submit@debbugs.gnu.org id=B66647.170553008328542 (code B ref 66647); Wed, 17 Jan 2024 22:22:01 +0000 Received: (at 66647) by debbugs.gnu.org; 17 Jan 2024 22:21:23 +0000 Received: from localhost ([127.0.0.1]:53759 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rQEHi-0007QI-Jm for submit@debbugs.gnu.org; Wed, 17 Jan 2024 17:21:22 -0500 Received: from mail-qt1-x835.google.com ([2607:f8b0:4864:20::835]:46115) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rQEHg-0007Q6-62 for 66647@debbugs.gnu.org; Wed, 17 Jan 2024 17:21:20 -0500 Received: by mail-qt1-x835.google.com with SMTP id d75a77b69052e-429f670eebeso18574491cf.0 for <66647@debbugs.gnu.org>; Wed, 17 Jan 2024 14:21:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705530073; x=1706134873; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=XJEo5W9Urx+6ZJ2HE/YcZ3q6XcADzUfSC/BV4c/kSto=; b=FmHz3Djwo4JYBrEaTzB1XFNrR/7av9j4IA+zETsaPhF4sIjOu5/lvGln+mN0NnVugB cvAUmQ31dHAksDrXuZNfG+v8qkn3FPpSQAnLp6RH3m0R5OvZwSJa8D8dmigtMzubJyvN +kTPGi6weQisDgDblRjnxMoHqf4c4kMNbKKfbvXwzuTr4cmd6ESuSQbxQOWKWXU/IEAj UEY8AMwQuWISpyUvVHTpWg37+FjzgScid5rmnqc3LBpTJIEfv6V8uNY7FjxeWmexS5Pi QE00tLJbG2zia+saltsTELqagccInmPhAKnLZVX7Ds4r6IENsN8fZIRu2gK1hWy+xEwU EhAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705530073; x=1706134873; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=XJEo5W9Urx+6ZJ2HE/YcZ3q6XcADzUfSC/BV4c/kSto=; b=izziAojViR5jGtdtS3haZgtgodYb210ifCYtyDPacklibYODSzvQSZcKRZ7I3iY1vk 1vM5Hzs1lK9lDvks5VQACy60G2QEydfnv0KLCfStzTjgDqWj3K8OvszRFZtaT2WmjO+U ugA7q/u7ndhSJiKmn9McPX6YyYbvROQmST6Kr2QKBZH1YNI/vFe6mY+gABbeqhJSfV7o wiBIRpunFvSiNjnJbDeNFLJBLVUTlmUCAJsrAqwSFLvdu+x4EeHIJ8b0P9adGMicgdZY 3/gD9cyNaZ5qiMwcX4V5L4W058bN907nQMaZN0naLJo/MTF3udJOvP8Bq6dKnx9c4Ls/ hSXQ== X-Gm-Message-State: AOJu0Yzc8xY4KMYwcf8/DwmDDUXmrS6bhsPKbrlS4Ampp9nl29JMV+ZC yNyyzTfNyfN7E9JECu1pSKas6iHy78M= X-Google-Smtp-Source: AGHT+IHDAoZUw6P23uGAogsODeHYW7zsBwApPZIIWN/iJecbINCzMSNb/oXwN2LTRc7MILCiqcZNmA== X-Received: by 2002:ac8:5f0a:0:b0:429:f156:f6d0 with SMTP id x10-20020ac85f0a000000b00429f156f6d0mr5563047qta.78.1705530072889; Wed, 17 Jan 2024 14:21:12 -0800 (PST) Received: from hurd (dsl-10-141-147.b2b2c.ca. [72.10.141.147]) by smtp.gmail.com with ESMTPSA id i8-20020a37c208000000b0078322dc4f97sm4851957qkm.26.2024.01.17.14.21.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jan 2024 14:21:12 -0800 (PST) From: Maxim Cournoyer In-Reply-To: <87cyu0ugse.fsf@gmail.com> (Simon Tournier's message of "Wed, 17 Jan 2024 16:21:37 +0100") References: <87a5sdvblv.fsf@inria.fr> <5cd008c8-3f9b-4470-b8d2-3e43ff08b4bd@inria.fr> <87r0kseer7.fsf@gmail.com> <874jh96hfo.fsf@gnu.org> <87a5qyatsn.fsf@gmail.com> <87il5g42q0.fsf@gmail.com> <8734v324gz.fsf@gmail.com> <87zfx7qn1q.fsf@gmail.com> <87v87vj6yf.fsf@inria.fr> <87cyu0ugse.fsf@gmail.com> Date: Wed, 17 Jan 2024 17:21:11 -0500 Message-ID: <87a5p3mwiw.fsf@gmail.com> 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: 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 3.81 X-Spam-Score: 3.81 X-Migadu-Queue-Id: 64FFC1D829 X-Migadu-Scanner: mx12.migadu.com X-TUID: 8BXRrmQHBBv5 Hello, Simon Tournier writes: > Hi, > > On Mon, 15 Jan 2024 at 10:12, Ludovic Court=C3=A8s wrote: > >>> We could mention that other package managers than yum should be >>> preferred in a "@quotation Note", due to a performance problem when >>> handling modern RPMs as those made by Guix; or we could close this and >>> wait for yum to have become completely irrelevant (which seems like in a >>> year or so, last I checked the RHEL end-of-life dates). >>> >>> Is someone volunteering to add the note? Or should we close this? >> >> Yeah maybe let=E2=80=99s just a short note warning against old versions = of =E2=80=98yum=E2=80=99 >> and close this issue. > > I am proposing [1]: > > 1 file changed, 8 insertions(+) > doc/guix.texi | 8 ++++++++ > > modified doc/guix.texi > @@ -7299,6 +7299,14 @@ Invoking guix pack > sudo rpm --install --prefix=3D/opt /gnu/store/...-hello.rpm > @end example > > +@quotation Warning > +Rely on @command{rpm --install} for installing an RPM archive and avoid > +@command{yum install} or related. The generated RPM archive will > +install faster when using @command{rpm} than when using @command{yum}. > +The performances of @command{yum} when installing generated RPM archive > +could be detrimental compared to installing using @command{rpm} tool. > +@end quotation > + Instead of wording it in a way that make it seems 'rpm' is the only tool to be preferred, I'd say something like --8<---------------cut here---------------start------------->8--- Older versions of the @command{yum} command is known to have performance problems when installing a Guix-generated RPM package. Prefer to use modern alternatives such as the @command{dnf} or the @command{rpm} commands. --8<---------------cut here---------------end--------------->8--- Otherwise, LGTM! Thanks for volunteering to write it! --=20 Thanks, Maxim