Ok, I did some searching and saw about adding CFLAGS=-w to the ./configure and 
now I get this:
196.8 make[2]: Leaving directory '/tmp/guacamole-server/src/libguac'
196.8 Making all in src/common
196.8 make[2]: Entering directory '/tmp/guacamole-server/src/common'
196.8 Making all in .
196.8 make[3]: Entering directory '/tmp/guacamole-server/src/common'
196.8   CC       libguac_common_la-io.lo
196.8   CC       libguac_common_la-blank_cursor.lo
196.9   CC       libguac_common_la-clipboard.lo
197.0   CC       libguac_common_la-cursor.lo
197.1   CC       libguac_common_la-dot_cursor.lo
197.2   CC       libguac_common_la-ibar_cursor.lo
197.2   CC       libguac_common_la-iconv.lo
197.3   CC       libguac_common_la-json.lo
197.4   CC       libguac_common_la-list.lo
197.5   CC       libguac_common_la-pointer_cursor.lo
197.5   CC       libguac_common_la-rect.lo
197.6   CC       libguac_common_la-string.lo
197.7   CC       libguac_common_la-surface.lo
197.9   CCLD     libguac_common.la
198.0 make[3]: Leaving directory '/tmp/guacamole-server/src/common'
198.0 Making all in tests
198.0 make[3]: Entering directory '/tmp/guacamole-server/src/common/tests'
198.0 make[3]: Nothing to be done for 'all'.
198.0 make[3]: Leaving directory '/tmp/guacamole-server/src/common/tests'
198.0 make[2]: Leaving directory '/tmp/guacamole-server/src/common'
198.0 Making all in src/common-ssh
198.0 make[2]: Entering directory '/tmp/guacamole-server/src/common-ssh'
198.0 Making all in .
198.0 make[3]: Entering directory '/tmp/guacamole-server/src/common-ssh'
198.0   CC       libguac_common_ssh_la-buffer.lo
198.1   CC       libguac_common_ssh_la-sftp.lo
198.1 In file included from common-ssh/user.h:23,
198.1                  from common-ssh/ssh.h:23,
198.1                  from common-ssh/sftp.h:24,
198.1                  from sftp.c:20:
198.1 common-ssh/key.h:26:10: fatal error: libssh2.h: No such file or directory
198.1    26 | #include <libssh2.h>
198.1       |          ^~~~~~~~~~~
198.1 compilation terminated.
198.1 make[3]: *** [Makefile:555: libguac_common_ssh_la-sftp.lo] Error 1
198.1 make[3]: Leaving directory '/tmp/guacamole-server/src/common-ssh'
198.1 make[2]: Leaving directory '/tmp/guacamole-server/src/common-ssh'
198.1 make[2]: *** [Makefile:595: all-recursive] Error 1
198.1 make[1]: *** [Makefile:545: all-recursive] Error 1
198.1 make[1]: Leaving directory '/tmp/guacamole-server'
198.1 make: *** [Makefile:465: all] Error 2
------

--Steve

From: Barnhart, Steven <barnhart....@osu.edu.INVALID>
Date: Thursday, April 3, 2025 at 6:03 PM
To: user@guacamole.apache.org <user@guacamole.apache.org>
Subject: Unable to build guacamole-server staging/1.6.0 docker image
Hello, I am trying to build the latest staging/1. 6. 0 version docker image for 
guacamole-server to confirm if a problem we had in an earlier 1. 6. 0 build is 
fixed or still present. Anyway, I get the following error building the image. 
Am I missing

Hello,

I am trying to build the latest staging/1.6.0 version docker image for 
guacamole-server to confirm if a problem we had in an earlier 1.6.0 build is 
fixed or still present.

Anyway, I get the following error building the image. Am I missing something?

