Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 538278

Summary: net-misc/freerdp-1.1.0_beta1_p20130710-r2 with cmake 3.1: list sub-command REMOVE_DUPLICATES requires list to be present
Product: Gentoo Linux Reporter: Mark R. Pariente <markpariente>
Component: [OLD] LibraryAssignee: Mike Gilbert <floppym>
Status: RESOLVED OBSOLETE    
Severity: normal CC: alex, chris, kripton, volkov, v_2e
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: cmake 3.1 patch for freerdp-1.1.0_beta1_p20130710
emerge log
cmake output
cmake error log
Updated ebuild for freerdp-1.1.0_beta1_p20130710-r2

Description Mark R. Pariente 2015-01-30 19:28:41 UTC
Configure dies with:

--     Disable feature FFmpeg using "-DWITH_FFMPEG=OFF"
-- checking for module 'libavcodec'
--   found libavcodec, version 55.52.102
-- checking for module 'libavutil'
--   found libavutil, version 52.66.100
-- Found FFmpeg: TRUE  
-- Finding recommended feature Gstreamer for multimedia (multimedia redirection, audio and video playback)
--     Disable feature Gstreamer using "-DWITH_GSTREAMER=OFF"
-- checking for module 'gstreamer-0.10'
--   found gstreamer-0.10, version 0.10.36
-- checking for module 'gstreamer-plugins-base-0.10'
--   found gstreamer-plugins-base-0.10, version 0.10.36
-- Found GSTREAMER: gstreamer-0.10;gobject-2.0;gmodule-2.0;gthread-2.0;glib-2.0;xml2;gstreamer-0.10;gobject-2.0;gmodule-2.0;gthread-2.0;glib-2.0;xml2  
-- Skipping optional feature IPP for performance (Intel Integrated Performance Primitives library)
--     Enable feature IPP using "-DWITH_IPP=ON"
-- Skipping optional feature NPP for performance (NVIDIA Performance Primitives library)
--     Enable feature NPP using "-DWITH_NPP=ON"
-- FreeRDP GIT
-- Finding recommended feature XKBFile for X11 keyboard (X11 keyboard file extension)
--     Disable feature XKBFile using "-DWITH_XKBFILE=OFF"
-- Found XKBFile: /usr/lib64/libxkbfile.so  
CMake Error at channels/client/CMakeLists.txt:33 (list):
  list sub-command REMOVE_DUPLICATES requires list to be present.

I can see that net-misc/freerdp-1.2.0_beta1_pre20141115 does have a patch to fix compatibility with cmake 3.1 - I guess the patch needs to be ported to freerdp 1.1.0 as well. The reason why I'm still at freerdp 1.1.0 is because I have net-misc/remmina installed which requires freerdp <1.2.
Comment 1 Mark R. Pariente 2015-01-30 19:39:44 UTC
Created attachment 395228 [details, diff]
cmake 3.1 patch for freerdp-1.1.0_beta1_p20130710

Adapted the cmake 3.1 patch for 1.1.0 - builds fine for me now.
Comment 2 Mark R. Pariente 2015-01-30 19:45:01 UTC
Actually, nevermind the patch, I think the build doesn't work quite right with it - getting some unresolved symbols reported by revdep-rebuild. I'll look into it more.
Comment 3 Mike Gilbert gentoo-dev 2015-01-30 19:46:47 UTC
+  30 Jan 2015; Mike Gilbert <floppym@gentoo.org>
+  +files/freerdp-1.1-cmake-3.1.patch, freerdp-1.1.0_beta1_p20130710-r1.ebuild,
+  freerdp-1.1.0_beta1_p20130710-r2.ebuild:
+  Backport cmake-3.1 patch to earlier ebuilds, bug 538278. Thanks to Mark R.
+  Pariente.
Comment 4 Mike Gilbert gentoo-dev 2015-01-30 19:51:37 UTC
Ok, I will revert.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2015-02-01 12:05:19 UTC
*** Bug 538420 has been marked as a duplicate of this bug. ***
Comment 6 Chris Smith 2015-02-02 18:22:45 UTC
Created attachment 395390 [details]
emerge log
Comment 7 Chris Smith 2015-02-02 18:23:10 UTC
Created attachment 395392 [details]
cmake output
Comment 8 Chris Smith 2015-02-02 18:23:29 UTC
Created attachment 395394 [details]
cmake error log
Comment 9 Chris Smith 2015-02-02 18:23:38 UTC
Not sure, maybe I'm getting a different error. See added attachments.
Comment 10 Mark R. Pariente 2015-02-02 22:07:25 UTC
I couldn't quite figure out the proper way to patch it for building correctly - could use some help from the gentoo maintainer or upstream.
Comment 11 Mark R. Pariente 2015-02-02 22:08:46 UTC
BTW as a temporary workaround, downgrade to cmake 3.0, build freerdp 1.1, and upgrade cmake 3.1 works fine.
Comment 12 Mike Gilbert gentoo-dev 2015-02-08 19:03:53 UTC
+  08 Feb 2015; Mike Gilbert <floppym@gentoo.org>
+  freerdp-1.1.0_beta1_p20130710-r1.ebuild,
+  freerdp-1.1.0_beta1_p20130710-r2.ebuild:
+  Set upper-bound on cmake to work around bug 538278.
Comment 13 Dmitry Suloev 2015-03-19 13:58:22 UTC
Plz update ebuild for freerdp-1.1.0_beta1_p20130710-r2 cuz it try downgrade cmake.
Comment 14 Dmitry Suloev 2015-03-19 13:59:13 UTC
Created attachment 399248 [details]
Updated ebuild for freerdp-1.1.0_beta1_p20130710-r2
Comment 15 Mike Gilbert gentoo-dev 2015-03-19 14:19:14 UTC
I cannot remove the restriction because it is broken with newer cmake and nobody has provided a working patch.