Subject: Fwd: Re: bug#32698: Package azr3-1.2.3 fails during install

From: Ricardo Wurmus <[email-masked]>
Date: Sun, 07 Oct 2018 23:40:00 +0200

[Resending because this email could not be delivered to debbugs.]

Ricardo Wurmus <[email-masked]> writes:

> Thorsten Wilms <[email-masked]> writes:
>
>> On 11.09.2018 15:40, Ricardo Wurmus wrote:
>>>
>>> Hi Thorsten,
>>>
>>>> //gnu/store/rxn9php37bgcvznjiq0mvvr6a4s8zayg-azr3-1.2.3/share/doc/azr3-jack
>>>> man_section=`echo azr3.1 | sed 's/.*\.\([0-9]\)/\1/'`; mkdir -p
>>>> //gnu/store/rxn9php37bgcvznjiq0mvvr6a4s8zayg-azr3-1.2.3/share/man/man$man_section;
>>>> gzip -c azr3.1 >
>>>> //gnu/store/rxn9php37bgcvznjiq0mvvr6a4s8zayg-azr3-1.2.3/share/man/man$man_section/`basename
>>>> azr3.1`.gz
>>>> gzip: azr3.1: warning: file timestamp out of range for gzip format
>>>
>>> We might be able to fix this with a build phase like this:
>>>
>>> --8<---------------cut here---------------start------------->8---
>>>    (add-before 'reset-gzip-timestamps 'make-manpages-writable
>>>      (lambda* (#:key outputs #:allow-other-keys)
>>>        (map make-file-writable
>>>             (find-files (string-append (assoc-ref outputs "out")
>>>                                        "/share/man")
>>>                         ".*\\.gz$"))
>>>        #t))
>>> --8<---------------cut here---------------end--------------->8---
>>>
>>> Would you like to give that a try?
>>
>> I got the exact same message as before, now with your snippet inserted
>> as follows, testing via
>> ./pre-inst-env guix build azr3:
>
> Ah, the error is about the input to gzip; this error happens during
> installation.  So all that’s needed is to update the timestamp of the
> man page source.
>
> This is now fixed with commit ef1f9acf4.

-- 
Ricardo