From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxim Cournoyer Subject: bug#24069: [PATCHv2] Re: bug#24069: gcc man page is broken Date: Sun, 01 Oct 2017 11:54:56 -0400 Message-ID: <87vajy6ey7.fsf_-_@gmail.com> References: <20160725222342.1fb3bfaa@scratchpost.org> <877ewfx6s8.fsf@gmail.com> <873773vvfr.fsf_-_@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36080) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dygfy-0007ko-4U for bug-guix@gnu.org; Sun, 01 Oct 2017 12:01:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dygfu-0005uC-2J for bug-guix@gnu.org; Sun, 01 Oct 2017 12:01:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:34223) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dygft-0005u5-VS for bug-guix@gnu.org; Sun, 01 Oct 2017 12:01:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dygft-000781-Nb for bug-guix@gnu.org; Sun, 01 Oct 2017 12:01:01 -0400 In-Reply-To: <20160725222342.1fb3bfaa@scratchpost.org> Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35110) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dygfF-0007Ga-Bc for bug-guix@gnu.org; Sun, 01 Oct 2017 12:00:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dygfB-000597-D2 for bug-guix@gnu.org; Sun, 01 Oct 2017 12:00:21 -0400 Received: from [195.159.176.226] (port=46909 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dygfB-00054A-5e for bug-guix@gnu.org; Sun, 01 Oct 2017 12:00:17 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dygez-00012L-1a for bug-guix@gnu.org; Sun, 01 Oct 2017 18:00:05 +0200 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: 24069@debbugs.gnu.org --=-=-= Content-Type: text/plain Version 2. Removes the unnecessary (ice-9 match) use clause I added while experimenting. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-gcc-Fix-manual-pages.patch >From a044901c0fc51571b8ed6809080029b8701b09e4 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sun, 1 Oct 2017 09:27:31 -0400 Subject: [PATCH] gnu: gcc: Fix manual pages. Fixes bug #24069. * gnu/packages/gcc.scm (gcc-4.7)[native-inputs]: Add perl. (gcc-4.9)[native-inputs]: Likewise. --- gnu/packages/gcc.scm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm index 7870d4513..7089b420f 100644 --- a/gnu/packages/gcc.scm +++ b/gnu/packages/gcc.scm @@ -155,7 +155,8 @@ where the OS part is overloaded to denote a specific ABI---into GCC ;; GCC < 5 is one of the few packages that doesn't ship .info files. ;; Newer texinfos fail to build the manual, so we use an older one. - (native-inputs `(("texinfo" ,texinfo-5))) + (native-inputs `(("perl" ,perl) ;for manpages + ("texinfo" ,texinfo-5))) (arguments `(#:out-of-source? #t @@ -370,7 +371,9 @@ Go. It also includes runtime support libraries for these languages.") "14l06m7nvcvb0igkbip58x59w3nq6315k6jcz3wr9ch1rn9d44bc")) (patches (search-patches "gcc-arm-bug-71399.patch" "gcc-libvtv-runpath.patch")))) - (native-inputs `(("texinfo" ,texinfo))))) + ;; Override inherited texinfo-5 with latest version. + (native-inputs `(("perl" ,perl) ;for manpages + ("texinfo" ,texinfo))))) (define-public gcc-5 ;; Note: GCC >= 5 ships with .info files but 'make install' fails to install -- 2.14.1 --=-=-=--