Source: binutils-h8300-hms
Version: 2.16.1-10
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240313 ftbfs-trixie ftbfs-impfuncdef

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

This is most likely caused by a change in dpkg 1.22.6, that enabled
-Werror=implicit-function-declaration. For more information, see
https://wiki.debian.org/qa.debian.org/FTBFS#A2024-03-13_-Werror.3Dimplicit-function-declaration

Relevant part (hopefully):
> cc -c -DHAVE_CONFIG_H -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -U_FORTIFY_SOURCE  -I. -I../../libiberty/../include  -W -Wall -Wtraditional 
> -pedantic ../../libiberty/regex.c -o regex.o
> ../../libiberty/regex.c:136:7: warning: conflicting types for built-in 
> function ‘malloc’; expected ‘void *(long unsigned int)’ 
> [-Wbuiltin-declaration-mismatch]
>   136 | char *malloc ();
>       |       ^~~~~~
> ../../libiberty/regex.c:58:1: note: ‘malloc’ is declared in header 
> ‘<stdlib.h>’
>    57 | #  include <sys/types.h>
>   +++ |+#include <stdlib.h>
>    58 | # endif
> ../../libiberty/regex.c:137:7: warning: conflicting types for built-in 
> function ‘realloc’; expected ‘void *(void *, long unsigned int)’ 
> [-Wbuiltin-declaration-mismatch]
>   137 | char *realloc ();
>       |       ^~~~~~~
> ../../libiberty/regex.c:137:7: note: ‘realloc’ is declared in header 
> ‘<stdlib.h>’
> In file included from ../../libiberty/regex.c:653:
> ../../libiberty/regex.c: In function ‘byte_regex_compile’:
> ../../libiberty/regex.c:2314:11: error: implicit declaration of function 
> ‘free’ [-Werror=implicit-function-declaration]
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:2477:33: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  2477 |       if (!COMPILED_BUFFER_VAR) FREE_STACK_RETURN (REG_ESPACE);
>       |                                 ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:1:1: note: include ‘<stdlib.h>’ or provide a 
> declaration of ‘free’
>   +++ |+#include <stdlib.h>
>     1 | /* Extended regular expression matching and search library,
> ../../libiberty/regex.c:2314:11: warning: incompatible implicit declaration 
> of built-in function ‘free’ [-Wbuiltin-declaration-mismatch]
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:2477:33: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  2477 |       if (!COMPILED_BUFFER_VAR) FREE_STACK_RETURN (REG_ESPACE);
>       |                                 ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2314:11: note: include ‘<stdlib.h>’ or provide a 
> declaration of ‘free’
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:2477:33: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  2477 |       if (!COMPILED_BUFFER_VAR) FREE_STACK_RETURN (REG_ESPACE);
>       |                                 ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2314:11: warning: incompatible implicit declaration 
> of built-in function ‘free’ [-Wbuiltin-declaration-mismatch]
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:2538:17: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  2538 |                 FREE_STACK_RETURN (REG_BADRPT);
>       |                 ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2314:11: note: include ‘<stdlib.h>’ or provide a 
> declaration of ‘free’
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:2538:17: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  2538 |                 FREE_STACK_RETURN (REG_BADRPT);
>       |                 ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2314:11: warning: incompatible implicit declaration 
> of built-in function ‘free’ [-Wbuiltin-declaration-mismatch]
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:2571:36: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  2571 |                     if (p == pend) FREE_STACK_RETURN (REG_EESCAPE);
>       |                                    ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2314:11: note: include ‘<stdlib.h>’ or provide a 
> declaration of ‘free’
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:2571:36: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  2571 |                     if (p == pend) FREE_STACK_RETURN (REG_EESCAPE);
>       |                                    ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2314:11: warning: incompatible implicit declaration 
> of built-in function ‘free’ [-Wbuiltin-declaration-mismatch]
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:2678:28: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  2678 |             if (p == pend) FREE_STACK_RETURN (REG_EBRACK);
>       |                            ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2314:11: note: include ‘<stdlib.h>’ or provide a 
> declaration of ‘free’
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:2678:28: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  2678 |             if (p == pend) FREE_STACK_RETURN (REG_EBRACK);
>       |                            ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:158:53: warning: right-hand operand of comma 
> expression has no effect [-Wunused-value]
>   158 | #      define bzero(s, n)       (memset (s, '\0', n), (s))
>       |                                 ~~~~~~~~~~~~~~~~~~~~^~~~~~
> ../../libiberty/regex.c:3162:13: note: in expansion of macro ‘bzero’
>  3162 |             bzero (b, (1 << BYTEWIDTH) / BYTEWIDTH);
>       |             ^~~~~
> ../../libiberty/regex.c:2314:11: warning: incompatible implicit declaration 
> of built-in function ‘free’ [-Wbuiltin-declaration-mismatch]
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:3172:32: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  3172 |                 if (p == pend) FREE_STACK_RETURN (REG_EBRACK);
>       |                                ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2314:11: note: include ‘<stdlib.h>’ or provide a 
> declaration of ‘free’
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:3172:32: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  3172 |                 if (p == pend) FREE_STACK_RETURN (REG_EBRACK);
>       |                                ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2314:11: warning: incompatible implicit declaration 
> of built-in function ‘free’ [-Wbuiltin-declaration-mismatch]
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:3179:36: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  3179 |                     if (p == pend) FREE_STACK_RETURN (REG_EESCAPE);
>       |                                    ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2314:11: note: include ‘<stdlib.h>’ or provide a 
> declaration of ‘free’
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:3179:36: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  3179 |                     if (p == pend) FREE_STACK_RETURN (REG_EESCAPE);
>       |                                    ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2314:11: warning: incompatible implicit declaration 
> of built-in function ‘free’ [-Wbuiltin-declaration-mismatch]
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:3196:19: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  3196 |                   FREE_STACK_RETURN (REG_ERANGE);
>       |                   ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2314:11: note: include ‘<stdlib.h>’ or provide a 
> declaration of ‘free’
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:3196:19: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  3196 |                   FREE_STACK_RETURN (REG_ERANGE);
>       |                   ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2314:11: warning: incompatible implicit declaration 
> of built-in function ‘free’ [-Wbuiltin-declaration-mismatch]
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:3210:45: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  3210 |                     if (ret != REG_NOERROR) FREE_STACK_RETURN (ret);
>       |                                             ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2314:11: note: include ‘<stdlib.h>’ or provide a 
> declaration of ‘free’
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:3210:45: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  3210 |                     if (ret != REG_NOERROR) FREE_STACK_RETURN (ret);
>       |                                             ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2314:11: warning: incompatible implicit declaration 
> of built-in function ‘free’ [-Wbuiltin-declaration-mismatch]
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:3222:45: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  3222 |                     if (ret != REG_NOERROR) FREE_STACK_RETURN (ret);
>       |                                             ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2314:11: note: include ‘<stdlib.h>’ or provide a 
> declaration of ‘free’
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:3222:45: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  3222 |                     if (ret != REG_NOERROR) FREE_STACK_RETURN (ret);
>       |                                             ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2314:11: warning: incompatible implicit declaration 
> of built-in function ‘free’ [-Wbuiltin-declaration-mismatch]
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:3237:36: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  3237 |                     if (p == pend) FREE_STACK_RETURN (REG_EBRACK);
>       |                                    ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2314:11: note: include ‘<stdlib.h>’ or provide a 
> declaration of ‘free’
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:3237:36: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  3237 |                     if (p == pend) FREE_STACK_RETURN (REG_EBRACK);
>       |                                    ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2314:11: warning: incompatible implicit declaration 
> of built-in function ‘free’ [-Wbuiltin-declaration-mismatch]
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:3305:27: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  3305 |                           FREE_STACK_RETURN (REG_ECTYPE);
>       |                           ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2314:11: note: include ‘<stdlib.h>’ or provide a 
> declaration of ‘free’
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:3305:27: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  3305 |                           FREE_STACK_RETURN (REG_ECTYPE);
>       |                           ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2314:11: warning: incompatible implicit declaration 
> of built-in function ‘free’ [-Wbuiltin-declaration-mismatch]
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:3311:40: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  3311 |                         if (p == pend) FREE_STACK_RETURN (REG_EBRACK);
>       |                                        ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2314:11: note: include ‘<stdlib.h>’ or provide a 
> declaration of ‘free’
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:3311:40: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  3311 |                         if (p == pend) FREE_STACK_RETURN (REG_EBRACK);
>       |                                        ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2314:11: warning: incompatible implicit declaration 
> of built-in function ‘free’ [-Wbuiltin-declaration-mismatch]
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:3362:36: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  3362 |                     if (p == pend) FREE_STACK_RETURN (REG_EBRACK);
>       |                                    ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2314:11: note: include ‘<stdlib.h>’ or provide a 
> declaration of ‘free’
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:3362:36: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  3362 |                     if (p == pend) FREE_STACK_RETURN (REG_EBRACK);
>       |                                    ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2314:11: warning: incompatible implicit declaration 
> of built-in function ‘free’ [-Wbuiltin-declaration-mismatch]
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:3390:31: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  3390 |                               FREE_STACK_RETURN (REG_ECOLLATE);
>       |                               ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2314:11: note: include ‘<stdlib.h>’ or provide a 
> declaration of ‘free’
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:3390:31: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  3390 |                               FREE_STACK_RETURN (REG_ECOLLATE);
>       |                               ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2314:11: warning: incompatible implicit declaration 
> of built-in function ‘free’ [-Wbuiltin-declaration-mismatch]
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:3496:36: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  3496 |                     if (p == pend) FREE_STACK_RETURN (REG_EBRACK);
>       |                                    ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2314:11: note: include ‘<stdlib.h>’ or provide a 
> declaration of ‘free’
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:3496:36: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  3496 |                     if (p == pend) FREE_STACK_RETURN (REG_EBRACK);
>       |                                    ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2314:11: warning: incompatible implicit declaration 
> of built-in function ‘free’ [-Wbuiltin-declaration-mismatch]
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:3525:31: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  3525 |                               FREE_STACK_RETURN (REG_ECOLLATE);
>       |                               ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2314:11: note: include ‘<stdlib.h>’ or provide a 
> declaration of ‘free’
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:3525:31: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  3525 |                               FREE_STACK_RETURN (REG_ECOLLATE);
>       |                               ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2314:11: warning: incompatible implicit declaration 
> of built-in function ‘free’ [-Wbuiltin-declaration-mismatch]
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:3681:26: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  3681 |           if (p == pend) FREE_STACK_RETURN (REG_EESCAPE);
>       |                          ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2314:11: note: include ‘<stdlib.h>’ or provide a 
> declaration of ‘free’
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:3681:26: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  3681 |           if (p == pend) FREE_STACK_RETURN (REG_EESCAPE);
>       |                          ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2314:11: warning: incompatible implicit declaration 
> of built-in function ‘free’ [-Wbuiltin-declaration-mismatch]
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:3748:21: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  3748 |                     FREE_STACK_RETURN (REG_ERPAREN);
>       |                     ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2314:11: note: include ‘<stdlib.h>’ or provide a 
> declaration of ‘free’
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:3748:21: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  3748 |                     FREE_STACK_RETURN (REG_ERPAREN);
>       |                     ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2314:11: warning: incompatible implicit declaration 
> of built-in function ‘free’ [-Wbuiltin-declaration-mismatch]
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:3770:21: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  3770 |                     FREE_STACK_RETURN (REG_ERPAREN);
>       |                     ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2314:11: note: include ‘<stdlib.h>’ or provide a 
> declaration of ‘free’
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:3770:21: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  3770 |                     FREE_STACK_RETURN (REG_ERPAREN);
>       |                     ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2314:11: warning: incompatible implicit declaration 
> of built-in function ‘free’ [-Wbuiltin-declaration-mismatch]
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:3908:23: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  3908 |                       FREE_STACK_RETURN (REG_BADRPT);
>       |                       ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2314:11: note: include ‘<stdlib.h>’ or provide a 
> declaration of ‘free’
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:3908:23: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  3908 |                       FREE_STACK_RETURN (REG_BADRPT);
>       |                       ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2314:11: warning: incompatible implicit declaration 
> of built-in function ‘free’ [-Wbuiltin-declaration-mismatch]
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:3918:19: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  3918 |                   FREE_STACK_RETURN (REG_BADBR);
>       |                   ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2314:11: note: include ‘<stdlib.h>’ or provide a 
> declaration of ‘free’
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:3918:19: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  3918 |                   FREE_STACK_RETURN (REG_BADBR);
>       |                   ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2314:11: warning: incompatible implicit declaration 
> of built-in function ‘free’ [-Wbuiltin-declaration-mismatch]
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:4010:19: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  4010 |                   FREE_STACK_RETURN (p == pend ? REG_EBRACE : 
> REG_BADBR);
>       |                   ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2314:11: note: include ‘<stdlib.h>’ or provide a 
> declaration of ‘free’
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:4010:19: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  4010 |                   FREE_STACK_RETURN (p == pend ? REG_EBRACE : 
> REG_BADBR);
>       |                   ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2314:11: warning: incompatible implicit declaration 
> of built-in function ‘free’ [-Wbuiltin-declaration-mismatch]
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:4102:17: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  4102 |                 FREE_STACK_RETURN (REG_ESUBREG);
>       |                 ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2314:11: note: include ‘<stdlib.h>’ or provide a 
> declaration of ‘free’
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:4102:17: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  4102 |                 FREE_STACK_RETURN (REG_ESUBREG);
>       |                 ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2314:11: warning: incompatible implicit declaration 
> of built-in function ‘free’ [-Wbuiltin-declaration-mismatch]
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:4188:5: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  4188 |     FREE_STACK_RETURN (REG_EPAREN);
>       |     ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2314:11: note: include ‘<stdlib.h>’ or provide a 
> declaration of ‘free’
>  2314 |   return (free (compile_stack.stack), value)
>       |           ^~~~
> ../../libiberty/regex.c:4188:5: note: in expansion of macro 
> ‘FREE_STACK_RETURN’
>  4188 |     FREE_STACK_RETURN (REG_EPAREN);
>       |     ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:4200:3: warning: incompatible implicit declaration of 
> built-in function ‘free’ [-Wbuiltin-declaration-mismatch]
>  4200 |   free (compile_stack.stack);
>       |   ^~~~
> ../../libiberty/regex.c:4200:3: note: include ‘<stdlib.h>’ or provide a 
> declaration of ‘free’
> ../../libiberty/regex.c: In function ‘byte_compile_range’:
> ../../libiberty/regex.c:1957:16: warning: operand of ‘?:’ changes signedness 
> from ‘char’ to ‘unsigned int’ due to unsignedness of other operand 
> [-Wsign-compare]
>  1957 |   (translate ? (char) translate[(unsigned char) (d)] : (d))
>       |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:4552:22: note: in expansion of macro ‘TRANSLATE’
>  4552 |   range_start_char = TRANSLATE (range_start_char);
>       |                      ^~~~~~~~~
> ../../libiberty/regex.c:1957:16: warning: operand of ‘?:’ changes signedness 
> from ‘char’ to ‘unsigned int’ due to unsignedness of other operand 
> [-Wsign-compare]
>  1957 |   (translate ? (char) translate[(unsigned char) (d)] : (d))
>       |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2182:24: note: in definition of macro ‘SET_LIST_BIT’
>  2182 |   (b[((unsigned char) (c)) / BYTEWIDTH]               \
>       |                        ^
> ../../libiberty/regex.c:4562:21: note: in expansion of macro ‘TRANSLATE’
>  4562 |       SET_LIST_BIT (TRANSLATE (this_char));
>       |                     ^~~~~~~~~
> ../../libiberty/regex.c:1957:16: warning: operand of ‘?:’ changes signedness 
> from ‘char’ to ‘unsigned int’ due to unsignedness of other operand 
> [-Wsign-compare]
>  1957 |   (translate ? (char) translate[(unsigned char) (d)] : (d))
>       |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:2183:30: note: in definition of macro ‘SET_LIST_BIT’
>  2183 |    |= 1 << (((unsigned char) c) % BYTEWIDTH))
>       |                              ^
> ../../libiberty/regex.c:4562:21: note: in expansion of macro ‘TRANSLATE’
>  4562 |       SET_LIST_BIT (TRANSLATE (this_char));
>       |                     ^~~~~~~~~
> ../../libiberty/regex.c: In function ‘byte_re_compile_fastmap’:
> ../../libiberty/regex.c:158:53: warning: right-hand operand of comma 
> expression has no effect [-Wunused-value]
>   158 | #      define bzero(s, n)       (memset (s, '\0', n), (s))
>       |                                 ~~~~~~~~~~~~~~~~~~~~^~~~~~
> ../../libiberty/regex.c:4649:3: note: in expansion of macro ‘bzero’
>  4649 |   bzero (fastmap, 1 << BYTEWIDTH);  /* Assume nothing's valid.  */
>       |   ^~~~~
> ../../libiberty/regex.c:4902:11: error: implicit declaration of function 
> ‘abort’ [-Werror=implicit-function-declaration]
>  4902 |           abort (); /* We have listed all the cases.  */
>       |           ^~~~~
> ../../libiberty/regex.c:4902:11: note: include ‘<stdlib.h>’ or provide a 
> declaration of ‘abort’
> ../../libiberty/regex.c:4902:11: warning: incompatible implicit declaration 
> of built-in function ‘abort’ [-Wbuiltin-declaration-mismatch]
> ../../libiberty/regex.c:4902:11: note: include ‘<stdlib.h>’ or provide a 
> declaration of ‘abort’
> ../../libiberty/regex.c: In function ‘byte_re_match_2_internal’:
> ../../libiberty/regex.c:7240:27: warning: variable ‘sdummy’ set but not used 
> [-Wunused-but-set-variable]
>  7240 |             const CHAR_T *sdummy = NULL;
>       |                           ^~~~~~
> ../../libiberty/regex.c:7239:22: warning: variable ‘pdummy’ set but not used 
> [-Wunused-but-set-variable]
>  7239 |             UCHAR_T *pdummy = NULL;
>       |                      ^~~~~~
> ../../libiberty/regex.c:7520:11: warning: incompatible implicit declaration 
> of built-in function ‘abort’ [-Wbuiltin-declaration-mismatch]
>  7520 |           abort ();
>       |           ^~~~~
> ../../libiberty/regex.c:7520:11: note: include ‘<stdlib.h>’ or provide a 
> declaration of ‘abort’
> ../../libiberty/regex.c: In function ‘xregcomp’:
> ../../libiberty/regex.c:8086:11: warning: incompatible implicit declaration 
> of built-in function ‘free’ [-Wbuiltin-declaration-mismatch]
>  8086 |           free (preg->fastmap);
>       |           ^~~~
> ../../libiberty/regex.c:8086:11: note: include ‘<stdlib.h>’ or provide a 
> declaration of ‘free’
> ../../libiberty/regex.c: In function ‘xregexec’:
> ../../libiberty/regex.c:8165:7: warning: incompatible implicit declaration of 
> built-in function ‘free’ [-Wbuiltin-declaration-mismatch]
>  8165 |       free (regs.start);
>       |       ^~~~
> ../../libiberty/regex.c:8165:7: note: include ‘<stdlib.h>’ or provide a 
> declaration of ‘free’
> ../../libiberty/regex.c: In function ‘xregerror’:
> ../../libiberty/regex.c:8196:5: warning: incompatible implicit declaration of 
> built-in function ‘abort’ [-Wbuiltin-declaration-mismatch]
>  8196 |     abort ();
>       |     ^~~~~
> ../../libiberty/regex.c:8196:5: note: include ‘<stdlib.h>’ or provide a 
> declaration of ‘abort’
> ../../libiberty/regex.c: In function ‘xregfree’:
> ../../libiberty/regex.c:8231:5: warning: incompatible implicit declaration of 
> built-in function ‘free’ [-Wbuiltin-declaration-mismatch]
>  8231 |     free (preg->buffer);
>       |     ^~~~
> ../../libiberty/regex.c:8231:5: note: include ‘<stdlib.h>’ or provide a 
> declaration of ‘free’
> ../../libiberty/regex.c:8238:5: warning: incompatible implicit declaration of 
> built-in function ‘free’ [-Wbuiltin-declaration-mismatch]
>  8238 |     free (preg->fastmap);
>       |     ^~~~
> ../../libiberty/regex.c:8238:5: note: include ‘<stdlib.h>’ or provide a 
> declaration of ‘free’
> ../../libiberty/regex.c:8243:5: warning: incompatible implicit declaration of 
> built-in function ‘free’ [-Wbuiltin-declaration-mismatch]
>  8243 |     free (preg->translate);
>       |     ^~~~
> ../../libiberty/regex.c:8243:5: note: include ‘<stdlib.h>’ or provide a 
> declaration of ‘free’
> ../../libiberty/regex.c: In function ‘byte_re_match_2_internal’:
> ../../libiberty/regex.c:6793:33: warning: this statement may fall through 
> [-Wimplicit-fallthrough=]
>  6793 |                     is_a_jump_n = true;
> ../../libiberty/regex.c:6794:19: note: here
>  6794 |                   case pop_failure_jump:
>       |                   ^~~~
> ../../libiberty/regex.c:7216:14: warning: this statement may fall through 
> [-Wimplicit-fallthrough=]
>  7216 |           if ((re_opcode_t) p[-1] != pop_failure_jump)
>       |              ^
> ../../libiberty/regex.c:7231:9: note: here
>  7231 |         case pop_failure_jump:
>       |         ^~~~
> ../../libiberty/regex.c:1810:25: warning: this statement may fall through 
> [-Wimplicit-fallthrough=]
>  1810 |   set_regs_matched_done = 0;                                          
>   \
>       |   ~~~~~~~~~~~~~~~~~~~~~~^~~
> ../../libiberty/regex.c:7243:13: note: in expansion of macro 
> ‘POP_FAILURE_POINT’
>  7243 |             POP_FAILURE_POINT (sdummy, pdummy,
>       |             ^~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:7249:9: note: here
>  7249 |         unconditional_jump:
>       |         ^~~~~~~~~~~~~~~~~~
> ../../libiberty/regex.c:7549:31: warning: this statement may fall through 
> [-Wimplicit-fallthrough=]
>  7549 |                   is_a_jump_n = true;
> ../../libiberty/regex.c:7550:17: note: here
>  7550 |                 case maybe_pop_jump:
>       |                 ^~~~
> ../../libiberty/regex.c: In function ‘byte_common_op_match_null_string_p’:
> ../../libiberty/regex.c:7817:10: warning: this statement may fall through 
> [-Wimplicit-fallthrough=]
>  7817 |       p1 += 2 * OFFSET_ADDRESS_SIZE;
>       |          ^
> ../../libiberty/regex.c:7819:5: note: here
>  7819 |     default:
>       |     ^~~~~~~
> ../../libiberty/regex.c: In function ‘byte_regex_compile’:
> ../../libiberty/regex.c:2529:14: warning: this statement may fall through 
> [-Wimplicit-fallthrough=]
>  2529 |           if ((syntax & RE_BK_PLUS_QM)
>       |              ^
> ../../libiberty/regex.c:2532:9: note: here
>  2532 |         handle_plus:
>       |         ^~~~~~~~~~~
> cc1: some warnings being treated as errors
> make[3]: *** [Makefile:806: regex.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/binutils-h8300-hms_2.16.1-10_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to