From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id MGilEgfONWXGSQAA9RJhRA:P1 (envelope-from ) for ; Mon, 23 Oct 2023 03:36:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id MGilEgfONWXGSQAA9RJhRA (envelope-from ) for ; Mon, 23 Oct 2023 03:36:07 +0200 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 B99E542358 for ; Mon, 23 Oct 2023 03:36:04 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=B50DbIjq; 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=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1698024967; 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=NNTNi97E0q6PThJfWPj5NXtopbJBdt3pT/U2hH6qCVY=; b=NBkK4gAoZRDjKkO2PLcetI3jeIPM8QxM2UyXRBH2qCsu9W1POJNdJI6OEM7UbZlgkruyLS a1+MBmgZsS38HYgBLFv3dj4amIBVD7V80j3DMhd7APpABr8GMT8rHoCeQmylKvLJCPfic9 uPLMao/siaQ2sRgvlE6UR2FZrvdUODL8CHOMq8HdtmFNcnJL1I64F6V6rwQ5KvSzJsH1OP uiL4JRwL3FsmdWK36fj+JEMuCIYHvpUXPk1CIQLXp3y59U238GlogbFDTTp+abLA28/sfw EwFVeSw2DjOnnCVh/5AYOKrx34xdI2aixpD3PzsdUBkpoIF4+AJKGbhYHCbb6Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1698024967; a=rsa-sha256; cv=none; b=r0doopAEJbxfTuPUHt0Se93ojhmJyF4hy0sqEKuDtiTsxHSrkMn49s54vGfuADWzObSihB jyDFf8OvqKP9DV9/XjslNdwY+wCH+1kbahv0064Gvca3+pii1r1mrKeziU9+/rbk7cMhrr Ja5OCMPmrGiVwov2fdk1hQb0BCCKE9w+soMSgCpZX4rCg5M/0WpfFIlLraRDm+rQMvBKzt Mea0JBKcyNry3ikIroQ9hNau439oauRD//ZTP4IjooPBYq7FLbMaEEf3UPiUKlJ1b9Yldh nE5LW50BkZQ4JDPKl9uzXQ+jf50BXMcObWq+ZGAkJXf6Pd71eePy3QBWJxiejw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=B50DbIjq; 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=gmail.com (policy=none) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qujqx-0000t6-Qm; Sun, 22 Oct 2023 21:35:35 -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 1qujqv-0000so-Vi for bug-guix@gnu.org; Sun, 22 Oct 2023 21:35:33 -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 1qujqv-0002TF-Ew for bug-guix@gnu.org; Sun, 22 Oct 2023 21:35:33 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qujrN-0005iA-LG for bug-guix@gnu.org; Sun, 22 Oct 2023 21:36:01 -0400 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: Mon, 23 Oct 2023 01:36: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: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 66647@debbugs.gnu.org Received: via spool by 66647-submit@debbugs.gnu.org id=B66647.169802496021946 (code B ref 66647); Mon, 23 Oct 2023 01:36:01 +0000 Received: (at 66647) by debbugs.gnu.org; 23 Oct 2023 01:36:00 +0000 Received: from localhost ([127.0.0.1]:48602 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qujrM-0005hu-0k for submit@debbugs.gnu.org; Sun, 22 Oct 2023 21:36:00 -0400 Received: from mail-qk1-x72c.google.com ([2607:f8b0:4864:20::72c]:42360) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qujrG-0005hY-M2 for 66647@debbugs.gnu.org; Sun, 22 Oct 2023 21:35:58 -0400 Received: by mail-qk1-x72c.google.com with SMTP id af79cd13be357-77891f362cfso232440185a.1 for <66647@debbugs.gnu.org>; Sun, 22 Oct 2023 18:35:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698024920; x=1698629720; 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=NNTNi97E0q6PThJfWPj5NXtopbJBdt3pT/U2hH6qCVY=; b=B50DbIjqNGJ+9hXTa6OIeGp8rRYGUs9JGl35F8r4dqxkYDZYBtEuVM513i4jAlm1Qg yywLSgcq41qIxzXNsABAo3EpJiKd6exQlBFQp8eY8ep1ezGaBEI9XSJYscoKnwXR6Kqe 4cBKiUOVPxgX0Xw2w1a/4g4rmMdHoXwurZtGZQ8llIyAezMF1ULfR2xLY2tcUBaHC/GB 4qkpsi9TxX1Q0deE6Y2MhP8YwMrKpjN9yQDOplUhxo/zhz6D19v2dX7pIbg6Rk8XKBRh 6+rurOdQSpJg42QRGkA846DCYmXL9VjdWsiGZX7W5+LfV+IK7wH+77YMtJtBrWwrt56b hJaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698024920; x=1698629720; 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=NNTNi97E0q6PThJfWPj5NXtopbJBdt3pT/U2hH6qCVY=; b=guCQc0fCt8cknUfgyeWAUY0+TUepHO95IvidSH4dXrVMAR8XT9RTKP9NXREW/VASu7 84W2rIQERM7lIR+NgFUM9WahYHJ9Y+bqBrvk06k8/Pz70fXQzU0AEB4JdSI2nepmVjqC 1CGeTiFSJfYOy5W+QBLo38gPWe2c+yTd3Lf+XqQOUJkVLWen9YaSbRcuayfkU+PNZzHK 4roCDKG1vz1H+BiD9xTbnfpPGbXGKVQHQzwGrHXjnWpHwgpht+waEOXGz1Wxqk2TSuqp TZABpix0x3Mfnk1j2SD1Mh7N1W7W5PkBxcsAX2/Jvr+4kJhWDVNeEkreVi74uGs6UW8K anTw== X-Gm-Message-State: AOJu0YzadinB390JY20WyFKRwRjc4D0zFgrhUV7950V45p/RSPp9LaBn eNfyCsv7a4Jw9rdo7PIsNGRQKWkL4Z0= X-Google-Smtp-Source: AGHT+IFLRv1a+BSKEY/W623qQDxxo07VJC9V7fu7TFM0BoVMRfudw4F/jVgv2xmsFdXcG58aRqATxw== X-Received: by 2002:a05:620a:4629:b0:775:c335:1f2a with SMTP id br41-20020a05620a462900b00775c3351f2amr10791557qkb.38.1698024919817; Sun, 22 Oct 2023 18:35:19 -0700 (PDT) Received: from hurd (dsl-205-236-230-191.b2b2c.ca. [205.236.230.191]) by smtp.gmail.com with ESMTPSA id e11-20020a05620a208b00b00777063b89casm2364147qka.5.2023.10.22.18.35.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Oct 2023 18:35:19 -0700 (PDT) From: Maxim Cournoyer In-Reply-To: <874jiipbgj.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Sun, 22 Oct 2023 23:57:16 +0200") References: <87a5sdvblv.fsf@inria.fr> <87fs25i9z5.fsf@gmail.com> <874jiipbgj.fsf@gnu.org> Date: Sun, 22 Oct 2023 21:35:18 -0400 Message-ID: <87zg0a9l49.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-Spam-Score: 2.89 X-Migadu-Queue-Id: B99E542358 X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: 2.89 X-TUID: +l+PJLMmWuwF Hi, Ludovic Court=C3=A8s writes: > Hi! > > Maxim Cournoyer skribis: > >> Ludovic Court=C3=A8s writes: > > [...] > >>> However, installing those RPMs takes a lot of time. For example, >>> installing the RPM for =E2=80=98gmsh=E2=80=99 (closure: 596=C2=A0MiB; t= housands of files) >>> takes ~45mn. > > [...] > >> What is the OS thy install on? How do they generate the gmsh package >> exactly? Perhaps I still have a RPM-based distro VM to try it with. > > They=E2=80=99re targeting CentOS 7 (!). It=E2=80=99s built with: > > guix pack -f rpm -S /opt/bin=3Dbin -R gmsh I guess it has to do with that very dated version of rpm, because testing from a Fedora 37 VM I had at hand, it's fast (42 seconds on my 17 years old Core 2 Duo desktop): --8<---------------cut here---------------start------------->8--- $ cat /etc/os-release=20 NAME=3D"Fedora Linux" VERSION=3D"37 (Workstation Edition)" ID=3Dfedora VERSION_ID=3D37 VERSION_CODENAME=3D"" PLATFORM_ID=3D"platform:f37" PRETTY_NAME=3D"Fedora Linux 37 (Workstation Edition)" ANSI_COLOR=3D"0;38;2;60;110;180" LOGO=3Dfedora-logo-icon CPE_NAME=3D"cpe:/o:fedoraproject:fedora:37" DEFAULT_HOSTNAME=3D"fedora" HOME_URL=3D"https://fedoraproject.org/" DOCUMENTATION_URL=3D"https://docs.fedoraproject.org/en-US/fedora/f37/system= -administrators-guide/" SUPPORT_URL=3D"https://ask.fedoraproject.org/" BUG_REPORT_URL=3D"https://bugzilla.redhat.com/" REDHAT_BUGZILLA_PRODUCT=3D"Fedora" REDHAT_BUGZILLA_PRODUCT_VERSION=3D37 REDHAT_SUPPORT_PRODUCT=3D"Fedora" REDHAT_SUPPORT_PRODUCT_VERSION=3D37 VARIANT=3D"Workstation Edition" VARIANT_ID=3Dworkstation [user@fedora Downloads]$ sudo time rpm -i 7m01b0308z5y2pmyn8ywzdj914dxawsl-= gmsh-rpm-pack.rpm 17.26user 10.19system 0:42.31elapsed 64%CPU (0avgtext+0avgdata 24468maxresi= dent)k 1481136inputs+2177344outputs (19major+6242minor)pagefaults 0swaps [user@fedora Downloads]$ rpm --version RPM version 4.18.0 --8<---------------cut here---------------end--------------->8--- Perhaps using guix time-machine to a commit where we had a RHEL 7 era rpm version (4.11 according to [0]) would be faster than installing Centos 7 in a VM... :-) except, hm, no, that's way too old. The oldest we've got is: e3e1ecf67c0 (Ludovic Court=C3=A8s 2015-10-26 290) (version "4.12.0") from 2015... I don't think I'll be looking at fixing this use case; hopefully they can retire their CentOS 7 soon (EOL: June 30th 2024) and use something newer. I'm tempted to close this as 'wontfix'. What do you think? [0] https://rpmfind.net/linux/rpm2html/search.php?query=3Drpm&submit=3DSea= rch+... --=20 Thanks, Maxim