From owner-freebsd-gnome@freebsd.org Mon Jan 18 00:29:02 2016 Return-Path: Delivered-To: freebsd-gnome@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9E653A85528 for ; Mon, 18 Jan 2016 00:29:02 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 846831E25 for ; Mon, 18 Jan 2016 00:29:02 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 7FCA0A85524; Mon, 18 Jan 2016 00:29:02 +0000 (UTC) Delivered-To: gnome@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 65A8DA85523; Mon, 18 Jan 2016 00:29:02 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from prod2.absolight.net (mx3.absolight.net [IPv6:2a01:678:2:100::25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "plouf.absolight.net", Issuer "CAcert Class 3 Root" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 081241E22; Mon, 18 Jan 2016 00:29:02 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from prod2.absolight.net (localhost [127.0.0.1]) by prod2.absolight.net (Postfix) with ESMTP id 77485BDCA6; Mon, 18 Jan 2016 01:28:59 +0100 (CET) Received: from atuin.in.mat.cc (atuin.in.mat.cc [79.143.241.205]) by prod2.absolight.net (Postfix) with ESMTPA id 59259BDC9B; Mon, 18 Jan 2016 01:28:59 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by atuin.in.mat.cc (Postfix) with ESMTP id E3CFE509F66B; Mon, 18 Jan 2016 01:28:58 +0100 (CET) Date: Mon, 18 Jan 2016 01:28:58 +0100 From: Mathieu Arnold To: Raphael Kubo da Costa cc: gnome@FreeBSD.org, perl@FreeBSD.org Subject: Re: libperl stage-qa check and libraries that do not link against libperl.so Message-ID: <880733D886684E0C0D43E7D8@atuin.in.mat.cc> In-Reply-To: <868u3nonxn.fsf@FreeBSD.org> References: <86d1t0nu6x.fsf@FreeBSD.org> <83298B9CC954C7F5642168D0@atuin.in.mat.cc> <868u3nonxn.fsf@FreeBSD.org> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="==========1E4D0EF2FD4A1E9B9F1D==========" X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jan 2016 00:29:02 -0000 --==========1E4D0EF2FD4A1E9B9F1D========== Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline +--On 17 janvier 2016 23:12:36 +0100 Raphael Kubo da Costa wrote: | Mathieu Arnold writes: | |> +--On 17 janvier 2016 15:42:46 +0100 Raphael Kubo da Costa |> wrote: |> | Warning: |> | /wrkdir/stage/usr/local/lib/perl5/site_perl/mach/5.20/auto/Net/Libprox |> | y/L ibproxy.so is not linked with libperl.so.5.20, not respecting |> | lddlflags? Error: None of the .so in |> | /wrkdir/stage/usr/local/lib/perl5/site_perl/mach/5.20 are linked with |> | libperl.so.5.20, see above for the full list. |> |> Ok, there are two kinds of .so that gets into PERL_ARCH: |> |> 1) the Perl modules, that are linked with libperl.so, and for which must |> have the rpath set to be able to get libperl.so from where it's |> installed. 2) The rest of them, they're general .so that do not contain |> Perl code, and are not linked with libperl.so. For these, if the |> non-linking is intentional, and not needed, ignore the ***WARNING***. | | Right. If linking against libperl.so and not linking against it are both | fine, does it still make sense to have that stage-qa check? There is a stage-qa check because if you link against libperl.so, you MUST have rpath set to the path of libperl.so, it happens if the port is doing what Perl should be doing and getting it wrong. Also, sometime, you don't link with libperl.so, and it's a mistake, and it should be. There are a few cases where it's not needed, but when I added the qa check when I changed libperl.so to be versionned, out of all the ports that install .so in PERL_ARCH, there were, say, 3 or 4 that had a .so that did not need to be linked with libperl.so. -- Mathieu Arnold --==========1E4D0EF2FD4A1E9B9F1D========== Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQJ8BAEBCgBmBQJWnDHKXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzQUI2OTc4OUQyRUQxMjEwNjQ0MEJBNUIz QTQ1MTZGMzUxODNDRTQ4AAoJEDpFFvNRg85Ii2oP/jVTYtsouBvpuoz8RdGT5zIR 0qE5kJ6zYDbfrakeBCdxKi2IxFnZXzMd6EjrAplMIlpoCPGuFcgV0n9qamQOt1ob jZ3dGowzfdTa8jgsp/xNL1RDUAlv0TEabqrpIBtIrzgEe1sgGkHCKGaLqMj5ky9y gTQ2NofqP1lSkOZ7fKr8hYBttIanfQNMe6h4EwZXgcgws1uQJ4RHq3BM9Lhr03Zf WFej6IiJxa/hK/1IrUF8yWWtx0XcG9yzwKuX5EyxnQThd6euparVRLwzkqR/RzZm AytZx49wLKsrq+VXYkwCSK8ZuSBhDWAojUOznxiuL/peSpe2aoP+szE1nsmM0hKw E031G7DzbK2pIvD/zeM6lxwH4HRe14/QV0SSTtN3h+YXP2PnFnaRKPnzYGQXiVAy 7i3MAN7McIKjcYmawiCm3OqZEULSPTlm2OPxvtpX2Bn5107pIMjz5lRXdp9OSoME f4OUpaJq29pzUcAvaA3phncTznZXHAtbVjkX05aGa851jnl+cVrspSmsxKIdxZwF iB6MfhI+tSrqbLIru87f1O8fdf342PTNnb7WLeT5TzVIq6KT9++Hvibpv6RiitlB bV4XVD5i1vWc7BZqY9NLldLgAs7/kQPzaBr77721VCtS5o4W5QAOkAWGzPdVNqau UIu70m+8eUmHdl3b6tzH =8sK4 -----END PGP SIGNATURE----- --==========1E4D0EF2FD4A1E9B9F1D==========--