From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 19 10:33:02 2016 Received: (at submit) by debbugs.gnu.org; 19 Mar 2016 14:33:02 +0000 Received: from localhost ([127.0.0.1]:53796 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ahHw6-0004zb-JW for submit@debbugs.gnu.org; Sat, 19 Mar 2016 10:33:02 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37162) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ahHw4-0004z8-Ej for submit@debbugs.gnu.org; Sat, 19 Mar 2016 10:33:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ahHvy-0002la-7g for submit@debbugs.gnu.org; Sat, 19 Mar 2016 10:32:55 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:36626) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahHvy-0002lW-4Z for submit@debbugs.gnu.org; Sat, 19 Mar 2016 10:32:54 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56353) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahHvx-0003a4-1S for bug-guix@gnu.org; Sat, 19 Mar 2016 10:32:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ahHvt-0002h2-OI for bug-guix@gnu.org; Sat, 19 Mar 2016 10:32:52 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:35839) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahHvt-0002fe-IP for bug-guix@gnu.org; Sat, 19 Mar 2016 10:32:49 -0400 Received: from localhost (91.141.2.247.wireless.dyn.drei.com [91.141.2.247]) by dd1012.kasserver.com (Postfix) with ESMTPSA id 008781CA0551 for ; Sat, 19 Mar 2016 15:32:47 +0100 (CET) Date: Sat, 19 Mar 2016 15:32:43 +0100 From: Danny Milosavljevic To: bug-guix@gnu.org Subject: "guix package -i" sometimes can't use what "guix import pypi" generated Message-ID: <20160319153243.550e9127@scratchpost.org> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.28; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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 (-----) I tried to create a package for uwsgi (in git guix) by $ guix import pypi uwsgi ...From https://pypi.python.org/packages/source/u/uWSGI/uwsgi-2.0.12.tar.gz= ... ... (package (name "python-uwsgi") (version "2.0.12") (source (origin (method url-fetch) (uri (pypi-uri "uWSGI" version)) (sha256 (base32 "02g46dnw5j1iw8fsq392bxbk8d21b9pdgb3ypcinv3b4jzdm2srh")))) (build-system python-build-system) (inputs `(("python-setuptools" ,python-setuptools))) (home-page "UNKNOWN") (synopsis "The uWSGI server") (description "The uWSGI server") (license #f)) Then I put that (and define-public python-uwsgi ...) into python.scm and did $ guix package -i python-uwsgi I get the following error message: Starting download of /gnu/store/d16s3cw2arg89pm7djh6xrdkf0dnckyy-uWSGI-2.0.= 12.tar.gz =46rom https://pypi.python.org/packages/source/u/uWSGI/uWSGI-2.0.12.tar.gz... ERROR: download failed "https://pypi.python.org/packages/source/u/uWSGI/uWS= GI-2.0.12.tar.gz" 404 "Not Found" failed to download "/gnu/store/d16s3cw2arg89pm7djh6xrdkf0dnckyy-uWSGI-2.0.1= 2.tar.gz" from "https://pypi.python.org/packages/source/u/uWSGI/uWSGI-2.0.1= 2.tar.gz" builder for `/gnu/store/d5jfk4l2yvxfd3pw0fndwx2bxjwg1gpl-uWSGI-2.0.12.tar.g= z.drv' failed to produce output path `/gnu/store/d16s3cw2arg89pm7djh6xrdkf0= dnckyy-uWSGI-2.0.12.tar.gz' cannot build derivation `/gnu/store/xqwnqx8yw63i864z0c3vd3vr9c8xcflr-python= -uwsgi-2.0.12.drv': 1 dependencies couldn't be built guix package: error: build failed: build of `/gnu/store/xqwnqx8yw63i864z0c3= vd3vr9c8xcflr-python-uwsgi-2.0.12.drv' failed (Note the wrong basename) guix/build-system/python.scm says: (define* (pypi-uri name version #:optional (extension ".tar.gz")) "Return a URI string for the Python package hosted on the Python Package Index (PyPI) corresponding to NAME and VERSION. EXTENSION is the file name extension, such as '.tar.gz'." (string-append "https://pypi.python.org/packages/source/" (string-take name 1) "/" name "/" name "-" version extension)) So it's currently impossible for pypi-uri to work correctly in the uwsgi ca= se. From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 19 20:10:25 2016 Received: (at 23062-done) by debbugs.gnu.org; 20 Mar 2016 00:10:25 +0000 Received: from localhost ([127.0.0.1]:54023 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ahQwr-00085s-4v for submit@debbugs.gnu.org; Sat, 19 Mar 2016 20:10:25 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43113) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ahQwq-00085h-2P for 23062-done@debbugs.gnu.org; Sat, 19 Mar 2016 20:10:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ahQwh-0005p0-IP for 23062-done@debbugs.gnu.org; Sat, 19 Mar 2016 20:10:18 -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,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39534) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahQwh-0005ow-Ew; Sat, 19 Mar 2016 20:10:15 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:32838 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ahQwg-0006a2-Pe; Sat, 19 Mar 2016 20:10:15 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Danny Milosavljevic Subject: Re: bug#23062: "guix package -i" sometimes can't use what "guix import pypi" generated References: <20160319153243.550e9127@scratchpost.org> Date: Sun, 20 Mar 2016 01:10:11 +0100 In-Reply-To: <20160319153243.550e9127@scratchpost.org> (Danny Milosavljevic's message of "Sat, 19 Mar 2016 15:32:43 +0100") Message-ID: <87zituc8m4.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 23062-done Cc: 23062-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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 522773b70024272555aab0448fae8606add4c582. Thanks, Ludo'. From unknown Tue Aug 19 23:12:55 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 17 Apr 2016 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator