Skip Menu |

This queue is for tickets about the Devel-Declare CPAN distribution.

Report information
The Basics
Id: 132421
Status: resolved
Priority: 0/
Queue: Devel-Declare

People
Owner: Nobody in particular
Requestors: GENEHACK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in:
  • 0.006011
  • 0.006018
  • 0.006019
Fixed in: 0.006022



Subject: 0.006019 fails to build with 5.31.10 on macOs
When running `make`, the following errors result: "/opt/plenv/versions/5.31.10/bin/perl5.31.10" -MExtUtils::Command::MM -e 'cp_nonempty' -- Declare.bs blib/arch/auto/Devel/Declare/Declare.bs 64 4 cc -c -I/opt/plenv/versions/5.31.10/lib/perl5/site_perl/5.31.10/darwin-2level/B/Hooks/OP/Check/Install -fno-common -DPERL_DARWIN -mmacosx-vers ion-min=10.15 -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -DPERL_USE_SAFE_PUTENV -O3 -DVERSION=\"0.006019\" -DXS _VERSION=\"0.006019\" "-I/opt/plenv/versions/5.31.10/lib/perl5/5.31.10/darwin-2level/CORE" Declare.c In file included from Declare.xs:7: ./stolen_chunk_of_toke.c:440:42: warning: implicit declaration of function 'isIDFIRST_lazy_if' is invalid in C99 [-Wimplicit-function-declaration] else if (*s == '\'' && allow_package && isIDFIRST_lazy_if(s+1,UTF)) { ^ ./stolen_chunk_of_toke.c:449:58: error: too few arguments provided to function-like macro invocation else if (UTF && UTF8_IS_START(*s) && isALNUM_utf8((U8*)s)) { ^ /opt/plenv/versions/5.31.10/lib/perl5/5.31.10/darwin-2level/CORE/handy.h:2245:9: note: macro 'isALNUM_utf8' defined here #define isALNUM_utf8(p,e) isWORDCHAR_utf8(p,e) ^ In file included from Declare.xs:7: ./stolen_chunk_of_toke.c:449:39: error: use of undeclared identifier 'isALNUM_utf8' else if (UTF && UTF8_IS_START(*s) && isALNUM_utf8((U8*)s)) { ^ ./stolen_chunk_of_toke.c:451:38: warning: implicit declaration of function 'is_utf8_mark' is invalid in C99 [-Wimplicit-function-declaration] while (UTF8_IS_CONTINUED(*t) && _is_utf8_mark((U8*)t)) ^ ./stolen_chunk_of_toke.c:194:23: note: expanded from macro '_is_utf8_mark' [1/16958] #define _is_utf8_mark is_utf8_mark ^ ./stolen_chunk_of_toke.c:926:29: warning: implicit declaration of function 'isIDFIRST_lazy_if' is invalid in C99 [-Wimplicit-function-declaration] else if (*s == '\'' && isIDFIRST_lazy_if(s+1,UTF)) { ^ ./stolen_chunk_of_toke.c:935:62: error: too few arguments provided to function-like macro invocation else if (UTF && UTF8_IS_START(*s) && isALNUM_utf8((U8*)s)) { ^ /opt/plenv/versions/5.31.10/lib/perl5/5.31.10/darwin-2level/CORE/handy.h:2245:9: note: macro 'isALNUM_utf8' defined here #define isALNUM_utf8(p,e) isWORDCHAR_utf8(p,e) ^ In file included from Declare.xs:7: ./stolen_chunk_of_toke.c:935:43: error: use of undeclared identifier 'isALNUM_utf8' else if (UTF && UTF8_IS_START(*s) && isALNUM_utf8((U8*)s)) { ^ ./stolen_chunk_of_toke.c:937:35: warning: implicit declaration of function 'is_utf8_mark' is invalid in C99 [-Wimplicit-function-declaration] while (UTF8_IS_CONTINUED(*t) && _is_utf8_mark((U8*)t)) ^ ./stolen_chunk_of_toke.c:194:23: note: expanded from macro '_is_utf8_mark' #define _is_utf8_mark is_utf8_mark ^ ./stolen_chunk_of_toke.c:957:3: warning: implicit declaration of function 'isALNUM_lazy_if' is invalid in C99 [-Wimplicit-function-declaration] (isALNUM_lazy_if(s+1,UTF) || s[1] == '$' || s[1] == '{' || strnEQ(s+1,"::",2)) ) ^ ./stolen_chunk_of_toke.c:985:6: warning: implicit declaration of function 'isIDFIRST_lazy_if' is invalid in C99 [-Wimplicit-function-declaration] if (isIDFIRST_lazy_if(d,UTF)) { ^ ./stolen_chunk_of_toke.c:991:51: warning: implicit declaration of function 'is_utf8_mark' is invalid in C99 [-Wimplicit-function-declaration] while (e < send && UTF8_IS_CONTINUED(*e) && _is_utf8_mark((U8*)e)) ^ ./stolen_chunk_of_toke.c:194:23: note: expanded from macro '_is_utf8_mark' #define _is_utf8_mark is_utf8_mark ^ 7 warnings and 4 errors generated. make: *** [Declare.o] Error 1 Seems to be an issue with older versions I tested as well (0.006018, 0.006011).
I believe this is the same as #130637.