guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

pypi URL 404


From: Jack Hill
Subject: pypi URL 404
Date: Fri, 10 May 2019 11:16:56 -0400 (EDT)
User-agent: Alpine 2.20 (DEB 67 2015-01-07)

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]