Comment 23 for bug 1708245

Revision history for this message
Steve Langasek (vorlon) wrote :

I noticed the addition of a new build-dependency, so I had a closer look and the shim 13 package ftbfs on trusty:

gcc -ggdb -O0 -fno-stack-protector -fno-strict-aliasing -fpic -fshort-wchar -Wall -Wsign-compare -Werror -fno-builtin -Werror=sign-compare -ffreestanding -std=gnu89 -I/usr/lib/gcc/x86_64-linux-gnu/4.8/include "-DDEFAULT_LOADER=L\"\\\\grubx64.efi\"" "-DDEFAULT_LOADER_CHAR=\"\\\\grubx64.efi\"" -nostdinc -I/tmp/shim-13/Cryptlib -I/tmp/shim-13/Cryptlib/Include -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -I/tmp/shim-13/include -iquote /tmp/shim-13 -iquote /tmp/shim-13 -mno-mmx -mno-sse -mno-red-zone -nostdinc -maccumulate-outgoing-args -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI -DNO_BUILTIN_VA_FUNCS -DMDE_CPU_X64 -DPAGE_SIZE=4096 "-DEFI_ARCH=L\"x64\"" "-DDEBUGDIR=L\"/usr/lib/debug/usr/share/shim/x64-13/\"" -DVENDOR_CERT_FILE=\"debian/canonical-uefi-ca.der\" -DENABLE_SHIM_CERT -D_FORTIFY_SOURCE=2 -c -o shim.o shim.c
In file included from shim.c:36:0:
shim.h:47:88: error: unknown type name 'va_list'
 extern EFI_STATUS VLogError(const char *file, int line, const char *func, CHAR16 *fmt, va_list args);
                                                                                        ^
make: *** [shim.o] Error 1
make: Leaving directory `/tmp/shim-13'
dh_auto_build: make -j1 MAKELEVEL=0 EFI_PATH=/usr/lib ENABLE_SHIM_CERT=1 ENABLE_SBSIGN=1 VENDOR_CERT_FILE=debian/canonical-uefi-ca.der EFIDIR=ubuntu returned exit code 2
make[1]: *** [override_dh_auto_build] Error 2

The expectation is that the package is buildable from source in each release that we publish it to, even though in practice we are unlikely to do this for any but the devel series.

Is there a missing update to gnu-efi?