All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] screen: fix rare build failure on T_N undeclared
Date: Wed, 5 Sep 2018 21:14:05 +0200	[thread overview]
Message-ID: <20180905211405.0db9e5ab@windsurf> (raw)
In-Reply-To: <20180905172644.1871-1-fontaine.fabrice@gmail.com>

Hello,

On Wed,  5 Sep 2018 19:26:44 +0200, Fabrice Fontaine wrote:
> /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/arm-none-linux-gnueabi-gcc -c -I. -I.  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \
>      -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Os  -D_GNU_SOURCE list_display.c
> In file included from screen.h:150:0,
>                  from list_display.c:36:
> display.h:154:19: error: 'T_N' undeclared here (not in a function)
>    union tcu d_tcs[T_N];  /* terminal capabilities */
> 
> Macro T_N is defined in header file term.h but it may not be created
> then fails. Backport patch to make sure term.h is created before compile
> other source codes.
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/a62bea1fd32246526d59f029df3dca60f1cd710f
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  .../0010-comm-h-now-depends-on-term-h.patch   | 28 +++++++++++++++++++
>  1 file changed, 28 insertions(+)
>  create mode 100644 package/screen/0010-comm-h-now-depends-on-term-h.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com

  reply	other threads:[~2018-09-05 19:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-05 17:26 [Buildroot] [PATCH 1/1] screen: fix rare build failure on T_N undeclared Fabrice Fontaine
2018-09-05 19:14 ` Thomas Petazzoni [this message]
2018-09-28 12:44 ` Peter Korsgaard

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=20180905211405.0db9e5ab@windsurf \
    --to=thomas.petazzoni@bootlin.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.