All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/bison: disable libtextstyle
@ 2020-09-27  5:08 Baruch Siach
  2020-09-29  6:32 ` Baruch Siach
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Baruch Siach @ 2020-09-27  5:08 UTC (permalink / raw)
  To: buildroot

Recent bison versions added support for fancy error output using gettext
provided libtextstyle. The Buildroot gettext version does not provided
all needed features. However host-bison might detect host installed
libtextstyle at configure time, but fail at run time because of missing
symbols in Buildroot provided libtextstyle.

We don't really need fancy output of host packages, so just disable
libtextstyle support.

Fixes (libpcap):
http://autobuild.buildroot.net/results/058e8ec90da3c06e31b31eb94541331cced44db3/
http://autobuild.buildroot.net/results/d99dda99722c53730b5964bd4ff1e1281c4ad759/
http://autobuild.buildroot.net/results/056fd1246554fe7def416429620175e86530c0a7/

Cc: Xogium <contact@xogium.me>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
Hi Xogium,

Can you verify that this indeed fixes libpcap configure on your builder?

Thanks,
baruch
---
 package/bison/bison.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/bison/bison.mk b/package/bison/bison.mk
index 45364e3cd5e6..70111a8d6297 100644
--- a/package/bison/bison.mk
+++ b/package/bison/bison.mk
@@ -13,5 +13,6 @@ BISON_LICENSE_FILES = COPYING
 BISON_MAKE = $(MAKE1)
 HOST_BISON_DEPENDENCIES = host-m4
 HOST_BISON_CONF_OPTS = --enable-relocatable
+HOST_BISON_CONF_ENV = ac_cv_libtextstyle=no
 
 $(eval $(host-autotools-package))
-- 
2.28.0

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH] package/bison: disable libtextstyle
  2020-09-27  5:08 [Buildroot] [PATCH] package/bison: disable libtextstyle Baruch Siach
@ 2020-09-29  6:32 ` Baruch Siach
  2020-09-30 20:57 ` Thomas Petazzoni
  2020-10-03  6:04 ` Peter Korsgaard
  2 siblings, 0 replies; 4+ messages in thread
From: Baruch Siach @ 2020-09-29  6:32 UTC (permalink / raw)
  To: buildroot

Hi Buildroot list,

On Sun, Sep 27 2020, Baruch Siach wrote:
> Recent bison versions added support for fancy error output using gettext
> provided libtextstyle. The Buildroot gettext version does not provided

Typo: s/provided/provide/

> all needed features. However host-bison might detect host installed
> libtextstyle at configure time, but fail at run time because of missing
> symbols in Buildroot provided libtextstyle.
>
> We don't really need fancy output of host packages, so just disable
> libtextstyle support.
>
> Fixes (libpcap):
> http://autobuild.buildroot.net/results/058e8ec90da3c06e31b31eb94541331cced44db3/
> http://autobuild.buildroot.net/results/d99dda99722c53730b5964bd4ff1e1281c4ad759/
> http://autobuild.buildroot.net/results/056fd1246554fe7def416429620175e86530c0a7/
>
> Cc: Xogium <contact@xogium.me>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>

I'm adding Tested-by on behalf of Xogium, because he is not subscribed
to the list. Xogium verified that this patch fixes libpcap configure
step on his builder.

Tested-by: Xogium <contact@xogium.me>

baruch

> ---
> Hi Xogium,
>
> Can you verify that this indeed fixes libpcap configure on your builder?
>
> Thanks,
> baruch
> ---
>  package/bison/bison.mk | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/package/bison/bison.mk b/package/bison/bison.mk
> index 45364e3cd5e6..70111a8d6297 100644
> --- a/package/bison/bison.mk
> +++ b/package/bison/bison.mk
> @@ -13,5 +13,6 @@ BISON_LICENSE_FILES = COPYING
>  BISON_MAKE = $(MAKE1)
>  HOST_BISON_DEPENDENCIES = host-m4
>  HOST_BISON_CONF_OPTS = --enable-relocatable
> +HOST_BISON_CONF_ENV = ac_cv_libtextstyle=no
>  
>  $(eval $(host-autotools-package))


-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH] package/bison: disable libtextstyle
  2020-09-27  5:08 [Buildroot] [PATCH] package/bison: disable libtextstyle Baruch Siach
  2020-09-29  6:32 ` Baruch Siach
@ 2020-09-30 20:57 ` Thomas Petazzoni
  2020-10-03  6:04 ` Peter Korsgaard
  2 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2020-09-30 20:57 UTC (permalink / raw)
  To: buildroot

On Sun, 27 Sep 2020 08:08:29 +0300
Baruch Siach <baruch@tkos.co.il> wrote:

> Recent bison versions added support for fancy error output using gettext
> provided libtextstyle. The Buildroot gettext version does not provided
> all needed features. However host-bison might detect host installed
> libtextstyle at configure time, but fail at run time because of missing
> symbols in Buildroot provided libtextstyle.
> 
> We don't really need fancy output of host packages, so just disable
> libtextstyle support.
> 
> Fixes (libpcap):
> http://autobuild.buildroot.net/results/058e8ec90da3c06e31b31eb94541331cced44db3/
> http://autobuild.buildroot.net/results/d99dda99722c53730b5964bd4ff1e1281c4ad759/
> http://autobuild.buildroot.net/results/056fd1246554fe7def416429620175e86530c0a7/
> 
> Cc: Xogium <contact@xogium.me>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
> Hi Xogium,

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH] package/bison: disable libtextstyle
  2020-09-27  5:08 [Buildroot] [PATCH] package/bison: disable libtextstyle Baruch Siach
  2020-09-29  6:32 ` Baruch Siach
  2020-09-30 20:57 ` Thomas Petazzoni
@ 2020-10-03  6:04 ` Peter Korsgaard
  2 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2020-10-03  6:04 UTC (permalink / raw)
  To: buildroot

>>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> writes:

 > Recent bison versions added support for fancy error output using gettext
 > provided libtextstyle. The Buildroot gettext version does not provided
 > all needed features. However host-bison might detect host installed
 > libtextstyle at configure time, but fail at run time because of missing
 > symbols in Buildroot provided libtextstyle.

 > We don't really need fancy output of host packages, so just disable
 > libtextstyle support.

 > Fixes (libpcap):
 > http://autobuild.buildroot.net/results/058e8ec90da3c06e31b31eb94541331cced44db3/
 > http://autobuild.buildroot.net/results/d99dda99722c53730b5964bd4ff1e1281c4ad759/
 > http://autobuild.buildroot.net/results/056fd1246554fe7def416429620175e86530c0a7/

 > Cc: Xogium <contact@xogium.me>
 > Signed-off-by: Baruch Siach <baruch@tkos.co.il>

Committed to 2020.02.x, 2020.05.x and 2020.08.x, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-10-03  6:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-27  5:08 [Buildroot] [PATCH] package/bison: disable libtextstyle Baruch Siach
2020-09-29  6:32 ` Baruch Siach
2020-09-30 20:57 ` Thomas Petazzoni
2020-10-03  6:04 ` Peter Korsgaard

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.