trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: December 2013

Re: [trinity-devel] tdelibs FTBFS: cmake 2.8.12: INTERFACE_LINK_LIBRARIES vs. LINK_INTERFACE_LIBRARIES

From: "Darrell Anderson" <darrella@...>
Date: Sat, 21 Dec 2013 20:40:28 -0600
>Try this patch... expected results are:
><cmake-2.8.12: works fine as always were
>=cmake-2.8.12: no warnings; but the same LINK_ONLY-bla-bla error 
>/* I still
>can't reproduce it, but I suspect it's because of some link flags 
>e.g. I
>don't use hidden-visibility*/
>cmake-2.8.12.1: no warnings; clean build.

Your patch works nicely with cmake <= 2.8.12.0 or 2.8.12.1. Builds 
are clean. As you noted, the patch does not help with 2.8.12.0.

I receive the same exact LINK_ONLY failure.

As noted, the problem is described in the gentoo bugzilla:

https://bugs.gentoo.org/show_bug.cgi?id=490194

The bug report mentions a specific patch and the patch became part 
of cmake 2.8.12.1.

To my understanding, there is no downstream fix for this breakage 
with 2.8.12.0. The best we will be able to do for Trinity packagers 
is to let them know that Trinity will not build with 2.8.12.0.

I asked the Slackware maintainer to update Slackware 14.1 to cmake 
2.8.12.1 and I referenced the gentoo bugzilla. All I can do now is 
wait and see.

I believe the Slackware maintainer avoided problems with cmake 
2.8.12.0 in that the 2.8.12.0 was not updated in the Slackware 14.1 
release cycle until just before RC1, well after all of the KDE 
packages had been built. Very likely he never saw the same build 
failures because he used cmake 2.8.10.2 to build the KDE4 packages 
for Slackware 14.1.

Darrell