Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH] package/matchbox-starup-monitor: fix build without C++
Date: Sun, 13 Nov 2022 21:59:40 +0100	[thread overview]
Message-ID: <20221113215940.7793ff4d@windsurf> (raw)
In-Reply-To: <20221112220537.2521750-1-yann.morin.1998@free.fr>

On Sat, 12 Nov 2022 23:05:37 +0100
"Yann E. MORIN" <yann.morin.1998@free.fr> wrote:

> matchbox-startup-monitor is an ageing package, and uses an old
> configure.ac with archaic constructs. This had generated a configure
> script that incorrectly tries to look for and validate a C++ compiler:
> 
>     checking for powerpc64le-buildroot-linux-gnu-g++... no
>     checking whether we are using the GNU C++ compiler... no
>     checking whether no accepts -g... no
>     checking dependency style of no... none
>     checking how to run the C++ preprocessor... /lib/cpp
>     configure: error: C++ preprocessor "/lib/cpp" fails sanity check
> 
> Calling autoreconf fixes the issue, as the generated configure no longer
> tries to look for a C++ compiler at all anymore. Running autoreconf does
> not add any new dependency, as they are already in the dependency chain
> via other packages.
> 
> Fixes:
>     http://autobuild.buildroot.org/results/223/223f43dd76ee907c5f25c4fee94a0f5d75614dd5/
> 
> See also similar changes:
>     9993a36f5e12 package/pamtester: fix build without C++
>     c05cc5de868c package/madplay: needs autoreconf
>     eae18d01abc7 libmad: needs autoreconf
>     43274dd3e0da package/libid3tag: needs autoreconf
> 
> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
> ---
>  package/matchbox-startup-monitor/matchbox-startup-monitor.mk | 5 +++++
>  1 file changed, 5 insertions(+)

Meh, matchbox. Unfortunately, I pushed before spotting the typo in the
commit title, so it will stay forever :)

Applied to master, thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

      reply	other threads:[~2022-11-13 20:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-12 22:05 [Buildroot] [PATCH] package/matchbox-starup-monitor: fix build without C++ Yann E. MORIN
2022-11-13 20:59 ` Thomas Petazzoni via buildroot [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=20221113215940.7793ff4d@windsurf \
    --to=buildroot@buildroot.org \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=yann.morin.1998@free.fr \
    /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