From: Romain Naour <romain.naour@openwide.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/2] package/gdb (7.9): fix doc build when makeinfo is missing
Date: Sun, 6 Sep 2015 11:18:38 +0200 [thread overview]
Message-ID: <55EC04EE.4030408@openwide.fr> (raw)
In-Reply-To: <20150906103117.28fb8741@free-electrons.com>
Hi Thomas,
Le 06/09/2015 10:31, Thomas Petazzoni a ?crit :
> Romain,
>
> On Sat, 5 Sep 2015 23:50:33 +0200, Romain Naour wrote:
>
>>>> + gdb/index.html: ${GDB_DOC_FILES}
>>>> +- $(MAKEHTML) $(MAKEHTMLFLAGS) $(READLINE_TEXI_INCFLAG) -I ${GDBMI_DIR} -I $(srcdir) $(srcdir)/gdb.texinfo
>>>> ++ $(MAKEHTML) $(MAKEHTMLFLAGS) $(READLINE_TEXI_INCFLAG) -I ${GDBMI_DIR} -I $(srcdir) $(srcdir)/gdb.texinfo | true
>>>
>>> Can you try instead to just prepend a - at the beginning of the line?
>>>
>>> -$(MAKEHTML) ....
>>>
>>
>> It doesn't work. What's the meaning of a - in this case ?
>
> It tells make to ignore the return value of the command, and continue
> executing the Makefile even if the command failed.
>
> See https://www.gnu.org/software/make/manual/html_node/Errors.html:
>
> """
> To ignore errors in a recipe line, write a ?-? at the beginning of the
> line?s text (after the initial tab). The ?-? is discarded before the
> line is passed to the shell for execution.
> """
Ok thanks.
>
>> It's not easy to add a new options in configure.ac since a specific version of
>> autoconf is needed. Also it prevent to use GDB_AUTORECONF...
>>
>> configure.ac:34: error: Please use exactly Autoconf 2.64 instead of 2.69.
>>
>> Another solution is to remove "doc" directory from SUBDIRS in gdb/Makefile.in:
>> -SUBDIRS = doc @subdirs@ data-directory $(GNULIB_BUILDDIR)
>> +SUBDIRS = @subdirs@ data-directory $(GNULIB_BUILDDIR)
>>
>> Thoughts ?
>
> Argh. So maybe, removing the "doc" directory from SUBDIRS from
> Makefile.in is the easiest solution. In parallel to that, if you are
> brave enough to write a patch for upstream gdb to make building the
> documentation optional, and submit it, it would allow to solve the
> problem for future versions of gdb. Or at least report the bug to the
> gdb folks.
Ok, I'll update my patches to remove the "doc" directory and I'll see what I can
do with upstream.
Best regards,
Romain
>
> Thanks!
>
> Thomas
>
prev parent reply other threads:[~2015-09-06 9:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-05 14:30 [Buildroot] [PATCH 1/2] package/gdb (7.9): fix doc build when makeinfo is missing Romain Naour
2015-09-05 14:30 ` [Buildroot] [PATCH 2/2] package/gdb (7.10): fix doc build when make info " Romain Naour
2015-09-05 18:09 ` [Buildroot] [PATCH 1/2] package/gdb (7.9): fix doc build when makeinfo " Thomas Petazzoni
2015-09-05 21:50 ` Romain Naour
2015-09-06 8:31 ` Thomas Petazzoni
2015-09-06 9:18 ` Romain Naour [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55EC04EE.4030408@openwide.fr \
--to=romain.naour@openwide.fr \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox