[Bug 227270] New: cmake could not write new RPATH to akonadiserver

Daniel Betz dbetz at stud.hs-bremen.de
Tue Feb 16 20:30:58 GMT 2010


https://bugs.kde.org/show_bug.cgi?id=227270

           Summary: cmake could not write new RPATH to akonadiserver
           Product: Akonadi
           Version: 4.4
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: server
        AssignedTo: vkrause at kde.org
        ReportedBy: dbetz at stud.hs-bremen.de
                CC: kdepim-bugs at kde.org


Version:            (using KDE 4.4.0)
Compiler:          gcc 4.4.3 
OS:                Linux
Installed from:    Compiled From Sources

make install in the current SVN trunk version of kdesupport failles to
change the rpath of akonadiserver and the installation process stops.



Part of the output of "make install":

-- Set runtime path of "/usr/local/lib/libakonadiprotocolinternals.so.1.3.50"
to "/usr/local/lib:/usr/local/lib"
-- Installing:
/usr/local/include/akonadi/private/akonadiprotocolinternals_export.h            
-- Installing: /usr/local/include/akonadi/private/imapparser_p.h                
-- Installing: /usr/local/include/akonadi/private/imapset_p.h                   
-- Installing: /usr/local/include/akonadi/private/notificationmessage_p.h       
-- Installing: /usr/local/include/akonadi/private/protocol_p.h                  
-- Installing: /usr/local/include/akonadi/private/xdgbasedirs_p.h               
-- Installing: /usr/local/include/akonadi/private/capabilities_p.h              
-- Installing: /usr/local/lib/libakonadiprivate.so.1.3.50                       
-- Installing: /usr/local/lib/libakonadiprivate.so.1                            
-- Up-to-date: /usr/local/lib/libakonadiprivate.so                              
-- Set runtime path of "/usr/local/lib/libakonadiprivate.so.1.3.50" to
"/usr/local/lib:/usr/local/lib"          
-- Installing: /usr/local/bin/akonadiserver                                     
CMake Error at akonadi/server/cmake_install.cmake:65 (FILE):                    
  file RPATH_CHANGE could not write new RPATH:                                  

    /usr/local/lib:/usr/local/lib

  to the file:

    /usr/local/bin/akonadiserver

  The current RPATH is:

   
/home/daniel/packs/KDE/kdesupport/build/lib:/home/daniel/packs/KDE/kdesupport/build/soprano/soprano:/usr/local/lib

  which does not contain:

   
/home/daniel/packs/KDE/kdesupport/build/lib:/home/daniel/packs/KDE/kdesupport/build/soprano/soprano:/usr/local/lib:

  as was expected.
Call Stack (most recent call first):
  akonadi/cmake_install.cmake:63 (INCLUDE)
  cmake_install.cmake:41 (INCLUDE)        


make: *** [install] Error 1




In file akonadi/server/cmake_install.cmake in the build directory:

    FILE(RPATH_CHANGE
         FILE "$ENV{DESTDIR}/usr/local/bin/akonadiserver"
         OLD_RPATH
"/home/daniel/packs/KDE/kdesupport/build/lib:/home/daniel/packs/KDE/kdesupport/build/soprano/soprano:/usr/local/lib:"
         NEW_RPATH "/usr/local/lib:/usr/local/lib")


I fixed the problem by removing the colon at the end of line 67.
However, to check for both variants, with colon and without, would
be nice.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the Kdepim-bugs mailing list