Source: efibootguard
Version: 0.16-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240420 ftbfs-trixie ftbfs-t64-arm64

Hi,

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


Relevant part (hopefully):
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> make --no-print-directory all-recursive
> Making all in .
> set -e; echo '  CHK      version.h'; mkdir -p ./;     ./gen_version_h ./ < 
> Makefile.in > version.h.tmp; if [ -r version.h ] && cmp -s version.h 
> version.h.tmp; then rm -f version.h.tmp; else echo '  UPD      version.h'; mv 
> -f version.h.tmp version.h; fi
>   CHK      version.h
> /usr/bin/mkdir -p completion/bash; PYTHONPATH=./completion/shtab:./completion 
> /usr/bin/python3 -m shtab -u --shell=bash bg_setenv.cli.bg_setenv 
> >completion/bash/bg_setenv.bash
>   UPD      version.h
> /usr/bin/mkdir -p completion/bash; PYTHONPATH=./completion/shtab:./completion 
> /usr/bin/python3 -m shtab -u --shell=bash bg_printenv.cli.bg_printenv 
> >completion/bash/bg_printenv.bash
> /usr/bin/mkdir -p drivers/watchdog/; gcc -I. -include config.h -I./include 
> -I/usr/include -I/usr/include/efi -I/usr/include/efi/aarch64 
> -I/usr/include/aarch64-linux-gnu  -Wall -Wextra -std=gnu99 -ggdb -O0 -fpic 
> -fshort-wchar -ffreestanding -fno-strict-aliasing -Wsign-compare 
> -DGNU_EFI_USE_MS_ABI -Werror -mgeneral-regs-only -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -mbranch-protection=standard -fno-stack-protector  -c 
> drivers/watchdog/init_array_start.S -o drivers/watchdog/init_array_start.o
> /usr/bin/mkdir -p drivers/watchdog/; gcc -I. -include config.h -I./include 
> -I/usr/include -I/usr/include/efi -I/usr/include/efi/aarch64 
> -I/usr/include/aarch64-linux-gnu  -Wall -Wextra -std=gnu99 -ggdb -O0 -fpic 
> -fshort-wchar -ffreestanding -fno-strict-aliasing -Wsign-compare 
> -DGNU_EFI_USE_MS_ABI -Werror -mgeneral-regs-only -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -mbranch-protection=standard -fno-stack-protector  -c 
> drivers/watchdog/init_array_end.S -o drivers/watchdog/init_array_end.o
> /usr/bin/mkdir -p env/; gcc -I. -include config.h -I./include -I/usr/include 
> -I/usr/include/efi -I/usr/include/efi/aarch64 
> -I/usr/include/aarch64-linux-gnu  -Wall -Wextra -std=gnu99 -ggdb -O0 -fpic 
> -fshort-wchar -ffreestanding -fno-strict-aliasing -Wsign-compare 
> -DGNU_EFI_USE_MS_ABI -Werror -mgeneral-regs-only -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -mbranch-protection=standard -fno-stack-protector  -c 
> env/syspart.c -o env/syspart.o
> /usr/bin/mkdir -p env/; gcc -I. -include config.h -I./include -I/usr/include 
> -I/usr/include/efi -I/usr/include/efi/aarch64 
> -I/usr/include/aarch64-linux-gnu  -Wall -Wextra -std=gnu99 -ggdb -O0 -fpic 
> -fshort-wchar -ffreestanding -fno-strict-aliasing -Wsign-compare 
> -DGNU_EFI_USE_MS_ABI -Werror -mgeneral-regs-only -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -mbranch-protection=standard -fno-stack-protector  -c 
> env/fatvars.c -o env/fatvars.o
> /usr/bin/mkdir -p ./; gcc -I. -include config.h -I./include -I/usr/include 
> -I/usr/include/efi -I/usr/include/efi/aarch64 
> -I/usr/include/aarch64-linux-gnu  -Wall -Wextra -std=gnu99 -ggdb -O0 -fpic 
> -fshort-wchar -ffreestanding -fno-strict-aliasing -Wsign-compare 
> -DGNU_EFI_USE_MS_ABI -Werror -mgeneral-regs-only -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -mbranch-protection=standard -fno-stack-protector  -c 
> utils.c -o utils.o
> /usr/bin/mkdir -p ./; gcc -I. -include config.h -I./include -I/usr/include 
> -I/usr/include/efi -I/usr/include/efi/aarch64 
> -I/usr/include/aarch64-linux-gnu  -Wall -Wextra -std=gnu99 -ggdb -O0 -fpic 
> -fshort-wchar -ffreestanding -fno-strict-aliasing -Wsign-compare 
> -DGNU_EFI_USE_MS_ABI -Werror -mgeneral-regs-only -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -mbranch-protection=standard -fno-stack-protector  -c 
> loader_interface.c -o loader_interface.o
> /usr/bin/mkdir -p ./; gcc -I. -include config.h -I./include -I/usr/include 
> -I/usr/include/efi -I/usr/include/efi/aarch64 
> -I/usr/include/aarch64-linux-gnu  -Wall -Wextra -std=gnu99 -ggdb -O0 -fpic 
> -fshort-wchar -ffreestanding -fno-strict-aliasing -Wsign-compare 
> -DGNU_EFI_USE_MS_ABI -Werror -mgeneral-regs-only -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -mbranch-protection=standard -fno-stack-protector  -c 
> bootguard.c -o bootguard.o
> /usr/bin/mkdir -p ./; gcc -I. -include config.h -I./include -I/usr/include 
> -I/usr/include/efi -I/usr/include/efi/aarch64 
> -I/usr/include/aarch64-linux-gnu  -Wall -Wextra -std=gnu99 -ggdb -O0 -fpic 
> -fshort-wchar -ffreestanding -fno-strict-aliasing -Wsign-compare 
> -DGNU_EFI_USE_MS_ABI -Werror -mgeneral-regs-only -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -mbranch-protection=standard -fno-stack-protector  -c 
> main.c -o main.o
> /usr/bin/mkdir -p kernel-stub/; gcc -I. -include config.h -I./include 
> -I/usr/include -I/usr/include/efi -I/usr/include/efi/aarch64 
> -I/usr/include/aarch64-linux-gnu  -Wall -Wextra -std=gnu99 -ggdb -O0 -fpic 
> -fshort-wchar -ffreestanding -fno-strict-aliasing -Wsign-compare 
> -DGNU_EFI_USE_MS_ABI -Werror -mgeneral-regs-only -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -mbranch-protection=standard -fno-stack-protector  -c 
> kernel-stub/fdt.c -o kernel-stub/fdt.o
> /usr/bin/mkdir -p kernel-stub/; gcc -I. -include config.h -I./include 
> -I/usr/include -I/usr/include/efi -I/usr/include/efi/aarch64 
> -I/usr/include/aarch64-linux-gnu  -Wall -Wextra -std=gnu99 -ggdb -O0 -fpic 
> -fshort-wchar -ffreestanding -fno-strict-aliasing -Wsign-compare 
> -DGNU_EFI_USE_MS_ABI -Werror -mgeneral-regs-only -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -mbranch-protection=standard -fno-stack-protector  -c 
> kernel-stub/initrd.c -o kernel-stub/initrd.o
> kernel-stub/fdt.c: In function ‘clone_fdt’:
> kernel-stub/fdt.c:169:49: error: passing argument 2 of ‘CopyMem’ discards 
> ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
>   169 |         CopyMem((VOID *)(uintptr_t)*fdt_buffer, fdt,
>       |                                                 ^~~
> In file included from kernel-stub/fdt.c:16:
> /usr/include/efi/efilib.h:300:18: note: expected ‘VOID *’ {aka ‘void *’} but 
> argument is of type ‘const VOID *’ {aka ‘const void *’}
>   300 |     IN VOID     *Src,
>       |        ~~~~~~~~~~^~~
> kernel-stub/initrd.c: In function ‘initrd_load_file’:
> kernel-stub/initrd.c:83:31: error: passing argument 2 of ‘CopyMem’ discards 
> ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
>    83 |         CopyMem(buffer, loader->addr, loader->size);
>       |                         ~~~~~~^~~~~~
> In file included from kernel-stub/initrd.c:16:
> /usr/include/efi/efilib.h:300:18: note: expected ‘VOID *’ {aka ‘void *’} but 
> argument is of type ‘const void *’
>   300 |     IN VOID     *Src,
>       |        ~~~~~~~~~~^~~
> /usr/bin/mkdir -p kernel-stub/; gcc -I. -include config.h -I./include 
> -I/usr/include -I/usr/include/efi -I/usr/include/efi/aarch64 
> -I/usr/include/aarch64-linux-gnu  -Wall -Wextra -std=gnu99 -ggdb -O0 -fpic 
> -fshort-wchar -ffreestanding -fno-strict-aliasing -Wsign-compare 
> -DGNU_EFI_USE_MS_ABI -Werror -mgeneral-regs-only -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -mbranch-protection=standard -fno-stack-protector  -c 
> kernel-stub/main.c -o kernel-stub/main.o
> cc1: all warnings being treated as errors
> make[4]: *** [Makefile:1884: kernel-stub/initrd.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/04/20/efibootguard_0.16-2_unstable-arm64.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240420;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240420&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