Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 490194 - dev-util/cmake-2.8.12.1 version bump (was dev-util/cmake-2.8.12: $<LINK_ONLY> expression requires exactly one parameter.)
Summary: dev-util/cmake-2.8.12.1 version bump (was dev-util/cmake-2.8.12: $<LINK_ONLY>...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL: http://thread.gmane.org/gmane.comp.pr...
Whiteboard:
Keywords:
: 490914 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-11-02 21:09 UTC by Martin von Gagern
Modified: 2013-11-12 21:51 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 Martin von Gagern 2013-11-02 21:09:15 UTC
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.
Comment 1 Martin von Gagern 2013-11-02 21:15:12 UTC
(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
Comment 2 Martin von Gagern 2013-11-02 21:23:15 UTC
(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.
Comment 3 Martin von Gagern 2013-11-02 22:02:55 UTC
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.
Comment 4 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-11-06 14:15:52 UTC
There appears to be no ldc overlay registered with Gentoo Infrastructure.
Comment 5 Hanno Böck gentoo-dev 2013-11-09 21:51:45 UTC
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.
Comment 6 Silvio 2013-11-10 08:57:55 UTC
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.
Comment 7 Silvio 2013-11-10 09:01:42 UTC
*** Bug 490914 has been marked as a duplicate of this bug. ***
Comment 8 Johannes Huber (RETIRED) gentoo-dev 2013-11-12 21:51:39 UTC
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.
+