Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 923833 - net-misc/remmina-1.4.31-r1[-rdp] builds only when freerdp-3.x is not installed
Summary: net-misc/remmina-1.4.31-r1[-rdp] builds only when freerdp-3.x is not installed
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Ben Kohler
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-05 15:02 UTC by m1027
Modified: 2024-02-11 14:29 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description m1027 2024-02-05 15:02:09 UTC
Hi,

I cannot build remmina (without rdp support) when I have freerdp-3.x installed. I get this message:

> -- Configuring done (4.4s)
> CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
> Please set them or make sure they are set and tested correctly in the CMake files:
> FREERDP_CLIENT_LIBRARY
>     linked by target "remmina-plugin-rdp" in directory /var/tmp/portage/net-misc/remmina-1.4.31-r1/work/Remmina-v1.4.31/plugins/rdp
> FREERDP_INCLUDE_DIR (ADVANCED)
>    used as include directory in directory /var/tmp/portage/net-misc/remmina-1.4.31-r1/work/Remmina-v1.4.31/plugins/rdp
>    used as include directory in directory /var/tmp/portage/net-misc/remmina-1.4.31-r1/work/Remmina-v1.4.31/plugins/rdp
>    used as include directory in directory /var/tmp/portage/net-misc/remmina-1.4.31-r1/work/Remmina-v1.4.31/plugins/rdp
>    used as include directory in directory /var/tmp/portage/net-misc/remmina-1.4.31-r1/work/Remmina-v1.4.31/plugins/rdp
>    used as include directory in directory /var/tmp/portage/net-misc/remmina-1.4.31-r1/work/Remmina-v1.4.31/plugins/rdp
>    used as include directory in directory /var/tmp/portage/net-misc/remmina-1.4.31-r1/work/Remmina-v1.4.31/plugins/rdp
>    used as include directory in directory /var/tmp/portage/net-misc/remmina-1.4.31-r1/work/Remmina-v1.4.31/plugins/rdp
> FREERDP_LIBRARY (ADVANCED)
>     linked by target "remmina-plugin-rdp" in directory /var/tmp/portage/net-misc/remmina-1.4.31-r1/work/Remmina-v1.4.31/plugins/rdp
> FREERDP_WINPR_LIBRARY
>     linked by target "remmina-plugin-rdp" in directory /var/tmp/portage/net-misc/remmina-1.4.31-r1/work/Remmina-v1.4.31/plugins/rdp
> 
> CMake Error in plugins/rdp/CMakeLists.txt:
>   Found relative path while evaluating include directories of
>   "remmina-plugin-rdp":
> 
>     "FREERDP_INCLUDE_DIR-NOTFOUND"

FYI:

As a workaround, I can uninstall freerdp, then build remmina, then install freerdp-3.x again.

I tried unstable remmina-1.4.33-r1 but this is hit by the same issue.

The motivation behind using freerdp-3.x are simply the bugfixes in freerdp.

I was testeing this on a pure wayland based system.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-07 00:16:58 UTC
Please do include the full build.log and emerge --info.
Comment 2 Ben Kohler gentoo-dev 2024-02-08 19:43:22 UTC
I don't know exactly what is/was going wrong with the build system setup here but it looks like this may be fixed in 1.4.34, can you test? (I have tested, can reproduce your same failure with 1.4.31-r1 and 1.4.33-r1 but not with 1.4.34)

Changelog here:
https://gitlab.com/Remmina/Remmina/-/releases/v1.4.34

Some highlights:
* [freerdp] update to build for stable-3.0 !2554 @akallabeth
  * Updates Remmina to properly build against FreeRDP 2 and 3
  * Simplify FreeRDP detection (let CMake do the magic)
  * Remove some oboslete/useless code (Bitmap, Glyph, ...) as that is provided by FreeRDP since 2.0
* Allow Remmina to be built without FreeRDP !2558 @myheroyuki
Comment 3 m1027 2024-02-09 07:13:00 UTC
Thank for investigating.

I confirm that remmina-1.4.34 fixes the issue.

The simple test was:

> emerge freerdp:0/3
> emerge =remmina-1.4.31-r1  # BUILD FAILS
> emerge =remmina-1.4.34     # BUILD SUCCEEDS

IMHO we could can this issue as future stable versions of remmina will fix it.
Comment 4 m1027 2024-02-11 01:12:11 UTC
I hope it is correct for everybody when I close this issue as WONTFIX for the remmina versions I addressed here: 1.4.31-r1 and 1.4.33-r1. 

The new yet unstable version 1.4.34 fixes it.
Comment 5 Ben Kohler gentoo-dev 2024-02-11 14:29:15 UTC
Great, happy to hear it.  FYI I do plan on wiring up the freerdp-3.x support in remmina at some point as well, so you'll be able to keep USE=rdp on and still keep freerdp-3.