From unknown Mon Aug 11 19:02:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21675: Guix environment is incredibly slow when using Python2 packages Resent-From: Cyril Roelandt Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 12 Oct 2015 21:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 21675 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 21675@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.144468547529024 (code B ref -1); Mon, 12 Oct 2015 21:32:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Oct 2015 21:31:15 +0000 Received: from localhost ([127.0.0.1]:37570 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zlkgc-0007Y3-CY for submit@debbugs.gnu.org; Mon, 12 Oct 2015 17:31:15 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41632) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zlkga-0007Xv-HR for submit@debbugs.gnu.org; Mon, 12 Oct 2015 17:31:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZlkgZ-0003A3-B6 for submit@debbugs.gnu.org; Mon, 12 Oct 2015 17:31:12 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:60421) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZlkgZ-00039z-8h for submit@debbugs.gnu.org; Mon, 12 Oct 2015 17:31:11 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51638) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZlkgY-0001ux-Bp for bug-guix@gnu.org; Mon, 12 Oct 2015 17:31:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZlkgT-00038B-DG for bug-guix@gnu.org; Mon, 12 Oct 2015 17:31:10 -0400 Received: from mail-wi0-x22f.google.com ([2a00:1450:400c:c05::22f]:33742) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZlkgT-00037g-84 for bug-guix@gnu.org; Mon, 12 Oct 2015 17:31:05 -0400 Received: by wicge5 with SMTP id ge5so33003203wic.0 for ; Mon, 12 Oct 2015 14:31:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=to:from:subject:message-id:date:user-agent:mime-version :content-type:content-transfer-encoding; bh=vb1SCj0qAjMGJ2eQsxgARS0tTzwVvFZRKb7YVpCxvvE=; b=Eki/uZzK440m/uLxBBz3sYi3NRneiBWYiHMc6eq2M8Mg7f9oQrTBkIfU2cnYMfrnpM O1fWiCT+JmNKsrVkx6S77Wy3Etanobt4tWFRiI8NSu1TwuJiqxyHre3W1CTePHd5CCKF ypaFU8yRA1sWYwlqTmINmC9M75gJHPkiwDEJORUCQ0Ev27MvpRbPP+PM4TWeslb00+Ch uc9HySFoPqH4rb8GiHV9pNOca9S3P9m4VLWZJvxQRKhKSFziXfuOj3dtb95GHrhLGHbt ZK0ltMMnQSgQZQL9SMWJYm5hS5MCM5DRtokmW3oVUhde5VsfuwBuUmaHc/AHTpBSoDhr Ihzg== X-Received: by 10.180.108.199 with SMTP id hm7mr17438549wib.24.1444685464625; Mon, 12 Oct 2015 14:31:04 -0700 (PDT) Received: from [192.168.0.10] (tal33-3-82-233-82-24.fbx.proxad.net. [82.233.82.24]) by smtp.googlemail.com with ESMTPSA id ub7sm210627wib.17.2015.10.12.14.31.03 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 12 Oct 2015 14:31:03 -0700 (PDT) From: Cyril Roelandt Message-ID: <561C2696.6080800@gmail.com> Date: Mon, 12 Oct 2015 23:31:02 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Let's look at the following command, which behaves as expected: $ time guix environment --ad-hoc --pure python-pbr python-babel python-iso8601 python-debtcollector python-netaddr python-oslo.config python-oslo.i18n python-oslo.serialization python-oslo.utils python-prettytable python-requests python-six python-stevedore python-coverage python-discover python-fixtures python-keyring python-lxml python-mock python-oauthlib python-oslotest python-pycrypto python-requests-mock python-sphinx python-testrepository python-testresources python-testtools python-webob python-bandit python-setuptools python-pbr openssl python --exec="echo done" done real 0m5.043s user 0m4.672s sys 0m0.148s Its Python2 counterpart is incredibly slow: $ time guix environment --ad-hoc --pure python2-pbr python2-babel python2-iso8601 python2-debtcollector python2-netaddr python2-oslo.config python2-oslo.i18n python2-oslo.serialization python2-oslo.utils python2-prettytable python2-requests python2-six python2-stevedore python2-coverage python2-discover python2-fixtures python2-keyring python2-lxml python2-mock python2-oauthlib python2-oslotest python2-pycrypto python2-requests-mock python2-sphinx python2-testrepository python2-testresources python2-testtools python2-webob python2-bandit python2-setuptools python2-pbr openssl python-2 --exec="echo done" warning: failed to install locale: Invalid argument done real 9m16.557s user 9m7.868s sys 0m8.128s This makes "guix environment" unusable with Python 2. Cyril. From unknown Mon Aug 11 19:02:15 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Cyril Roelandt Subject: bug#21675: closed (Re: bug#21675: Guix environment is incredibly slow when using Python2 packages) Message-ID: References: <87twpv7nb8.fsf@gnu.org> <561C2696.6080800@gmail.com> X-Gnu-PR-Message: they-closed 21675 X-Gnu-PR-Package: guix Reply-To: 21675@debbugs.gnu.org Date: Mon, 12 Oct 2015 22:09:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1444687741-32395-1" This is a multi-part message in MIME format... ------------=_1444687741-32395-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #21675: Guix environment is incredibly slow when using Python2 packages which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 21675@debbugs.gnu.org. --=20 21675: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D21675 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1444687741-32395-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 21675-done) by debbugs.gnu.org; 12 Oct 2015 22:08:05 +0000 Received: from localhost ([127.0.0.1]:37585 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZllGH-0008PM-Hw for submit@debbugs.gnu.org; Mon, 12 Oct 2015 18:08:05 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52260) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZllGG-0008PF-3d for 21675-done@debbugs.gnu.org; Mon, 12 Oct 2015 18:08:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZllGA-00079l-Nl for 21675-done@debbugs.gnu.org; Mon, 12 Oct 2015 18:08:03 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49214) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZllGA-00079g-KS; Mon, 12 Oct 2015 18:07:58 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:47412 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ZllG9-000338-U7; Mon, 12 Oct 2015 18:07:58 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Cyril Roelandt Subject: Re: bug#21675: Guix environment is incredibly slow when using Python2 packages References: <561C2696.6080800@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 22 =?utf-8?Q?Vend=C3=A9miaire?= an 224 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x3D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Tue, 13 Oct 2015 00:07:55 +0200 In-Reply-To: <561C2696.6080800@gmail.com> (Cyril Roelandt's message of "Mon, 12 Oct 2015 23:31:02 +0200") Message-ID: <87twpv7nb8.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 21675-done Cc: 21675-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Fixed in commit b3e2a5a. Let me know if you encounter similar problems again. Thanks! Ludo=E2=80=99. ------------=_1444687741-32395-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 12 Oct 2015 21:31:15 +0000 Received: from localhost ([127.0.0.1]:37570 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zlkgc-0007Y3-CY for submit@debbugs.gnu.org; Mon, 12 Oct 2015 17:31:15 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41632) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zlkga-0007Xv-HR for submit@debbugs.gnu.org; Mon, 12 Oct 2015 17:31:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZlkgZ-0003A3-B6 for submit@debbugs.gnu.org; Mon, 12 Oct 2015 17:31:12 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:60421) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZlkgZ-00039z-8h for submit@debbugs.gnu.org; Mon, 12 Oct 2015 17:31:11 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51638) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZlkgY-0001ux-Bp for bug-guix@gnu.org; Mon, 12 Oct 2015 17:31:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZlkgT-00038B-DG for bug-guix@gnu.org; Mon, 12 Oct 2015 17:31:10 -0400 Received: from mail-wi0-x22f.google.com ([2a00:1450:400c:c05::22f]:33742) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZlkgT-00037g-84 for bug-guix@gnu.org; Mon, 12 Oct 2015 17:31:05 -0400 Received: by wicge5 with SMTP id ge5so33003203wic.0 for ; Mon, 12 Oct 2015 14:31:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=to:from:subject:message-id:date:user-agent:mime-version :content-type:content-transfer-encoding; bh=vb1SCj0qAjMGJ2eQsxgARS0tTzwVvFZRKb7YVpCxvvE=; b=Eki/uZzK440m/uLxBBz3sYi3NRneiBWYiHMc6eq2M8Mg7f9oQrTBkIfU2cnYMfrnpM O1fWiCT+JmNKsrVkx6S77Wy3Etanobt4tWFRiI8NSu1TwuJiqxyHre3W1CTePHd5CCKF ypaFU8yRA1sWYwlqTmINmC9M75gJHPkiwDEJORUCQ0Ev27MvpRbPP+PM4TWeslb00+Ch uc9HySFoPqH4rb8GiHV9pNOca9S3P9m4VLWZJvxQRKhKSFziXfuOj3dtb95GHrhLGHbt ZK0ltMMnQSgQZQL9SMWJYm5hS5MCM5DRtokmW3oVUhde5VsfuwBuUmaHc/AHTpBSoDhr Ihzg== X-Received: by 10.180.108.199 with SMTP id hm7mr17438549wib.24.1444685464625; Mon, 12 Oct 2015 14:31:04 -0700 (PDT) Received: from [192.168.0.10] (tal33-3-82-233-82-24.fbx.proxad.net. [82.233.82.24]) by smtp.googlemail.com with ESMTPSA id ub7sm210627wib.17.2015.10.12.14.31.03 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 12 Oct 2015 14:31:03 -0700 (PDT) To: bug-guix@gnu.org From: Cyril Roelandt Subject: Guix environment is incredibly slow when using Python2 packages Message-ID: <561C2696.6080800@gmail.com> Date: Mon, 12 Oct 2015 23:31:02 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Let's look at the following command, which behaves as expected: $ time guix environment --ad-hoc --pure python-pbr python-babel python-iso8601 python-debtcollector python-netaddr python-oslo.config python-oslo.i18n python-oslo.serialization python-oslo.utils python-prettytable python-requests python-six python-stevedore python-coverage python-discover python-fixtures python-keyring python-lxml python-mock python-oauthlib python-oslotest python-pycrypto python-requests-mock python-sphinx python-testrepository python-testresources python-testtools python-webob python-bandit python-setuptools python-pbr openssl python --exec="echo done" done real 0m5.043s user 0m4.672s sys 0m0.148s Its Python2 counterpart is incredibly slow: $ time guix environment --ad-hoc --pure python2-pbr python2-babel python2-iso8601 python2-debtcollector python2-netaddr python2-oslo.config python2-oslo.i18n python2-oslo.serialization python2-oslo.utils python2-prettytable python2-requests python2-six python2-stevedore python2-coverage python2-discover python2-fixtures python2-keyring python2-lxml python2-mock python2-oauthlib python2-oslotest python2-pycrypto python2-requests-mock python2-sphinx python2-testrepository python2-testresources python2-testtools python2-webob python2-bandit python2-setuptools python2-pbr openssl python-2 --exec="echo done" warning: failed to install locale: Invalid argument done real 9m16.557s user 9m7.868s sys 0m8.128s This makes "guix environment" unusable with Python 2. Cyril. ------------=_1444687741-32395-1--