Source: reiser4progs
Version: 2.0.5-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

Hi,

reiser4progs/experimental started to FTBFS when GCC 14 was made the
default compiler:

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -Wdate-time 
-D_FORTIFY_SOURCE=2 -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DENABLE_SYMLINKS 
-DENABLE_SPECIAL -DENABLE_R5_HASH -DENABLE_FNV1_HASH -DENABLE_RUPASOV_HASH 
-DENABLE_TEA_HASH -DENABLE_DEG
_HASH -DENABLE_LARGE_KEYS -DENABLE_SHORT_KEYS -DENABLE_DOT_O_FIBRE 
-DENABLE_EXT_1_FIBRE -DENABLE_EXT_3_FIBRE -DENABLE_LEXIC_FIBRE -O3 -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reiser4progs-2.0.5=. -fstack-protector-strong -fstack-
clash-protection -fcf-protection -I/build/reiser4progs-2.0.5 -W -Wall 
-Wno-unused -c volume.c -o libvolume_static_la-volume.o
In file included from /usr/include/aal/libaal.h:20,
                 from ../../include/reiser4/plugin.h:9,
                 from volume.c:12:
volume.c: In function 'advise_stripe_size_simple':
volume.c:48:27: warning: format '%llu' expects argument of type 'long long 
unsigned int', but argument 4 has type 'uint64_t' {aka 'long unsigned int'} 
[-Wformat=]
   48 |                 aal_error("Invalid stripe size (%llu). It must not be 
smaller "
      |                           
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   49 |                           "than block size %u.",
   50 |                           *result, block_size);
      |                           ~~~~~~~
      |                           |
      |                           uint64_t {aka long unsigned int}
