On Tue, Jul 30, 2019, 05:47 Shawn Qureshi <[email protected]> wrote:

> Hi, I'm getting make errors on Fedora 30 (kernel 5.1.17-300.fc30.x86_64),
> was hoping someone could help isolate what's going on here, I'm not a C
> developer so I'm not sure how to fix this:
>
> make[2]: Entering directory '/root/guacamole-server-0.9.14/src/common-ssh'
> make[2]: Nothing to be done for 'all'.
> make[2]: Leaving directory '/root/guacamole-server-0.9.14/src/common-ssh'
> Making all in src/terminal
> make[2]: Entering directory '/root/guacamole-server-0.9.14/src/terminal'
>   CC       libguac_terminal_la-typescript.lo
> typescript.c: In function âguac_terminal_typescript_allocâ:
> typescript.c:133:46: error: â%sâ directive writing 6 bytes into a region
> of size between 0 and 2047 [-Werror=format-overflow=]
>   133 |     sprintf(typescript->timing_filename, "%s.%s",
> typescript->data_filename,
>       |                                              ^~
> typescript.c:133:5: note: âsprintfâ output between 8 and 2055 bytes into a
> destination of size 2048
>   133 |     sprintf(typescript->timing_filename, "%s.%s",
> typescript->data_filename,
>       |
>  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>   134 |             GUAC_TERMINAL_TYPESCRIPT_TIMING_SUFFIX);
>       |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> make[2]: *** [Makefile:566: libguac_terminal_la-typescript.lo] Error 1
> make[2]: Leaving directory '/root/guacamole-server-0.9.14/src/terminal'
> make[1]: *** [Makefile:503: all-recursive] Error 1
> make[1]: Leaving directory '/root/guacamole-server-0.9.14'
> make: *** [Makefile:427: all] Error 2
>

Rather than build 0.9.14, you should instead build the latest release. This
was fixed in 1.0.0:

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

https://guacamole.apache.org/releases/1.0.0/

- Mike

Reply via email to