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

From: Björn Höfling <[email-masked]>
Date: Sat, 19 Jan 2019 07:04:37 +0100

Hi Ludo,

On Wed, 09 Jan 2019 14:38:40 +0100
Ludovic Courtès <[email-masked]> wrote:

> Could you paste the backtrace you got?

I'm sorry, it is always good to really look at the details of the stack
trace and not only recognize there is one... :-)

Guix is first checking the CANs, but then obviously failing with a
DNS-lookup for the SWH. 

So, this one is working properly, keeping ticket closed.

Björn

$ guix build -S guile-bash
ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
The following derivation will be built:
   /gnu/store/7w2xsqy12lyfshgpz61z8cg3s5zjsscs-guile-bash-0.1.6-0.1eabc56-checkout.drv
building /gnu/store/7w2xsqy12lyfshgpz61z8cg3s5zjsscs-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: unable to access 'https://anonscm.debian.org/cgit/users/kaction-guest/retired/dev.guile-bash.git/': Could not resolve host: anonscm.debian.org
Failed to do a shallow fetch; retrying a full fetch...
fatal: unable to access 'https://anonscm.debian.org/cgit/users/kaction-guest/retired/dev.guile-bash.git/': Could not resolve host: anonscm.debian.org
git-fetch: '/gnu/store/26s82xpawy0z13lfhkd7iprr2ahcbl5f-git-minimal-2.20.1/bin/git fetch origin' failed with exit code 128
Trying content-addressed mirror at mirror.hydra.gnu.org...
Trying content-addressed mirror at berlin.guixsd.org...
Trying content-addressed mirror at mirror.hydra.gnu.org...
Trying content-addressed mirror at berlin.guixsd.org...
Backtrace:
           5 (primitive-load "/gnu/store/b29qhm9vjrd3kvyip2jb7s34jkp?")
In ./guix/swh.scm:
   540:13  4 (swh-download "https://anonscm.debian.org/cgit/users/k?" ?)
   197:17  3 (call "https://archive.softwareheritage.org/api/1/revi?" ?)
In web/client.scm:
    437:0  2 (http-get "https://archive.softwareheritage.org/api/1/?" ?)
    181:7  1 (open-socket-for-uri _)
In unknown file:
           0 (getaddrinfo "archive.softwareheritage.org" "https" 0 # ?)

ERROR: In procedure getaddrinfo:
In procedure getaddrinfo: System error
builder for `/gnu/store/7w2xsqy12lyfshgpz61z8cg3s5zjsscs-guile-bash-0.1.6-0.1eabc56-checkout.drv' failed with exit code 1
build of /gnu/store/7w2xsqy12lyfshgpz61z8cg3s5zjsscs-guile-bash-0.1.6-0.1eabc56-checkout.drv failed
View build log at '/var/log/guix/drvs/7w/2xsqy12lyfshgpz61z8cg3s5zjsscs-guile-bash-0.1.6-0.1eabc56-checkout.drv.bz2'.
guix build: error: build failed: build of `/gnu/store/7w2xsqy12lyfshgpz61z8cg3s5zjsscs-guile-bash-0.1.6-0.1eabc56-checkout.drv' failed

Here the