From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) by sourceware.org (Postfix) with ESMTP id C4E9D39450EB for ; Sun, 15 Mar 2020 01:46:23 +0000 (GMT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-244-Dv2UuSZrO0irDU0UxIizvw-1; Sat, 14 Mar 2020 21:46:19 -0400 X-MC-Unique: Dv2UuSZrO0irDU0UxIizvw-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 6BEE5107ACC7; Sun, 15 Mar 2020 01:46:18 +0000 (UTC) Received: from ovpn-116-56.phx2.redhat.com (ovpn-116-56.phx2.redhat.com [10.3.116.56]) by smtp.corp.redhat.com (Postfix) with ESMTP id D4EEC5DA75; Sun, 15 Mar 2020 01:46:17 +0000 (UTC) Message-ID: <02a6a5c8a7dd0b30502912c0eb6989d6a1a0615d.camel@redhat.com> Subject: Re: /usr/bin/sphinx-1.0-build: Command not found From: David Malcolm To: Gerald Pfeifer , overseers@gcc.gnu.org Cc: jakub@redhat.com Date: Sat, 14 Mar 2020 21:46:16 -0400 In-Reply-To: References: User-Agent: Evolution 3.32.5 (3.32.5-1.fc30) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: overseers@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Overseers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Mar 2020 01:46:26 -0000 On Sat, 2020-03-14 at 23:46 +0100, Gerald Pfeifer wrote: > The crontab of the gccadmin account invokes > /home/gccadmin/scripts/update_web_docs_git > once a day. > > Presumably since the migration this has been failing as follows: > > Output written on libiberty.pdf (52 pages, 356199 bytes). > Transcript written on libiberty.log. > /tmp/gcc-doc-update.43504/gcc/gcc/jit/docs /tmp/gcc-doc- > update.43504 > /usr/bin/sphinx-1.0-build -b html -d _build/doctrees . > _build/html > make: /usr/bin/sphinx-1.0-build: Command not found > make: *** [Makefile:45: html] Error 127 > /tmp/gcc-doc-update.43504 > cp: cannot stat 'gcc/gcc/jit/docs/_build/html': No such file or > directory > > The script currently has the following comment: > > # The jit is a special-case, using sphinx rather than texinfo. > # Specifically, the jit docs need sphinx 1.0 or later. > # > # The jit/docs Makefile uses the executable $(SPHINXBUILD), > # defaulting to "sphinx-build". > # > # sphinx is packaged in Fedora and EPEL 6 within "python-sphinx", > # and in openSUSE within "python-Sphinx". > # > # For EPEL6, python-sphinx is sphinx 0.6.6, which is missing > various > # directives (e.g. ":c:macro:"), so we need the variant > # python-sphinx10 package. The latter installs its executable as > # /usr/bin/sphinx-1.0-build > # so we need to override SPHINXBUILD with this when invoking > "make". > > David (copied) contributed this piece, so may be able to help with > any questions. [CCing Jakub] Jakub committed a patch for this on Thursday to the gcc repository: https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=a0ae4cbe9d1430b32f674b862a6d8dce0ed81f2a which I believe ought to fix it (assuming the box in question is now running RHEL 8). The mailing list discussion was here: https://gcc.gnu.org/pipermail/gcc-patches/2020-March/541922.html Does the updated script need to be copied over somewhere? Dave