From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Re: [PATCH] gnu: kde: Add kdelibs. Date: Fri, 7 Nov 2014 00:24:09 +0100 Message-ID: <20141106232409.GB26247@debian> References: <87tx2d2ykt.fsf@gnu.org> <87ioitwfxf.fsf@gmail.com> <20141105211818.GA1181@debian> <20141105232032.GA24522@debian> <871tpglfg2.fsf@gnu.org> <20141106223744.GA15793@debian> <87bnokvscw.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55206) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmWPl-0003BC-Sx for guix-devel@gnu.org; Thu, 06 Nov 2014 18:24:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XmWPe-000658-CO for guix-devel@gnu.org; Thu, 06 Nov 2014 18:24:29 -0500 Content-Disposition: inline In-Reply-To: <87bnokvscw.fsf@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Eric Bavier Cc: Guix-devel , Federico Beffa On Thu, Nov 06, 2014 at 05:09:35PM -0600, Eric Bavier wrote: > As I understand things, cmake might relink executables during > installation with the appropriate rpath for the installation directory. > It may also patch the executables rpath in place, replacing the > "::::..." string above with the actual rpath, presumably containing the > directories of the .so's. Can you tell if any of that is taking place? I do not think it could possibly patch in place, as the ":...:" string is too short. Before installing, there is another linking phase. But it also has the ":...:" rpath. Then there is -- Set runtime path of "/gnu/store/w931dmcqpkb3sdcxnjpqxdn7qykh3qbr-ktouch-4.14.2/bin/ktouch" to "/gnu/store/w931dmcqpkb3sdcxnjpqxdn7qykh3qbr-ktouch-4.14.2/lib" which corresponds to (string-append "-DCMAKE_INSTALL_RPATH=" out "/lib") This is for the build where I explicitly gave "-lkdeclarative", and where the final rpath does contain the path to the kde libraries (but not the path to the qt libraries, as these were not given with -l, but directly as .so on the linking line). So the log does not show at which point and how the rpath is set. Andreas