Problem building sources for guile-bash

  • Done
  • quality assurance status badge
Details
5 participants
  • Björn Höfling
  • Efraim Flashner
  • Ludovic Courtès
  • Amar Singh
  • Ricardo Wurmus
Owner
unassigned
Submitted by
Amar Singh
Severity
normal
A
A
Amar Singh wrote on 24 Dec 2018 19:00
(address . bug-guix@gnu.org)
87wonyerf5.fsf@uf
-*- Org -*-
* Error building sources for 'guile-*' using guix build --source `guix package -I guile- | cut -f1`
Toggle quote (4 lines)
> 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
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/
Failed to do a shallow fetch; retrying a full fetch...
Backtrace:
3 (primitive-load "/gnu/store/b29qhm9vjrd3kvyip2jb7s34jkp?")
In ice-9/eval.scm:
293:34 2 (_ #<directory (guile-user) 5cf140>)
In ./guix/build/git.scm:
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
E
E
Efraim Flashner wrote on 24 Dec 2018 21:33
(name . Amar Singh)(address . nly@disroot.org)(address . 33861@debbugs.gnu.org)
20181224203315.GN2581@macbook41
On Mon, Dec 24, 2018 at 11:30:14PM +0530, Amar Singh wrote:
Toggle quote (48 lines)
> -*- 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
>

Looks like it's not the trailing slash, but the repo might be gone:

---
The alioth.debian.org service is discontinued. Its replacement is a GitLab instance at salsa.debian.org.

Migration documentation is available on the wiki, and an archive of VCS repositories can be found on alioth-archive.debian.org.

2018-05-31.
---


--
Efraim Flashner <efraim@flashner.co.il> ????? ?????
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAlwhQoYACgkQQarn3Mo9
g1HasQ//bGb8wfsEH2Rz3ACpGvdK68u+bACagaxxD80ne0g5SwHZuCCjTMKCRcww
2pL+zbyIwEHt+yUgrAewag36SRad0Pf54IpRqS0KW1S/J/9PhDK+NEXMzGSbSgkW
IiP3GkFsBfZoXrU4yCykQL3yc73B9dCd7lPHH6x/WW8/rTg2quDL0icomhb2DEf4
/9KHV2ibekmXVvBPsOdKWLcKvBKjYNWr+840RB8Y+1FgMQjW8vsMU9XFJguj/3bv
Li5yejZ0AsqssOcKqyU8fdiZUSFM9rY126kuxRFYJqYR6bzJd3i6hVsUlThwIJMT
PnrBdgmWF9YnGR2yqAUzHBMTpAllfTEW/421sIkrJCSP2rIAhQav5eD+YZSg8ZrF
uDAqg55bUVTW0+L7KtnKdY/0PzIYE5kvWiGfZaXoC6ksIHOt9JY2RY28xomJoGRH
h7de5PcFxzA6X9wVmrHH6mF9qVoPu+VT3iwbwaDCLsjKdmAIEx/opFTeDQ6y4QEi
KTfgqbQFA+Eag6y60LNBCVue2Ke5RB0CtLMDsv+AvR+ss17D+jo6y9koy0yTcEQn
/pAyXntxvJWHz8K9qWPzK90jwgpfnb0ZCBfKib6OsUSzECedQ2IyVwEwFFUz6+Dh
Ms4M6izlarPds/BGHAoOCilCFTm7kJgWmux/zbl04/WwhFrgC28=
=0+p+
-----END PGP SIGNATURE-----


R
R
Ricardo Wurmus wrote on 24 Dec 2018 22:35
(name . Amar Singh)(address . nly@disroot.org)(address . 33861@debbugs.gnu.org)
87lg4eip61.fsf@elephly.net
Hi Amar,

Toggle quote (7 lines)
> * 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

That’s fine. The problem here is that the repository is no longer
hosted there. (The URL returns 404.)

Do you happen to know where the repository might now be?

--
Ricardo
B
B
Björn Höfling wrote on 29 Dec 2018 19:27
(name . Ricardo Wurmus)(address . rekado@elephly.net)
20181229192735.1c58c8a1@alma-ubu
On Mon, 24 Dec 2018 22:35:18 +0100
Ricardo Wurmus <rekado@elephly.net> wrote:

Toggle quote (19 lines)
> Hi Amar,
>
> > * 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
>
> That’s fine. The problem here is that the repository is no longer
> hosted there. (The URL returns 404.)
>
> Do you happen to know where the repository might now be?
>

The software is unmaintained and this repository is gone since months.
It is available through Software Heritage Project (SWH) and there is a
reference in this thread (there are also some ideas for alternatives
in there):


Usually the git-download method should fall back to SWH, but due to the
404-error it throughs an exception and never gets to the fallback.

I opened a bug for this:


Still I wonder why you didn't get the sources: Guix substitute servers
also serve sources (when they build the package, they save the sources),
so if you want to build this on your own, you can still do that and
download the source from a substitute-server, at least hydra has it:

substituting /gnu/store/7p7mkiqv9ah6x0x20qzpas44sdf7jqkl-guile-bash-0.1.6-0.1eabc56-checkout...

Have you completely switched off substitutes? Or at least hydra?

Björn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlwnvJgACgkQvyhstlk+X/3g5wCcCJAtFFkOl+Iofzd+m95Yw7uo
pT4AnirYamn+ZO4ZvqS0tLNgYjGAkMbW
=i1wH
-----END PGP SIGNATURE-----


L
L
Ludovic Courtès wrote on 8 Jan 2019 18:39
(name . Björn Höfling)(address . bjoern.hoefling@bjoernhoefling.de)
87ftu3ujyv.fsf@gnu.org
Hello,

Björn Höfling <bjoern.hoefling@bjoernhoefling.de> skribis:

Toggle quote (7 lines)
> Usually the git-download method should fall back to SWH, but due to the
> 404-error it throughs an exception and never gets to the fallback.
>
> I opened a bug for this:
>
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=33911

This is now fixed so I guess we can close this bug too.

Thanks,
Ludo’.
Closed
B
B
Björn Höfling wrote on 8 Jan 2019 20:20
(name . Ludovic Courtès)(address . ludo@gnu.org)
20190108202029.7e31b548@alma-ubu
Hi Ludo,

first of all, thanks for fixing.

On Tue, 08 Jan 2019 18:39:52 +0100
Ludovic Courtès <ludo@gnu.org> wrote:

Toggle quote (14 lines)
> Hello,
>
> Björn Höfling <bjoern.hoefling@bjoernhoefling.de> skribis:
>
> > Usually the git-download method should fall back to SWH, but due to
> > the 404-error it throughs an exception and never gets to the
> > fallback.
> >
> > I opened a bug for this:
> >
> > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=33911
>
> This is now fixed so I guess we can close this bug too.

Sort of.

I tried it out: When we have a source-substitute on our server,
everything is fine.

But I tried it with network connection shut down (don't know where we
do not have substitutes and was too lazy to configure firewall): Then
it tries git, fails. It then tries our substitute server and fails. But
that failure is again a stacktrace, and it doesn't try the SWH fallback.

So, maybe it works if the substitute server returns "I don't have
something", but I don't know how to try that out (Ok, I could add a new
package). But when it has a network error, it doesn't get back to the
last fallback.

