[Buildroot] [PATCH 1/1] package/pamtester: fix build without C++

Fabrice Fontaine fontaine.fabrice at gmail.com
Sun Apr 24 18:08:15 UTC 2022


Yann,

Le dim. 24 avr. 2022 à 19:39, Yann E. MORIN <yann.morin.1998 at free.fr> a écrit :
>
> Fabrice, All,
>
> On 2022-04-24 19:13 +0200, Fabrice Fontaine spake thusly:
> > Run autoreconf to avoid the following build failure without C++:
> >
> > configure: error: C++ preprocessor "/lib/cpp" fails sanity check
> >
> > Fixes:
> >  - http://autobuild.buildroot.org/results/c000aff659da024b6eef42bca824bdea7b5541c2
> >
> > Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
> > ---
> >  package/pamtester/pamtester.mk | 2 ++
> >  1 file changed, 2 insertions(+)
> >
> > diff --git a/package/pamtester/pamtester.mk b/package/pamtester/pamtester.mk
> > index b09e4d1cc0..2d8f1317ca 100644
> > --- a/package/pamtester/pamtester.mk
> > +++ b/package/pamtester/pamtester.mk
> > @@ -9,5 +9,7 @@ PAMTESTER_SITE = https://download.sourceforge.net/project/pamtester/pamtester/$(
> >  PAMTESTER_DEPENDENCIES = linux-pam
> >  PAMTESTER_LICENSE = BSD-3-Clause
> >  PAMTESTER_LICENSE_FILES = LICENSE
> > +# Fix build failure without C++
> > +PAMTESTER_AUTORECONF = YES
>
> Why does autoreconfiguring fix the issue?

I didn't dig too much into it but it removes those wrong CXXCPP tests
from the configure file.

>
> Regards,
> Yann E. MORIN.
>
> >  $(eval $(autotools-package))
> > --
> > 2.35.1
> >
> > _______________________________________________
> > buildroot mailing list
> > buildroot at buildroot.org
> > https://lists.buildroot.org/mailman/listinfo/buildroot
>
> --
> .-----------------.--------------------.------------------.--------------------.
> |  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
> | +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
> | +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
> | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
> '------------------------------^-------^------------------^--------------------'

Best Regards,

Fabrice



More information about the buildroot mailing list