Subject: bug#33861: Problem building sources for guile-bash

From: Amar Singh <[email-masked]>
Date: Mon, 24 Dec 2018 23:30:14 +0530

-*- Org -*-
* Error building sources for 'guile-*' using guix build --source `guix package -I guile- | cut -f1`
> fatal: repository 'https://anonscm.debian.org/cgit/users/kaction-guest/retired/dev.guile-bash.git/' not found
> Failed to do a shallow fetch; retrying a full fetch...
> fatal: repository 'https://anonscm.debian.org/cgit/users/kaction-guest/retired/dev.guile-bash.git/' not found

Looks like there is an extra "/" at the end of the urls

* $ guix describe
Generation 11	Dec 23 2018 20:05:13	(current)
  guix fc1f3f2
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: fc1f3f254785823be3eaca7fb4be262deace6cbf

* $ guix build --source `guix package -I guile- | cut -f1`
The following derivations will be built:
   /gnu/store/s3vk3i1f78b02rsgcn581r1h1bmr9z1q-guile-present-0.3.0.tar.gz.drv
   /gnu/store/9gv4lzw1phabwxhnim0hlbky303r3mik-guile-bash-0.1.6-0.1eabc56-checkout.drv
   /gnu/store/5a8dn66k8n129wl7f4kxqfi3wjach087-guile-config-0.3-checkout.drv
   /gnu/store/f37rv764hxszj4msgkcp1x26hy1wxfig-guile-daemon-0.1.2.tar.gz.drv
   /gnu/store/wzgpxis9s7d901nq1pmwsi983waclbal-guile-xosd-0.2.1.tar.gz.drv
   /gnu/store/sa924d0ldhqqi5v0n6z7whazd93lb0k6-guile-charting-0.2.0.tar.gz.drv
   /gnu/store/lhga3hanal2vissf2njrmyjwnnj3r3i8-guile-hall-0.1.1-checkout.drv
   /gnu/store/pq2fy79a06n49h45sys410rgfq6cdmj2-guile-present-0.3.0.tar.xz.drv
building /gnu/store/9gv4lzw1phabwxhnim0hlbky303r3mik-guile-bash-0.1.6-0.1eabc56-checkout.drv...
environment variable `PATH' set to `/gnu/store/q09sy224qnxrp982z4xfaxi19721mjx8-gzip-1.9/bin:/gnu/store/ipx79bfj2mrc8npj7s3qi3zri11jfhaw-tar-1.30/bin'
Initialized empty Git repository in /gnu/store/7p7mkiqv9ah6x0x20qzpas44sdf7jqkl-guile-bash-0.1.6-0.1eabc56-checkout/.git/
fatal: repository 'https://anonscm.debian.org/cgit/users/kaction-guest/retired/dev.guile-bash.git/' not found
Failed to do a shallow fetch; retrying a full fetch...
fatal: repository 'https://anonscm.debian.org/cgit/users/kaction-guest/retired/dev.guile-bash.git/' not found
Backtrace:
           3 (primitive-load "/gnu/store/b29qhm9vjrd3kvyip2jb7s34jkp?")
In ice-9/eval.scm:
   293:34  2 (_ #<directory (guile-user) 5cf140>)
In ./guix/build/git.scm:
    50:10  1 (git-fetch "https://anonscm.debian.org/cgit/users/kact?" ?)
In ./guix/build/utils.scm:
    616:6  0 (invoke _ . _)

./guix/build/utils.scm:616:6: In procedure invoke:
Throw to key `srfi-34' with args `(#<condition &invoke-error [program: "/gnu/store/26s82xpawy0z13lfhkd7iprr2ahcbl5f-git-minimal-2.20.1/bin/git" arguments: ("fetch" "origin") exit-status: 128 term-signal: #f stop-signal: #f] 5f6640>)'.
builder for `/gnu/store/9gv4lzw1phabwxhnim0hlbky303r3mik-guile-bash-0.1.6-0.1eabc56-checkout.drv' failed with exit code 1
build of /gnu/store/9gv4lzw1phabwxhnim0hlbky303r3mik-guile-bash-0.1.6-0.1eabc56-checkout.drv failed
View build log at '/var/log/guix/drvs/9g/v4lzw1phabwxhnim0hlbky303r3mik-guile-bash-0.1.6-0.1eabc56-checkout.drv.bz2'.
guix build: error: build failed: build of `/gnu/store/9gv4lzw1phabwxhnim0hlbky303r3mik-guile-bash-0.1.6-0.1eabc56-checkout.drv' failed