From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: bug#24069: [PATCHv2] Re: bug#24069: gcc man page is broken Date: Mon, 2 Oct 2017 12:24:31 +0300 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" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52126) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dywyM-0008Lz-NR for bug-guix@gnu.org; Mon, 02 Oct 2017 05:25:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dywyE-0006vh-Rb for bug-guix@gnu.org; Mon, 02 Oct 2017 05:25:10 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:34762) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dywyE-0006vN-Mn for bug-guix@gnu.org; Mon, 02 Oct 2017 05:25:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dywyE-0006Do-5v for bug-guix@gnu.org; Mon, 02 Oct 2017 05:25:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <87vajy6ey7.fsf_-_@gmail.com> 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: Maxim Cournoyer Cc: 24069@debbugs.gnu.org --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--