Package: efivar
Version: 0.21-1
Severity: important
User: [email protected]
Usertags: ftbfs-gcc-6 gcc-6-nonnull

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

Note that only the first error is reported; there might be more.  You
can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Werror 
> -Wall -Wsign-compare -Wstrict-aliasing -std=gnu11 -fshort-wchar -fPIC 
> -fvisibility=hidden -D_GNU_SOURCE -I/<<PKGBUILDDIR>>/src/include/efivar/  
> -Wmaybe-uninitialized -DEFIVAR_BUILD_ENVIRONMENT -c -o fakeguid.o guid.c
> guid.c: In function 'efi_name_to_guid':
> guid.c:215:6: error: nonnull argument 'name' compared to NULL 
> [-Werror=nonnull]
>   if (!name || !guid)
>       ^
> 
> guid.c:215:15: error: nonnull argument 'guid' compared to NULL 
> [-Werror=nonnull]
>   if (!name || !guid)
>                ^
> 
> cc1: all warnings being treated as errors

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise

Reply via email to