Ubuntu 22.04 + GNU Guix, guile-gnutls-3.7.11: dependencies couldn't be built

  • Done
  • quality assurance status badge
Details
3 participants
  • Josselin Poiret
  • Maxim Cournoyer
  • Artyom V. Poptsov
Owner
unassigned
Submitted by
Artyom V. Poptsov
Severity
normal

Debbugs page

Artyom V. Poptsov wrote 2 years ago
(address . bug-guix@gnu.org)
87wn25dpsb.fsf@gmail.com
Hello,

I'm running GNU Guix on Ubuntu 22.04.2 GNU/Linux, and in the recent
twenty days or so I started seeing the following error:

Toggle snippet (57 lines)
$ guix pull
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Authenticating channel 'guix', commits 9edb3f6 to 040d35f (20 new commits)...
Building from this channel:
guix https://git.savannah.gnu.org/git/guix.git 040d35f
substitute: updating substitutes from 'http://ci.guix.ygg.trop.in'... 100.0%
building /gnu/store/n959m8mz62bpl7xn2dyr76a5p797m95x-compute-guix-derivation.drv...
substitute: updating substitutes from 'http://ci.guix.ygg.trop.in'... 100.0%
substitute: updating substitutes from 'http://ci.guix.ygg.trop.in'... 100.0%
substitute: updating substitutes from 'http://ci.guix.ygg.trop.in'... 100.0%
substitute: updating substitutes from 'http://ci.guix.ygg.trop.in'... 100.0%
substitute: updating substitutes from 'http://ci.guix.ygg.trop.in'... 100.0%
substitute: updating substitutes from 'http://ci.guix.ygg.trop.in'... 100.0%
substitute: updating substitutes from 'http://ci.guix.ygg.trop.in'... 100.0%
substitute: updating substitutes from 'http://ci.guix.ygg.trop.in'... 100.0%
substitute: updating substitutes from 'http://ci.guix.ygg.trop.in'... 100.0%
substitute: updating substitutes from 'http://ci.guix.ygg.trop.in'... 100.0%
substitute: updating substitutes from 'http://ci.guix.ygg.trop.in'... 100.0%
building /gnu/store/4bpha4cd61hy2q6rgldqhwkyb02zrkwj-guile-gnutls-3.7.11-checkout.drv...
substitute: updating substitutes from 'http://ci.guix.ygg.trop.in'... 100.0%
|builder for `/gnu/store/4bpha4cd61hy2q6rgldqhwkyb02zrkwj-guile-gnutls-3.7.11-checkout.drv' failed to produce output path `/gnu/store/dpbxqzqmbhfy7jc2a9dyfi28fdvi04sd-guile-gnutls-3.7.11-checkout'
build of /gnu/store/4bpha4cd61hy2q6rgldqhwkyb02zrkwj-guile-gnutls-3.7.11-checkout.drv failed
View build log at '/var/log/guix/drvs/4b/pha4cd61hy2q6rgldqhwkyb02zrkwj-guile-gnutls-3.7.11-checkout.drv.gz'.
cannot build derivation `/gnu/store/225szzx9xq6hzfsrf48g01xsg8fp25rx-guile-gnutls-3.7.11-checkout.drv': 1 dependencies couldn't be built
Backtrace:
14 (primitive-load "/gnu/store/1x786lg3kb5m6d0l5np02sbsczv86lp2-compute-guix-derivation")
In ice-9/eval.scm:
155:9 13 (_ _)
159:9 12 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#<directory (guile-u?> ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
In ice-9/boot-9.scm:
152:2 11 (with-fluid* _ _ _)
152:2 10 (with-fluid* _ _ _)
In ./guix/store.scm:
2168:24 9 (run-with-store #<store-connection 256.99 7f82d6b76140> #<procedure 7f82c2d1d280 at ./guix/self.scm:13?> ?)
1996:8 8 (_ #<store-connection 256.99 7f82d6b76140>)
In ./guix/gexp.scm:
299:22 7 (_ #<store-connection 256.99 7f82d6b76140>)
1180:2 6 (_ #<store-connection 256.99 7f82bbb00d70>)
1046:2 5 (_ #<store-connection 256.99 7f82bbb00d70>)
892:4 4 (_ #<store-connection 256.99 7f82bbb00d70>)
In ./guix/store.scm:
2053:12 3 (_ #<store-connection 256.99 7f82bbb00d70>)
1401:5 2 (map/accumulate-builds #<store-connection 256.99 7f82bbb00d70> #<procedure 7f82bc4450e0 at ./guix/stor?> ?)
1417:15 1 (_ #<store-connection 256.99 7f82bbb00d70> ("/gnu/store/qcjwkqv3gga9i8wdpfmg840sagvjik3n-guile-git-?" ?) ?)
1417:15 0 (loop #f)

./guix/store.scm:1417:15: In procedure loop:
ERROR:
1. &store-protocol-error:
message: "build of `/gnu/store/z2zc2ncipg4h6r3i3rnifq0s2dpgb1rj-guile-gnutls-3.7.11.drv' failed"
status: 1
guix pull: error: You found a bug: the program '/gnu/store/1x786lg3kb5m6d0l5np02sbsczv86lp2-compute-guix-derivation'
failed to compute the derivation for Guix (version: "040d35f088e0f1c856f3f5a9b6bf889b17bd68b3"; system: "x86_64-linux";
host version: "c9af27d4ca733b20f09019f1465d3e5fdc1ec724"; pull-version: 1).
Please report the COMPLETE output above by email to <bug-guix@gnu.org>.

