You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Daniel Nguyen <gu...@dan-tech.pl> on 2017/07/31 20:20:46 UTC

guacamole server 0.9.12-incubating does not compile after upgrading debian jessie to debian stretch

Hi :)

Guacamole server 0.9.12-incubating does not compile after upgrading 
debian jessie to debian stretch. It compiled before on jessie.

ssh.c:70:13: error: ‘guac_common_ssh_openssl_locking_callback’ defined 
but not used [-Werror=unused-function]
  static void guac_common_ssh_openssl_locking_callback(int mode, int n,
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors



------------------------------------------------
guacamole-server version 0.9.12-incubating
------------------------------------------------

    Library status:

      freerdp ............. yes
      pango ............... yes
      libavcodec .......... yes
      libavutil ........... yes
      libssh2 ............. yes
      libssl .............. yes
      libswscale .......... yes
      libtelnet ........... yes
      libVNCServer ........ yes
      libvorbis ........... yes
      libpulse ............ yes
      libwebp ............. yes

    Protocol support:

       RDP ....... yes
       SSH ....... yes
       Telnet .... yes
       VNC ....... yes

    Services / tools:

       guacd ...... yes
       guacenc .... yes

    Init scripts: no

Type "make" to compile guacamole-server.

lucky:~/download/guacamole-server-0.9.12-incubating# make
make  all-recursive
make[1]: Wejście do katalogu 
'/root/download/guacamole-server-0.9.12-incubating'
Making all in src/libguac
make[2]: Wejście do katalogu 
'/root/download/guacamole-server-0.9.12-incubating/src/libguac'
make[2]: Nie ma nic do zrobienia w 'all'.
make[2]: Opuszczenie katalogu 
'/root/download/guacamole-server-0.9.12-incubating/src/libguac'
Making all in src/common
make[2]: Wejście do katalogu 
'/root/download/guacamole-server-0.9.12-incubating/src/common'
make[2]: Nie ma nic do zrobienia w 'all'.
make[2]: Opuszczenie katalogu 
'/root/download/guacamole-server-0.9.12-incubating/src/common'
Making all in src/libguacd
make[2]: Wejście do katalogu 
'/root/download/guacamole-server-0.9.12-incubating/src/libguacd'
make[2]: Nie ma nic do zrobienia w 'all'.
make[2]: Opuszczenie katalogu 
'/root/download/guacamole-server-0.9.12-incubating/src/libguacd'
Making all in tests
make[2]: Wejście do katalogu 
'/root/download/guacamole-server-0.9.12-incubating/tests'
make[2]: Nie ma nic do zrobienia w 'all'.
make[2]: Opuszczenie katalogu 
'/root/download/guacamole-server-0.9.12-incubating/tests'
Making all in src/common-ssh
make[2]: Wejście do katalogu 
'/root/download/guacamole-server-0.9.12-incubating/src/common-ssh'
   CC       libguac_common_ssh_la-ssh.lo
ssh.c:89:22: error: ‘guac_common_ssh_openssl_id_callback’ defined but 
not used [-Werror=unused-function]
  static unsigned long guac_common_ssh_openssl_id_callback() {
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ssh.c:70:13: error: ‘guac_common_ssh_openssl_locking_callback’ defined 
but not used [-Werror=unused-function]
  static void guac_common_ssh_openssl_locking_callback(int mode, int n,
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
Makefile:488: polecenia dla obiektu 'libguac_common_ssh_la-ssh.lo' nie 
powiodły się
make[2]: *** [libguac_common_ssh_la-ssh.lo] Błąd 1
make[2]: Opuszczenie katalogu 
'/root/download/guacamole-server-0.9.12-incubating/src/common-ssh'
Makefile:494: polecenia dla obiektu 'all-recursive' nie powiodły się
make[1]: *** [all-recursive] Błąd 1
make[1]: Opuszczenie katalogu 
'/root/download/guacamole-server-0.9.12-incubating'
Makefile:426: polecenia dla obiektu 'all' nie powiodły się
make: *** [all] Błąd 2

Regards
Daniel Nguyen


Re: guacamole server 0.9.12-incubating does not compile after upgrading debian jessie to debian stretch

Posted by Valentin BRICE <de...@vbrice.fr>.
Daniel,

You should follow Mike’s recommandations who is far more acknowledged about Guacamole than I am. You certainly should follow his advice against mine.

BR.

Valentin

> On 31 Jul 2017, at 22:49, Mike Jumper <mi...@guac-dev.org> wrote:
> 
> On Mon, Jul 31, 2017 at 1:34 PM, Valentin BRICE <dev@vbrice.fr <ma...@vbrice.fr>> wrote:
> Hi Daniel,
> 
> If I may, you issue here a common compilation error. It seems that the flag -Werror as been set in the Makefile. You may suppress the error removing the flag in the Makefile.
> 
> 
> As a matter of practice, I strongly advise against ignoring the warnings. In this case, those functions deal with threadsafety, so the fact that they're turning up unused with your version of OpenSSL doesn't necessarily mean it's safe to leave them out, even if the compiler wouldn't normally consider that an error.
> 
> This particular issue should be fixed on master and in 0.9.13-incubating:
> 
> https://issues.apache.org/jira/browse/GUACAMOLE-205 <https://issues.apache.org/jira/browse/GUACAMOLE-205>
> 
> I suggest instead waiting for the 0.9.13-incubating release to be announced and published. It should be soon.
> 
> - Mike
> 


Re: guacamole server 0.9.12-incubating does not compile after upgrading debian jessie to debian stretch

Posted by Mike Jumper <mi...@guac-dev.org>.
On Mon, Jul 31, 2017 at 1:34 PM, Valentin BRICE <de...@vbrice.fr> wrote:

> Hi Daniel,
>
> If I may, you issue here a common compilation error. It seems that the
> flag -Werror as been set in the Makefile. You may suppress the error
> removing the flag in the Makefile.
>
>
As a matter of practice, I strongly advise against ignoring the warnings.
In this case, those functions deal with threadsafety, so the fact that
they're turning up unused with your version of OpenSSL doesn't necessarily
mean it's safe to leave them out, even if the compiler wouldn't normally
consider that an error.

This particular issue should be fixed on master and in 0.9.13-incubating:

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

I suggest instead waiting for the 0.9.13-incubating release to be announced
and published. It should be soon.

- Mike

Re: guacamole server 0.9.12-incubating does not compile after upgrading debian jessie to debian stretch

Posted by Valentin BRICE <de...@vbrice.fr>.
Hi Daniel,

If I may, you issue here a common compilation error. It seems that the flag -Werror as been set in the Makefile. You may suppress the error removing the flag in the Makefile.

Regards.

Valentin
> On 31 Jul 2017, at 22:20, Daniel Nguyen <gu...@dan-tech.pl> wrote:
> 
> Hi :)
> 
> Guacamole server 0.9.12-incubating does not compile after upgrading debian jessie to debian stretch. It compiled before on jessie.
> 
> ssh.c:70:13: error: ‘guac_common_ssh_openssl_locking_callback’ defined but not used [-Werror=unused-function]
> static void guac_common_ssh_openssl_locking_callback(int mode, int n,
>             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> 
> 
> 
> ------------------------------------------------
> guacamole-server version 0.9.12-incubating
> ------------------------------------------------
> 
>   Library status:
> 
>     freerdp ............. yes
>     pango ............... yes
>     libavcodec .......... yes
>     libavutil ........... yes
>     libssh2 ............. yes
>     libssl .............. yes
>     libswscale .......... yes
>     libtelnet ........... yes
>     libVNCServer ........ yes
>     libvorbis ........... yes
>     libpulse ............ yes
>     libwebp ............. yes
> 
>   Protocol support:
> 
>      RDP ....... yes
>      SSH ....... yes
>      Telnet .... yes
>      VNC ....... yes
> 
>   Services / tools:
> 
>      guacd ...... yes
>      guacenc .... yes
> 
>   Init scripts: no
> 
> Type "make" to compile guacamole-server.
> 
> lucky:~/download/guacamole-server-0.9.12-incubating# make
> make  all-recursive
> make[1]: Wejście do katalogu '/root/download/guacamole-server-0.9.12-incubating'
> Making all in src/libguac
> make[2]: Wejście do katalogu '/root/download/guacamole-server-0.9.12-incubating/src/libguac'
> make[2]: Nie ma nic do zrobienia w 'all'.
> make[2]: Opuszczenie katalogu '/root/download/guacamole-server-0.9.12-incubating/src/libguac'
> Making all in src/common
> make[2]: Wejście do katalogu '/root/download/guacamole-server-0.9.12-incubating/src/common'
> make[2]: Nie ma nic do zrobienia w 'all'.
> make[2]: Opuszczenie katalogu '/root/download/guacamole-server-0.9.12-incubating/src/common'
> Making all in src/libguacd
> make[2]: Wejście do katalogu '/root/download/guacamole-server-0.9.12-incubating/src/libguacd'
> make[2]: Nie ma nic do zrobienia w 'all'.
> make[2]: Opuszczenie katalogu '/root/download/guacamole-server-0.9.12-incubating/src/libguacd'
> Making all in tests
> make[2]: Wejście do katalogu '/root/download/guacamole-server-0.9.12-incubating/tests'
> make[2]: Nie ma nic do zrobienia w 'all'.
> make[2]: Opuszczenie katalogu '/root/download/guacamole-server-0.9.12-incubating/tests'
> Making all in src/common-ssh
> make[2]: Wejście do katalogu '/root/download/guacamole-server-0.9.12-incubating/src/common-ssh'
>  CC       libguac_common_ssh_la-ssh.lo
> ssh.c:89:22: error: ‘guac_common_ssh_openssl_id_callback’ defined but not used [-Werror=unused-function]
> static unsigned long guac_common_ssh_openssl_id_callback() {
>                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ssh.c:70:13: error: ‘guac_common_ssh_openssl_locking_callback’ defined but not used [-Werror=unused-function]
> static void guac_common_ssh_openssl_locking_callback(int mode, int n,
>             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> Makefile:488: polecenia dla obiektu 'libguac_common_ssh_la-ssh.lo' nie powiodły się
> make[2]: *** [libguac_common_ssh_la-ssh.lo] Błąd 1
> make[2]: Opuszczenie katalogu '/root/download/guacamole-server-0.9.12-incubating/src/common-ssh'
> Makefile:494: polecenia dla obiektu 'all-recursive' nie powiodły się
> make[1]: *** [all-recursive] Błąd 1
> make[1]: Opuszczenie katalogu '/root/download/guacamole-server-0.9.12-incubating'
> Makefile:426: polecenia dla obiektu 'all' nie powiodły się
> make: *** [all] Błąd 2
> 
> Regards
> Daniel Nguyen

Re: guacamole server 0.9.12-incubating does not compile after upgrading debian jessie to debian stretch

Posted by danielos <gu...@dan-tech.pl>.
Thanks Mike, I'll do.

-Daniel



--
View this message in context: http://apache-guacamole-incubating-users.2363388.n4.nabble.com/guacamole-server-0-9-12-incubating-does-not-compile-after-upgrading-debian-jessie-to-debian-stretch-tp1440p1488.html
Sent from the Apache Guacamole (incubating) - Users mailing list archive at Nabble.com.

Re: guacamole server 0.9.12-incubating does not compile after upgrading debian jessie to debian stretch

Posted by Mike Jumper <mi...@guac-dev.org>.
It is compatible - that's what the previously-posted JIRA issue dealt with:

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

If you try building the 0.9.13-incubating release, which has the above
changes, you will not see these errors.

- Mike


On Sun, Aug 6, 2017 at 10:37 AM, Daniel Nguyen <gu...@dan-tech.pl> wrote:
> I found what's going on.
>
> libssl1.0-dev must be used instead of libssl-dev. Guacamole seems
> incompatible with libssl-dev in debian stretch, although ./configure does
> not complain.
>
> Regards
> Daniel Nguyen
>
> W dniu 31.07.2017 o 22:20, Daniel Nguyen pisze:
>
> Hi :)
>
> Guacamole server 0.9.12-incubating does not compile after upgrading debian
> jessie to debian stretch. It compiled before on jessie.
>
> ssh.c:70:13: error: ‘guac_common_ssh_openssl_locking_callback’ defined but
> not used [-Werror=unused-function]
>  static void guac_common_ssh_openssl_locking_callback(int mode, int n,
>              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
>
>
>
> ------------------------------------------------
> guacamole-server version 0.9.12-incubating
> ------------------------------------------------
>
>    Library status:
>
>      freerdp ............. yes
>      pango ............... yes
>      libavcodec .......... yes
>      libavutil ........... yes
>      libssh2 ............. yes
>      libssl .............. yes
>      libswscale .......... yes
>      libtelnet ........... yes
>      libVNCServer ........ yes
>      libvorbis ........... yes
>      libpulse ............ yes
>      libwebp ............. yes
>
>    Protocol support:
>
>       RDP ....... yes
>       SSH ....... yes
>       Telnet .... yes
>       VNC ....... yes
>
>    Services / tools:
>
>       guacd ...... yes
>       guacenc .... yes
>
>    Init scripts: no
>
> Type "make" to compile guacamole-server.
>
> lucky:~/download/guacamole-server-0.9.12-incubating# make
> make  all-recursive
> make[1]: Wejście do katalogu
> '/root/download/guacamole-server-0.9.12-incubating'
> Making all in src/libguac
> make[2]: Wejście do katalogu
> '/root/download/guacamole-server-0.9.12-incubating/src/libguac'
> make[2]: Nie ma nic do zrobienia w 'all'.
> make[2]: Opuszczenie katalogu
> '/root/download/guacamole-server-0.9.12-incubating/src/libguac'
> Making all in src/common
> make[2]: Wejście do katalogu
> '/root/download/guacamole-server-0.9.12-incubating/src/common'
> make[2]: Nie ma nic do zrobienia w 'all'.
> make[2]: Opuszczenie katalogu
> '/root/download/guacamole-server-0.9.12-incubating/src/common'
> Making all in src/libguacd
> make[2]: Wejście do katalogu
> '/root/download/guacamole-server-0.9.12-incubating/src/libguacd'
> make[2]: Nie ma nic do zrobienia w 'all'.
> make[2]: Opuszczenie katalogu
> '/root/download/guacamole-server-0.9.12-incubating/src/libguacd'
> Making all in tests
> make[2]: Wejście do katalogu
> '/root/download/guacamole-server-0.9.12-incubating/tests'
> make[2]: Nie ma nic do zrobienia w 'all'.
> make[2]: Opuszczenie katalogu
> '/root/download/guacamole-server-0.9.12-incubating/tests'
> Making all in src/common-ssh
> make[2]: Wejście do katalogu
> '/root/download/guacamole-server-0.9.12-incubating/src/common-ssh'
>   CC       libguac_common_ssh_la-ssh.lo
> ssh.c:89:22: error: ‘guac_common_ssh_openssl_id_callback’ defined but not
> used [-Werror=unused-function]
>  static unsigned long guac_common_ssh_openssl_id_callback() {
>                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ssh.c:70:13: error: ‘guac_common_ssh_openssl_locking_callback’ defined but
> not used [-Werror=unused-function]
>  static void guac_common_ssh_openssl_locking_callback(int mode, int n,
>              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> Makefile:488: polecenia dla obiektu 'libguac_common_ssh_la-ssh.lo' nie
> powiodły się
> make[2]: *** [libguac_common_ssh_la-ssh.lo] Błąd 1
> make[2]: Opuszczenie katalogu
> '/root/download/guacamole-server-0.9.12-incubating/src/common-ssh'
> Makefile:494: polecenia dla obiektu 'all-recursive' nie powiodły się
> make[1]: *** [all-recursive] Błąd 1
> make[1]: Opuszczenie katalogu
> '/root/download/guacamole-server-0.9.12-incubating'
> Makefile:426: polecenia dla obiektu 'all' nie powiodły się
> make: *** [all] Błąd 2
>
> Regards
> Daniel Nguyen
>

Re: guacamole server 0.9.12-incubating does not compile after upgrading debian jessie to debian stretch

Posted by Daniel Nguyen <gu...@dan-tech.pl>.
I found what's going on.

*libssl1.0-dev* must be used instead of *libssl-dev*. Guacamole seems 
incompatible with libssl-dev in debian stretch, although ./configure 
does not complain.

Regards
Daniel Nguyen

W dniu 31.07.2017 o 22:20, Daniel Nguyen pisze:
> Hi :)
>
> Guacamole server 0.9.12-incubating does not compile after upgrading 
> debian jessie to debian stretch. It compiled before on jessie.
>
> ssh.c:70:13: error: ‘guac_common_ssh_openssl_locking_callback’ defined 
> but not used [-Werror=unused-function]
>  static void guac_common_ssh_openssl_locking_callback(int mode, int n,
>              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
>
>
>
> ------------------------------------------------
> guacamole-server version 0.9.12-incubating
> ------------------------------------------------
>
>    Library status:
>
>      freerdp ............. yes
>      pango ............... yes
>      libavcodec .......... yes
>      libavutil ........... yes
>      libssh2 ............. yes
>      libssl .............. yes
>      libswscale .......... yes
>      libtelnet ........... yes
>      libVNCServer ........ yes
>      libvorbis ........... yes
>      libpulse ............ yes
>      libwebp ............. yes
>
>    Protocol support:
>
>       RDP ....... yes
>       SSH ....... yes
>       Telnet .... yes
>       VNC ....... yes
>
>    Services / tools:
>
>       guacd ...... yes
>       guacenc .... yes
>
>    Init scripts: no
>
> Type "make" to compile guacamole-server.
>
> lucky:~/download/guacamole-server-0.9.12-incubating# make
> make  all-recursive
> make[1]: Wejście do katalogu 
> '/root/download/guacamole-server-0.9.12-incubating'
> Making all in src/libguac
> make[2]: Wejście do katalogu 
> '/root/download/guacamole-server-0.9.12-incubating/src/libguac'
> make[2]: Nie ma nic do zrobienia w 'all'.
> make[2]: Opuszczenie katalogu 
> '/root/download/guacamole-server-0.9.12-incubating/src/libguac'
> Making all in src/common
> make[2]: Wejście do katalogu 
> '/root/download/guacamole-server-0.9.12-incubating/src/common'
> make[2]: Nie ma nic do zrobienia w 'all'.
> make[2]: Opuszczenie katalogu 
> '/root/download/guacamole-server-0.9.12-incubating/src/common'
> Making all in src/libguacd
> make[2]: Wejście do katalogu 
> '/root/download/guacamole-server-0.9.12-incubating/src/libguacd'
> make[2]: Nie ma nic do zrobienia w 'all'.
> make[2]: Opuszczenie katalogu 
> '/root/download/guacamole-server-0.9.12-incubating/src/libguacd'
> Making all in tests
> make[2]: Wejście do katalogu 
> '/root/download/guacamole-server-0.9.12-incubating/tests'
> make[2]: Nie ma nic do zrobienia w 'all'.
> make[2]: Opuszczenie katalogu 
> '/root/download/guacamole-server-0.9.12-incubating/tests'
> Making all in src/common-ssh
> make[2]: Wejście do katalogu 
> '/root/download/guacamole-server-0.9.12-incubating/src/common-ssh'
>   CC       libguac_common_ssh_la-ssh.lo
> ssh.c:89:22: error: ‘guac_common_ssh_openssl_id_callback’ defined but 
> not used [-Werror=unused-function]
>  static unsigned long guac_common_ssh_openssl_id_callback() {
>                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ssh.c:70:13: error: ‘guac_common_ssh_openssl_locking_callback’ defined 
> but not used [-Werror=unused-function]
>  static void guac_common_ssh_openssl_locking_callback(int mode, int n,
>              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> Makefile:488: polecenia dla obiektu 'libguac_common_ssh_la-ssh.lo' nie 
> powiodły się
> make[2]: *** [libguac_common_ssh_la-ssh.lo] Błąd 1
> make[2]: Opuszczenie katalogu 
> '/root/download/guacamole-server-0.9.12-incubating/src/common-ssh'
> Makefile:494: polecenia dla obiektu 'all-recursive' nie powiodły się
> make[1]: *** [all-recursive] Błąd 1
> make[1]: Opuszczenie katalogu 
> '/root/download/guacamole-server-0.9.12-incubating'
> Makefile:426: polecenia dla obiektu 'all' nie powiodły się
> make: *** [all] Błąd 2
>
> Regards
> Daniel Nguyen
>