Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/pamtester: fix build without C++
@ 2022-04-24 17:13 Fabrice Fontaine
  2022-04-24 17:39 ` Yann E. MORIN
  2022-04-24 20:43 ` Yann E. MORIN
  0 siblings, 2 replies; 5+ messages in thread
From: Fabrice Fontaine @ 2022-04-24 17:13 UTC (permalink / raw)
  To: buildroot; +Cc: Fabrice Fontaine

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@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
 
 $(eval $(autotools-package))
-- 
2.35.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/1] package/pamtester: fix build without C++
  2022-04-24 17:13 [Buildroot] [PATCH 1/1] package/pamtester: fix build without C++ Fabrice Fontaine
@ 2022-04-24 17:39 ` Yann E. MORIN
  2022-04-24 18:08   ` Fabrice Fontaine
  2022-04-24 20:43 ` Yann E. MORIN
  1 sibling, 1 reply; 5+ messages in thread
From: Yann E. MORIN @ 2022-04-24 17:39 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: buildroot

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@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?

Regards,
Yann E. MORIN.

>  $(eval $(autotools-package))
> -- 
> 2.35.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot@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.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/1] package/pamtester: fix build without C++
  2022-04-24 17:39 ` Yann E. MORIN
@ 2022-04-24 18:08   ` Fabrice Fontaine
  0 siblings, 0 replies; 5+ messages in thread
From: Fabrice Fontaine @ 2022-04-24 18:08 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: Buildroot Mailing List

Yann,

Le dim. 24 avr. 2022 à 19:39, Yann E. MORIN <yann.morin.1998@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@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@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
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/1] package/pamtester: fix build without C++
  2022-04-24 17:13 [Buildroot] [PATCH 1/1] package/pamtester: fix build without C++ Fabrice Fontaine
  2022-04-24 17:39 ` Yann E. MORIN
@ 2022-04-24 20:43 ` Yann E. MORIN
  2022-05-27  7:39   ` Peter Korsgaard
  1 sibling, 1 reply; 5+ messages in thread
From: Yann E. MORIN @ 2022-04-24 20:43 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: buildroot

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@gmail.com>

Applied to master, after adding an explanatory comment above the
autoreconf line, and expanding the commit log. Thanks.

Regards,
Yann E. MORIN.

> ---
>  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
>  
>  $(eval $(autotools-package))
> -- 
> 2.35.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot@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.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/1] package/pamtester: fix build without C++
  2022-04-24 20:43 ` Yann E. MORIN
@ 2022-05-27  7:39   ` Peter Korsgaard
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2022-05-27  7:39 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: Fabrice Fontaine, buildroot

>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:

 > 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@gmail.com>

 > Applied to master, after adding an explanatory comment above the
 > autoreconf line, and expanding the commit log. Thanks.

Committed to 2022.02.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2022-05-27  7:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-24 17:13 [Buildroot] [PATCH 1/1] package/pamtester: fix build without C++ Fabrice Fontaine
2022-04-24 17:39 ` Yann E. MORIN
2022-04-24 18:08   ` Fabrice Fontaine
2022-04-24 20:43 ` Yann E. MORIN
2022-05-27  7:39   ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox