From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jack Hill Subject: pypi URL 404 Date: Fri, 10 May 2019 11:16:56 -0400 (EDT) Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="925712948-1481753803-1557501349=:30127" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:55275) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hP7Gd-0005H6-DD for guix-devel@gnu.org; Fri, 10 May 2019 11:17:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hP7Gc-0005oD-83 for guix-devel@gnu.org; Fri, 10 May 2019 11:16:59 -0400 Received: from minsky.hcoop.net ([104.248.1.95]:57252) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hP7Gc-0005nb-48 for guix-devel@gnu.org; Fri, 10 May 2019 11:16:58 -0400 Received: from marsh.hcoop.net ([45.55.52.66]) by minsky.hcoop.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hP7Gb-000165-20 for guix-devel@gnu.org; Fri, 10 May 2019 11:16:57 -0400 Content-ID: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --925712948-1481753803-1557501349=:30127 Content-Type: text/plain; FORMAT=flowed; CHARSET=UTF-8 Content-Transfer-Encoding: 8BIT Content-ID: Hi Guix, I've created the following package definition using the pypi importer. However, when I try to build it with guix build -f … the build fails because it cannot download the source. The downloader gets redirected to a url that returns 404. However, the pypi importer was able download the source. Package definition produced by the importer: (define-module (ducktype) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system python)) (package (name "python-mallard-ducktype") (version "1.0.1") (source (origin (method url-fetch) (uri (pypi-uri "mallard-ducktype" version)) (sha256 (base32 "04mjj8apzm0cb4vk73vydgfiw8cyznfy3zrb99xs9d2k8x7cxc99")))) (build-system python-build-system) (home-page "") (synopsis "Parse Ducktype files and convert them to Mallard.") (description "Parse Ducktype files and convert them to Mallard.") (license license:expat)) guix build -f ducktype.scm output: substituting /gnu/store/wc83b7yhng8kd937y9z3nq5xlyibshiv-module-import-compiled... downloading from https://ci.guix.gnu.org/nar/gzip/wc83b7yhng8kd937y9z3nq5xlyibshiv-module-import-compiled... module-import-compiled 258KiB 4.8MiB/s 00:00 [##################] 100.0% building /gnu/store/6yn25vcf1kym9l22gfx404rd5grq0pm5-mallard-ducktype-1.0.1.tar.gz.drv... Starting download of /gnu/store/mmppbk4y3y38zabg295c89ifdxx7lfgs-mallard-ducktype-1.0.1.tar.gz >From https://pypi.org/packages/source/m/mallard-ducktype/mallard-ducktype-1.0.1.tar.gz... following redirection to `https://files.pythonhosted.org/packages/source/m/mallard-ducktype/mallard-ducktype-1.0.1.tar.gz'... download failed "https://files.pythonhosted.org/packages/source/m/mallard-ducktype/mallard-ducktype-1.0.1.tar.gz" 404 "Not Found" Starting download of /gnu/store/mmppbk4y3y38zabg295c89ifdxx7lfgs-mallard-ducktype-1.0.1.tar.gz >From https://mirror.hydra.gnu.org/file/mallard-ducktype-1.0.1.tar.gz/sha256/04mjj8apzm0cb4vk73vydgfiw8cyznfy3zrb99xs9d2k8x7cxc99... download failed "https://mirror.hydra.gnu.org/file/mallard-ducktype-1.0.1.tar.gz/sha256/04mjj8apzm0cb4vk73vydgfiw8cyznfy3zrb99xs9d2k8x7cxc99" 404 "Not Found" Starting download of /gnu/store/mmppbk4y3y38zabg295c89ifdxx7lfgs-mallard-ducktype-1.0.1.tar.gz >From https://berlin.guixsd.org/file/mallard-ducktype-1.0.1.tar.gz/sha256/04mjj8apzm0cb4vk73vydgfiw8cyznfy3zrb99xs9d2k8x7cxc99... download failed "https://berlin.guixsd.org/file/mallard-ducktype-1.0.1.tar.gz/sha256/04mjj8apzm0cb4vk73vydgfiw8cyznfy3zrb99xs9d2k8x7cxc99" 404 "Not Found" Starting download of /gnu/store/mmppbk4y3y38zabg295c89ifdxx7lfgs-mallard-ducktype-1.0.1.tar.gz >From https://tarballs.nixos.org/sha256/04mjj8apzm0cb4vk73vydgfiw8cyznfy3zrb99xs9d2k8x7cxc99... download failed "https://tarballs.nixos.org/sha256/04mjj8apzm0cb4vk73vydgfiw8cyznfy3zrb99xs9d2k8x7cxc99" 404 "Not Found" Starting download of /gnu/store/mmppbk4y3y38zabg295c89ifdxx7lfgs-mallard-ducktype-1.0.1.tar.gz >From https://archive.softwareheritage.org/api/1/content/sha256:29b1ce4e4753b4a47b4a2bffe19dfd9e211edd6b7e8f3337590cd47f1592b212/raw/... download failed "https://archive.softwareheritage.org/api/1/content/sha256:29b1ce4e4753b4a47b4a2bffe19dfd9e211edd6b7e8f3337590cd47f1592b212/raw/" 404 "Not Found" failed to download "/gnu/store/mmppbk4y3y38zabg295c89ifdxx7lfgs-mallard-ducktype-1.0.1.tar.gz" from "https://pypi.org/packages/source/m/mallard-ducktype/mallard-ducktype-1.0.1.tar.gz" builder for `/gnu/store/6yn25vcf1kym9l22gfx404rd5grq0pm5-mallard-ducktype-1.0.1.tar.gz.drv' failed to produce output path `/gnu/store/mmppbk4y3y38zabg295c89ifdxx7lfgs-mallard-ducktype-1.0.1.tar.gz' build of /gnu/store/6yn25vcf1kym9l22gfx404rd5grq0pm5-mallard-ducktype-1.0.1.tar.gz.drv failed View build log at '/var/log/guix/drvs/6y/n25vcf1kym9l22gfx404rd5grq0pm5-mallard-ducktype-1.0.1.tar.gz.drv.bz2'. cannot build derivation `/gnu/store/84i5773gkrmkbynzm51nn655iy9j2n67-python-mallard-ducktype-1.0.1.drv': 1 dependencies couldn't be built guix build: error: build of `/gnu/store/84i5773gkrmkbynzm51nn655iy9j2n67-python-mallard-ducktype-1.0.1.drv' failed Best, Jack --925712948-1481753803-1557501349=:30127--