bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Wget 1.21.1 on Apple M1


From: Jeffrey Walton
Subject: Re: Wget 1.21.1 on Apple M1
Date: Sun, 7 Mar 2021 01:04:19 -0500

On Sun, Mar 7, 2021 at 12:56 AM Ryan Schmidt <ryandesign@macports.org> wrote:
>
> On Mar 6, 2021, at 21:37, Jeffrey Walton wrote:
>
> > I'm building Wget 1.21.1 on an Apple M1. Things go well for a while, and 
> > then:
> >
> > % make
> > /Library/Developer/CommandLineTools/usr/bin/make  all-recursive
> > Making all in lib
> > /Library/Developer/CommandLineTools/usr/bin/make  all-am
> >  CC       regex.o
> > In file included from regex.c:74:
> > In file included from ./regexec.c:1362:
> > ./malloc/dynarray-skeleton.c:195:13: error: expected identifier or '('
> > __nonnull ((1))
> >            ^
> > ./malloc/dynarray-skeleton.c:195:13: error: expected ')'
> > ./malloc/dynarray-skeleton.c:195:12: note: to match this '('
> > __nonnull ((1))
> >           ^
> > ./malloc/dynarray-skeleton.c:205:40: error: expected identifier or '('
> > __attribute_maybe_unused__ __nonnull ((1))
> >                                       ^
> > ./malloc/dynarray-skeleton.c:205:40: error: expected ')'
> > ./malloc/dynarray-skeleton.c:205:39: note: to match this '('
> > __attribute_maybe_unused__ __nonnull ((1))
> >                                      ^
> > ./malloc/dynarray-skeleton.c:216:13: error: expected identifier or '('
> > __nonnull ((1))
> >            ^
> > ./malloc/dynarray-skeleton.c:216:13: error: expected ')'
> > ./malloc/dynarray-skeleton.c:216:12: note: to match this '('
> > __nonnull ((1))
> >           ^
> > ./malloc/dynarray-skeleton.c:225:13: error: expected identifier or '('
> > __nonnull ((1))
> >            ^
> > ./malloc/dynarray-skeleton.c:225:13: error: expected ')'
> > ./malloc/dynarray-skeleton.c:225:12: note: to match this '('
> > __nonnull ((1))
> >           ^
> > ./malloc/dynarray-skeleton.c:239:13: error: expected identifier or '('
> > __nonnull ((1))
> >            ^
> > ./malloc/dynarray-skeleton.c:239:13: error: expected ')'
> > ./malloc/dynarray-skeleton.c:239:12: note: to match this '('
> > __nonnull ((1))
> >           ^
> > ./malloc/dynarray-skeleton.c:248:13: error: expected identifier or '('
> > __nonnull ((1))
> >            ^
> > ./malloc/dynarray-skeleton.c:248:13: error: expected ')'
> > ./malloc/dynarray-skeleton.c:248:12: note: to match this '('
> > __nonnull ((1))
> >           ^
> > ./malloc/dynarray-skeleton.c:260:13: error: expected identifier or '('
> > __nonnull ((1))
> >            ^
> > ./malloc/dynarray-skeleton.c:260:13: error: expected ')'
> > ./malloc/dynarray-skeleton.c:260:12: note: to match this '('
> > __nonnull ((1))
> >           ^
> > ./malloc/dynarray-skeleton.c:270:13: error: expected identifier or '('
> > __nonnull ((1))
> >            ^
> > ./malloc/dynarray-skeleton.c:270:13: error: expected ')'
> > ./malloc/dynarray-skeleton.c:270:12: note: to match this '('
> > __nonnull ((1))
> >           ^
> > ./malloc/dynarray-skeleton.c:286:7: error: implicit declaration of function
> >      'regmatch_list_mark_failed' is invalid in C99
> >      [-Werror,-Wimplicit-function-declaration]
> >      DYNARRAY_NAME (mark_failed) (list);
> >      ^
> > ./malloc/dynarray-skeleton.c:151:29: note: expanded from macro 
> > 'DYNARRAY_NAME'
> > #define DYNARRAY_NAME(name) DYNARRAY_CONCAT1(DYNARRAY_PREFIX, name)
> >                            ^
> > ./malloc/dynarray-skeleton.c:150:40: note: expanded from macro
> >      'DYNARRAY_CONCAT1'
> > #define DYNARRAY_CONCAT1(prefix, name) DYNARRAY_CONCAT0(prefix, name)
> >                                       ^
> > ./malloc/dynarray-skeleton.c:149:40: note: expanded from macro
> >      'DYNARRAY_CONCAT0'
> > #define DYNARRAY_CONCAT0(prefix, name) prefix##name
> >                                       ^
> > <scratch space>:7:1: note: expanded from here
> > regmatch_list_mark_failed
> > ^
> > In file included from regex.c:74:
> > In file included from ./regexec.c:1362:
> > ./malloc/dynarray-skeleton.c:297:13: error: expected identifier or '('
> > __nonnull ((1))
> >            ^
> > ./malloc/dynarray-skeleton.c:297:13: error: expected ')'
> > ./malloc/dynarray-skeleton.c:297:12: note: to match this '('
> > __nonnull ((1))
> >           ^
> > fatal error: too many errors emitted, stopping now [-ferror-limit=]
> > 20 errors generated.
> > make[3]: *** [regex.o] Error 1
> >
> > The compiler is Apple Clang 12.0:
> >
> > % clang --version
> > Apple clang version 12.0.0 (clang-1200.0.32.29)
> > Target: arm64-apple-darwin20.3.0
> > Thread model: posix
> > InstalledDir: /Library/Developer/CommandLineTools/usr/bin
> >
>
> This too was already reported in January:
>
> https://lists.gnu.org/archive/html/bug-wget/2021-01/msg00070.html
>
> Use the --without-included-regex configure flag to work around it.

Thanks.

--without-included-regex is the default. (Or help is wrong. And I did
not add an option to enable it).

Jeff



reply via email to

[Prev in Thread] Current Thread [Next in Thread]