GNU bug report logs - #33261
[substitute-urls] Fails when given only "berlin.guixsd.org"

Previous Next

Package: guix;

Reported by: swedebugia <swedebugia <at> riseup.net>

Date: Sun, 4 Nov 2018 23:43:02 UTC

Severity: normal

Tags: notabug

Done: Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Björn Höfling
 <bjoern.hoefling <at> bjoernhoefling.de>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#33261: closed ([substitute-urls] Fails when given only
 "berlin.guixsd.org")
Date: Mon, 05 Nov 2018 18:14:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 5 Nov 2018 19:13:22 +0100
with message-id <20181105191322.64a47ea0 <at> alma-ubu>
and subject line Re: bug#33261: [substitute-urls] Fails when given only "berlin.guixsd.org"
has caused the debbugs.gnu.org bug report #33261,
regarding [substitute-urls] Fails when given only "berlin.guixsd.org"
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
33261: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=33261
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: swedebugia <swedebugia <at> riseup.net>
To: bug-guix <at> gnu.org
Subject: [substitute-urls] Fails when given only "berlin.guixsd.org"
Date: Mon, 5 Nov 2018 00:41:46 +0100
$ guix package -i hello --substitute-urls=berlin.guixsd.org
substitute: guix substitute: error: berlin.guixsd.org: invalid URI
guix package: error: build failed: substituter `substitute' died 
unexpectedly

Adding "http://" works:

$ guix package -i wget --substitute-urls=http://berlin.guixsd.org --dry-run
The following package would be upgraded:
   wget    1.19.5 → 1.19.5 
/gnu/store/7jd4nbdamp5bjvvi9acnk4nkk2dzyi71-wget-1.19.5

substitute: updating substitutes from 'http://berlin.guixsd.org'... 100.0%
The following derivations would be built:
   /gnu/store/y6yg5dsfam30v8d7f77bafysqjnbdhgj-profile.drv
   /gnu/store/qdgr96gw7jil08wqhp897mf8qzhhv32b-info-dir.drv
   /gnu/store/66apflyp7b41blxl7s6pv56kq5mfb8h4-fonts-dir.drv
/gnu/store/1d0njpsg6ch60hh5zdkg2lf173kqv32f-ca-certificate-bundle.drv
   /gnu/store/jba4idqg0q0rq0pvdal8scjf9176xx8z-manual-database.drv

$ which guix
/home/sdb/.config/guix/current/bin/guix

$ guix --version
guix (GNU Guix) 1f44934fb6e2cefccbecd4fa347025349fa9ff76

-- 
Cheers
Swedebugia



[Message part 3 (message/rfc822, inline)]
From: Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>
To: swedebugia <swedebugia <at> riseup.net>
Cc: 33261-done <at> debbugs.gnu.org
Subject: Re: bug#33261: [substitute-urls] Fails when given only
 "berlin.guixsd.org"
Date: Mon, 5 Nov 2018 19:13:22 +0100
[Message part 4 (text/plain, inline)]
On Mon, 5 Nov 2018 00:41:46 +0100
swedebugia <swedebugia <at> riseup.net> wrote:

> $ guix package -i hello --substitute-urls=berlin.guixsd.org
> substitute: guix substitute: error: berlin.guixsd.org: invalid URI
> guix package: error: build failed: substituter `substitute' died 
> unexpectedly
> 
> Adding "http://" works:

Hi swedebugia,

I would not consider this a bug: It clearly says that it is not a
proper URI. Also in the documentation all URLs/URIs are written in the
form of 

PROTOCOL://SERVER/PATH.

Closing this one,

Björn
[Message part 5 (application/pgp-signature, inline)]

This bug report was last modified 6 years and 281 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.