From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Wilms Subject: bug#32698: Package azr3-1.2.3 fails during install Date: Wed, 3 Oct 2018 21:46:00 +0200 Message-ID: <00b59718-250a-9ffc-6837-553d7773652a@freenet.de> References: <87y3c8jgnv.fsf@elephly.net> Reply-To: t_w_@freenet.de Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34351) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g7n8s-0000OY-C0 for bug-guix@gnu.org; Wed, 03 Oct 2018 15:49:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g7n8p-00079P-0j for bug-guix@gnu.org; Wed, 03 Oct 2018 15:49:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:60060) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g7n8o-000799-N8 for bug-guix@gnu.org; Wed, 03 Oct 2018 15:49:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g7n8o-0002yZ-F0 for bug-guix@gnu.org; Wed, 03 Oct 2018 15:49:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87y3c8jgnv.fsf@elephly.net> Content-Language: en-US List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 32698@debbugs.gnu.org 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/