What do you think?

Björn
-----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQQiGUP0np8nb5SZM4K/KGy2WT5f/QUCXDT3/QAKCRC/KGy2WT5f
/fwSAJ0UxEgMEsxzF8D3xBOjgHzOOgJs9gCgltueklobIK0Xce+1ozlSMkSWttw=
=N1gA
-----END PGP SIGNATURE-----


Closed
L
L
Ludovic Courtès wrote on 9 Jan 2019 14:38
(name . Björn Höfling)(address . bjoern.hoefling@bjoernhoefling.de)
87imyy6jdr.fsf@gnu.org
Hello Björn,

Björn Höfling <bjoern.hoefling@bjoernhoefling.de> skribis:

Toggle quote (5 lines)
> But I tried it with network connection shut down (don't know where we
> do not have substitutes and was too lazy to configure firewall): Then
> it tries git, fails. It then tries our substitute server and fails. But
> that failure is again a stacktrace, and it doesn't try the SWH fallback.

Could you paste the backtrace you got?

Thanks for testing!
Ludo’.
Closed
B
B
Björn Höfling wrote on 19 Jan 2019 07:04
(name . Ludovic Courtès)(address . ludo@gnu.org)
20190119070437.36868d7f@alma-ubu
Hi Ludo,

On Wed, 09 Jan 2019 14:38:40 +0100
Ludovic Courtès <ludo@gnu.org> wrote:

Toggle quote (2 lines)
> 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:
In web/client.scm:
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
-----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQQiGUP0np8nb5SZM4K/KGy2WT5f/QUCXEK99QAKCRC/KGy2WT5f
/VrUAKCZ+rpRIrMzhicUqDCdpPK33tvLHACgglXvkH67YIQR6GjQRG043NKQrYw=
=aSzY
-----END PGP SIGNATURE-----


Closed
L
L
Ludovic Courtès wrote on 19 Jan 2019 11:21
(name . Björn Höfling)(address . bjoern.hoefling@bjoernhoefling.de)
87sgxpq75n.fsf@gnu.org
Hello,

Björn Höfling <bjoern.hoefling@bjoernhoefling.de> skribis:

Toggle quote (3 lines)
> $ 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.

Plus, warranty void if you fiddle with LD_PRELOAD or LD_LIBRARY_PATH.
:-)

Ludo’.
Closed
?