Source: bcachefs-tools
Version: 0.1+git20201025.742dbbdb-1
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):
> cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -std=gnu89 -O2 -g -MMD -Wall 
> -Wno-pointer-sign -Wno-zero-length-bounds -fno-strict-aliasing 
> -fno-delete-null-pointer-checks -I. -Iinclude -Iraid -D_FILE_OFFSET_BITS=64 
> -D_GNU_SOURCE -D_LGPL_SOURCE -DRCU_MEMBARRIER -DZSTD_STATIC_LINKING_ONLY 
> -DFUSE_USE_VERSION=32 -DNO_BCACHEFS_CHARDEV -DNO_BCACHEFS_FS 
> -DNO_BCACHEFS_SYSFS -DVERSION_STRING='"v0.1-nogit"'  
> -Wno-unused-but-set-variable -DCONFIG_VALGRIND=y -I/usr/include/blkid 
> -I/usr/include/uuid -I/usr/include/aarch64-linux-gnu -Wdate-time 
> -D_FORTIFY_SOURCE=2  -c -o cmd_run.o cmd_run.c
> In file included from tools-util.h:17,
>                  from cmds.h:10,
>                  from bcachefs.c:26:
> include/linux/log2.h: In function ‘get_order’:
> include/linux/log2.h:281:27: error: ‘PAGE_SHIFT’ undeclared (first use in 
> this function); did you mean ‘PAGE_SIZE’?
>   281 |    return BITS_PER_LONG - PAGE_SHIFT;
>       |                           ^~~~~~~~~~
>       |                           PAGE_SIZE
> include/linux/log2.h:281:27: note: each undeclared identifier is reported 
> only once for each function it appears in
> In file included from tools-util.h:17,
>                  from cmds.h:10,
>                  from cmd_format.c:25:
> include/linux/log2.h: In function ‘get_order’:
> include/linux/log2.h:281:27: error: ‘PAGE_SHIFT’ undeclared (first use in 
> this function); did you mean ‘PAGE_SIZE’?
>   281 |    return BITS_PER_LONG - PAGE_SHIFT;
>       |                           ^~~~~~~~~~
>       |                           PAGE_SIZE
> include/linux/log2.h:281:27: note: each undeclared identifier is reported 
> only once for each function it appears in
> make[1]: *** [<builtin>: bcachefs.o] Error 1

The full build log is available from:
   
http://qa-logs.debian.net/2020/12/05/bcachefs-tools_0.1+git20201025.742dbbdb-1_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.

Reply via email to