From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by sourceware.org (Postfix) with ESMTPS id E8C683858289; Sun, 13 Nov 2022 15:44:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E8C683858289 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.cz Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id CD11D1FA42; Sun, 13 Nov 2022 15:44:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1668354279; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GWe0Ihkvg/u3tkFI8AHu25d2Ovqrs/6N6YMsAtGiXWQ=; b=EbV8jdf5pr3q0ibFOSOuasZWq1u0MpITyBFZquL6QzJVj3Wxj2++yEuN4OK7i5yh7ijIkx SR47ZsM5FKQhjTEw2IQ3vzpisulJGX3y0JIKI1O99FrwQIWyYsB5HLWff1PMJrpPM7295M tko6Pz4qF2sOd8+7JPTKOJEnttczYgM= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1668354279; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GWe0Ihkvg/u3tkFI8AHu25d2Ovqrs/6N6YMsAtGiXWQ=; b=Bni+6zKyTRZj6EHSPPlDiBDCN9Fp6UbV4drqXArJ98S52jI5X+sdxnLu6jZyAUitqbQCvy V9GZVDD0nZWlO7CQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id A3CFA133A4; Sun, 13 Nov 2022 15:44:39 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id IqD3JucQcWMtQQAAMHmgww (envelope-from ); Sun, 13 Nov 2022 15:44:39 +0000 Message-ID: <5bf8af0e-9e0e-5d5c-6d54-8004c9a9f0cc@suse.cz> Date: Sun, 13 Nov 2022 16:44:39 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: Announcement: Porting the Docs to Sphinx - tomorrow Content-Language: en-US To: Sandra Loosemore , Gerald Pfeifer Cc: Jakub Jelinek , Joseph Myers , Xi Ruoyao , 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: =?UTF-8?Q?Martin_Li=c5=a1ka?= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham 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 22:10, Sandra Loosemore wrote: > 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 > Can you please update the current master, you should get a proper error message. I'm going to take a look at make install-strip target. Martin