--- begin snip ---
204.8 make[3]: Nothing to be done for 'all'.
204.8 make[3]: Leaving directory 
'/tmp/guacamole-server/src/protocols/kubernetes/tests'
204.8 make[2]: Leaving directory 
'/tmp/guacamole-server/src/protocols/kubernetes'
204.8 Making all in src/protocols/rdp
204.8 make[2]: Entering directory '/tmp/guacamole-server/src/protocols/rdp'
204.8   GEN      _generated_channel_entry_wrappers.c
204.8   GEN      _generated_keymaps.c
204.8 Added: base
204.8 Added: base_altgr
204.8 Added: failsafe
204.8 Added: cs-cz-qwertz
204.8 Added: de-de-qwertz
204.8 Added: de-ch-qwertz
204.8 Added: en-gb-qwerty
204.8 Added: en-us-qwerty
204.8 Added: es-es-qwerty
204.8 Added: es-latam-qwerty
204.8 Added: fr-be-azerty
204.8 Added: fr-ca-qwerty
204.9 Added: fr-ch-qwertz
204.9 Added: fr-fr-azerty
204.9 Added: hu-hu-qwertz
204.9 Added: it-it-qwerty
204.9 Added: ja-jp-qwerty
204.9 Added: no-no-qwerty
204.9 Added: pl-pl-qwerty
204.9 Added: pt-br-qwerty
204.9 Added: pt-pt-qwerty
204.9 Added: ro-ro-qwerty
204.9 Added: sv-se-qwerty
204.9 Added: da-dk-qwerty
204.9 Added: tr-tr-qwerty
204.9 make  all-recursive
204.9 make[3]: Entering directory '/tmp/guacamole-server/src/protocols/rdp'
204.9 Making all in .
204.9 make[4]: Entering directory '/tmp/guacamole-server/src/protocols/rdp'
204.9   CC       
plugins/guac-common-svc/libguac_common_svc_client_la-guac-common-svc.lo
205.0 In file included from 
/opt/guacamole/lib/pkgconfig/../../include/freerdp3/freerdp/client/rdpgfx.h:28,
205.0                  from 
/opt/guacamole/lib/pkgconfig/../../include/freerdp3/freerdp/gdi/gdi.h:34,
205.0                  from 
/opt/guacamole/lib/pkgconfig/../../include/freerdp3/freerdp/freerdp.h:35,
205.0                  from ./channels/common-svc.h:23,
205.0                  from plugins/guac-common-svc/guac-common-svc.c:21:
205.0 
/opt/guacamole/lib/pkgconfig/../../include/freerdp3/freerdp/codecs.h:93:9: 
error: 'codecs_free' is deprecated: [since 3.6.0] Use 
freerdp_client_codecs_free [-Werror=deprecated-declarations]
205.0    93 |         WINPR_DEPRECATED_VAR("[since 3.6.0] Use 
freerdp_client_codecs_new",
205.0       |         ^~~~~~~~~~~~~~~~~~~~
205.0 In file included from 
/opt/guacamole/lib/pkgconfig/../../include/winpr3/winpr/winpr.h:22,
205.0                  from 
/opt/guacamole/lib/pkgconfig/../../include/winpr3/winpr/stream.h:26,
205.0                  from 
/opt/guacamole/lib/pkgconfig/../../include/freerdp3/freerdp/freerdp.h:25:
205.0 
/opt/guacamole/lib/pkgconfig/../../include/freerdp3/freerdp/codecs.h:91:47: 
note: declared here
205.0    91 |                              FREERDP_API void 
codecs_free(rdpCodecs* codecs));
205.0       |                                               ^~~~~~~~~~~
205.0 
/opt/guacamole/lib/pkgconfig/../../include/winpr3/winpr/platform.h:497:41: 
note: in definition of macro 'WINPR_DEPRECATED_VAR'
205.0   497 | #define WINPR_DEPRECATED_VAR(text, obj) obj 
__attribute__((deprecated(text)))
205.0       |                                         ^~~
205.0 cc1: all warnings being treated as errors
205.0 make[4]: *** [Makefile:1409: 
plugins/guac-common-svc/libguac_common_svc_client_la-guac-common-svc.lo] Error 1
205.0 make[4]: Leaving directory '/tmp/guacamole-server/src/protocols/rdp'
205.0 make[3]: *** [Makefile:1463: all-recursive] Error 1
205.0 make[3]: Leaving directory '/tmp/guacamole-server/src/protocols/rdp'
205.0 make[2]: *** [Makefile:761: all] Error 2
205.0 make[2]: Leaving directory '/tmp/guacamole-server/src/protocols/rdp'
205.0 make[1]: *** [Makefile:545: all-recursive] Error 1
205.0 make[1]: Leaving directory '/tmp/guacamole-server'
205.0 make: *** [Makefile:465: all] Error 2
------
Dockerfile:154
--------------------
152 |
 153 |     # Build guacamole-server and its core protocol library dependencies
154 | >>> RUN ${BUILD_DIR}/src/guacd-docker/bin/build-all.sh
155 |
 156 |     # Determine location of the FREERDP library based on the version.
--------------------
ERROR: failed to solve: process "/bin/sh -c 
${BUILD_DIR}/src/guacd-docker/bin/build-all.sh" did not complete successfully: 
exit code: 2

Steven T. Barnhart
Solutions Engineer
The Ohio State University
OTDI Research Technology and Infrastructure
(614) 688-1013 Office

Reply via email to