all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jack Hill <jackhill@jackhill.us>
To: guix-devel@gnu.org
Subject: pypi URL 404
Date: Fri, 10 May 2019 11:16:56 -0400 (EDT)	[thread overview]
Message-ID: <alpine.DEB.2.20.1905101107400.30127@marsh.hcoop.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 4272 bytes --]

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	other threads:[~2019-05-10 15:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-10 15:16 Jack Hill [this message]
2019-05-10 18:11 ` pypi URL 404 Marius Bakke
2019-05-10 18:55   ` Jack Hill

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.20.1905101107400.30127@marsh.hcoop.net \
    --to=jackhill@jackhill.us \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.