Please find the build logs attached.
Here's the "guile-gnutls-3.7.11-checkout.drv.gz" file contents:

Toggle snippet (25 lines)
guile: warning: failed to install locale
environment variable `PATH' set to `/gnu/store/njrqz9il9q31xvlk6phwav0n2yqjb6gi-git-minimal-2.39.2/bin:/gnu/store/0c1yfbxyv877mlgychfgvmk5ha2jqh52-gzip-1.10/bin:/gnu/store/8z1q7vjxylm6l4ibsywd4h6m6jv6zqm4-tar-1.34/bin'
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /gnu/store/dpbxqzqmbhfy7jc2a9dyfi28fdvi04sd-guile-gnutls-3.7.11-checkout/.git/
fatal: unable to access 'https://gitlab.com/gnutls/guile/': The requested URL returned error: 403
Failed to do a shallow fetch; retrying a full fetch...
fatal: unable to access 'https://gitlab.com/gnutls/guile/': The requested URL returned error: 403
git-fetch: 'git fetch origin' failed with exit code 128
Trying content-addressed mirror at bordeaux.guix.gnu.org...
Trying content-addressed mirror at ci.guix.gnu.org...
Trying content-addressed mirror at bordeaux.guix.gnu.org...
Trying content-addressed mirror at ci.guix.gnu.org...
Trying to download from Software Heritage...
SWH: revision "v3.7.11" originating from https://gitlab.com/gnutls/guile/ could not be found

To my understanding it basically says that Guix cannot get
"guile-gnutls" from its official Git repository. I did a little
investigation here and tried "guix install nss-certs" to install TLS
certificates as I was told by a local Guix community and exported the
path to "ca-certificates.crt" in
"/etc/systemd/system/guix-daemon.service" but to no avail.

Toggle snippet (3 lines)
CURL_CA_BUNDLE="$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt"

Thanks,

- avp

--
Artyom "avp" Poptsov <poptsov.artyom@gmail.com>
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE B57C E9C5 A2D9 0898 A02F
-----BEGIN PGP SIGNATURE-----

iQFNBAEBCgA3FiEE0MLqwTMQgi2Y3rV86cWi2QiYoC8FAmRC3TQZHHBvcHRzb3Yu
YXJ0eW9tQGdtYWlsLmNvbQAKCRDpxaLZCJigL8fNCACxtEXUMu6jLUhivBh9ZQSx
a9xgeCBxjAgZ0a72FxGlAwegXDiSeIERHvDWZw8b2MqVJT+roFpM1wvP91bs2Y6y
10Oz2C7bJLC+BYaO4JAitPdppgX5MRPKMBJ0/Lj6qtLmu81MKwR9D0ze30UVDNA5
xV2vXVsMYRv9SdvRwa5Pdt/KdGFrdTj9J3p0iRb+0rP9e97rIm7YE7mme1yHol3N
hPj4h6KNUhzbQkZ0iGunDrUzpXsHzxPUKSlP+A+CKQ6e63xpasIXGJF1xCN41wR5
oguKKUbqigW7P40X5qqS7kU1rscrYE6XzsxsOs+EuSYEeMoCSqlmtOAgy9QJKxgw
=LAEx
-----END PGP SIGNATURE-----

