From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa2.mentor.iphmx.com (esa2.mentor.iphmx.com [68.232.141.98]) by sourceware.org (Postfix) with ESMTPS id A5AF63858D35; Fri, 11 Nov 2022 21:10:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A5AF63858D35 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com X-IronPort-AV: E=Sophos;i="5.96,157,1665475200"; d="scan'208";a="86918594" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa2.mentor.iphmx.com with ESMTP; 11 Nov 2022 13:10:12 -0800 IronPort-SDR: gaUd91LgexLm2QUSaDdhPPHCgoChmGwVht2YQvKLUTMKy1JaEG1Nar70MuALrTGGWrjbsqAlT5 OkwZO+GJKHmW21PFgajdJw23sE2bZwKkpVFtP6FsjlzBKJgFAOe5xO/uVFY/hataYgLbcg7xVa 8bv49Yc9rdSJyqNAiE5piF61qL3/Px/YMylpRAG76RTPki+M3uHuCjBhSJ7yK0lqt7fZ88jVbz IXTHWBVMPgXKT3GTj3dDZzxyZ734PKXWZlmq/wqJGaPPB7Cm8z0uYl6SJMfQ4Oc545PlSjKlbm ZKE= Message-ID: Date: Fri, 11 Nov 2022 14:10:08 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: Announcement: Porting the Docs to Sphinx - tomorrow Content-Language: en-US To: Gerald Pfeifer , =?UTF-8?Q?Martin_Li=c5=a1ka?= CC: Jakub Jelinek , Joseph Myers , Xi Ruoyao , Sandra Loosemore , GCC Patches , "GCC Development" References: <9975b774-46d7-8870-fd92-498f5ec50ab4@suse.cz> <9ea57a95-fefe-81a3-848e-ede0893f5b61@suse.cz> <8198573b-89e2-a232-3e33-0e5c4153c112@suse.cz> <494cee6fc68c06e039f46c3d6f8331a32e81ab5e.camel@linuxfromscratch.org> <7bae16bc-9069-4964-a80e-7ebff82e007e@suse.cz> <2a4347ab-40a1-2afc-f48c-6d8290afb7c6@suse.cz> <2ab60531-23fd-9a27-c84c-4948b79bc84a@suse.cz> From: Sandra Loosemore In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: svr-orw-mbx-08.mgc.mentorg.com (147.34.90.208) To svr-orw-mbx-13.mgc.mentorg.com (147.34.90.213) X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,HEADER_FROM_DIFFERENT_DOMAINS,KAM_DMARC_STATUS,NICE_REPLY_A,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 11/11/22 13:52, Gerald Pfeifer wrote: > On Tue, 8 Nov 2022, Martin Liška wrote: >> After the migration, people should be able to build (and install) GCC >> even if they miss Sphinx (similar happens now if you miss makeinfo). > > My nightly *install* (not build) on amd64-unknown-freebsd12.2 broke > (from what I can tell due to this - it's been working fine most of > the last several 1000 days): > > if [ -f doc/g++.1 ]; then rm -f /home/gerald/gcc-ref12-amd64/share/man/man1/g++.1; /usr/bin/install -c -m 644 doc/g++.1 /home/gerald/gcc-ref12-amd64/share/man/man1/g++.1; chmod a-x /home/gerald/gcc-ref12-amd64/share/man/man1/g++.1; fimake -C /scratch/tmp/gerald/GCC-HEAD/gcc/../doc man SOURCEDIR=/scratch/tmp/gerald/GCC-HEAD/gcc/fortran/doc/gfortran BUILDDIR=/scratch/tmp/gerald/OBJ-1111-0954/gcc/doc/gfortran/man SPHINXBUILD= > make[3]: make[3]: don't know how to make w. Stop > make[3]: stopped in /scratch/tmp/gerald/GCC-HEAD/doc > gmake[2]: *** [/scratch/tmp/gerald/GCC-HEAD/gcc/fortran/Make-lang.in:164: doc/gfortran/man/man/gfortran.1] Error 2 > gmake[2]: Leaving directory '/scratch/tmp/gerald/OBJ-1111-0954/gcc' > gmake[1]: *** [Makefile:5310: install-strip-gcc] Error 2 > gmake[1]: Leaving directory '/scratch/tmp/gerald/OBJ-1111-0954' > gmake: *** [Makefile:2734: install-strip] Error 2 > > (This appears to be the case with "make -j1 install-strip". Not sure where > that "w" target is coming from?) I've seen something similar: "make install" seems to be passing an empty SPHINXBUILD= option to the docs Makefile which is not equipped to handle that. I know the fix is to get a recent-enough version of Sphinx installed (and I'm going to work on that over the weekend), but it ought to fail more gracefully, or not try to install docs that cannot be built without Sphinx. -Sandra