Hello Everyone, I am trying build 1.5.2 version RPMS and it failing CC guacenc-webp.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:1130: guacenc-video.o] Error 1 make[2]: Leaving directory '/home/volga629/rpmbuild/BUILD/guacamole-server-1.5.2/src/guacenc' make[1]: *** [Makefile:544: all-recursive] Error 1 make[1]: Leaving directory '/home/volga629/rpmbuild/BUILD/guacamole-server-1.5.2' make: *** [Makefile:464: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.SEAEtq (%build)
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.SEAEtq (%build) Build command %build autoreconf -if ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-systemd-dir=%{_unitdir} --with-guacd-conf=/etc/guacamole/guacd.conf Any help thank you, volga629