You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@guacamole.apache.org by "mike-jumper (via GitHub)" <gi...@apache.org> on 2025/03/24 06:39:00 UTC

[PR] GUACAMOLE-1026: Correct inverted performance flag logic. [guacamole-server]

mike-jumper opened a new pull request, #579:
URL: https://github.com/apache/guacamole-server/pull/579

   This change corrects the regression in handling of FreeRDP 3.x performance flags. Apparently, we simply inverted the logic through the magic of copypasta.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@guacamole.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] GUACAMOLE-1026: Correct inverted performance flag logic. [guacamole-server]

Posted by "necouchman (via GitHub)" <gi...@apache.org>.
necouchman commented on PR #579:
URL: https://github.com/apache/guacamole-server/pull/579#issuecomment-2887715884

   @drupol Maybe you're referring, not to the inversion of the performance flags, but the build failure due to the deprecation warning in FreeRDP? This is actually not an issue with the Guacamole code at all - this is with the FreeRDP build. And this PR does not address that in any way - the only place we had to address that is in our build of the FreeRDP source code for our Docker images.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@guacamole.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] GUACAMOLE-1026: Correct inverted performance flag logic. [guacamole-server]

Posted by "drupol (via GitHub)" <gi...@apache.org>.
drupol commented on PR #579:
URL: https://github.com/apache/guacamole-server/pull/579#issuecomment-2887718803

   I'm relating to the following build issue : https://logs.ofborg.org/?key=nixos/nixpkgs.407726&attempt_id=b4bb74d7-6b94-43db-83ad-6fd5c66eee1d


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@guacamole.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] GUACAMOLE-1026: Correct inverted performance flag logic. [guacamole-server]

Posted by "necouchman (via GitHub)" <gi...@apache.org>.
necouchman commented on PR #579:
URL: https://github.com/apache/guacamole-server/pull/579#issuecomment-2887685241

   @drupol: This code has been merged, but only for the coming 1.6.0 release. You can get it from the staging/1.6.0 branch of the repo.
   
   The issue you mentioned with NixOS appears to be for Guacamole 1.5.5, so, no, it will not be fixed, there.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@guacamole.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] GUACAMOLE-1026: Correct inverted performance flag logic. [guacamole-server]

Posted by "necouchman (via GitHub)" <gi...@apache.org>.
necouchman commented on PR #579:
URL: https://github.com/apache/guacamole-server/pull/579#issuecomment-2747849327

   @mike-jumper The build seems to be failing with some messages regarding codecs:
   ```
   /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]
   #9 221.2    93 |         WINPR_DEPRECATED_VAR("[since 3.6.0] Use freerdp_client_codecs_new",
   #9 221.2       |         ^~~~~~~~~~~~~~~~~~~~
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@guacamole.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] GUACAMOLE-1026: Correct inverted performance flag logic. [guacamole-server]

Posted by "necouchman (via GitHub)" <gi...@apache.org>.
necouchman commented on PR #579:
URL: https://github.com/apache/guacamole-server/pull/579#issuecomment-2749126513

   > @necouchman Interestingly, we're not actually calling the functions warned about there. It looks like GCC just universally issues warnings for anything including the `codecs.h` header (which is effectively everything via `freerdp.h`).
   > 
   > I've opened [FreeRDP/FreeRDP#11412](https://github.com/FreeRDP/FreeRDP/issues/11412) for the warnings, though am not sure this is intentional behavior on GCC's part.
   
   Okay - so are you comfortable moving forward with this merge even with the build failing? Or do you want to wait until that's sorted?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@guacamole.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] GUACAMOLE-1026: Correct inverted performance flag logic. [guacamole-server]

Posted by "necouchman (via GitHub)" <gi...@apache.org>.
necouchman commented on PR #579:
URL: https://github.com/apache/guacamole-server/pull/579#issuecomment-2887700007

   @drupol No, this particular issue does not stem from any changes in FreeRDP, this was completely a mistake in the original code committed when we implemented support for FreeRDP 3.x, where we reversed the logic of the performance flag settings when sending those settings to FreeRDP.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@guacamole.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] GUACAMOLE-1026: Correct inverted performance flag logic. [guacamole-server]

Posted by "mike-jumper (via GitHub)" <gi...@apache.org>.
mike-jumper commented on PR #579:
URL: https://github.com/apache/guacamole-server/pull/579#issuecomment-2749037987

   @necouchman Interestingly, we're not actually calling the functions warned about there. It looks like GCC just universally issues warnings for anything including the `codecs.h` header (which is effectively everything via `freerdp.h`).
   
   I've opened FreeRDP/FreeRDP#11412 for the warnings, though am not sure this is intentional behavior on GCC's part.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@guacamole.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] GUACAMOLE-1026: Correct inverted performance flag logic. [guacamole-server]

Posted by "drupol (via GitHub)" <gi...@apache.org>.
drupol commented on PR #579:
URL: https://github.com/apache/guacamole-server/pull/579#issuecomment-2887695940

   Hey !
   
   I tried using commit acb69735359d4d4a08f65d6eb0bde2a0da08f751 (from branch `staging/1.6.0`) but got the same issue. If I understand correctly, the issue stem from FreeRDP, and it looks like it hasn't been fixed yet.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@guacamole.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] GUACAMOLE-1026: Correct inverted performance flag logic. [guacamole-server]

Posted by "drupol (via GitHub)" <gi...@apache.org>.
drupol commented on PR #579:
URL: https://github.com/apache/guacamole-server/pull/579#issuecomment-2887704775

   Right... I'll make further tests during the weekend and keep you posted.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@guacamole.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] GUACAMOLE-1026: Correct inverted performance flag logic. [guacamole-server]

Posted by "mike-jumper (via GitHub)" <gi...@apache.org>.
mike-jumper commented on PR #579:
URL: https://github.com/apache/guacamole-server/pull/579#issuecomment-2749318038

   I think it's OK to move forward and possibly address the build failure separately (or rely instead on adding build flags until it's no longer an issue).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@guacamole.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] GUACAMOLE-1026: Correct inverted performance flag logic. [guacamole-server]

Posted by "necouchman (via GitHub)" <gi...@apache.org>.
necouchman merged PR #579:
URL: https://github.com/apache/guacamole-server/pull/579


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@guacamole.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] GUACAMOLE-1026: Correct inverted performance flag logic. [guacamole-server]

Posted by "drupol (via GitHub)" <gi...@apache.org>.
drupol commented on PR #579:
URL: https://github.com/apache/guacamole-server/pull/579#issuecomment-2887670925

   Hello,
   
   I'm trying to package `guacamole-server` on Nix and having this issue. As this been fixed already ?
   
   Follow the progress at https://github.com/NixOS/nixpkgs/pull/407726


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@guacamole.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org