Compiling ldc2 from the ldc overlay using cmake 2.8.12, I got the following error message: $<LINK_ONLY:-L/usr/lib64/llvm -Wl,-R -Wl,/usr/lib64/llvm -lz -lpthread -lffi -ldl -lm> $<LINK_ONLY> expression requires exactly one parameter. Apparently the commas in the flags are treated as argument separators by CMake. This was also discussed on the cmake mailing list: http://thread.gmane.org/gmane.comp.programming.tools.cmake.user/48007 A fix was proposed there. It might make sense to include that at the distro level, particularly if dependencies inside the main portage tree turn up. As long as it's only the overlay which is affected, feel free to mark this RESOLVED UPSTREAM and wait for them to provide a fix. With a bit of luck, anyone noticing affected packages from the main tree will find this report here nonetheless. I will also report this for the ldc overlay, but I guess they won't have much choice except changing the cmake dependency to <2.8.12.
(In reply to Martin von Gagern from comment #0) > I will also report this for the ldc overlay https://github.com/ldc-developers/gentoo-overlay/issues/7
(In reply to Martin von Gagern from comment #0) > A fix was proposed there. http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=239b0c6b0ed821fd012a2a980961 appears to be the version of that fix which made it into the main branch.
Luckily, the cmake ebuild calls epatch_user, so the following commands will install a fixed version for users until this is fixed in portage: # mkdir -p /etc/portage/patches/dev-util/cmake-2.8.12 # wget -O /etc/portage/patches/dev-util/cmake-2.8.12/gentoo490194.patch \ 'http://cmake.org/gitweb?p=cmake.git;a=commitdiff_plain;h=239b0c6b0ed821fd012a2a' # emerge -1 cmake With this in place, ldc2 at least started to compile. Build is still running.
There appears to be no ldc overlay registered with Gentoo Infrastructure.
This affects other packages as well, just saw it creates failure with openvas-libraries. Upstream has now fixed this in cmake 2.8.12.1, so we need a bump of cmake to make these failures go away.
I've opened a bug in openvas-libraries, https://bugs.gentoo.org/show_bug.cgi?id=490914 but I think it is a duplicate of this one.
*** Bug 490914 has been marked as a duplicate of this bug. ***
Thanks for reporting. This is fixed in cvs now. Please sync in some hours to get the changes. + + 12 Nov 2013; Johannes Huber <johu@gentoo.org> +cmake-2.8.12.1.ebuild, + -cmake-2.8.12.ebuild: + Version bump wrt bug #490194. +