GNU bug report logs - #32698
Package azr3-1.2.3 fails during install

Previous Next

Package: guix;

Reported by: t_w_ <at> freenet.de

Date: Tue, 11 Sep 2018 10:35:01 UTC

Severity: normal

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 32698 in the body.
You can then email your comments to 32698 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#32698; Package guix. (Tue, 11 Sep 2018 10:35:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to t_w_ <at> freenet.de:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 11 Sep 2018 10:35:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Thorsten Wilms <t_w_ <at> freenet.de>
To: bug-guix <at> gnu.org
Subject: Package azr3-1.2.3 fails during install
Date: Tue, 11 Sep 2018 12:30:26 +0200
Hi, azr3-1.2.3 fails during install, printing:

...
phase `build' succeeded after 16.1 seconds
starting phase `check'
test suite not run
phase `check' succeeded after 0.0 seconds
starting phase `install'
mkdir -p //gnu/store/rxn9php37bgcvznjiq0mvvr6a4s8zayg-azr3-1.2.3/bin && 
cp azr3/azr3 //gnu/store/rxn9php37bgcvznjiq0mvvr6a4s8zayg-azr3-1.2.3/bin
mkdir -p 
//gnu/store/rxn9php37bgcvznjiq0mvvr6a4s8zayg-azr3-1.2.3/share/azr3-jack
cp azr3/presets azr3/cknob.png azr3/minioffon.png azr3/onoffgreen.png 
azr3/panelfx.png azr3/vonoff.png azr3/voice.png azr3/num_yellow.png 
azr3/dbblack.png azr3/dbbrown.png azr3/dbwhite.png 
//gnu/store/rxn9php37bgcvznjiq0mvvr6a4s8zayg-azr3-1.2.3/share/azr3-jack
mkdir -p 
//gnu/store/rxn9php37bgcvznjiq0mvvr6a4s8zayg-azr3-1.2.3/share/doc/azr3-jack
cp AUTHORS COPYING README ChangeLog 
//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
make: *** [Makefile.template:357: install-manuals] Error 2
Backtrace:
           4 (primitive-load "/gnu/store/bjx9zf1kdp3xm7kz9dq4136sg0w?")
In ice-9/eval.scm:
   191:35  3 (_ _)
In srfi/srfi-1.scm:
    640:9  2 (for-each #<procedure 95d8e0 at /gnu/store/f95ghy8mx00?> ?)
In 
/gnu/store/f95ghy8mx00fc22nrvswvnpqlfdkf2nk-module-import/guix/build/gnu-build-system.scm:
   799:31  1 (_ _)
In 
/gnu/store/f95ghy8mx00fc22nrvswvnpqlfdkf2nk-module-import/guix/build/utils.scm:
    616:6  0 (invoke _ . _)

/gnu/store/f95ghy8mx00fc22nrvswvnpqlfdkf2nk-module-import/guix/build/utils.scm:616:6: 
In procedure invoke:
Throw to key `srfi-34' with args `(#<condition &invoke-error [program: 
"make" arguments: ("install" "LV2PEG=ttl2c" "CXXFLAGS=-std=gnu++11" 
"CFLAGS=-std=gnu++11" 
"prefix=/gnu/store/rxn9php37bgcvznjiq0mvvr6a4s8zayg-azr3-1.2.3" 
"pkgdatadir=/gnu/store/rxn9php37bgcvznjiq0mvvr6a4s8zayg-azr3-1.2.3/share/azr3-jack") 
exit-status: 2 term-signal: #f stop-signal: #f] 68fb80>)'.
builder for `/gnu/store/ik7f5kdvlzr9iamgiv3fw227lnly6fsk-azr3-1.2.3.drv' 
failed with exit code 1
Build failed: /gnu/store/ik7f5kdvlzr9iamgiv3fw227lnly6fsk-azr3-1.2.3.drv 
- 1 builder for 
`/gnu/store/ik7f5kdvlzr9iamgiv3fw227lnly6fsk-azr3-1.2.3.drv' failed with 
exit code
guix package: error: build failed: build of 
`/gnu/store/ik7f5kdvlzr9iamgiv3fw227lnly6fsk-azr3-1.2.3.drv' failed




Information forwarded to bug-guix <at> gnu.org:
bug#32698; Package guix. (Tue, 11 Sep 2018 13:42:02 GMT) Full text and rfc822 format available.

Message #8 received at 32698 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: t_w_ <at> freenet.de
Cc: 32698 <at> debbugs.gnu.org
Subject: Re: bug#32698: Package azr3-1.2.3 fails during install
Date: Tue, 11 Sep 2018 15:40:52 +0200
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?

-- 
Ricardo





Information forwarded to bug-guix <at> gnu.org:
bug#32698; Package guix. (Wed, 03 Oct 2018 19:49:02 GMT) Full text and rfc822 format available.

Message #11 received at 32698 <at> debbugs.gnu.org (full text, mbox):

From: Thorsten Wilms <t_w_ <at> freenet.de>
To: 32698 <at> debbugs.gnu.org
Subject: Re: bug#32698: Package azr3-1.2.3 fails during install
Date: Wed, 3 Oct 2018 21:46:00 +0200
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:

[PATCH] gnu/packages/audio.scm, azr3: add reset-gzip-timestamps
 phase.

---
 gnu/packages/audio.scm | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 446587273..38ef11b18 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -453,7 +453,16 @@ tools.")
              "CXXFLAGS=-std=gnu++11"
              "CFLAGS=-std=gnu++11"
              (string-append "prefix=" %output)
-             (string-append "pkgdatadir=" %output "/share/azr3-jack"))))
+             (string-append "pkgdatadir=" %output "/share/azr3-jack"))
+       #:phases
+       (modify-phases %standard-phases
+         (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)))))
     (inputs
      `(("gtkmm" ,gtkmm-2)
        ("lvtk" ,lvtk)
-- 
2.19.0


-- 
Thorsten Wilms

thorwil's design for free software:
http://thorwil.wordpress.com/




Reply sent to Ricardo Wurmus <rekado <at> elephly.net>:
You have taken responsibility. (Sun, 07 Oct 2018 21:41:02 GMT) Full text and rfc822 format available.

Notification sent to t_w_ <at> freenet.de:
bug acknowledged by developer. (Sun, 07 Oct 2018 21:41:02 GMT) Full text and rfc822 format available.

Message #16 received at 32698-done <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: t_w_ <at> freenet.de
Cc: 32698-done <at> debbugs.gnu.org
Subject: Fwd: Re: bug#32698: Package azr3-1.2.3 fails during install
Date: Sun, 07 Oct 2018 23:40:00 +0200
[Resending because this email could not be delivered to debbugs.]

Ricardo Wurmus <rekado <at> elephly.net> writes:

> Thorsten Wilms <t_w_ <at> freenet.de> 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





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 05 Nov 2018 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 145 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.