Package: ocserv
Version: 0.10.10-1
Severity: important
User: [email protected]
Usertags: ftbfs-gcc-6

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.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> gcc -DHAVE_CONFIG_H -I. -I..  -I./../gl/ -I./../gl/ -I./ -I./../ -I./../  
> -I/usr/include/p11-kit-1   -I/usr/include/libnl3          -Wdate-time 
> -D_FORTIFY_SOURCE=2  -g -O2 -fPIE -fstack-protector-strong -Wformat 
> -Werror=format-security -Wall -c -o worker-http.o worker-http.c
> ocpasswd.c: In function 'main':
> ocpasswd.c:367:10: warning: implicit declaration of function 'optionProcess' 
> [-Wimplicit-function-declaration]
>   optct = optionProcess(&ocpasswdOptions, argc, argv);
>           ^~~~~~~~~~~~~
> 
> ocpasswd.c:367:25: error: 'ocpasswdOptions' undeclared (first use in this 
> function)
>   optct = optionProcess(&ocpasswdOptions, argc, argv);
>                          ^~~~~~~~~~~~~~~
> 
> ocpasswd.c:367:25: note: each undeclared identifier is reported only once for 
> each function it appears in
> ocpasswd.c:374:3: warning: implicit declaration of function 'optionUsage' 
> [-Wimplicit-function-declaration]
>    optionUsage(&ocpasswdOptions, 1);
>    ^~~~~~~~~~~
> 
> ocpasswd.c:378:6: warning: implicit declaration of function 'HAVE_OPT' 
> [-Wimplicit-function-declaration]
>   if (HAVE_OPT(PASSWD)) {
>       ^~~~~~~~
> 
> ocpasswd.c:378:15: error: 'PASSWD' undeclared (first use in this function)
>   if (HAVE_OPT(PASSWD)) {
>                ^~~~~~
> 
> ocpasswd.c:379:13: warning: implicit declaration of function 'OPT_ARG' 
> [-Wimplicit-function-declaration]
>    fpasswd = OPT_ARG(PASSWD);
>              ^~~~~~~
> 
> ocpasswd.c:384:15: error: 'GROUPNAME' undeclared (first use in this function)
>   if (HAVE_OPT(GROUPNAME))
>                ^~~~~~~~~
> 
> ocpasswd.c:390:15: error: 'LOCK' undeclared (first use in this function)
>   if (HAVE_OPT(LOCK))
>                ^~~~
> 
> ocpasswd.c:392:20: error: 'UNLOCK' undeclared (first use in this function)
>   else if (HAVE_OPT(UNLOCK))
>                     ^~~~~~
> 
> ocpasswd.c:394:20: error: 'DELETE' undeclared (first use in this function)
>   else if (HAVE_OPT(DELETE))
>                     ^~~~~~
> 
> Makefile:1474: recipe for target 'ocpasswd.o' failed
> make[6]: *** [ocpasswd.o] Error 1

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

Reply via email to