volume.c:48:52: note: format string is defined here
   48 |                 aal_error("Invalid stripe size (%llu). It must not be 
smaller "
      |                                                 ~~~^
      |                                                    |
      |                                                    long long unsigned 
int
      |                                                 %lu
volume.c: In function 'advise_stripe_size_asym':
volume.c:74:27: warning: format '%llu' expects argument of type 'long long 
unsigned int', but argument 4 has type 'uint64_t' {aka 'long unsigned int'} 
[-Wformat=]
   74 |                 aal_error("Invalid stripe size (%llu). It must not be 
smaller "
      |                           
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   75 |                           "than block size %u.",
   76 |                           *result, block_size);
      |                           ~~~~~~~
      |                           |
      |                           uint64_t {aka long unsigned int}
volume.c:74:52: note: format string is defined here
   74 |                 aal_error("Invalid stripe size (%llu). It must not be 
smaller "
      |                                                 ~~~^
      |                                                    |
      |                                                    long long unsigned 
int
      |                                                 %lu
volume.c:83:26: warning: format '%llu' expects argument of type 'long long 
unsigned int', but argument 4 has type 'uint64_t' {aka 'long unsigned int'} 
[-Wformat=]
   83 |                 aal_warn("Stripe of size %llu will be used.", *result);
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ~~~~~~~
      |                                                               |
      |                                                               uint64_t 
{aka long unsigned int}
volume.c:83:45: note: format string is defined here
   83 |                 aal_warn("Stripe of size %llu will be used.", *result);
      |                                          ~~~^
      |                                             |
      |                                             long long unsigned int
      |                                          %lu
volume.c: In function 'advise_nr_segments_asym':
volume.c:108:27: warning: format '%llu' expects argument of type 'long long 
unsigned int', but argument 4 has type 'uint64_t' {aka 'long unsigned int'} 
[-Wformat=]
  108 |                 aal_error("Invalid nr segments (%llu). It must not be 
larger "
      |                           
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  109 |                           "than %u.",
  110 |                           *result, MAX_NR_SGS);
      |                           ~~~~~~~
      |                           |
      |                           uint64_t {aka long unsigned int}
volume.c:108:52: note: format string is defined here
  108 |                 aal_error("Invalid nr segments (%llu). It must not be 
larger "
      |                                                 ~~~^
      |                                                    |
      |                                                    long long unsigned 
int
      |                                                 %lu
volume.c:115:27: warning: format '%llu' expects argument of type 'long long 
unsigned int', but argument 4 has type 'uint64_t' {aka 'long unsigned int'} 
[-Wformat=]
  115 |                 aal_error("Support of %llu segments takes a lot of 
memory "
      |                           
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  116 |                           "resources. Use -f to force over.", *result);
      |                                                               ~~~~~~~
      |                                                               |
      |                                                               uint64_t 
{aka long unsigned int}
volume.c:115:42: note: format string is defined here
  115 |                 aal_error("Support of %llu segments takes a lot of 
memory "
      |                                       ~~~^
      |                                          |
      |                                          long long unsigned int
      |                                       %lu
volume.c: In function 'check_data_capacity_asym':
volume.c:145:27: warning: format '%llu' expects argument of type 'long long 
unsigned int', but argument 4 has type 'uint64_t' {aka 'long unsigned int'} 
[-Wformat=]
  145 |                 aal_error("Data capacity (%llu) is larger than block 
count "
      |                           
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  146 |                           "(%llu). Use -f to force over.",
  147 |                           result, block_count);
      |                           ~~~~~~
      |                           |
      |                           uint64_t {aka long unsigned int}
volume.c:145:46: note: format string is defined here
  145 |                 aal_error("Data capacity (%llu) is larger than block 
count "
      |                                           ~~~^
      |                                              |
      |                                              long long unsigned int
      |                                           %lu
volume.c:145:27: warning: format '%llu' expects argument of type 'long long 
unsigned int', but argument 5 has type 'uint64_t' {aka 'long unsigned int'} 
[-Wformat=]
  145 |                 aal_error("Data capacity (%llu) is larger than block 
count "
      |                           
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  146 |                           "(%llu). Use -f to force over.",
  147 |                           result, block_count);
      |                                   ~~~~~~~~~~~
      |                                   |
      |                                   uint64_t {aka long unsigned int}
volume.c: At top level:
volume.c:174:31: error: initialization of 'int (*)(uint64_t *, uint64_t,  
uint32_t,  int,  int)' {aka 'int (*)(long unsigned int *, long unsigned int,  
unsigned int,  int,  int)'} from incompatible pointer type 'int (*)(uint64_t *, 
uint32_t,  uint64_t,  int,  int)' {aka 'int (*)(long unsigned int *, unsigned 
int,  long unsigned int,  int,  int)'} [-Wincompatible-pointer-types]
  174 |         .advise_stripe_size = advise_stripe_size_simple,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~
volume.c:174:31: note: (near initialization for 
'simple_vol_plug.advise_stripe_size')
volume.c:177:34: error: initialization of 'uint64_t (*)(uint64_t,  int)' {aka 
'long unsigned int (*)(long unsigned int,  int)'} from incompatible pointer 
type 'uint64_t (*)(uint64_t)' {aka 'long unsigned int (*)(long unsigned int)'} 
[-Wincompatible-pointer-types]
  177 |         .default_data_capacity = default_data_capacity_simple
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
volume.c:177:34: note: (near initialization for 
'simple_vol_plug.default_data_capacity')
volume.c:186:31: error: initialization of 'int (*)(uint64_t *, uint64_t,  
uint32_t,  int,  int)' {aka 'int (*)(long unsigned int *, long unsigned int,  
unsigned int,  int,  int)'} from incompatible pointer type 'int (*)(uint64_t *, 
uint32_t,  uint64_t,  int,  int)' {aka 'int (*)(long unsigned int *, unsigned 
int,  long unsigned int,  int,  int)'} [-Wincompatible-pointer-types]
  186 |         .advise_stripe_size = advise_stripe_size_asym,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~
volume.c:186:31: note: (near initialization for 
'asym_vol_plug.advise_stripe_size')
make[4]: *** [Makefile:430: libvolume_static_la-volume.lo] Error 1

Andreas

Attachment: reiser4progs_2.0.5-1.log.gz
Description: application/gzip

Reply via email to