From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48182) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fF3Od-00043z-Hr for guix-patches@gnu.org; Sat, 05 May 2018 16:03:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fF3OY-00041O-IQ for guix-patches@gnu.org; Sat, 05 May 2018 16:03:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:42942) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fF3OY-00041D-E0 for guix-patches@gnu.org; Sat, 05 May 2018 16:03:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fF3OY-0008Hw-1p for guix-patches@gnu.org; Sat, 05 May 2018 16:03:02 -0400 Subject: [bug#31208] [PATCH 0/3] Add 'strip-runpath' in (guix build gremlin) Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20180418163842.29823-1-ludo@gnu.org> <87bmdvrvmo.fsf@gnu.org> Date: Sat, 05 May 2018 22:02:28 +0200 In-Reply-To: (Peter Mikkelsen's message of "Fri, 4 May 2018 23:34:09 +0200") Message-ID: <876041swff.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Peter Mikkelsen Cc: 31208@debbugs.gnu.org Hello Peter, (I=E2=80=99m re-adding Cc, hope you don=E2=80=99t mind.) Peter Mikkelsen skribis: > Since I am not really that much into meson, I am not sure my answer > will be enough, but I will give it a go: > The augment-rpath is needed because in some software projects such as > nautilus, there is both a library and an executable. > When building the software, the library is built first, and then the > executable which depends on it, but then the runpath of the executable > is 'fixed' so > that libnautilus is no longer in the runpath of the nautilus binary. > This is a problem since libnautilus is needed at runtime, so it is > added using augment-rpath. Oh, I see. Back to this patch series, it means we still need =E2=80=98augment-rpath=E2= =80=99. :-/ I suppose we can still apply these patches to =E2=80=98core-updates-next=E2= =80=99 though, it=E2=80=99s a step in the right direction. > I think I remember something about the meson developers saying that it > is no problem, since libnautilus will be installed in a standard > location or something, > but I really don't remember, sorry.. What Libtool does is that it =E2=80=9Crelinks=E2=80=9D executables upon =E2= =80=9Cmake install=E2=80=9D so that they have the correct RUNPATH. > Sorry for the not so good reply, but I hope it makes a little bit sense :) It makes a lot of sense yes, thank you! Ludo=E2=80=99.