Josselin Poiret wrote 2 years ago
87cz3wgrgg.fsf@jpoiret.xyz
Hi Artyom,

"Artyom V. Poptsov" <poptsov.artyom@gmail.com> writes:

Toggle quote (6 lines)
> Initialized empty Git repository in /gnu/store/dpbxqzqmbhfy7jc2a9dyfi28fdvi04sd-guile-gnutls-3.7.11-checkout/.git/
> fatal: unable to access 'https://gitlab.com/gnutls/guile/': The requested URL returned error: 403
> Failed to do a shallow fetch; retrying a full fetch...
> fatal: unable to access 'https://gitlab.com/gnutls/guile/': The requested URL returned error: 403
> git-fetch: 'git fetch origin' failed with exit code 128

It rather seems like you're just getting a 403 from gitlab, not that
you can't validate the TLS certificate. Can you access that url from a
browser? Are you using a proxy, but the Guix daemon is somehow not
using it?

Best,
--
Josselin Poiret
-----BEGIN PGP SIGNATURE-----

iQHEBAEBCAAuFiEEOSSM2EHGPMM23K8vUF5AuRYXGooFAmRDsgAQHGRldkBqcG9p
cmV0Lnh5egAKCRBQXkC5FhcaijK0C/43wSnvwJUu5rd/HhpVQ3luftU0hKole6xV
PPYDku5pJ5fEQYesUBYWbtsavNFZcfZcj2G7gZVtAKa8GBU4nDFGYRlfYNnmmEGt
/P0X6Tpw32AfhGLqvz6EGpayZyUAdokF2KJauRjbSFUPFvgDIwy0VbS6+8TcdhIZ
3pclYthCJYrtzPcAOjqqCIC1M6NOKjo7PuURmq84uaLE56Wtie+KOGD3GSHARFlY
BhKWsCP/7O0ye1y2jZS6+c6sz0k6hd2o+GaCW/0c97fwcYDrQcoNhXZs8av7UYE8
OE/Q6Xs0xa2C6uDsUL0GXoMwmMOutQ8HAQBVMrCjTisHsS3+KpEsswvsuXzNwdxk
0dRjmGdCpAHV68ZUW4+ClzIRCfdPTMmb7F51/m5zd6O0fBR/zpVCqbezhV6iLN87
/OrMak3C2a1BfPmgyWn/6sOdMSEp5DBHcIGIHwPZp3xWSs3AKwN21LYDPTS2LjqQ
42ThcIq2NESSK0+PCuvZuNUandgv/G0=
=tdp4
-----END PGP SIGNATURE-----

Maxim Cournoyer wrote 1 years ago
(name . Josselin Poiret)(address . dev@jpoiret.xyz)
871qav1wn6.fsf@gmail.com
Hi,

Josselin Poiret <dev@jpoiret.xyz> writes:

Toggle quote (15 lines)
> Hi Artyom,
>
> "Artyom V. Poptsov" <poptsov.artyom@gmail.com> writes:
>
>> Initialized empty Git repository in /gnu/store/dpbxqzqmbhfy7jc2a9dyfi28fdvi04sd-guile-gnutls-3.7.11-checkout/.git/
>> fatal: unable to access 'https://gitlab.com/gnutls/guile/': The requested URL returned error: 403
>> Failed to do a shallow fetch; retrying a full fetch...
>> fatal: unable to access 'https://gitlab.com/gnutls/guile/': The requested URL returned error: 403
>> git-fetch: 'git fetch origin' failed with exit code 128
>
> It rather seems like you're just getting a 403 from gitlab, not that
> you can't validate the TLS certificate. Can you access that url from a
> browser? Are you using a proxy, but the Guix daemon is somehow not
> using it?

Closing, with the assumption that this was a transient error outside of
the control of Guix.

--
Thanks,
Maxim
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 63002@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 63002
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help