RPATH with multiple empty paths (e.g., ::::::::)

2008-08-03 Thread Gavin Beatty
Hello,

A lot of KDE libraries are being given strange RPATHs. I'm getting
link lines giving this:

  
/home/kde-devel/work/kde4/qt-copy/lib:/home/kde-devel/opt/kde4/lib:

as the rpath. We all know that this is bad. There is nothing strange
in the relevant CMakeLists.txt files for the affected libs. An example
lib that is affected is kded_soliduiserver. I'm seeing this in kdebase
and kdepimlibs at least so a CMake bug would seem logical.

Anyone getting this with CMake CVS 2.7-20080803 (updated minutes ago)?

-- 
Gavin Beatty

SEMPER UBI SUB UBI
GPG Fingerprint: 354D 9E9C 5C66 EDF4 E7D9 0EC5 6A7A C55D 49DD 695F
___
Kde-buildsystem mailing list
Kde-buildsystem@kde.org
https://mail.kde.org/mailman/listinfo/kde-buildsystem


Re: RPATH with multiple empty paths (e.g., ::::::::)

2008-08-03 Thread Dirk Mueller
On Sunday 03 August 2008, Gavin Beatty wrote:

 A lot of KDE libraries are being given strange RPATHs. I'm getting
 link lines giving this:

installed or uninstalled libraries? for uninstalled that's normal, cmake 
reserves some space in the binary to be able to fill in the correct path during 
installation without relinking (which is somewhat slower). 

if it breaks your scripts (it breaks mine), 

-DCMAKE_NO_BUILTIN_CHRPATH:BOOL=ON

helps. 

Greetings,
Dirk

___
Kde-buildsystem mailing list
Kde-buildsystem@kde.org
https://mail.kde.org/mailman/listinfo/kde-buildsystem


Re: Help Rewriting kdepim/akonadi/agents/nie/CMakeLists.txt

2008-08-03 Thread Dirk Mueller
On Friday 25 July 2008, Alexander Neundorf wrote:

 Not exactly sure what you mean.
 FILE(WRITE APPEND .. ) ?

It looks like the issue was fixed by adding all the generated files to SVN, 
which sounds bad to me. Without having gone over all the details discussed in 
this thread, isn't there some way to let cmake generate those files during 
build time?

Thanks,
Dirk

___
Kde-buildsystem mailing list
Kde-buildsystem@kde.org
https://mail.kde.org/mailman/listinfo/kde-buildsystem