Subject: Re: bug#41660: texlive-csquotes source hash mismatch
From: Marius Bakke <[email-masked]>
To: Ludovic Courtès <[email-masked]>, [email-masked]
Date: Tue, 02 Jun 2020 20:44:10 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Ludovic Courtès <[email-masked]> writes:

> I’m observing a hash mismatch there:
>
> --8<---------------cut here---------------start------------->8---
> $ guix build texlive-csquotes
> substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
> La jenaj derivoj estos konstruataj:
>    /gnu/store/qr283hriqpv4w0nw5l5khf5xpsg00858-texlive-csquotes-51265.drv
>    /gnu/store/cpiwf24vyk0691wk6k0dlkq6jz61h89v-texlive-csquotes-51265-checkout.drv
> building /gnu/store/cpiwf24vyk0691wk6k0dlkq6jz61h89v-texlive-csquotes-51265-checkout.drv...
> guile: warning: failed to install locale
> svn: warning: cannot set LC_CTYPE locale
> svn: warning: environment variable LC_ALL is en_US.utf8
> svn: warning: please check that your locale name is correct
> A    /gnu/store/fkxwlwrydq2hzrp37qh42ash4zi6pbq6-texlive-csquotes-51265-checkout/doc/latex/csquotes
> A    /gnu/store/fkxwlwrydq2hzrp37qh42ash4zi6pbq6-texlive-csquotes-51265-checkout/doc/latex/csquotes/README.md
> A    /gnu/store/fkxwlwrydq2hzrp37qh42ash4zi6pbq6-texlive-csquotes-51265-checkout/doc/latex/csquotes/csquotes.pdf
> A    /gnu/store/fkxwlwrydq2hzrp37qh42ash4zi6pbq6-texlive-csquotes-51265-checkout/doc/latex/csquotes/csquotes.tex
> Exported revision 51265.
> svn: warning: cannot set LC_CTYPE locale
> svn: warning: environment variable LC_ALL is en_US.utf8
> svn: warning: please check that your locale name is correct
> A    /gnu/store/fkxwlwrydq2hzrp37qh42ash4zi6pbq6-texlive-csquotes-51265-checkout/tex/latex/csquotes
> A    /gnu/store/fkxwlwrydq2hzrp37qh42ash4zi6pbq6-texlive-csquotes-51265-checkout/tex/latex/csquotes/csq-compat.def
> A    /gnu/store/fkxwlwrydq2hzrp37qh42ash4zi6pbq6-texlive-csquotes-51265-checkout/tex/latex/csquotes/csquotes.cfg
> A    /gnu/store/fkxwlwrydq2hzrp37qh42ash4zi6pbq6-texlive-csquotes-51265-checkout/tex/latex/csquotes/csquotes.def
> A    /gnu/store/fkxwlwrydq2hzrp37qh42ash4zi6pbq6-texlive-csquotes-51265-checkout/tex/latex/csquotes/csquotes.sty
> Exported revision 51265.
> r:sha256 hash mismatch for /gnu/store/fkxwlwrydq2hzrp37qh42ash4zi6pbq6-texlive-csquotes-51265-checkout:
>   expected hash: 15hgn37zg433skn7ijqs1kl2z56fhy29cjxn01b5pjrnrkdar4i4
>   actual hash:   088gvi60d7sdl6fgg68fbz30fnpqc3yrpkx80sfw7vwgar3wm3av
> hash mismatch for store item '/gnu/store/fkxwlwrydq2hzrp37qh42ash4zi6pbq6-texlive-csquotes-51265-checkout'
> build of /gnu/store/cpiwf24vyk0691wk6k0dlkq6jz61h89v-texlive-csquotes-51265-checkout.drv failed
> View build log at '/var/log/guix/drvs/cp/iwf24vyk0691wk6k0dlkq6jz61h89v-texlive-csquotes-51265-checkout.drv.bz2'.
> cannot build derivation `/gnu/store/qr283hriqpv4w0nw5l5khf5xpsg00858-texlive-csquotes-51265.drv': 1 dependencies couldn't be built
> guix build: error: build of `/gnu/store/qr283hriqpv4w0nw5l5khf5xpsg00858-texlive-csquotes-51265.drv' failed
> $ guix describe
> Generacio 146	Jun 02 2020 00:38:54	(nuna)
>   guix e7da805
>     repository URL: https://git.savannah.gnu.org/git/guix.git
>     branch: master
>     commit: e7da8055892510fcb5cf4b51479a0897e18a205e
> --8<---------------cut here---------------end--------------->8---
>
> There’s no substitute on berlin, so perhaps the hash has always been
> “wrong”.

This is because it was added (on 'master') after the big TeX Live update
in 85892948bd9fb5fcc3409a60204cc8b14a4eb030 (on 'core-updates'), thus
the hash was never adjusted for the new TeX revision.

Fixed in 37465b5be0324d9c953408fe88e2509ad0891712, thanks!