[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#32698: Package azr3-1.2.3 fails during install

From: Thorsten Wilms
Subject: bug#32698: Package azr3-1.2.3 fails during install
Date: Wed, 3 Oct 2018 21:46:00 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

On 11.09.2018 15:40, Ricardo Wurmus wrote:

Hi Thorsten,

man_section=`echo azr3.1 | sed 's/.*\.\([0-9]\)/\1/'`; mkdir -p
gzip -c azr3.1 >
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")
--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

 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.")
              (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)))))
      `(("gtkmm" ,gtkmm-2)
        ("lvtk" ,lvtk)

Thorsten Wilms

thorwil's design for free software:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]