From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 25 16:24:04 2016 Received: (at submit) by debbugs.gnu.org; 25 Jul 2016 20:24:04 +0000 Received: from localhost ([127.0.0.1]:37223 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bRmQ0-0001QX-5q for submit@debbugs.gnu.org; Mon, 25 Jul 2016 16:24:04 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36048) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bRmPy-0001Q4-E2 for submit@debbugs.gnu.org; Mon, 25 Jul 2016 16:24:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bRmPs-0000se-IO for submit@debbugs.gnu.org; Mon, 25 Jul 2016 16:23:57 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:40657) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bRmPs-0000sa-Fq for submit@debbugs.gnu.org; Mon, 25 Jul 2016 16:23:56 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55240) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bRmPr-0000Xf-AX for bug-guix@gnu.org; Mon, 25 Jul 2016 16:23:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bRmPl-0000pB-Bx for bug-guix@gnu.org; Mon, 25 Jul 2016 16:23:54 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:49996) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bRmPl-0000op-5q for bug-guix@gnu.org; Mon, 25 Jul 2016 16:23:49 -0400 Received: from localhost (77.116.145.112.wireless.dyn.drei.com [77.116.145.112]) by dd1012.kasserver.com (Postfix) with ESMTPSA id 4CEFC1CA08CB for ; Mon, 25 Jul 2016 22:23:44 +0200 (CEST) Date: Mon, 25 Jul 2016 22:23:42 +0200 From: Danny Milosavljevic To: bug-guix@gnu.org Subject: gcc man page is broken Message-ID: <20160725222342.1fb3bfaa@scratchpost.org> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) $ man gcc timestamp Manual page gcc(1) line 1/2 (END) (press h for help or q to quit) $ ls -l /home/dannym/.guix-profile/share/man/man1/gcc.1.gz lrwxrwxrwx 106 root guixbuild 79 1. Jan 1970 /home/dannym/.guix-profile/share/man/man1/gcc.1.gz -> /gnu/store/1xsd8qd6i0zkzwxa53rp5palcfxb7xqb-gccgo-4.9.3/share/man/man1/gcc.1.gz Err.... what? That's also the case for the normal gcc package (for example 4.9.3). But $ info gcc works fine. From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 30 18:22:44 2017 Received: (at 24069) by debbugs.gnu.org; 30 Mar 2017 22:22:45 +0000 Received: from localhost ([127.0.0.1]:53278 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ctiSq-0000e1-MC for submit@debbugs.gnu.org; Thu, 30 Mar 2017 18:22:44 -0400 Received: from mailhub128.itcs.purdue.edu ([128.210.5.128]:48794) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ctiSo-0000dt-J5 for 24069@debbugs.gnu.org; Thu, 30 Mar 2017 18:22:43 -0400 Received: from exchange.purdue.edu (exchange.purdue.edu [128.210.1.29]) by mailhub128.itcs.purdue.edu (8.14.4/8.14.4/mta-nopmx.smtp.purdue.edu) with ESMTP id v2UMMcL4022393 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) for <24069@debbugs.gnu.org>; Thu, 30 Mar 2017 18:22:39 -0400 Received: from wppexc04.purdue.lcl (172.30.136.177) by wppexc11.purdue.lcl (172.30.136.184) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Thu, 30 Mar 2017 18:22:38 -0400 Received: from wppexc04.purdue.lcl ([fe80::151b:1819:21c0:4522]) by wppexc04.purdue.lcl ([fe80::151b:1819:21c0:4522%15]) with mapi id 15.00.1178.000; Thu, 30 Mar 2017 18:22:38 -0400 From: "Branson, Joshua A" To: "24069@debbugs.gnu.org" <24069@debbugs.gnu.org> Subject: Re: gcc man page is broken Thread-Topic: gcc man page is broken Thread-Index: AQHSqaQjsrqNQVo0IU67l1UHgi7xyw== Date: Thu, 30 Mar 2017 22:22:38 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: Apple Mail (2.3124) x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.192.53.143] Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-PMX-Version: 6.0.2.2308539 X-PerlMx-URL-Scanned: Yes X-PerlMx-Virus-Scanned: Yes X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 24069 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) I can confirm that this bug still exists. The man page is broken as descri= bed, but info gcc works just fine. Thanks, Joshua= From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 30 16:37:04 2017 Received: (at 24069) by debbugs.gnu.org; 30 Sep 2017 20:37:04 +0000 Received: from localhost ([127.0.0.1]:41512 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dyOVU-0007lv-GF for submit@debbugs.gnu.org; Sat, 30 Sep 2017 16:37:04 -0400 Received: from mail-it0-f43.google.com ([209.85.214.43]:55561) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dyOVT-0007lS-64 for 24069@debbugs.gnu.org; Sat, 30 Sep 2017 16:37:03 -0400 Received: by mail-it0-f43.google.com with SMTP id 4so3352345itv.4 for <24069@debbugs.gnu.org>; Sat, 30 Sep 2017 13:37:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=DMK9dNZv6riGN6QaKFrQ29PCZ0PsTLmGa38WKntwX0A=; b=tqJwsrQYg5wd08ybUGpuZSTF3zw0wjeEURXsdMxGWuH9KhsQ3BeAH5UMrD9WimUaZ1 rpuG/YlRsUmY12baDzmwDYliSlDc7K9x9mNb2+YQ6vKUS+dpLA5wiMhNxH+sAzUdNgQK llrAMObKsLycRhYIzpA3jLCZfAskXNQnnWpyAfy8hFPqcrNT+zcuiPPeW3X5cmIVgDne YoyEWAiw3s7CMS0npFF8a/5qWEMTL7fC5Tb3JIeDYZX0AXC8E9VuCQ/vweScP+4ftcyO twee+O3kT690vhZhNz2y9qWs4CUnOXVMb9GfUYRvwbWjTxED2/X632kWjO28b0xBcpNu PiVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=DMK9dNZv6riGN6QaKFrQ29PCZ0PsTLmGa38WKntwX0A=; b=rVdw0/qmfjBrTVMvSzAzyJhfmVfCWCk1uz4I/0/d1zg68UiEE/x47i764zrDf9vUGo 1u9+QOuIiKQqzgQn15EOiGvDeB3pVZIzro7s24r5MtLHqhtUazuUAbRAxEDfM6/fDK7C a35dNl3sol2rxZj2yjQWMG0rOKHF1ZaT8CqKxvfF3dmQIh1JVWGBT4UurDjblp6/UBzX Tak+FTbyfkwVfmEodKj5MVOdZP4Jx6CPNfKKr0TXaEFgYf15AwxkVtkUBjsm9K4MguDR BjrZ6XLLv3E2CjgbhvVeeZA+6J+Ih6ZD7iaWCJlsNHhaoDh8eUlJNwuRFqu/rNwPZCVt 2Law== X-Gm-Message-State: AMCzsaVp6cSwPlHbftsyNSgiiShPDuCyYVs0geP4+4J5cBEvoV9Yps3K 0ZZK53ARjZ4XLdYvQufsCvjRtw== X-Google-Smtp-Source: AOwi7QAq+0Jlajri0ZOAapoBE2kXJJuqO1OOW0CSScMXTwNA8qhyD9BEsvC4H6fFbAt0zU5Ci/pDAg== X-Received: by 10.36.13.148 with SMTP id 142mr11054813itx.68.1506803817386; Sat, 30 Sep 2017 13:36:57 -0700 (PDT) Received: from apteryx (104-222-112-128.cpe.teksavvy.com. [104.222.112.128]) by smtp.gmail.com with ESMTPSA id 77sm3092401iok.41.2017.09.30.13.36.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 30 Sep 2017 13:36:56 -0700 (PDT) From: Maxim Cournoyer To: "Branson\, Joshua A" Subject: Re: bug#24069: gcc man page is broken References: <20160725222342.1fb3bfaa@scratchpost.org> Date: Sat, 30 Sep 2017 16:36:55 -0400 In-Reply-To: (Joshua A. Branson's message of "Thu, 30 Mar 2017 22:22:38 +0000") Message-ID: <877ewfx6s8.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 24069 Cc: "24069@debbugs.gnu.org" <24069@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) "Branson, Joshua A" writes: > I can confirm that this bug still exists. The man page is broken as described, but info gcc works just fine. > > Thanks, > > Joshua The problem is likely caused by lack of the lack of perl as well as pod2man, as suggested by gcc's build log: --8<---------------cut here---------------start------------->8--- echo timestamp > gcc.pod perl ../../gcc-7.2.0/gcc/../contrib/texi2pod.pl ../../gcc-7.2.0/gcc/doc/invoke.texi > gcc.pod /gnu/store/kpxi8h3669afr9r1bgvaf9ij3y4wdyyn-bash-minimal-4.4.12/bin/bash: perl: command not found make[2]: [Makefile:3257: gcc.pod] Error 127 (ignored) echo timestamp > doc/gcc.1 (pod2man --center="GNU" --release="gcc-7.2.0" --date=2017-08-14 --section=1 gcc.pod > doc/gcc.1.T$$ && \ mv -f doc/gcc.1.T$$ doc/gcc.1) || \ (rm -f doc/gcc.1.T$$ && exit 1) /gnu/store/kpxi8h3669afr9r1bgvaf9ij3y4wdyyn-bash-minimal-4.4.12/bin/bash: pod2man: command not found make[2]: [Makefile:3235: doc/gcc.1] Error 1 (ignored) --8<---------------cut here---------------end--------------->8--- I'm currently rebuilding with those two inputs added, will send a patch if it fixes the problem. Maxim From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 01 09:39:46 2017 Received: (at 24069) by debbugs.gnu.org; 1 Oct 2017 13:39:46 +0000 Received: from localhost ([127.0.0.1]:41876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dyeTB-0001XU-Qr for submit@debbugs.gnu.org; Sun, 01 Oct 2017 09:39:46 -0400 Received: from mail-it0-f43.google.com ([209.85.214.43]:54437) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dyeTA-0001XF-5l for 24069@debbugs.gnu.org; Sun, 01 Oct 2017 09:39:44 -0400 Received: by mail-it0-f43.google.com with SMTP id e134so4545020ite.3 for <24069@debbugs.gnu.org>; Sun, 01 Oct 2017 06:39:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=V366hImw0Rd2IACEQk/euT4f63p8HgyPHUsoFDdnL6Y=; b=nX2xgyLqJFug897ZE0c5t0AYF8SAAUIENaMqQWYsOy85Qu7xDgxShsqiUIDq/QeEBE I8NiJGOPjQ80Lh1CgKvWtQA1L9BYMuLmplA9Nl1FYbBcoVOZEi2l+qH8fonPYJqjgT5z Gc0djOGOjRxhdhQiLVWokIqpVzoG8HapxMgHrUHFJ+6g2Mv7dCZXSmrlqtlhzmT9GUuG L6A60anKaY5vfWVuVGB7B6m1NUDkzl+67EV/8Fk/jqA0WTxa2hkXVAE4hZFz58ITN1El 6Npc8Z4IOv0nRG30VRZlc0O8enVJhIfvyKGSkays9qWOA6ituZ92SH/slcjf4MQRcBfW f8IA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=V366hImw0Rd2IACEQk/euT4f63p8HgyPHUsoFDdnL6Y=; b=Okhp6ydTgqklCpkj3KvFLCQDM8RSmi7O2fqJp32aeZ0gZZKomS5VSdIR7pu+4KC/vk 0dtaSTwB3PJ+JnyCuxuMToxzgWNLptvLGYE7U6sLozU+XnxexuabzVsc+yCal9eWb1VT LBHydsZJJyvfqS7HVaRAhGgCLFZ3UPneWgVzL0BbaA4iFUqWXtudXQ4UsqTBa6jEy6uF Wyob6ngvnGebrwAZxwRhqn6ngfSh/9z22oBJBxWjYRH58mXGNgSOXzurpDexSs1vBrm4 MFCuVsiNnOmh+y9EfIB1lEpq53IPdwfad1Fm+SaWha8dXtLhYgFR2zoakaaEL2vwYEU+ dOOA== X-Gm-Message-State: AHPjjUhTsuGMDmSHEGo6REcLx4NQmFMGUm6Sgh71hTMhLURfmJ0DbkZc 1bUz6lYbKtuKD/9y9Itcoih7kQ== X-Google-Smtp-Source: AOwi7QAsHWuMPHopLgf9svVB5gXVqdOWk9FWXigocXPNZ2gLdK4+9ic5BYBBEkDaPE6drt47stOxGg== X-Received: by 10.36.105.142 with SMTP id e136mr15570745itc.17.1506865178361; Sun, 01 Oct 2017 06:39:38 -0700 (PDT) Received: from apteryx (104-222-112-128.cpe.teksavvy.com. [104.222.112.128]) by smtp.gmail.com with ESMTPSA id 186sm3575065iou.14.2017.10.01.06.39.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 01 Oct 2017 06:39:37 -0700 (PDT) From: Maxim Cournoyer To: "Branson\, Joshua A" Subject: [PATCH] Re: bug#24069: gcc man page is broken References: <20160725222342.1fb3bfaa@scratchpost.org> <877ewfx6s8.fsf@gmail.com> Date: Sun, 01 Oct 2017 09:39:36 -0400 In-Reply-To: <877ewfx6s8.fsf@gmail.com> (Maxim Cournoyer's message of "Sat, 30 Sep 2017 16:36:55 -0400") Message-ID: <873773vvfr.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 24069 Cc: 24069@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) --=-=-= Content-Type: text/plain Hello, Maxim Cournoyer writes: > "Branson, Joshua A" writes: > >> I can confirm that this bug still exists. The man page is broken as described, but info gcc works just fine. >> >> Thanks, >> >> Joshua > > The problem is likely caused by lack of the lack of perl as well as pod2man, as > suggested by gcc's build log: > > echo timestamp > gcc.pod > perl ../../gcc-7.2.0/gcc/../contrib/texi2pod.pl ../../gcc-7.2.0/gcc/doc/invoke.texi > gcc.pod > /gnu/store/kpxi8h3669afr9r1bgvaf9ij3y4wdyyn-bash-minimal-4.4.12/bin/bash: perl: command not found > make[2]: [Makefile:3257: gcc.pod] Error 127 (ignored) > echo timestamp > doc/gcc.1 > (pod2man --center="GNU" --release="gcc-7.2.0" --date=2017-08-14 --section=1 gcc.pod > doc/gcc.1.T$$ && \ > mv -f doc/gcc.1.T$$ doc/gcc.1) || \ > (rm -f doc/gcc.1.T$$ && exit 1) > /gnu/store/kpxi8h3669afr9r1bgvaf9ij3y4wdyyn-bash-minimal-4.4.12/bin/bash: pod2man: command not found > make[2]: [Makefile:3235: doc/gcc.1] Error 1 (ignored) > > I'm currently rebuilding with those two inputs added, will send a patch > if it fixes the problem. I believe the attached patch *should* fix it (simply adds perl as a native input; pod2man apparently comes with perl itself): --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-gcc-Fix-manual-pages.patch >From 17105632d2142c16632c5f05490a7da9a4439cc4 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 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm index 7870d4513..f56c2a0b9 100644 --- a/gnu/packages/gcc.scm +++ b/gnu/packages/gcc.scm @@ -42,6 +42,7 @@ #:use-module (guix build-system trivial) #:use-module (guix utils) #:use-module (srfi srfi-1) + #:use-module (ice-9 match) #:use-module (ice-9 regex)) (define %gcc-infrastructure @@ -155,7 +156,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 +372,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 --=-=-= Content-Type: text/plain I haven't been able to test it though; when attempting to rebuild gcc, I get a stack overflow before the build process even starts (seems like a guix problem -- I'll try to git pull & rebuild): --8<---------------cut here---------------start------------->8--- ./pre-inst-env guix build -K gcc allocate_stack failed: Cannot allocate memory Warning: Unwind-only `stack-overflow' exception; skipping pre-unwind handler. allocate_stack failed: Cannot allocate memory Warning: Unwind-only `stack-overflow' exception; skipping pre-unwind handler. allocate_stack failed: Cannot allocate memory Warning: Unwind-only `stack-overflow' exception; skipping pre-unwind handler. allocate_stack failed: Cannot allocate memory Warning: Unwind-only `stack-overflow' exception; skipping pre-unwind handler. --8<---------------cut here---------------end--------------->8--- Maxim --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 01 12:00:30 2017 Received: (at submit) by debbugs.gnu.org; 1 Oct 2017 16:00:31 +0000 Received: from localhost ([127.0.0.1]:42904 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dygfO-000774-MM for submit@debbugs.gnu.org; Sun, 01 Oct 2017 12:00:30 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44207) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dygfN-00076n-5W for submit@debbugs.gnu.org; Sun, 01 Oct 2017 12:00:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dygfG-0005Mw-R6 for submit@debbugs.gnu.org; Sun, 01 Oct 2017 12:00:23 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HK_RANDOM_ENVFROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:59478) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dygfG-0005Ly-Mi for submit@debbugs.gnu.org; Sun, 01 Oct 2017 12:00:22 -0400 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 X-Injected-Via-Gmane: http://gmane.org/ To: bug-guix@gnu.org From: Maxim Cournoyer Subject: Re: bug#24069: [PATCHv2] Re: bug#24069: gcc man page is broken Date: Sun, 01 Oct 2017 11:54:56 -0400 Lines: 57 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="=-=-=" X-Complaints-To: usenet@blaine.gmane.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) Cancel-Lock: sha1:hzNAQKL1JlweXtNDgrb2PB1VzCA= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.2 (----) --=-=-= 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 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 02 05:24:41 2017 Received: (at 24069) by debbugs.gnu.org; 2 Oct 2017 09:24:42 +0000 Received: from localhost ([127.0.0.1]:43443 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dywxt-0006DD-Ms for submit@debbugs.gnu.org; Mon, 02 Oct 2017 05:24:41 -0400 Received: from flashner.co.il ([178.62.234.194]:44804) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dywxs-0006Cv-DS for 24069@debbugs.gnu.org; Mon, 02 Oct 2017 05:24:40 -0400 Received: from localhost (46-117-130-79.bb.netvision.net.il [46.117.130.79]) by flashner.co.il (Postfix) with ESMTPSA id 8A17540241; Mon, 2 Oct 2017 09:24:34 +0000 (UTC) Date: Mon, 2 Oct 2017 12:24:31 +0300 From: Efraim Flashner To: Maxim Cournoyer Subject: Re: bug#24069: [PATCHv2] Re: bug#24069: gcc man page is broken Message-ID: <20171002092431.GP26375@macbook42.flashner.co.il> References: <20160725222342.1fb3bfaa@scratchpost.org> <877ewfx6s8.fsf@gmail.com> <873773vvfr.fsf_-_@gmail.com> <87vajy6ey7.fsf_-_@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="NO4xtVTk6ycZDAf4" Content-Disposition: inline In-Reply-To: <87vajy6ey7.fsf_-_@gmail.com> User-Agent: Mutt/1.8.3 (2017-05-23) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 24069 Cc: 24069@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --NO4xtVTk6ycZDAf4 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Oct 01, 2017 at 11:54:56AM -0400, Maxim Cournoyer wrote: > Version 2. >=20 > Removes the unnecessary (ice-9 match) use clause I added while > experimenting. >=20 > 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. >=20 > Fixes bug #24069. >=20 > * 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(-) >=20 > 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 > =20 > ;; GCC < 5 is one of the few packages that doesn't ship .info file= s. > ;; 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))) > =20 > (arguments > `(#:out-of-source? #t > @@ -370,7 +371,9 @@ Go. It also includes runtime support libraries for t= hese 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))))) > =20 > (define-public gcc-5 > ;; Note: GCC >=3D 5 ships with .info files but 'make install' fails to= install > --=20 > 2.14.1 >=20 I believe this would cause gcc-5 to be rebuilt, which would cause a world rebuild, so for the moment we also need a native-inputs entry for gcc-5 making sure that nothing changes, ie: that we're only using texinfo there, preferably with a note that it should be changed in the future. Also, you should take a look at gnu/packages/commencement and make sure that we're not adding perl as a native-input for gcc-boot0 or for libstdc++, wherever that happens to live (I don't remember off hand). I assume it is OK for us to build the man pages for gcc-final (if it happens) since this is the gcc used for actually building packages, and I believe the one pulled in for gcc-toolchain. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --NO4xtVTk6ycZDAf4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAlnSBcUACgkQQarn3Mo9 g1HrRRAAtPMOhOnx6LsCbJdORfogSRZ0TYWYOdFtPHRTOX64d7Uv8dr1HyAeDTMG WhMidRi9Mm7pQtQiP5WWbyd0TkfZ7t9xh7sqZa8WiHPBEaQMNK8iMg0BunE/ZqAI RDXUB6N1eDjh4U9kDj60s4UzEatM2GlyvYaisgDfLQfxkWgtzzjXv6YR4PVqEAjB R5hC2M+nb4PLKoBsVrzl2FhThO6wldM0JQfsMm/Gn3XAmXSr+xBRJhNs40+fhe8e CrN/x4qZfKcx/VchPVBLqtSfUiCLLbRXs8r3VvsZ2D9Cxia9+sEmYLuU1JEur0di ojJRmb/FdS1nmDmbffasdkbBKfxsjG02AUhs9oK2jmpgPgZGeckqVVGiq7DXhXgy a22ftja0Yn5P/KNa/r+uNKFb7LSlNhYz4QrVk8qM7pm1AtUmwzat6VO4nzknQZIt 1hx60ge7OpAMhnz2MtFsmE0WZMOfJDjv8nGVg99q8+nhmgyX7yp6BW7VbF0zjJVW Znky3FuxRWcdWi2TFQpz0VF5MdgbiXsmWqOwHEaHxs9H4sLep1GUFJFHW1vYSfyU H39SGWmGnREL3vRvjQuc0k9G95ROaGcdk0C/CNZO9XuU+a7J7w2jUgZnAQCqHj5R +5jKtAQO3p/7pRDRb+Q0GgCFgyw8hpWpePZGHTyYlBuDMQhOcJ8= =1vhk -----END PGP SIGNATURE----- --NO4xtVTk6ycZDAf4-- From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 02 10:53:46 2017 Received: (at 24069) by debbugs.gnu.org; 2 Oct 2017 14:53:46 +0000 Received: from localhost ([127.0.0.1]:44305 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dz26M-0007u5-C8 for submit@debbugs.gnu.org; Mon, 02 Oct 2017 10:53:46 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38406) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dz26L-0007tq-3e for 24069@debbugs.gnu.org; Mon, 02 Oct 2017 10:53:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dz26C-0003eX-Hr for 24069@debbugs.gnu.org; Mon, 02 Oct 2017 10:53:39 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40237) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dz26C-0003eP-Dv; Mon, 02 Oct 2017 10:53:36 -0400 Received: from [193.50.110.164] (port=45834 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dz26B-000556-V7; Mon, 02 Oct 2017 10:53:36 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Efraim Flashner Subject: Re: bug#24069: [PATCHv2] Re: bug#24069: gcc man page is broken References: <20160725222342.1fb3bfaa@scratchpost.org> <877ewfx6s8.fsf@gmail.com> <873773vvfr.fsf_-_@gmail.com> <87vajy6ey7.fsf_-_@gmail.com> <20171002092431.GP26375@macbook42.flashner.co.il> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 11 =?utf-8?Q?Vend=C3=A9miaire?= an 226 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 02 Oct 2017 16:53:34 +0200 In-Reply-To: <20171002092431.GP26375@macbook42.flashner.co.il> (Efraim Flashner's message of "Mon, 2 Oct 2017 12:24:31 +0300") Message-ID: <871smlppn5.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 24069 Cc: 24069@debbugs.gnu.org, Maxim Cournoyer X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Efraim Flashner skribis: > I believe this would cause gcc-5 to be rebuilt, which would cause a > world rebuild, so for the moment we also need a native-inputs entry for > gcc-5 making sure that nothing changes, ie: that we're only using > texinfo there, preferably with a note that it should be changed in the > future. Also, you should take a look at gnu/packages/commencement and > make sure that we're not adding perl as a native-input for gcc-boot0 or > for libstdc++, wherever that happens to live (I don't remember off > hand). I think this should go to =E2=80=98core-updates=E2=80=99. > I assume it is OK for us to build the man pages for gcc-final (if it > happens) since this is the gcc used for actually building packages, and > I believe the one pulled in for gcc-toolchain. More precisely, building man pages for =E2=80=98gcc-boot0=E2=80=99 is point= less and possibly adds Perl on the graph for no good reason. So if we can arrange to just have man pages in =E2=80=98gcc-final=E2=80=99, we=E2=80=99r= e good. Efraim, could you check whether that works for =E2=80=98core-updates=E2=80= =99? Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 02 16:15:22 2017 Received: (at 24069) by debbugs.gnu.org; 2 Oct 2017 20:15:23 +0000 Received: from localhost ([127.0.0.1]:44574 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dz77Z-0004yn-38 for submit@debbugs.gnu.org; Mon, 02 Oct 2017 16:15:22 -0400 Received: from mail-it0-f53.google.com ([209.85.214.53]:56809) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dz77W-0004yY-AE for 24069@debbugs.gnu.org; Mon, 02 Oct 2017 16:15:19 -0400 Received: by mail-it0-f53.google.com with SMTP id g18so8767482itg.5 for <24069@debbugs.gnu.org>; Mon, 02 Oct 2017 13:15:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=E+4zw4pDGIIgg4eQmtUEMEB0U4xsKxt3nkn+D0HaKYE=; b=ULpvXusCPx0EuzewkUHfLcj3hh28nJSS5MViTb2Jw/E1NRiA84DzWP0FUHtJWW6dhC 6IMh4EfPUfX1gGMHpgc4OEwJVsMiCfEEF9Ck95kWtBFL1puM7/yuY1pP1wnvCruBqHwc LAnTJovcMDkyoFCBH2CKtS/7h2dNB7PgYlQXAUHYi89mZQgPrKssyZPhbaCgYJYS8FnJ 6F6zzNQkM3NxIoVp3G6841rURBmhb8esR9x981n5dev6dFuIBp1DhwOhybsDRihhEfx/ fSuMfnBkI04ABl5kjlhybAhsudC2xLXVHtlsDaWm8XMNTb9r/Cx3M807IbmOloVM2P9x 7A+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=E+4zw4pDGIIgg4eQmtUEMEB0U4xsKxt3nkn+D0HaKYE=; b=PB24rXhiUfu6asUfJDbip2k4L5BMVdodzTszfjomySMNG+mP0IJDp5jYO2VOwSPlmF nrYL7PRfYq33inMb6YwD4soJTQQU5MRt9qy7qcQA/y9YEQB33dY124W6IgWqrEEyYO0a fzsIzHl+WJIft0TpJ19spApICyND8shYRrfWb3kQvviq38Y9FZttCsaFiRKic7PE7wAV aI9r3NKgrkZNWU1WtNnfY4oAMwQr6Zbftpvoy1IDIXCUUHBZdgCN9zZPJDPJZN+W/WRJ VSwd7PdIXASyDPrf70OVLQH9pSqwGWo+w11Jg6kdvK0cy1ViQHbiNkSZHkXp7L3j6B8f nnMg== X-Gm-Message-State: AHPjjUhJGx4aQzUQK5hxqWtHIIg+PkcOQzMqIKz0sM8AEqi8Qv72rBwn blH8PgDwjS/qGc18cPxHXsMTkQ== X-Google-Smtp-Source: AOwi7QD+phM7ke5eI+JCkFVFxejvi2E001d5s0ttqvAKtYSvK4BaW5t+yj6K3K3gLXKLWyFdKp3IHA== X-Received: by 10.36.230.129 with SMTP id e123mr21525150ith.108.1506975312372; Mon, 02 Oct 2017 13:15:12 -0700 (PDT) Received: from apteryx (104-222-112-128.cpe.teksavvy.com. [104.222.112.128]) by smtp.gmail.com with ESMTPSA id a100sm4917037ioj.47.2017.10.02.13.15.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 02 Oct 2017 13:15:11 -0700 (PDT) From: Maxim Cournoyer To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: bug#24069: [PATCHv2] Re: bug#24069: gcc man page is broken References: <20160725222342.1fb3bfaa@scratchpost.org> <877ewfx6s8.fsf@gmail.com> <873773vvfr.fsf_-_@gmail.com> <87vajy6ey7.fsf_-_@gmail.com> <20171002092431.GP26375@macbook42.flashner.co.il> <871smlppn5.fsf@gnu.org> Date: Mon, 02 Oct 2017 16:15:10 -0400 In-Reply-To: <871smlppn5.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 02 Oct 2017 16:53:34 +0200") Message-ID: <87zi992to1.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 24069 Cc: 24069@debbugs.gnu.org, Efraim Flashner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Efraim Flashner skribis: > >> I believe this would cause gcc-5 to be rebuilt, which would cause a >> world rebuild, so for the moment we also need a native-inputs entry for >> gcc-5 making sure that nothing changes, ie: that we're only using >> texinfo there, preferably with a note that it should be changed in the >> future. Also, you should take a look at gnu/packages/commencement and >> make sure that we're not adding perl as a native-input for gcc-boot0 or >> for libstdc++, wherever that happens to live (I don't remember off >> hand). > > I think this should go to =E2=80=98core-updates=E2=80=99. > >> I assume it is OK for us to build the man pages for gcc-final (if it >> happens) since this is the gcc used for actually building packages, and >> I believe the one pulled in for gcc-toolchain. > > More precisely, building man pages for =E2=80=98gcc-boot0=E2=80=99 is poi= ntless and > possibly adds Perl on the graph for no good reason. So if we can > arrange to just have man pages in =E2=80=98gcc-final=E2=80=99, we=E2=80= =99re good. > > Efraim, could you check whether that works for =E2=80=98core-updates=E2= =80=99? > > Thanks, > Ludo=E2=80=99. I believe this is what is accomplished by the attached patch v3. Thanks to Efraim for the points raised. It turned out that the stack overflow I was getting attempting to test the previous version was caused by a circular dependency that was introduced by gcc-boot0 inheriting perl. This is now fixed. I spent the last couple hours rebuilding gcc but it failed due to lack of space on my side... Retrying now but it'll take a few hours before I can confirm that it works as intended. Thank you both! --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-gcc-Fix-manual-pages.patch >From fac707c34dcc04fcac7254a724cd4c45ae384400 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/commencement.scm (gcc-boot0)[native-inputs]: Filter out perl. (gcc-final)[native-inputs]: Add perl-boot0. --- gnu/packages/commencement.scm | 9 ++++++--- gnu/packages/gcc.scm | 7 +++++-- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index ec7677814..194feda0a 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -286,9 +286,11 @@ ("libc-native" ,@(assoc-ref %boot0-inputs "libc")) ,@(alist-delete "libc" %boot0-inputs))) - ;; No need for Texinfo at this stage. - (native-inputs (alist-delete "texinfo" - (package-native-inputs gcc)))))) + ;; No need for the documentation native-inputs at this stage. + (native-inputs + (alist-delete "texinfo" + (alist-delete "perl" + (package-native-inputs gcc))))))) (define perl-boot0 (let ((perl (package @@ -779,6 +781,7 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a/~a \"$@\"~%" ;; scripts such as 'mkheaders' and 'fixinc.sh' (XXX: who cares about these ;; scripts?). (native-inputs `(("texinfo" ,texinfo-boot0) + ("perl" ,perl-boot0) ;for manpages ("static-bash" ,static-bash-for-glibc) ,@(package-native-inputs gcc-boot0))) 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 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 02 22:28:23 2017 Received: (at 24069) by debbugs.gnu.org; 3 Oct 2017 02:28:23 +0000 Received: from localhost ([127.0.0.1]:44809 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dzCwZ-0005uR-Bd for submit@debbugs.gnu.org; Mon, 02 Oct 2017 22:28:23 -0400 Received: from mail-it0-f44.google.com ([209.85.214.44]:48032) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dzCwX-0005uD-CP for 24069@debbugs.gnu.org; Mon, 02 Oct 2017 22:28:21 -0400 Received: by mail-it0-f44.google.com with SMTP id 85so9895236ith.2 for <24069@debbugs.gnu.org>; Mon, 02 Oct 2017 19:28:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=T8izJ62jr9BCWsa3VI2gBSYCN7B+s37KSsqapHuic78=; b=T7tjN71HAIf9tcFFxX8N5dQxawGJmbe0ga2kmhVX5jD4k7PWtR/+IDck780g6N9wIV BPKM0nxJYQV5bOuMM6qSj5rSR0NTCCdGnRSGuPg+qwCLnVf4GZx1inbfyuMWS3ATwh5z DurzWfbTXCSC6XJFsveJnGrJ7n8zKq88UJtZmXjQ6aP4RWIERrkJuyugpAeR2Qv6ZY+7 0ZeHtmLhG9ZBa5LybVA+uUGbiG5SK/DDemQEJnYTgFc8SZ0u979EXf1+vvwL9KHRimuw +zIqGWfLgn1FEi6Mq87DSPW0qIjuw4RS0N5sxWQcaY0GEC/NKzIJk+bADadTrRJB2D3q GdGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=T8izJ62jr9BCWsa3VI2gBSYCN7B+s37KSsqapHuic78=; b=YRuGYQ+rzkBZ8bNXwfRDURwGyj3JxVwBBl7YgpnLUCOOSEb0Qx9bX3fvh6SLqG6Jxh fB/FtLXwPgvgt3HiwNaAVL2I4Rs5kk86TT4W+4IMjdAXxtDjZLrfW2i9RaThoN1yIXGh liCXAVaMgiF5SkCGwt+TCY2KuSP6S3ydBBN3xPldBROO2zXSpKl+ggsnXy3gSFNnldYD EjIMVXxnK+AG63+DoWit92k1VQAq/0mSoatcmm+MtfTyRWiFhOADHFP+swamw38ypMei G9WkAJExhF1rjybg4d2jcj5pl9EgZZKuYMK0nD6CG8W4y7Ik6Js9lQD9V5dKjJWRmI9w suQg== X-Gm-Message-State: AHPjjUijm8ruiBPTswCvAqdw9xYRG/6BOM+s9aqRwuzwBBsLjOJyMOgH xfLKwVO7H4VF75RT6u4JX/r9Ew== X-Google-Smtp-Source: AOwi7QDe5kC9/bWekdgxklm1gHg1LKE5jTIaP/5KYgjx9rf6uUb6NUegfjuLR3za+UmADpUgJNkA0A== X-Received: by 10.36.115.148 with SMTP id y142mr22179439itb.147.1506997695571; Mon, 02 Oct 2017 19:28:15 -0700 (PDT) Received: from apteryx (104-222-112-128.cpe.teksavvy.com. [104.222.112.128]) by smtp.gmail.com with ESMTPSA id c13sm5274059ioj.19.2017.10.02.19.28.14 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 02 Oct 2017 19:28:15 -0700 (PDT) From: Maxim Cournoyer To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: bug#24069: [PATCHv3] Re: bug#24069: gcc man page is broken References: <20160725222342.1fb3bfaa@scratchpost.org> <877ewfx6s8.fsf@gmail.com> <873773vvfr.fsf_-_@gmail.com> <87vajy6ey7.fsf_-_@gmail.com> <20171002092431.GP26375@macbook42.flashner.co.il> <871smlppn5.fsf@gnu.org> <87zi992to1.fsf@gmail.com> Date: Mon, 02 Oct 2017 22:28:14 -0400 In-Reply-To: <87zi992to1.fsf@gmail.com> (Maxim Cournoyer's message of "Mon, 02 Oct 2017 16:15:10 -0400") Message-ID: <8760bx2ce9.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 24069 Cc: 24069@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) Patch v3 still doesn't fix the problem. There are now pod2man errors that prevent correctly generating the man pages: --8<---------------cut here---------------start------------->8--- Makefile:3076: update target 'gcc.pod' due to: ../../gcc-5.4.0/gcc/doc/invoke.texi ../../gcc-5.4.0/gcc/doc/cppenv.texi ../../gcc-5.4.0/gcc/doc/cppopts.texi gcc-vers.texi echo timestamp > gcc.pod perl ../../gcc-5.4.0/gcc/../contrib/texi2pod.pl ../../gcc-5.4.0/gcc/doc/invoke.texi > gcc.pod Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/^\@strong{ <-- HERE (.*)}$/ at ../../gcc-5.4.0/gcc/../contrib/texi2pod.pl line 319. make: [Makefile:3077: gcc.pod] Error 255 (ignored) Makefile:3054: update target 'doc/gcc.1' due to: gcc.pod echo timestamp > doc/gcc.1 (pod2man --center="GNU" --release="gcc-5.4.0" --date=2016-06-03 --section=1 gcc.pod > doc/gcc.1.T$$ && \ mv -f doc/gcc.1.T$$ doc/gcc.1) || \ (rm -f doc/gcc.1.T$$ && exit 1) pod2man: unable to format gcc.pod make: [Makefile:3055: doc/gcc.1] Error 1 (ignored) Makefile:3085: update target 'gpl.pod' due to: ../../gcc-5.4.0/gcc/doc/include/gpl_v3.texi echo timestamp > gpl.pod perl ../../gcc-5.4.0/gcc/../contrib/texi2pod.pl ../../gcc-5.4.0/gcc/doc/include/gpl_v3.texi > gpl.pod Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/^\@strong{ <-- HERE (.*)}$/ at ../../gcc-5.4.0/gcc/../contrib/texi2pod.pl line 319. make: [Makefile:3086: gpl.pod] Error 255 (ignored) Makefile:3060: update target 'doc/gpl.7' due to: gpl.pod echo timestamp > doc/gpl.7 (pod2man --center="GNU" --release="gcc-5.4.0" --date=2016-06-03 --section=7 gpl.pod > doc/gpl.7.T$$ && \ mv -f doc/gpl.7.T$$ doc/gpl.7) || \ (rm -f doc/gpl.7.T$$ && exit 1) pod2man: unable to format gpl.pod make: [Makefile:3061: doc/gpl.7] Error 1 (ignored) ../../gcc-5.4.0/gcc/cp/Make-lang.in:189: update target 'doc/g++.1' due to: doc/gcc.1 cp doc/gcc.1 doc/g++.1 rm gcc.pod make: Leaving directory '/tmp/guix-build-gcc-5.4.0.drv-0/build/gcc' --8<---------------cut here---------------end--------------->8--- I could trigger this output by cd'ing into the failed derivation and running: --8<---------------cut here---------------start------------->8--- cd /tmp/guix-build-gcc-5.4.0.drv-0 # running guix environment from stable guix pull, so need to add perl manually guix environment --no-grafts gcc@5.4.0 --ad-hoc perl make configure-gcc && make --trace -C gcc doc --8<---------------cut here---------------end--------------->8--- Continuing investigation... From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 03 19:44:44 2017 Received: (at 24069) by debbugs.gnu.org; 3 Oct 2017 23:44:44 +0000 Received: from localhost ([127.0.0.1]:47015 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dzWrj-0004gp-SG for submit@debbugs.gnu.org; Tue, 03 Oct 2017 19:44:44 -0400 Received: from mail-it0-f51.google.com ([209.85.214.51]:43454) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dzWrf-0004ga-WC for 24069@debbugs.gnu.org; Tue, 03 Oct 2017 19:44:42 -0400 Received: by mail-it0-f51.google.com with SMTP id v62so9838547itd.0 for <24069@debbugs.gnu.org>; Tue, 03 Oct 2017 16:44:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=dz62R9AB5pRkqWo9cNqpAPlCc+14xo1Ef/BYCgiByz8=; b=UsPgmToqQ1Ig5+tWD73/yszRKDQVBTLdT0/JFjtOC2eHDMqvpXBWFA3/r1W/bgfqEc JQZV1b/mSHAm3PCV4gW3sItJnEYrLk9k/ptwutTbLHcM7lHsGaY4zZPWP1fZZJhSPOuk TR6OlX0VlS2D5meIome9ExpvuRCBON3F+tmfBYhqIbeyo75ipPXkRHpS/U+kS04MMFaL iuxuy8mp3iloyHwz+naSKcMqggalm+RtXYKqS8WcIhtLpURz6Jj7qap7kwkdSE1yadw2 k5W6WA7vEKGToS2c2f+UX3bAC+9NUzddF8YV9iXHUP97bNIzylBnoJxS2514TPcAT7I6 qxqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=dz62R9AB5pRkqWo9cNqpAPlCc+14xo1Ef/BYCgiByz8=; b=crKnxAwAaJrJYLzZ8/zD1QfcUUdxCSYFIWalCWsXq2UDthmhnUYUWectOA2nRw0mHt p1Dj6CaKqpPPKzbpth4eDpMwQbvxmd2FvLjW+I0JXf6rRSfarZT1fVOgwL0Rcdq9YaNB Hp3x1u1HAv37RshLVSXNZ3vrF8XS2Adiv/eae0qlAdJ/1Mk8ZYNKVBe4iTP0x77JlRN2 JoqiiEE5JWouLNOHvsqxGqGfdw3bDrj284DDmHyLOeZTscJaRrvrSODIo9NIBuWQXJ6P tsb8w30Vt+YY4cC+9/yceQ/NrLGClhY6htw1Gx1F4/sUwZQNJMlrvebWfaD3EDnEfmTa RoTw== X-Gm-Message-State: AMCzsaXUdACC+B/t+9xywbIfuI7o8ZgSiUI+Hsfq/ypR8jHmiagwdOzO j5AxWvEj4/MXDiKkASnNyyYHpA== X-Google-Smtp-Source: AOwi7QA2WWdPJl9UazBDOEt5pLvYBU3V7St8KVeGkQJ3OYfCA3OnfqVVkWWILsBGv73i6KPDdmg/bQ== X-Received: by 10.36.116.9 with SMTP id o9mr26606236itc.132.1507074274045; Tue, 03 Oct 2017 16:44:34 -0700 (PDT) Received: from apteryx (104-222-112-128.cpe.teksavvy.com. [104.222.112.128]) by smtp.gmail.com with ESMTPSA id f125sm6277421ita.29.2017.10.03.16.44.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 03 Oct 2017 16:44:33 -0700 (PDT) From: Maxim Cournoyer To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: bug#24069: [PATCHv4] Re: bug#24069: gcc man page is broken References: <20160725222342.1fb3bfaa@scratchpost.org> <877ewfx6s8.fsf@gmail.com> <873773vvfr.fsf_-_@gmail.com> <87vajy6ey7.fsf_-_@gmail.com> <20171002092431.GP26375@macbook42.flashner.co.il> <871smlppn5.fsf@gnu.org> <87zi992to1.fsf@gmail.com> <8760bx2ce9.fsf_-_@gmail.com> Date: Tue, 03 Oct 2017 19:44:31 -0400 In-Reply-To: <8760bx2ce9.fsf_-_@gmail.com> (Maxim Cournoyer's message of "Mon, 02 Oct 2017 22:28:14 -0400") Message-ID: <87bmlneqzk.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 24069 Cc: 24069@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) --=-=-= Content-Type: text/plain Maxim Cournoyer writes: > Patch v3 still doesn't fix the problem. There are now pod2man errors > that prevent correctly generating the man pages: [...] > (pod2man --center="GNU" --release="gcc-5.4.0" --date=2016-06-03 --section=7 gpl.pod > doc/gpl.7.T$$ && \ > mv -f doc/gpl.7.T$$ doc/gpl.7) || \ > (rm -f doc/gpl.7.T$$ && exit 1) > pod2man: unable to format gpl.pod > make: [Makefile:3061: doc/gpl.7] Error 1 (ignored) > ../../gcc-5.4.0/gcc/cp/Make-lang.in:189: update target 'doc/g++.1' due to: doc/gcc.1 > cp doc/gcc.1 doc/g++.1 > rm gcc.pod > make: Leaving directory '/tmp/guix-build-gcc-5.4.0.drv-0/build/gcc' > Apparently GCC < 6 required a patch to its texi2pod.pl script, which had a syntax problem. The attached patch fixes this last problem. I could successfully build GCC 5.4.0 by using a derived package for testing (otherwise it would trigger a world rebuild which was never ending of my lesser machine). Here's the patch used to test it: --8<---------------cut here---------------start------------->8--- gnu/packages/gcc.scm | 21 +++++++++++++++++++++ gnu/packages/patches/gcc-fix-texi2pod.patch | 19 +++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 gnu/packages/patches/gcc-fix-texi2pod.patch diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm index 7870d4513..320201b9c 100644 --- a/gnu/packages/gcc.scm +++ b/gnu/packages/gcc.scm @@ -395,6 +395,27 @@ Go. It also includes runtime support libraries for these languages.") ;; `(("isl" ,isl) ;; ,@(package-inputs gcc-4.7))))) +(define-public gcc-5-dev + (package (inherit gcc-5) + (name "gcc-dev") + (version "5.4.0-dev") + (source (origin + (method url-fetch) + (uri (string-append "mirror://gnu/gcc/gcc-" + version "/gcc-" version ".tar.bz2")) + (sha256 + (base32 + "0fihlcy5hnksdxk0sn6bvgnyq8gfrgs8m794b1jxwd1dxinzg3b0")) + (patches (search-patches "gcc-arm-bug-71399.patch" + "gcc-strmov-store-file-names.patch" + "gcc-asan-powerpc-missing-include.patch" + "gcc-5.0-libvtv-runpath.patch" + "gcc-5-source-date-epoch-1.patch" + "gcc-5-source-date-epoch-2.patch" + "gcc-fix-texi2pod.patch")))) + (native-inputs `(("perl" ,perl) ;for manpages + ("texinfo" ,texinfo))))) + (define-public gcc-6 (package (inherit gcc-5) diff --git a/gnu/packages/patches/gcc-fix-texi2pod.patch b/gnu/packages/patches/gcc-fix-texi2pod.patch new file mode 100644 index 000000000..28bd56a38 --- /dev/null +++ b/gnu/packages/patches/gcc-fix-texi2pod.patch @@ -0,0 +1,19 @@ +This patch was taken from the official GCC git repository. +X-Git-Url: https://gcc.gnu.org/git/?p=gcc.git;a=blobdiff_plain;f=contrib%2Ftexi2pod.pl;h=91bdbb5cea933d0381f2924ab94490fca31d5800;hp=eba1bcaa3cffa78b46030b219d04fe7d68367658;hb=67b56c905078d49d3e4028085e5cb1e1fb87a8aa;hpb=2f508a78310caab123e9794d3dcfe41f2769449b + +It fixes a defect in the contrib/texi2pod.pl script that prevented generating +manual pages. It was corrected in the GCC 6.X series. + +diff --git a/contrib/texi2pod.pl b/contrib/texi2pod.pl +index eba1bca..91bdbb5 100755 +--- a/contrib/texi2pod.pl ++++ b/contrib/texi2pod.pl +@@ -316,7 +316,7 @@ while(<$inf>) { + @columns = (); + for $column (split (/\s*\@tab\s*/, $1)) { + # @strong{...} is used a @headitem work-alike +- $column =~ s/^\@strong{(.*)}$/$1/; ++ $column =~ s/^\@strong\{(.*)\}$/$1/; + push @columns, $column; + } + $_ = "\n=item ".join (" : ", @columns)."\n"; --8<---------------cut here---------------end--------------->8--- I could then build gcc-dev and verify that the man pages gcc and cpp were working correctly in an environment instantiated using: --8<---------------cut here---------------start------------->8--- ./pre-inst-env guix environment --pure --ad-hoc gcc-dev man-db --8<---------------cut here---------------end--------------->8--- The complete patch is attached; it should be good for core-updates. Thank you, Maxim --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-gcc-Fix-manual-pages.patch >From 7229d7887289316031847893f8ad020ff07bdcdd 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. perl is made a native input to all of the gcc-* packages except for gcc-boot0; perl-boot0 is made a native input to gcc-final. * gnu/packages/patches/gcc-fix-texi2pod.patch: Add patch file to fix texi2pod. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/gcc.scm (gcc-4.7, gcc-4.8, gcc-4.9, gcc-5): Use it. (gcc-4.7)[native-inputs]: Add perl. (gcc-4.9)[native-inputs]: Likewise. * gnu/packages/commencement.scm (gcc-boot0)[native-inputs]: Filter out perl. (gcc-final)[native-inputs]: Add perl-boot0. --- gnu/local.mk | 1 + gnu/packages/commencement.scm | 9 ++++++--- gnu/packages/gcc.scm | 19 +++++++++++++------ gnu/packages/patches/gcc-fix-texi2pod.patch | 19 +++++++++++++++++++ 4 files changed, 39 insertions(+), 9 deletions(-) create mode 100644 gnu/packages/patches/gcc-fix-texi2pod.patch diff --git a/gnu/local.mk b/gnu/local.mk index edd6d8237..06b059341 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -626,6 +626,7 @@ dist_patch_DATA = \ %D%/packages/patches/gcc-arm-link-spec-fix.patch \ %D%/packages/patches/gcc-asan-powerpc-missing-include.patch \ %D%/packages/patches/gcc-cross-environment-variables.patch \ + %D%/packages/patches/gcc-fix-texi2pod.patch \ %D%/packages/patches/gcc-libvtv-runpath.patch \ %D%/packages/patches/gcc-strmov-store-file-names.patch \ %D%/packages/patches/gcc-4.6-gnu-inline.patch \ diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index ec7677814..194feda0a 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -286,9 +286,11 @@ ("libc-native" ,@(assoc-ref %boot0-inputs "libc")) ,@(alist-delete "libc" %boot0-inputs))) - ;; No need for Texinfo at this stage. - (native-inputs (alist-delete "texinfo" - (package-native-inputs gcc)))))) + ;; No need for the documentation native-inputs at this stage. + (native-inputs + (alist-delete "texinfo" + (alist-delete "perl" + (package-native-inputs gcc))))))) (define perl-boot0 (let ((perl (package @@ -779,6 +781,7 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a/~a \"$@\"~%" ;; scripts such as 'mkheaders' and 'fixinc.sh' (XXX: who cares about these ;; scripts?). (native-inputs `(("texinfo" ,texinfo-boot0) + ("perl" ,perl-boot0) ;for manpages ("static-bash" ,static-bash-for-glibc) ,@(package-native-inputs gcc-boot0))) diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm index 7870d4513..1079a3e14 100644 --- a/gnu/packages/gcc.scm +++ b/gnu/packages/gcc.scm @@ -138,7 +138,8 @@ where the OS part is overloaded to denote a specific ABI---into GCC version "/gcc-" version ".tar.bz2")) (sha256 (base32 - "10k2k71kxgay283ylbbhhs51cl55zn2q38vj5pk4k950qdnirrlj")))) + "10k2k71kxgay283ylbbhhs51cl55zn2q38vj5pk4k950qdnirrlj")) + (patches (search-patches "gcc-fix-texi2pod.patch")))) (build-system gnu-build-system) ;; Separate out the run-time support libraries because all the @@ -155,7 +156,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 @@ -351,7 +353,8 @@ Go. It also includes runtime support libraries for these languages.") (sha256 (base32 "08yggr18v373a1ihj0rg2vd6psnic42b518xcgp3r9k81xz1xyr2")) - (patches (search-patches "gcc-arm-link-spec-fix.patch")))) + (patches (search-patches "gcc-arm-link-spec-fix.patch" + "gcc-fix-texi2pod.patch")))) (supported-systems %supported-systems) (inputs `(("isl" ,isl-0.11) @@ -369,8 +372,11 @@ Go. It also includes runtime support libraries for these languages.") (base32 "14l06m7nvcvb0igkbip58x59w3nq6315k6jcz3wr9ch1rn9d44bc")) (patches (search-patches "gcc-arm-bug-71399.patch" - "gcc-libvtv-runpath.patch")))) - (native-inputs `(("texinfo" ,texinfo))))) + "gcc-libvtv-runpath.patch" + "gcc-fix-texi2pod.patch")))) + ;; 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 @@ -389,7 +395,8 @@ Go. It also includes runtime support libraries for these languages.") "gcc-asan-powerpc-missing-include.patch" "gcc-5.0-libvtv-runpath.patch" "gcc-5-source-date-epoch-1.patch" - "gcc-5-source-date-epoch-2.patch")))))) + "gcc-5-source-date-epoch-2.patch" + "gcc-fix-texi2pod.patch")))))) ;; TODO: gcc-5 doesn't need cloog. ;;(inputs ;; `(("isl" ,isl) diff --git a/gnu/packages/patches/gcc-fix-texi2pod.patch b/gnu/packages/patches/gcc-fix-texi2pod.patch new file mode 100644 index 000000000..28bd56a38 --- /dev/null +++ b/gnu/packages/patches/gcc-fix-texi2pod.patch @@ -0,0 +1,19 @@ +This patch was taken from the official GCC git repository. +X-Git-Url: https://gcc.gnu.org/git/?p=gcc.git;a=blobdiff_plain;f=contrib%2Ftexi2pod.pl;h=91bdbb5cea933d0381f2924ab94490fca31d5800;hp=eba1bcaa3cffa78b46030b219d04fe7d68367658;hb=67b56c905078d49d3e4028085e5cb1e1fb87a8aa;hpb=2f508a78310caab123e9794d3dcfe41f2769449b + +It fixes a defect in the contrib/texi2pod.pl script that prevented generating +manual pages. It was corrected in the GCC 6.X series. + +diff --git a/contrib/texi2pod.pl b/contrib/texi2pod.pl +index eba1bca..91bdbb5 100755 +--- a/contrib/texi2pod.pl ++++ b/contrib/texi2pod.pl +@@ -316,7 +316,7 @@ while(<$inf>) { + @columns = (); + for $column (split (/\s*\@tab\s*/, $1)) { + # @strong{...} is used a @headitem work-alike +- $column =~ s/^\@strong{(.*)}$/$1/; ++ $column =~ s/^\@strong\{(.*)\}$/$1/; + push @columns, $column; + } + $_ = "\n=item ".join (" : ", @columns)."\n"; -- 2.14.1 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 03 20:12:58 2017 Received: (at control) by debbugs.gnu.org; 4 Oct 2017 00:12:58 +0000 Received: from localhost ([127.0.0.1]:47041 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dzXJ4-0005OH-5G for submit@debbugs.gnu.org; Tue, 03 Oct 2017 20:12:58 -0400 Received: from mail-it0-f51.google.com ([209.85.214.51]:51089) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dzXJ2-0005Nz-C4 for control@debbugs.gnu.org; Tue, 03 Oct 2017 20:12:56 -0400 Received: by mail-it0-f51.google.com with SMTP id y138so14148274itc.5 for ; Tue, 03 Oct 2017 17:12:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:message-id:to:from:subject; bh=dRYnheuzLmdy8Y274zJ0vu9TUma1lngbzJyLuBEdnAY=; b=muYpPsxMG/QOsdbsIXmmqN9jkqtI0VMqutJtYR5whHzEVYe320HQ4MLKNAvG3iImoD Ixt8DwQD3gTMpln0dbIi9sL8lOCsOSmQ4VrxVv+ANJaK2a3IZTsWkGRDFfSzVC/dEEyo Y7phWoDViAeVthrDPmOkKxx0tNL9QVPMj/aFD4LQ3PdPLhWQGOmNMGs5ZzPKzsuDjfMu t59XamBf3dQYzhlvwsj9rjQdA873Z6zGpMzDKAh+3SHPHvHTrRZ/5wHrgvDxancGPo2t OqVI8FP9neejXM/NmEqWRZInwD863uZEdUpVDoJAzzFEuACa3RtPryhIxV9+gde99GCS kJhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:to:from:subject; bh=dRYnheuzLmdy8Y274zJ0vu9TUma1lngbzJyLuBEdnAY=; b=tErk94coDONXiiJd5Gcr29K7kIwJjPCWESkN0KWPu49+TEsSYTtMu9oTSoUI4eYexY rVEATier8YZyje9kcLhQYTao64HpeppStleW+uneJ5WBJgm37PgUs0S+7Gnxg+CVVby2 /NhwiSbasbN8fWefzbeas+c5/GFTCCiBB/JNQRv/3NmkwuW0XW7Zk9I8ettZuRX9MLlh 82/EenXXSyYbw0yIKnF5j8etEpua8Rb6urkYYF3L64fZ5T30TnPXxBlD4l3v/kb5JKZ/ f4tGh/XFFUHBO8gXs5xrZFPr11c+GUvVYsWijkg/FbzbmcGX2yGRM/q1dWf/o3qociGS Ugrw== X-Gm-Message-State: AMCzsaWvIBfD82Qo2yybLu2W4DKrRy5V6CzH7gx8nKanHDrIwkGJd89W YOSCdHI54db7CUqmSpLBjX4Y5A== X-Google-Smtp-Source: AOwi7QCzdZcPn6UgDk2LJtwmbxHuDYxTSC9/53kC+LshuOaKQaTqApG/lgq52/d3wH5wy3o/dtA76Q== X-Received: by 10.36.138.66 with SMTP id v63mr1644377itd.86.1507075970694; Tue, 03 Oct 2017 17:12:50 -0700 (PDT) Received: from apteryx (104-222-112-128.cpe.teksavvy.com. [104.222.112.128]) by smtp.gmail.com with ESMTPSA id z84sm211612itc.20.2017.10.03.17.12.50 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 03 Oct 2017 17:12:50 -0700 (PDT) Date: Tue, 03 Oct 2017 20:12:49 -0400 Message-Id: <87a817epoe.fsf@gmail.com> To: control@debbugs.gnu.org From: Maxim Cournoyer Subject: control message for bug #24069 X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) tags 24069 pending From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 31 11:16:23 2017 Received: (at 24069-done) by debbugs.gnu.org; 31 Oct 2017 15:16:23 +0000 Received: from localhost ([127.0.0.1]:44357 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e9YH9-0004ex-6I for submit@debbugs.gnu.org; Tue, 31 Oct 2017 11:16:23 -0400 Received: from hera.aquilenet.fr ([141.255.128.1]:41616) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e9YH4-0004ej-Rx for 24069-done@debbugs.gnu.org; Tue, 31 Oct 2017 11:16:22 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 5CD30FACB; Tue, 31 Oct 2017 16:16:18 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SgT97euF7IRp; Tue, 31 Oct 2017 16:16:17 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 3CD76FACA; Tue, 31 Oct 2017 16:16:17 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Maxim Cournoyer Subject: Re: bug#24069: [PATCHv4] Re: bug#24069: gcc man page is broken References: <20160725222342.1fb3bfaa@scratchpost.org> <877ewfx6s8.fsf@gmail.com> <873773vvfr.fsf_-_@gmail.com> <87vajy6ey7.fsf_-_@gmail.com> <20171002092431.GP26375@macbook42.flashner.co.il> <871smlppn5.fsf@gnu.org> <87zi992to1.fsf@gmail.com> <8760bx2ce9.fsf_-_@gmail.com> <87bmlneqzk.fsf_-_@gmail.com> Date: Tue, 31 Oct 2017 16:16:15 +0100 In-Reply-To: <87bmlneqzk.fsf_-_@gmail.com> (Maxim Cournoyer's message of "Tue, 03 Oct 2017 19:44:31 -0400") Message-ID: <87shdzxs8w.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 24069-done Cc: 24069-done@debbugs.gnu.org, Efraim Flashner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Hi! Maxim Cournoyer skribis: >>>From 7229d7887289316031847893f8ad020ff07bdcdd 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. perl is made a native input to all of the gcc-* packages > except for gcc-boot0; perl-boot0 is made a native input to gcc-final. > > * gnu/packages/patches/gcc-fix-texi2pod.patch: Add patch file to fix texi= 2pod. > * gnu/local.mk (dist_patch_DATA): Register it. > * gnu/packages/gcc.scm (gcc-4.7, gcc-4.8, gcc-4.9, gcc-5): Use it. > (gcc-4.7)[native-inputs]: Add perl. > (gcc-4.9)[native-inputs]: Likewise. > * gnu/packages/commencement.scm (gcc-boot0)[native-inputs]: Filter out pe= rl. > (gcc-final)[native-inputs]: Add perl-boot0. Efraim pushed the patch as 19d27131968355a1da962e52163df51e0e03aba1 so I think we=E2=80=99re all set. Thank you! The definition of =E2=80=98gcc-final=E2=80=99 in (gnu packages commencement= ) has an explicit #:allowed-references white list, so we can be sure it won=E2=80=99t retain a reference to Perl. Ludo=E2=80=99. From unknown Sun Aug 17 01:45:40 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 29 Nov 2017 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator