On Mon, Aug 14, 2023 at 6:54 AM Alessandro Sironi <[email protected]> wrote: > > Hello all, > > I'm trying to upgrade from Guacamole 1.5.2 to Guacamole 1.5.3 but I got > this error during make: > > make[2]: uscita dalla directory «/tmp/guacamole-server-1.5.3/src/guacd» > Making all in src/guacenc > make[2]: ingresso nella directory «/tmp/guacamole-server-1.5.3/src/guacenc» > CC guacenc-video.o > video.c: In function ‘guacenc_video_alloc’: > video.c:63:22: error: assignment discards ‘const’ qualifier from pointer > target type [-Werror=discarded-qualifiers] > 63 | container_format = container_format_context->oformat; > | ^ > video.c:66:22: error: initialization discards ‘const’ qualifier from > pointer target type [-Werror=discarded-qualifiers] > 66 | AVCodec* codec = avcodec_find_encoder_by_name(codec_name); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ > cc1: all warnings being treated as errors > make[2]: *** [Makefile:1126: guacenc-video.o] Errore 1 > make[2]: uscita dalla directory «/tmp/guacamole-server-1.5.3/src/guacenc» > make[1]: *** [Makefile:544: all-recursive] Errore 1 > make[1]: uscita dalla directory «/tmp/guacamole-server-1.5.3» > make: *** [Makefile:464: all] Errore 2 > > it's a standalone installation on a dedicated VM Debian 12, I've > upgraded right now from D11 to D12 and now I'm going to upgrade > Guacamole too, this is not my first guacamole 1.5.3 on a Debian 12, but > this is the first time I see this error. > > Can someone help me please?
You're running into this issue: https://issues.apache.org/jira/browse/GUACAMOLE-1714 Which has been fixed in the Github code for Guacamole Server, but has not been released, yet (it is targeted for 1.6.0). You can do one of a few things to get it compiled: * Disable guacenc during the build process if you don't need it. * Apply the patch from the pull request(s) that fixed this issue (https://github.com/apache/guacamole-server/pull/399) and recompile. * Check out the master branch of guacamole-server from Github and build/compile. -Nick --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
