Your message dated Wed, 2 Mar 2016 16:58:06 -0800
with message-id <[email protected]>
and subject line Re: Bug#811608: FTBFS with GCC 6: nonnull argument compared to 
NULL
has caused the Debian Bug report #811608,
regarding FTBFS with GCC 6: nonnull argument compared to NULL
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
811608: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=811608
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lightdm
Version: 1.16.6-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
...
> /bin/bash ../../libtool  --tag=CC   --mode=link gcc -Wall                  
> -Wstrict-prototypes                  -Wnested-externs                  
> -Werror=missing-prototypes                  
> -Werror=implicit-function-declaration                  -Werror=pointer-arith  
>                 -Werror=init-self                  -Werror=format-security    
>               -Werror=format=2                  -Werror=missing-include-dirs 
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread 
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread 
> -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -fPIE 
> -fstack-protector-strong -Wformat -Werror=format-security  -fPIE -pie 
> -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -Wl,-O1 -o unity-system-compositor 
> unity_system_compositor-unity-system-compositor.o 
> unity_system_compositor-status.o -lglib-2.0 -lgio-2.0 -lgobject-2.0 
> -lglib-2.0 -lgio-2.0 -lgobject-2.0 -l
> glib-2.0 
> libsystem.c: In function 'getpwnam':
> libsystem.c:859:14: error: nonnull argument 'name' compared to NULL 
> [-Werror=nonnull]
>      if (name == NULL)
>               ^~
> 
> libsystem.c: In function 'pam_start':
> libsystem.c:993:22: error: nonnull argument 'service_name' compared to NULL 
> [-Werror=nonnull]
>      if (service_name == NULL || conversation == NULL || pamh == NULL)
>                       ^~
> 
> libsystem.c:993:46: error: nonnull argument 'conversation' compared to NULL 
> [-Werror=nonnull]
>      if (service_name == NULL || conversation == NULL || pamh == NULL)
>                                               ^~
> 
> libsystem.c:993:62: error: nonnull argument 'pamh' compared to NULL 
> [-Werror=nonnull]
>      if (service_name == NULL || conversation == NULL || pamh == NULL)
>                                                               ^~
> 
> libsystem.c: In function 'pam_authenticate':
> libsystem.c:1038:14: error: nonnull argument 'pamh' compared to NULL 
> [-Werror=nonnull]
>      if (pamh == NULL)
>               ^~
> 
> libsystem.c: In function 'pam_putenv':
> libsystem.c:1297:14: error: nonnull argument 'pamh' compared to NULL 
> [-Werror=nonnull]
>      if (pamh == NULL || name_value == NULL)
>               ^~
> 
> libsystem.c:1297:36: error: nonnull argument 'name_value' compared to NULL 
> [-Werror=nonnull]
>      if (pamh == NULL || name_value == NULL)
>                                     ^~
> 
> libsystem.c: In function 'pam_getenv':
> libsystem.c:1331:14: error: nonnull argument 'pamh' compared to NULL 
> [-Werror=nonnull]
>      if (pamh == NULL || name == NULL)
>               ^~
> 
> libsystem.c:1331:30: error: nonnull argument 'name' compared to NULL 
> [-Werror=nonnull]
>      if (pamh == NULL || name == NULL)
>                               ^~
> 
> libsystem.c: In function 'pam_getenvlist':
> libsystem.c:1348:14: error: nonnull argument 'pamh' compared to NULL 
> [-Werror=nonnull]
>      if (pamh == NULL)
>               ^~
> 
> libsystem.c: In function 'pam_set_item':
> libsystem.c:1357:14: error: nonnull argument 'pamh' compared to NULL 
> [-Werror=nonnull]
>      if (pamh == NULL || item == NULL)
>               ^~
> 
> libsystem.c: In function 'pam_get_item':
> libsystem.c:1376:14: error: nonnull argument 'pamh' compared to NULL 
> [-Werror=nonnull]
>      if (pamh == NULL || item == NULL)
>               ^~
> 
> libsystem.c: In function 'pam_open_session':
> libsystem.c:1420:14: error: nonnull argument 'pamh' compared to NULL 
> [-Werror=nonnull]
>      if (pamh == NULL)
>               ^~
> 
> /bin/bash ../../libtool  --tag=CC   --mode=link gcc -Wall                  
> -Wstrict-prototypes                  -Wnested-externs                  
> -Werror=missing-prototypes                  
> -Werror=implicit-function-declaration                  -Werror=pointer-arith  
>                 -Werror=init-self                  -Werror=format-security    
>               -Werror=format=2                  -Werror=missing-include-dirs 
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread 
> -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -fPIE 
> -fstack-protector-strong -Wformat -Werror=format-security  -fPIE -pie 
> -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -Wl,-O1 -o test-script-hook 
> test_script_hook-test-script-hook.o test_script_hook-status.o -lglib-2.0 
> -lgio-2.0 -lgobject-2.0 -lglib-2.0 
> /bin/bash ../../libtool  --tag=CC   --mode=link gcc -Wall                  
> -Wstrict-prototypes                  -Wnested-externs                  
> -Werror=missing-prototypes                  
> -Werror=implicit-function-declaration                  -Werror=pointer-arith  
>                 -Werror=init-self                  -Werror=format-security    
>               -Werror=format=2                  -Werror=missing-include-dirs 
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread 
> -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -fPIE 
> -fstack-protector-strong -Wformat -Werror=format-security  -fPIE -pie 
> -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -Wl,-O1 -o guest-account 
> guest_account-guest-account.o guest_account-status.o -lglib-2.0 -lgio-2.0 
> -lgobject-2.0 -lglib-2.0 
> /bin/bash ../../libtool  --tag=CC   --mode=link gcc -Wall                  
> -Wstrict-prototypes                  -Wnested-externs                  
> -Werror=missing-prototypes                  
> -Werror=implicit-function-declaration                  -Werror=pointer-arith  
>                 -Werror=init-self                  -Werror=format-security    
>               -Werror=format=2                  -Werror=missing-include-dirs 
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread 
> -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -fPIE 
> -fstack-protector-strong -Wformat -Werror=format-security  -fPIE -pie 
> -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -Wl,-O1 -o initctl initctl-initctl.o 
> initctl-status.o -lglib-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 
> libsystem.c: In function 'pam_close_session':
> libsystem.c:1480:14: error: nonnull argument 'pamh' compared to NULL 
> [-Werror=nonnull]
>      if (pamh == NULL)
>               ^~
> 
> libsystem.c: In function 'pam_acct_mgmt':
> libsystem.c:1503:14: error: nonnull argument 'pamh' compared to NULL 
> [-Werror=nonnull]
>      if (pamh == NULL)
>               ^~
> 
> libsystem.c: In function 'pam_chauthtok':
> libsystem.c:1543:14: error: nonnull argument 'pamh' compared to NULL 
> [-Werror=nonnull]
>      if (pamh == NULL)
>               ^~
> 
> libsystem.c: In function 'pam_setcred':
> libsystem.c:1597:14: error: nonnull argument 'pamh' compared to NULL 
> [-Werror=nonnull]
>      if (pamh == NULL)
>               ^~
> 
> /bin/bash ../../libtool  --tag=CC   --mode=link gcc -Wall                  
> -Wstrict-prototypes                  -Wnested-externs                  
> -Werror=missing-prototypes                  
> -Werror=implicit-function-declaration                  -Werror=pointer-arith  
>                 -Werror=init-self                  -Werror=format-security    
>               -Werror=format=2                  -Werror=missing-include-dirs 
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread 
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread 
> -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -fPIE 
> -fstack-protector-strong -Wformat -Werror=format-security  -fPIE -pie 
> -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -Wl,-O1 -o vnc-client 
> vnc_client-vnc-client.o vnc_client-status.o -lglib-2.0 -lgio-2.0 
> -lgobject-2.0 -lglib-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 
> /bin/bash ../../libtool  --tag=CC   --mode=link gcc -Wall                  
> -Wstrict-prototypes                  -Wnested-externs                  
> -Werror=missing-prototypes                  
> -Werror=implicit-function-declaration                  -Werror=pointer-arith  
>                 -Werror=init-self                  -Werror=format-security    
>               -Werror=format=2                  -Werror=missing-include-dirs 
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread 
> -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include  -g -O2 -fPIE 
> -fstack-protector-strong -Wformat -Werror=format-security  -fPIE -pie 
> -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -Wl,-O1 -o test-session 
> test_session-test-session.o test_session-status.o -lglib-2.0 -lgio-2.0 
> -lgobject-2.0 -lglib-2.0 -lxcb 
> libsystem.c: In function 'pam_end':
> libsystem.c:1667:14: error: nonnull argument 'pamh' compared to NULL 
> [-Werror=nonnull]
>      if (pamh == NULL)
>               ^~
> 

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

--- End Message ---
--- Begin Message ---
* Yves-Alexis Perez <[email protected]> [2016-01-22 12:59]:
> > > - I fail to see how the compiler can statically know name is NULL
> > 
> > Because of __nonnull__.
> 
> What I don't know if that this means *name is *guaranteed* to be non null (and
> so we can safely remove the check) or if that means it the code needs to check
> it beforehand (by the caller, for example).

lightdm builds fine with GCC 6 6-20160228-1.  I don't know if this is
because of the new version of this package or because of a bug in GCC
6 that got fixed.  Given your comments, I guess the latter. :)

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

--- End Message ---
_______________________________________________
Pkg-xfce-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-xfce-devel

Reply via email to