Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 538278 - net-misc/freerdp-1.1.0_beta1_p20130710-r2 with cmake 3.1: list sub-command REMOVE_DUPLICATES requires list to be present
Summary: net-misc/freerdp-1.1.0_beta1_p20130710-r2 with cmake 3.1: list sub-command RE...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords:
: 538420 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-01-30 19:28 UTC by Mark R. Pariente
Modified: 2016-07-31 23:21 UTC (History)
5 users (show)

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


Attachments
cmake 3.1 patch for freerdp-1.1.0_beta1_p20130710 (freerdp-1.1.0-cmake-3.1.patch,2.67 KB, patch)
2015-01-30 19:39 UTC, Mark R. Pariente
Details | Diff
emerge log (freerdp.emerge.log,10.64 KB, text/x-log)
2015-02-02 18:22 UTC, Chris Smith
Details
cmake output (freerdp.cmake.out.log,44.38 KB, text/x-log)
2015-02-02 18:23 UTC, Chris Smith
Details
cmake error log (freerdp.cmake.error.log,11.12 KB, text/x-log)
2015-02-02 18:23 UTC, Chris Smith
Details
Updated ebuild for freerdp-1.1.0_beta1_p20130710-r2 (freerdp-1.1.0_beta1_p20130710-r2.ebuild,2.80 KB, text/plain)
2015-03-19 13:59 UTC, Dmitry Suloev
Details

Note You need to log in before you can comment on or make changes to this bug.
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.