From: Andrew Tropin <andrew@trop.in>
To: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>, 59959@debbugs.gnu.org
Subject: [bug#59959] [PATCH] gnu: freecad: Fix the package hash.
Date: Sun, 25 Dec 2022 13:11:57 +0400 [thread overview]
Message-ID: <87cz87sv8i.fsf@trop.in> (raw)
In-Reply-To: <87wn6yqy9l.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2421 bytes --]
On 2022-12-11 08:56, Artyom V. Poptsov wrote:
> Hello,
>
> it seems that the FreeCAD package hash is incorrect as when I try to
> build the package I get the following error:
>
> --8<---------------cut here---------------start------------->8---
> building /gnu/store/xfaipns1rr4l4zmkc5p4q0ikd0r6srz6-freecad-0.20.2-checkout.drv...
> \r:sha256 hash mismatch for /gnu/store/3lf0plqrf3rwcvd2vlkwaxcc997mivl0-freecad-0.20.2-checkout:
> expected hash: 02976k91ypv41rqdl27jbmyhnhgx7k5bj520lcqs8qzgcdsynd03
> actual hash: 0wsfz2jqfhmqshyr1n4qxcc3c6a96gyll4h34vn2zzvvcnncn9rb
> hash mismatch for store item '/gnu/store/3lf0plqrf3rwcvd2vlkwaxcc997mivl0-freecad-0.20.2-checkout'
> build of /gnu/store/xfaipns1rr4l4zmkc5p4q0ikd0r6srz6-freecad-0.20.2-checkout.drv failed
> View build log at '/var/log/guix/drvs/xf/aipns1rr4l4zmkc5p4q0ikd0r6srz6-freecad-0.20.2-checkout.drv.gz'.
> cannot build derivation `/gnu/store/nv4ij1q5106bjv6mpsr2bincifbvynad-freecad-0.20.2.drv': 1 dependencies couldn't be built
> guix upgrade: error: build of `/gnu/store/nv4ij1q5106bjv6mpsr2bincifbvynad-freecad-0.20.2.drv' failed
> --8<---------------cut here---------------end--------------->8---
>
> Here's a patch that fixes the hash.
> From 7916303b93a535cada4202c70d9f4a8fa6653f96 Mon Sep 17 00:00:00 2001
> From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
> Date: Sun, 11 Dec 2022 08:19:29 +0300
> Subject: [PATCH] gnu: freecad: Fix the package hash.
>
> * gnu/packages/engineering.scm (freecad): Fix the package hash.
> ---
> gnu/packages/engineering.scm | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
> index ee224ad173..3f99113d22 100644
> --- a/gnu/packages/engineering.scm
> +++ b/gnu/packages/engineering.scm
> @@ -2437,7 +2437,7 @@ (define-public freecad
> (commit version)))
> (file-name (git-file-name name version))
> (sha256
> - (base32 "02976k91ypv41rqdl27jbmyhnhgx7k5bj520lcqs8qzgcdsynd03"))))
> + (base32 "0wsfz2jqfhmqshyr1n4qxcc3c6a96gyll4h34vn2zzvvcnncn9rb"))))
> (build-system qt-build-system)
> (native-inputs
> (list doxygen
> --
> 2.34.1
>
>
> Thanks,
> - avp
Thank you for the patch, applied, pushed as 860e949896:
https://git.savannah.gnu.org/cgit/guix.git/commit/?id=860e949896
--
Best regards,
Andrew Tropin
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
prev parent reply other threads:[~2022-12-25 9:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-11 5:56 [bug#59959] [PATCH] gnu: freecad: Fix the package hash Artyom V. Poptsov
2022-12-25 9:11 ` Andrew Tropin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87cz87sv8i.fsf@trop.in \
--to=andrew@trop.in \
--cc=59959@debbugs.gnu.org \
--cc=poptsov.artyom@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.