[Buildroot] [PATCH 1/1] package/lighttpd: run autoreconf

Fabrice Fontaine fontaine.fabrice at gmail.com
Sat Nov 20 09:23:11 UTC 2021


Hello Peter,

Le sam. 20 nov. 2021 à 00:33, Peter Seiderer <ps.report at gmx.net> a écrit :
>
> Hello Fabrice,
>
> On Thu, 18 Nov 2021 22:06:23 +0100, Fabrice Fontaine <fontaine.fabrice at gmail.com> wrote:
>
> > For an unknown reason, the build fails since bump to version 1.4.60 in
> > commit d62b7f54f00291a50274409fb5510527fd725ffe on:
> >
> > array.c:140:2: error: 'for' loop initial declarations are only allowed in C99 mode
> >   for (uint32_t i = 0; i < sz; ++i) {
> >   ^
> >
> > Running autoreconf fixes the build.
>
> The difference is during the configure step:
>
> - checking for .../host/bin/arm-none-linux-gnueabi-gcc option to accept ISO C89... none needed
> + checking for .../host/bin/arm-none-linux-gnueabi-gcc option to enable C11 features... -std=gnu11
>
> And the use of the '-std=gnu11' flag for the compile steps..., any more
> lightweight option to enable C11?
Then, I assume that upstream forgot to regenerate the configure script after
https://github.com/lighttpd/lighttpd1.4/commit/73865025729897d11494de56a29c77c4fc8e5702
I opened an issue here: https://redmine.lighttpd.net/issues/3116

>
> Regards,
> Peter
>
> >
> > Fixes:
> >  - http://autobuild.buildroot.org/results/0349d8fed35b0766796dd9ba3b8de6ff8bd68fe7
> >
> > Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
> > ---
> >  package/lighttpd/lighttpd.mk | 2 ++
> >  1 file changed, 2 insertions(+)
> >
> > diff --git a/package/lighttpd/lighttpd.mk b/package/lighttpd/lighttpd.mk
> > index 9c18a6038e..c39a5db20f 100644
> > --- a/package/lighttpd/lighttpd.mk
> > +++ b/package/lighttpd/lighttpd.mk
> > @@ -12,6 +12,8 @@ LIGHTTPD_LICENSE = BSD-3-Clause
> >  LIGHTTPD_LICENSE_FILES = COPYING
> >  LIGHTTPD_CPE_ID_VENDOR = lighttpd
> >  LIGHTTPD_DEPENDENCIES = host-pkgconf
> > +# Issue in configure script provided in tarball
> > +LIGHTTPD_AUTORECONF = YES
> >  LIGHTTPD_CONF_OPTS = \
> >       --without-wolfssl \
> >       --libdir=/usr/lib/lighttpd \
>
Best Regards,

Fabrice



More information about the buildroot mailing list