GNU bug report logs -
#49820
[PATCH] gnu: texlive-bin: Add patch files to repo.
Previous Next
Reported by: Martin Becze <mjbecze <at> riseup.net>
Date: Mon, 2 Aug 2021 09:38:02 UTC
Severity: normal
Tags: patch
Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #16 received at 49820-done <at> debbugs.gnu.org (full text, mbox):
Hi Simon,
zimoun <zimon.toutoune <at> gmail.com> writes:
> Hi,
>
> On Tue, 03 Aug 2021 at 14:56, Maxim Cournoyer <maxim.cournoyer <at> gmail.com> wrote:
>> Martin Becze <mjbecze <at> riseup.net> writes:
>>
>>> This adds two patch files that used to be hosted by the arch linux community
>>> but was recently moved.
>>>
>>> * gnu/packages/patches/texlive-poppler-0.84.patch: New file.
>>> * gnu/packages/patches/pdftex-poppler0.76.patch: New file.
>>> * gnu/packages/tex.scm (texlive-bin): Changed to use local patch files.
>
> [...]
>
>> I'm afraid this can't go to master as 'guix refresh -l texlive-bin' says
>> 5160 packages would need to be rebuilt. It's also not needed for
>> core-updates as it contains TeX Live 2021 which doesn't need these
>> patches anymore.
>
> Indeed, but sadly we overlooked at the issue raised by this patch; not
> the patch themselves, the move of Arch to another hosting system.
>
> The consequence is many time-machine are now broken, for instance:
>
> $ guix time-machine --commit=e77412362f -- help
>
> sha256 hash mismatch for /gnu/store/7c5jx9zbnh8nlapbxqv1wl8056lhhl2l-texlive-bin-pdftex-poppler0.75.patch:
> expected hash: 1cqpcp7h1qyxyp3wjbpcmx2wgvj9ywpz60hvy280mp9w633yzyg3
> actual hash: 0ribvsg4bka1cyj1wz4cd6vrxkvhqvlmjr75d7fdz5pw9r3rlgk8
> hash mismatch for store item '/gnu/store/7c5jx9zbnh8nlapbxqv1wl8056lhhl2l-texlive-bin-pdftex-poppler0.75.patch'
>
>
> because this kind of snippet:
>
> (let ((arch-patch
> (lambda (name revision hash)
> (origin
> (method url-fetch)
> (uri (string-append "https://git.archlinux.org/svntogit/packages.git"
> "/plain/trunk/" name "?h=packages/texlive-bin"
> "&id=" revision))
> (file-name (string-append "texlive-bin-" name))
> (sha256 (base32 hash)))))
> (arch-revision "418dd6f008c3d41a461353fdb60f2d73d87c58ed"))
> (append (search-patches "texlive-bin-CVE-2018-17407.patch"
> "texlive-bin-luatex-poppler-compat.patch")
> (list
> (arch-patch "pdftex-poppler0.75.patch" arch-revision
> "1cqpcp7h1qyxyp3wjbpcmx2wgvj9ywpz60hvy280mp9w633yzyg3")
>
> Another story!
>
>
> Well, I think this patch proposal for master can be closed. WDYT?
Yes!
Thanks for your efforts in tidying the house :-).
Closing for now.
Maxim
This bug report was last modified 3 years and 188 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.