On Fri, Dec 20, 2019, 01:07 Vieri <[email protected]> wrote:

> Hi,
>
> I am unable to compile guacamole-server 1.0.0 with gcc-9.2.0 and
> glibc-2.29.
>
> libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../..
> -Werror -Wall -Iinclude -I../../../src/common -I../../../src/common-ssh
> -I../../../src/libguac -O2 -pipe -c guac_rdpsnd/rdpsnd_messages.c -o
> guac_rdpsnd/guacsnd_client_la-rdpsnd_messages.o >/dev/null 2>&1
> In file included from /usr/include/string.h:494,
>                  from /usr/include/winpr/collections.h:25,
>                  from /usr/include/freerdp/types.h:64,
>                  from /usr/include/freerdp/svc.h:30,
>                  from /usr/include/freerdp/utils/svc_plugin.h:27,
>                  from ./rdp_svc.h:25,
>                  from guac_svc/svc_service.h:24,
>                  from guac_svc/svc_service.c:22:
> In function 'strncpy',
>     inlined from 'VirtualChannelEntry' at guac_svc/svc_service.c:56:5:
> /usr/include/bits/string_fortified.h:106:10: error: '__builtin_strncpy'
> output may be truncated copying 7 bytes from a string of length 7
> [-Werror=stringop-truncation]
>   106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos
> (__dest));
>       |
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> make[3]: *** [Makefile:1585: guac_svc/guacsvc_client_la-svc_service.lo]
> Error 1
>
> Any ideas? Need more info?


https://issues.apache.org/jira/browse/GUACAMOLE-637

This was reported after the 1.0.0 release and has since been fixed on git.

- Mike

Reply via email to