From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: bug#21675: Guix environment is incredibly slow when using Python2 packages Date: Mon, 12 Oct 2015 23:31:02 +0200 Message-ID: <561C2696.6080800@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51969) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZlkhT-0001xD-PK for bug-guix@gnu.org; Mon, 12 Oct 2015 17:32:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZlkhO-0003RO-P7 for bug-guix@gnu.org; Mon, 12 Oct 2015 17:32:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:48599) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZlkhO-0003RJ-Ln for bug-guix@gnu.org; Mon, 12 Oct 2015 17:32:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZlkhO-0007Z5-GY for bug-guix@gnu.org; Mon, 12 Oct 2015 17:32:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: 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) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: 21675@debbugs.gnu.org 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.