From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DB3CE3858D37; Mon, 13 Feb 2023 14:59:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DB3CE3858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1676300388; bh=IGFikTgM+NczeODXuF6lF6ya9r8pPNZuQcIL6eI22Tg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=STChkZXTcfYzzQETygKS5wBftOKN/7NHW3yi8vXfuCmGGeQgvQn0h3dVFP2iLi8np VglN2KLnELf99wIfI4u7xUKqTC1wyHrNCdTAYG44ZIeOyDmIo6nrOjYg+rokL6bSel RrhPk48tckItv3eRKuWah3XjJ1vCcVDmttJVFp84= From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug build/30108] gdb info docs fail to build when configured --with-system-readlne Date: Mon, 13 Feb 2023 14:59:48 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: build X-Bugzilla-Version: 13.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: keiths at redhat dot com X-Bugzilla-Target-Milestone: 13.1 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30108 --- Comment #5 from cvs-commit at gcc dot gnu.org --- The gdb-13-branch branch has been updated by Keith Seitz : https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3Dc594b6f7d5dd= 50bc0ae3b0f15b556bfe592893bb commit c594b6f7d5dd50bc0ae3b0f15b556bfe592893bb Author: Keith Seitz Date: Mon Feb 13 06:14:40 2023 -0800 Fix doc build dependencies for --with-system-readline PR build/30108 concerns building gdb documentation with --with-sytem-readline. If the in-tree readline directory is missing, though, the docs will fail to build: make[4]: Entering directory '/home/keiths/work/readline-doc-issue/linux/gdb/doc' make[4]: *** No rule to make target '../../../src/gdb/doc/../../readline/readline/doc/rluser.texi', needed by 'gdb.info'. Stop. The listed file (and hsuser.texi) are conditionally included by gdb.texinfo. When system readline is used, gdb/configure.ac will leave READLINE_TEXI_INCFLAGS empty, causing doc/Makefile.in to output a line = to $BUILD/doc/GDBvn.texi with "@set SYSTEM_READLINE". This surpresses the inclusion of the missing files. They are not needed or used in this scenario. However, GDB_DOC_SOURCE_INCLUDES always lists these two files as dependencies, thus provoking the build error whenever readline/ is missing. This patch fixes this by creating (essentially) a conditional setting of the dependencies to be included from readline. --=20 You are receiving this mail because: You are on the CC list for the bug.=