(address . guix-patches@gnu.org)
Hello,
I found that BitBucket redirects to the login page:
Toggle snippet (18 lines)
$ ./pre-inst-env guix build --no-substitutes java-snakeyaml
[...]
Starting download of /gnu/store/j4isfqwkfx1c8nhr3jry0rkdq8r39ckc-java-snakeyaml-1.18.tar.gz
From https://bitbucket.org/asomov/snakeyaml/get/v1.18.tar.gz...
following redirection to `https://bitbucket.org/account/signin/?next=/asomov/snakeyaml/get/v1.18.tar.gz'...
following redirection to `https://id.atlassian.com/login?application=bitbucket&continue=https%3A%2F%2Fbitbucket.org%2Faccount%2Fsignin%2F%3FredirectCount%3D1%26next%3D%252Fasomov%252Fsnakeyaml%252Fget%252Fv1.18.tar.gz'...
downloading from https://bitbucket.org/asomov/snakeyaml/get/v1.18.tar.gz ...
sha256 hash mismatch for /gnu/store/j4isfqwkfx1c8nhr3jry0rkdq8r39ckc-java-snakeyaml-1.18.tar.gz:
expected hash: 0474cqcv46zgv9bhms2vgawakq1vyj0hp3h3f1bfys46msia90bh
actual hash: 11x0dw0l9a7kj55qzr8hzc0fzh44xwwpcjarik10wxyg446wra1j
hash mismatch for store item '/gnu/store/j4isfqwkfx1c8nhr3jry0rkdq8r39ckc-java-snakeyaml-1.18.tar.gz'
build of /gnu/store/f5h57jakhnray2iivbviih8hhyr8far8-java-snakeyaml-1.18.tar.gz.drv failed
View build log at '/var/log/guix/drvs/f5/h57jakhnray2iivbviih8hhyr8far8-java-snakeyaml-1.18.tar.gz.drv.bz2'.
cannot build derivation `/gnu/store/da59l9m79qxqqlhp7z9r7yvh4ysdvgpg-java-snakeyaml-1.18.drv': 1 dependencies couldn't be built
guix build: error: build of `/gnu/store/da59l9m79qxqqlhp7z9r7yvh4ysdvgpg-java-snakeyaml-1.18.drv' failed
So I replaced the BitBucket URI with GitHub mirror URI.
'guix lint' complains about the lack of upstream releases because
there's no git tags for each release. It's really unfortunate situation
but that's how the project's upstream is organized. :-/
Thanks,
- Artyom
From 40b56fbd66226f891e36a5114993660676065b36 Mon Sep 17 00:00:00 2001
From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
Date: Sun, 9 Jan 2022 23:20:35 +0300
Subject: [PATCH] gnu: java-snakeyaml: Fix the source URI
* gnu/packages/java.scm (java-snakeyaml): Use the GitHub mirror instead of
BitBucket repository as BitBucket redirects to the login page.
---
gnu/packages/java.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Toggle diff (15 lines)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index e54d2ed0cb..b091ca8874 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -9917,7 +9917,7 @@ of deserialization.")
(version "1.18")
(source (origin
(method url-fetch)
- (uri (string-append "https://bitbucket.org/asomov/snakeyaml/get/v"
+ (uri (string-append "https://github.com/snakeyaml/snakeyaml"
version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
--
2.25.1
--
Artyom "avp" Poptsov <poptsov.artyom@gmail.com>
Home page: https://memory-heap.org/~avp/
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE B57C E9C5 A2D9 0898 A02F
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCgAdFiEE0MLqwTMQgi2Y3rV86cWi2QiYoC8FAmHbSzEACgkQ6cWi2QiY
oC+i5Qf/TNDmJ5nLzCqZTWqG3sw+X7mcpEX3tiwhiuIeBqIbVbP1y0+DFTpqVVcO
d40hLQvTYWjlwohiaK/1JSouUxutEjCyt7mRLcFicPmTG9G9n6DMF21vOsZ0ykOk
31o848VHsaiUNZlJHQmloJGQXyCSrcTOW1d4OFGZ+Q88FrWkqYgMnlsLgjel8IAW
eAvtdgK0WHfqlPyw61C0QGsP9H9hYuvtZFPDlgo3eBdgK2dlc9oNaF+6duKvK7wG
FtdmFsI4apkM+jKA3IFyzNAECcBdq0rEi3qsvtg88OU22BJFVzp90F9wVnJabJ/2
wG6WM2nCGXEM1wi01j8YxMzSfc9X8Q==
=urpA
-----END PGP SIGNATURE-----