From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: Re: [dxvk] How to set RPATH with Meson? Date: Wed, 25 Mar 2020 18:35:51 +0100 Message-ID: <87y2roz6a0.fsf@devup.no> References: <87h7ycy1ls.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:32887) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jH9wc-0006fV-DD for help-guix@gnu.org; Wed, 25 Mar 2020 13:36:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jH9wb-0005mz-B5 for help-guix@gnu.org; Wed, 25 Mar 2020 13:35:58 -0400 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:42115) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jH9wb-0005mZ-0h for help-guix@gnu.org; Wed, 25 Mar 2020 13:35:57 -0400 In-Reply-To: <87h7ycy1ls.fsf@ambrevar.xyz> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane-mx.org@gnu.org Sender: "Help-Guix" To: Pierre Neidhardt , help-guix --=-=-= Content-Type: text/plain Pierre Neidhardt writes: > Hi! > > I'm trying to update DXVK to 1.6 and it now ships a new d3d10core.dll.so > on which its other libraries depend. > Thus RUNPATH verification fails: > > --8<---------------cut here---------------start------------->8--- > validating RUNPATH of 6 binaries in "/gnu/store/d78ivdn8y5idyzikidmm7jmpi5pnkrxl-dxvk32-1.6/lib"... > /gnu/store/d78ivdn8y5idyzikidmm7jmpi5pnkrxl-dxvk32-1.6/lib/d3d10.dll.so: error: depends on 'd3d10core.dll.so', which cannot be found in RUNPATH ("/gnu/store/f2xz8fhfsb559xnpqxqik5y121svnhdg-glibc-2.29/lib" "/gnu/store/vmdi5a25sg3dpwp28762xssiayb6qjp6-gcc-9.3.0-lib/lib" "/gnu/store/8239jfnnszqgsvyqansvwwwqzryw9zhb-wine-staging-5.3/bin/../lib/wine32" "/gnu/store/vmdi5a25sg3dpwp28762xssiayb6qjp6-gcc-9.3.0-lib/lib/gcc/i686-unknown-linux-gnu/9.3.0/../../..") > /gnu/store/d78ivdn8y5idyzikidmm7jmpi5pnkrxl-dxvk32-1.6/lib/d3d10_1.dll.so: error: depends on 'd3d10core.dll.so', which cannot be found in RUNPATH ("/gnu/store/f2xz8fhfsb559xnpqxqik5y121svnhdg-glibc-2.29/lib" "/gnu/store/vmdi5a25sg3dpwp28762xssiayb6qjp6-gcc-9.3.0-lib/lib" "/gnu/store/8239jfnnszqgsvyqansvwwwqzryw9zhb-wine-staging-5.3/bin/../lib/wine32" "/gnu/store/vmdi5a25sg3dpwp28762xssiayb6qjp6-gcc-9.3.0-lib/lib/gcc/i686-unknown-linux-gnu/9.3.0/../../..") > --8<---------------cut here---------------end--------------->8--- > > I tried passing the following arguments: > > --8<---------------cut here---------------start------------->8--- > (string-append "-Dc_link_args=-Wl,-rpath=" > (assoc-ref %outputs "out") > "/lib") > (string-append "-Dcpp_link_args=-Wl,-rpath=" > (assoc-ref %outputs "out") > "/lib") > --8<---------------cut here---------------end--------------->8--- > > Didn't work. > > Any idea where to go from here? meson-build-system already passes those arguments unconditionally. Perhaps meson.build does something weird and ignores those flags? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl57lncACgkQoqBt8qM6 VPquaQf/dEQwS/GB9rn7FRH1t7NC9e6FdDh+qGmaGv6e/HAFZMszqeHxA/lNUvVJ 8jCkctC7BkM9sjtc4K86inG2WWRD3ExPTIQLyefiPjUcOSd/ep8U5nkQuHnS/0Qu Px6h6Usjuoms0Dy5Maa603KGE+KnaKSa6MLsZoyP4xtJW6eBwICT1sbzXUujKnzB tbmEV+zx0nRxXBJ8AH5oWZ2UCaIiVYgqMdKghuaWb7J33sCNMfbyNrr2nVHCOGTC 2tocPlP/U48N6ZlRDqFGQ2L1CH87/Ca8Cax8K85IIMjC9W76KQAMHoJ+N8BKbLMF BO4Zp9i+XjNVnHDAdl5+O+YI6dktMw== =UuvR -----END PGP SIGNATURE----- --=-=-=--