[Debian-med-packaging] Bug#976523: spades: FTBFS: jemalloc_internal.h:292:6: error: #error "No LG_QUANTUM definition for architecture; specify via CPPFLAGS"

Lucas Nussbaum lucas at debian.org
Sat Dec 5 12:31:18 GMT 2020


Source: spades
Version: 3.13.1+dfsg-2
Severity: serious
Justification: FTBFS on arm64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201205 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on arm64 (I don't know if it also fails on amd64).

Relevant part (hopefully):
> cd /<<PKGBUILDDIR>>/assembler/build_spades/ext/jemalloc && /usr/bin/cc -DUSE_GLIBCXX_PARALLEL=1 -D_GNU_SOURCE -D_REENTRANT -I/<<PKGBUILDDIR>>/assembler/build_spades/ext/jemalloc -I/<<PKGBUILDDIR>>/assembler/ext/src/jemalloc -I/<<PKGBUILDDIR>>/assembler/src/include -I/<<PKGBUILDDIR>>/assembler/build_spades/include -I/<<PKGBUILDDIR>>/assembler/src -I/<<PKGBUILDDIR>>/assembler/src/common -isystem /<<PKGBUILDDIR>>/assembler/src/../ext/include -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -O2 -g -DNDEBUG   -UNDEBUG -Wno-deprecated -g3 -O2 -O3 -funroll-loops -o CMakeFiles/jemalloc.dir/arena.c.o -c /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c
> In file included from /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:2:
> /<<PKGBUILDDIR>>/assembler/ext/include/jemalloc/internal/jemalloc_internal.h:292:6: error: #error "No LG_QUANTUM definition for architecture; specify via CPPFLAGS"
>   292 | #    error "No LG_QUANTUM definition for architecture; specify via CPPFLAGS"
>       |      ^~~~~
> In file included from /<<PKGBUILDDIR>>/assembler/ext/include/jemalloc/internal/jemalloc_internal.h:446,
>                  from /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:2:
> /<<PKGBUILDDIR>>/assembler/ext/include/jemalloc/internal/size_classes.h:691:4: error: #error "No size class definitions match configuration"
>   691 | #  error "No size class definitions match configuration"
>       |    ^~~~~
> In file included from /<<PKGBUILDDIR>>/assembler/ext/include/jemalloc/internal/jemalloc_internal.h:474,
>                  from /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:2:
> /<<PKGBUILDDIR>>/assembler/ext/include/jemalloc/internal/ctl.h:47:28: error: 'NBINS' undeclared here (not in a function); did you mean 'NFDBITS'?
>    47 |  malloc_bin_stats_t bstats[NBINS];
>       |                            ^~~~~
>       |                            NFDBITS
> In file included from /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:2:
> /<<PKGBUILDDIR>>/assembler/ext/include/jemalloc/internal/jemalloc_internal.h: In function 's2u':
> /<<PKGBUILDDIR>>/assembler/ext/include/jemalloc/internal/jemalloc_internal.h:604:14: error: 'SMALL_MAXCLASS' undeclared (first use in this function)
>   604 |  if (size <= SMALL_MAXCLASS)
>       |              ^~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/assembler/ext/include/jemalloc/internal/jemalloc_internal.h:604:14: note: each undeclared identifier is reported only once for each function it appears in
> /<<PKGBUILDDIR>>/assembler/ext/include/jemalloc/internal/jemalloc_internal.h: In function 'sa2u':
> /<<PKGBUILDDIR>>/assembler/ext/include/jemalloc/internal/jemalloc_internal.h:647:16: error: 'SMALL_MAXCLASS' undeclared (first use in this function)
>   647 |   if (usize <= SMALL_MAXCLASS)
>       |                ^~~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/assembler/ext/include/jemalloc/internal/jemalloc_internal.h:442,
>                  from /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:2:
> /<<PKGBUILDDIR>>/assembler/ext/include/jemalloc/internal/tcache.h: In function 'tcache_dalloc_small':
> /<<PKGBUILDDIR>>/assembler/ext/include/jemalloc/internal/tcache.h:391:2: error: 'SMALL_MAXCLASS' undeclared (first use in this function)
>   391 |  assert(tcache_salloc(ptr) <= SMALL_MAXCLASS);
>       |  ^~~~~~
> /<<PKGBUILDDIR>>/assembler/ext/include/jemalloc/internal/tcache.h: In function 'tcache_dalloc_large':
> /<<PKGBUILDDIR>>/assembler/ext/include/jemalloc/internal/tcache.h:417:2: error: 'SMALL_MAXCLASS' undeclared (first use in this function)
>   417 |  assert(tcache_salloc(ptr) > SMALL_MAXCLASS);
>       |  ^~~~~~
> In file included from /<<PKGBUILDDIR>>/assembler/ext/include/jemalloc/internal/jemalloc_internal.h:730,
>                  from /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:2:
> /<<PKGBUILDDIR>>/assembler/ext/include/jemalloc/internal/arena.h: In function 'arena_malloc':
> /<<PKGBUILDDIR>>/assembler/ext/include/jemalloc/internal/arena.h:867:14: error: 'SMALL_MAXCLASS' undeclared (first use in this function)
>   867 |  if (size <= SMALL_MAXCLASS) {
>       |              ^~~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:2:
> /<<PKGBUILDDIR>>/assembler/ext/include/jemalloc/internal/jemalloc_internal.h: In function 'u2rz':
> /<<PKGBUILDDIR>>/assembler/ext/include/jemalloc/internal/jemalloc_internal.h:868:15: error: 'SMALL_MAXCLASS' undeclared (first use in this function)
>   868 |  if (usize <= SMALL_MAXCLASS) {
>       |               ^~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c: At top level:
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:25:2: error: 'SIZE_CLASSES' undeclared here (not in a function)
>    25 |  SIZE_CLASSES
>       |  ^~~~~~~~~~~~
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c: In function 'arena_run_reg_dalloc':
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:342:31: warning: initialization of 'arena_bin_info_t *' {aka 'struct arena_bin_info_s *'} from incompatible pointer type 'const uint8_t *' {aka 'const unsigned char *'} [-Wincompatible-pointer-types]
>   342 |  arena_bin_info_t *bin_info = &arena_bin_info[binind];
>       |                               ^
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c: In function 'arena_chunk_purge':
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:787:14: warning: assignment to 'arena_bin_info_t *' {aka 'struct arena_bin_info_s *'} from incompatible pointer type 'const uint8_t *' {aka 'const unsigned char *'} [-Wincompatible-pointer-types]
>   787 |     bin_info = &arena_bin_info[binind];
>       |              ^
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c: In function 'arena_run_dalloc':
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:977:32: warning: initialization of 'arena_bin_info_t *' {aka 'struct arena_bin_info_s *'} from incompatible pointer type 'const uint8_t *' {aka 'const unsigned char *'} [-Wincompatible-pointer-types]
>   977 |   arena_bin_info_t *bin_info = &arena_bin_info[binind];
>       |                                ^
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c: In function 'arena_bin_nonfull_run_get':
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:1232:11: warning: assignment to 'arena_bin_info_t *' {aka 'struct arena_bin_info_s *'} from incompatible pointer type 'const uint8_t *' {aka 'const unsigned char *'} [-Wincompatible-pointer-types]
>  1232 |  bin_info = &arena_bin_info[binind];
>       |           ^
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c: In function 'arena_bin_malloc_hard':
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:1284:11: warning: assignment to 'arena_bin_info_t *' {aka 'struct arena_bin_info_s *'} from incompatible pointer type 'const uint8_t *' {aka 'const unsigned char *'} [-Wincompatible-pointer-types]
>  1284 |  bin_info = &arena_bin_info[binind];
>       |           ^
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c: In function 'arena_tcache_fill_small':
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:1355:6: warning: assignment to 'arena_bin_t *' {aka 'struct arena_bin_s *'} from incompatible pointer type 'const uint8_t *' {aka 'const unsigned char *'} [-Wincompatible-pointer-types]
>  1355 |  bin = &arena->bins[binind];
>       |      ^
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:1360:35: warning: passing argument 2 of 'arena_run_reg_alloc' from incompatible pointer type [-Wincompatible-pointer-types]
>  1360 |    ptr = arena_run_reg_alloc(run, &arena_bin_info[binind]);
>       |                                   ^~~~~~~~~~~~~~~~~~~~~~~
>       |                                   |
>       |                                   const uint8_t * {aka const unsigned char *}
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:315:57: note: expected 'arena_bin_info_t *' {aka 'struct arena_bin_info_s *'} but argument is of type 'const uint8_t *' {aka 'const unsigned char *'}
>   315 | arena_run_reg_alloc(arena_run_t *run, arena_bin_info_t *bin_info)
>       |                                       ~~~~~~~~~~~~~~~~~~^~~~~~~~
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:1366:32: warning: passing argument 2 of 'arena_alloc_junk_small' from incompatible pointer type [-Wincompatible-pointer-types]
>  1366 |    arena_alloc_junk_small(ptr, &arena_bin_info[binind],
>       |                                ^~~~~~~~~~~~~~~~~~~~~~~
>       |                                |
>       |                                const uint8_t * {aka const unsigned char *}
> In file included from /<<PKGBUILDDIR>>/assembler/ext/include/jemalloc/internal/jemalloc_internal.h:550,
>                  from /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:2:
> /<<PKGBUILDDIR>>/assembler/ext/include/jemalloc/internal/arena.h:406:58: note: expected 'arena_bin_info_t *' {aka 'struct arena_bin_info_s *'} but argument is of type 'const uint8_t *' {aka 'const unsigned char *'}
>   406 | void arena_alloc_junk_small(void *ptr, arena_bin_info_t *bin_info,
>       |                                        ~~~~~~~~~~~~~~~~~~^~~~~~~~
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:1373:53: error: request for member 'reg_size' in something not a structure or union
>  1373 |   bin->stats.allocated += i * arena_bin_info[binind].reg_size;
>       |                                                     ^
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:1373:29: error: invalid operands to binary * (have 'unsigned int' and 'const uint8_t *' {aka 'const unsigned char *'})
>  1373 |   bin->stats.allocated += i * arena_bin_info[binind].reg_size;
>       |                             ^
>       |                             |
>       |                             const uint8_t * {aka const unsigned char *}
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:1373:24: warning: assignment to 'size_t' {aka 'long unsigned int'} from 'const uint8_t *' {aka 'const unsigned char *'} makes integer from pointer without a cast [-Wint-conversion]
>  1373 |   bin->stats.allocated += i * arena_bin_info[binind].reg_size;
>       |                        ^~
> In file included from /<<PKGBUILDDIR>>/assembler/ext/include/jemalloc/internal/jemalloc_internal.h:442,
>                  from /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:2:
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c: In function 'arena_malloc_small':
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:1441:16: warning: comparison between pointer and integer
>  1441 |  assert(binind < NBINS);
>       |                ^
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:1442:6: warning: assignment to 'arena_bin_t *' {aka 'struct arena_bin_s *'} from incompatible pointer type 'const uint8_t *' {aka 'const unsigned char *'} [-Wincompatible-pointer-types]
>  1442 |  bin = &arena->bins[binind];
>       |      ^
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:1443:31: error: request for member 'reg_size' in something not a structure or union
>  1443 |  size = arena_bin_info[binind].reg_size;
>       |                               ^
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:1443:7: warning: assignment to 'size_t' {aka 'long unsigned int'} from 'const uint8_t *' {aka 'const unsigned char *'} makes integer from pointer without a cast [-Wint-conversion]
>  1443 |  size = arena_bin_info[binind].reg_size;
>       |       ^
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:1447:34: warning: passing argument 2 of 'arena_run_reg_alloc' from incompatible pointer type [-Wincompatible-pointer-types]
>  1447 |   ret = arena_run_reg_alloc(run, &arena_bin_info[binind]);
>       |                                  ^~~~~~~~~~~~~~~~~~~~~~~
>       |                                  |
>       |                                  const uint8_t * {aka const unsigned char *}
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:315:57: note: expected 'arena_bin_info_t *' {aka 'struct arena_bin_info_s *'} but argument is of type 'const uint8_t *' {aka 'const unsigned char *'}
>   315 | arena_run_reg_alloc(arena_run_t *run, arena_bin_info_t *bin_info)
>       |                                       ~~~~~~~~~~~~~~~~~~^~~~~~~~
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:1472:9: warning: passing argument 2 of 'arena_alloc_junk_small' from incompatible pointer type [-Wincompatible-pointer-types]
>  1472 |         &arena_bin_info[binind], false);
>       |         ^~~~~~~~~~~~~~~~~~~~~~~
>       |         |
>       |         const uint8_t * {aka const unsigned char *}
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:1384:53: note: expected 'arena_bin_info_t *' {aka 'struct arena_bin_info_s *'} but argument is of type 'const uint8_t *' {aka 'const unsigned char *'}
>  1384 | arena_alloc_junk_small(void *ptr, arena_bin_info_t *bin_info, bool zero)
>       |                                   ~~~~~~~~~~~~~~~~~~^~~~~~~~
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:1478:32: warning: passing argument 2 of 'arena_alloc_junk_small' from incompatible pointer type [-Wincompatible-pointer-types]
>  1478 |    arena_alloc_junk_small(ret, &arena_bin_info[binind],
>       |                                ^~~~~~~~~~~~~~~~~~~~~~~
>       |                                |
>       |                                const uint8_t * {aka const unsigned char *}
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:1384:53: note: expected 'arena_bin_info_t *' {aka 'struct arena_bin_info_s *'} but argument is of type 'const uint8_t *' {aka 'const unsigned char *'}
>  1384 | arena_alloc_junk_small(void *ptr, arena_bin_info_t *bin_info, bool zero)
>       |                                   ~~~~~~~~~~~~~~~~~~^~~~~~~~
> In file included from /<<PKGBUILDDIR>>/assembler/ext/include/jemalloc/internal/jemalloc_internal.h:442,
>                  from /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:2:
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c: In function 'arena_prof_promoted':
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:1591:17: error: 'SMALL_MAXCLASS' undeclared (first use in this function)
>  1591 |  assert(size <= SMALL_MAXCLASS);
>       |                 ^~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:1591:14: warning: comparison between pointer and integer
>  1591 |  assert(size <= SMALL_MAXCLASS);
>       |              ^~
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:1596:16: warning: comparison between pointer and integer
>  1596 |  assert(binind < NBINS);
>       |                ^
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c: In function 'arena_dissociate_bin_run':
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:1613:32: warning: initialization of 'arena_bin_info_t *' {aka 'struct arena_bin_info_s *'} from incompatible pointer type 'const uint8_t *' {aka 'const unsigned char *'} [-Wincompatible-pointer-types]
>  1613 |   arena_bin_info_t *bin_info = &arena_bin_info[binind];
>       |                                ^
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c: In function 'arena_dalloc_bin_run':
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:1640:11: warning: assignment to 'arena_bin_info_t *' {aka 'struct arena_bin_info_s *'} from incompatible pointer type 'const uint8_t *' {aka 'const unsigned char *'} [-Wincompatible-pointer-types]
>  1640 |  bin_info = &arena_bin_info[binind];
>       |           ^
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c: In function 'arena_dalloc_bin_locked':
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:1713:11: warning: assignment to 'arena_bin_info_t *' {aka 'struct arena_bin_info_s *'} from incompatible pointer type 'const uint8_t *' {aka 'const unsigned char *'} [-Wincompatible-pointer-types]
>  1713 |  bin_info = &arena_bin_info[binind];
>       |           ^
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c: In function 'arena_ralloc_no_move':
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:1946:18: error: 'SMALL_MAXCLASS' undeclared (first use in this function)
>  1946 |   if (oldsize <= SMALL_MAXCLASS) {
>       |                  ^~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:1946:15: warning: comparison between pointer and integer
>  1946 |   if (oldsize <= SMALL_MAXCLASS) {
>       |               ^~
> In file included from /<<PKGBUILDDIR>>/assembler/ext/include/jemalloc/internal/jemalloc_internal.h:442,
>                  from /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:2:
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:1947:50: error: request for member 'reg_size' in something not a structure or union
>  1947 |    assert(arena_bin_info[SMALL_SIZE2BIN(oldsize)].reg_size
>       |                                                  ^
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:1948:8: warning: comparison between pointer and integer
>  1948 |        == oldsize);
>       |        ^~
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:1949:22: warning: comparison between pointer and integer
>  1949 |    if ((size + extra <= SMALL_MAXCLASS &&
>       |                      ^~
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:1961:21: warning: comparison between pointer and integer
>  1961 |    if (size + extra > SMALL_MAXCLASS) {
>       |                     ^
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c: In function 'arena_stats_merge':
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:2078:16: warning: comparison between pointer and integer
>  2078 |  for (i = 0; i < NBINS; i++) {
>       |                ^
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:2079:22: warning: initialization of 'arena_bin_t *' {aka 'struct arena_bin_s *'} from incompatible pointer type 'const uint8_t *' {aka 'const unsigned char *'} [-Wincompatible-pointer-types]
>  2079 |   arena_bin_t *bin = &arena->bins[i];
>       |                      ^
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c: In function 'arena_new':
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:2138:16: warning: comparison between pointer and integer
>  2138 |  for (i = 0; i < NBINS; i++) {
>       |                ^
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:2139:7: warning: assignment to 'arena_bin_t *' {aka 'struct arena_bin_s *'} from incompatible pointer type 'const uint8_t *' {aka 'const unsigned char *'} [-Wincompatible-pointer-types]
>  2139 |   bin = &arena->bins[i];
>       |       ^
> In file included from /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:2:
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c: In function 'bin_info_run_size_calc':
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:2227:19: error: 'LG_QUANTUM' undeclared (first use in this function); did you mean 'QUANTUM'?
>  2227 |    try_hdr_size = QUANTUM_CEILING(try_hdr_size);
>       |                   ^~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:2227:19: error: invalid operands to binary << (have 'unsigned int' and 'const uint8_t *' {aka 'const unsigned char *'})
>  2227 |    try_hdr_size = QUANTUM_CEILING(try_hdr_size);
>       |                   ^~~~~~~~~~~~~~~
>       |                   |
>       |                   const uint8_t * {aka const unsigned char *}
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:2227:19: error: invalid operands to binary << (have 'unsigned int' and 'const uint8_t *' {aka 'const unsigned char *'})
>  2227 |    try_hdr_size = QUANTUM_CEILING(try_hdr_size);
>       |                   ^~~~~~~~~~~~~~~
>       |                   |
>       |                   const uint8_t * {aka const unsigned char *}
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:2268:20: error: invalid operands to binary << (have 'unsigned int' and 'const uint8_t *' {aka 'const unsigned char *'})
>  2268 |     try_hdr_size = QUANTUM_CEILING(try_hdr_size);
>       |                    ^~~~~~~~~~~~~~~
>       |                    |
>       |                    const uint8_t * {aka const unsigned char *}
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:2268:20: error: invalid operands to binary << (have 'unsigned int' and 'const uint8_t *' {aka 'const unsigned char *'})
>  2268 |     try_hdr_size = QUANTUM_CEILING(try_hdr_size);
>       |                    ^~~~~~~~~~~~~~~
>       |                    |
>       |                    const uint8_t * {aka const unsigned char *}
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c: In function 'bin_info_init':
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:2312:14: error: expected ';' before '}' token
>  2312 |  SIZE_CLASSES
>       |              ^
>       |              ;
>  2313 | #undef SIZE_CLASS
>  2314 | }
>       | ~             
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c: In function 'arena_prefork':
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:2354:16: warning: comparison between pointer and integer
>  2354 |  for (i = 0; i < NBINS; i++)
>       |                ^
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:2355:39: error: request for member 'lock' in something not a structure or union
>  2355 |   malloc_mutex_prefork(&arena->bins[i].lock);
>       |                                       ^
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:2355:24: warning: passing argument 1 of 'malloc_mutex_prefork' from incompatible pointer type [-Wincompatible-pointer-types]
>  2355 |   malloc_mutex_prefork(&arena->bins[i].lock);
>       |                        ^~~~~~~~~~~~~~~~~~~~
>       |                        |
>       |                        const uint8_t (*)[1] {aka const unsigned char (*)[1]}
> In file included from /<<PKGBUILDDIR>>/assembler/ext/include/jemalloc/internal/jemalloc_internal.h:545,
>                  from /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:2:
> /<<PKGBUILDDIR>>/assembler/ext/include/jemalloc/internal/mutex.h:52:43: note: expected 'malloc_mutex_t *' {aka 'struct malloc_mutex_s *'} but argument is of type 'const uint8_t (*)[1]' {aka 'const unsigned char (*)[1]'}
>    52 | void malloc_mutex_prefork(malloc_mutex_t *mutex);
>       |                           ~~~~~~~~~~~~~~~~^~~~~
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c: In function 'arena_postfork_parent':
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:2363:16: warning: comparison between pointer and integer
>  2363 |  for (i = 0; i < NBINS; i++)
>       |                ^
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:2364:47: error: request for member 'lock' in something not a structure or union
>  2364 |   malloc_mutex_postfork_parent(&arena->bins[i].lock);
>       |                                               ^
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:2364:32: warning: passing argument 1 of 'malloc_mutex_postfork_parent' from incompatible pointer type [-Wincompatible-pointer-types]
>  2364 |   malloc_mutex_postfork_parent(&arena->bins[i].lock);
>       |                                ^~~~~~~~~~~~~~~~~~~~
>       |                                |
>       |                                const uint8_t (*)[1] {aka const unsigned char (*)[1]}
> In file included from /<<PKGBUILDDIR>>/assembler/ext/include/jemalloc/internal/jemalloc_internal.h:545,
>                  from /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:2:
> /<<PKGBUILDDIR>>/assembler/ext/include/jemalloc/internal/mutex.h:53:51: note: expected 'malloc_mutex_t *' {aka 'struct malloc_mutex_s *'} but argument is of type 'const uint8_t (*)[1]' {aka 'const unsigned char (*)[1]'}
>    53 | void malloc_mutex_postfork_parent(malloc_mutex_t *mutex);
>       |                                   ~~~~~~~~~~~~~~~~^~~~~
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c: In function 'arena_postfork_child':
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:2373:16: warning: comparison between pointer and integer
>  2373 |  for (i = 0; i < NBINS; i++)
>       |                ^
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:2374:46: error: request for member 'lock' in something not a structure or union
>  2374 |   malloc_mutex_postfork_child(&arena->bins[i].lock);
>       |                                              ^
> /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:2374:31: warning: passing argument 1 of 'malloc_mutex_postfork_child' from incompatible pointer type [-Wincompatible-pointer-types]
>  2374 |   malloc_mutex_postfork_child(&arena->bins[i].lock);
>       |                               ^~~~~~~~~~~~~~~~~~~~
>       |                               |
>       |                               const uint8_t (*)[1] {aka const unsigned char (*)[1]}
> In file included from /<<PKGBUILDDIR>>/assembler/ext/include/jemalloc/internal/jemalloc_internal.h:545,
>                  from /<<PKGBUILDDIR>>/assembler/ext/src/jemalloc/arena.c:2:
> /<<PKGBUILDDIR>>/assembler/ext/include/jemalloc/internal/mutex.h:54:50: note: expected 'malloc_mutex_t *' {aka 'struct malloc_mutex_s *'} but argument is of type 'const uint8_t (*)[1]' {aka 'const unsigned char (*)[1]'}
>    54 | void malloc_mutex_postfork_child(malloc_mutex_t *mutex);
>       |                                  ~~~~~~~~~~~~~~~~^~~~~
> make[4]: *** [ext/jemalloc/CMakeFiles/jemalloc.dir/build.make:82: ext/jemalloc/CMakeFiles/jemalloc.dir/arena.c.o] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/12/05/spades_3.13.1+dfsg-2_unstable.log

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 marking 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 me
so that we can identify if something relevant changed in the meantime.

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Debian-med-packaging mailing list